{"version":3,"sources":["webpack:///./src/helper/ClientPlans.js","webpack:///./src/helper/States.js","webpack:///./src/helper/BasketTypes.js","webpack:///./src/screens/batch-query/index.vue?9386","webpack:///./src/helper/DefaultBaskets.js","webpack:///./src/helper/ClientType.js","webpack:///./src/screens/batch-query/index.vue?aad5","webpack:///./src/screens/batch-query/scripts.js","webpack:///./src/screens/batch-query/scripts.js?2091","webpack:///./src/screens/batch-query/index.vue"],"names":["PLAN_TREE","PLAN_QUIZ","PLAN_BASKET","BUSCA","VALIDACAO","HIERARQUICA","BUSCA_VALIDACAO","KYC","name","value","CLIENT_PRE","CLIENT_POS_CTRL","CLIENT_POS","render","_vm","this","_h","$createElement","_c","_self","attrs","staticClass","_v","rules","datadc","$vuetify","dark","model","callback","$$v","startDate","expression","endDate","on","$event","refresh","_s","IconButtonRefresh","TextButtonRefresh","headers","allJobs","rowsPageItems","getterAllJobs","qtdeRowsFound","pagination","scopedSlots","_u","key","fn","props","isLoadingBatchQuery","item","endTime","statusReportCallManager","processeds","linkToDownload","directives","rawName","content","offset","arg","situation","nativeOn","dialogInformation","idBatch","user","filename","formatDate","startTime","all","errors","modifiers","dialogConfirmation","idbathSelected","stopLot","staticRenderFns","components","ProcessBatchFile","FileDownloadButton","data","validateDate","text","align","sortable","selectedBatchQuery","Moment","format","startDateFormated","endDateFormated","menuEndDate","menuStartDate","computed","mapGetters","mounted","getBatches","watch","handler","deep","batches","imediate","methods","mapActions","params","idClient","getterAccount","size","rowsPerPage","page","actionGetAllJobs","date","isDateValid","then","service","SERVICE_DOWNLOAD_SPREADSHEET_ALL","component","VBtn","VCard","VCardActions","VCardText","VCardTitle","VChip","VContainer","VDataTable","VDialog","VFlex","VIcon","VLayout","VSpacer","VTextField"],"mappings":"kHAAA,6IAAMA,EAAY,OACZC,EAAY,OACZC,EAAc,U,oCCFL,QACb,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,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SACzBvB,KAAKsB,kBAAoB,YAG/BkB,eAAgBJ,GACd,MAAQ,GAAE6D,OAAQC,iDAAiD9D,EAAKa,cC9G8M,I,yMCQxRkD,EAAY,eACd,EACArG,EACA8D,GACA,EACA,KACA,KACA,MAIa,aAAAuC,EAAiB,QAkBhC,IAAkBA,EAAW,CAACC,OAAA,KAAKC,QAAA,KAAMC,aAAA,OAAaC,UAAA,OAAUC,aAAA,KAAWC,QAAA,KAAMC,aAAA,KAAWC,aAAA,KAAWC,UAAA,KAAQC,QAAA,KAAMC,QAAA,KAAMC,UAAA,KAAQC,QAAA,OAAQC,aAAA","file":"js/chunk-13cae37c.396bfd88.js","sourcesContent":["const PLAN_TREE = 'Tree'\nconst PLAN_QUIZ = 'Quiz'\nconst PLAN_BASKET = 'Basket'\n\nexport {\n PLAN_TREE,\n PLAN_QUIZ,\n PLAN_BASKET\n}\n","export default [\n 'AC',\n 'AL',\n 'AP',\n 'AM',\n 'BA',\n 'CE',\n 'DF',\n 'ES',\n 'GO',\n 'MA',\n 'MT',\n 'MS',\n 'MG',\n 'PA',\n 'PB',\n 'PR',\n 'PE',\n 'PI',\n 'RJ',\n 'RN',\n 'RS',\n 'RO',\n 'RR',\n 'SC',\n 'SP',\n 'SE',\n 'TO'\n]\n","const BUSCA = 'busca'\nconst VALIDACAO = 'validacao'\nconst HIERARQUICA = 'hierarquica'\nconst BUSCA_VALIDACAO = 'busca-validacao'\nconst KYC = 'kyc'\n\nexport {\n BUSCA,\n VALIDACAO,\n HIERARQUICA,\n BUSCA_VALIDACAO,\n KYC\n}\n","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/vuetify-loader/lib/loader.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/vuetify-loader/lib/loader.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&lang=scss&\"","export default [\n { name: 'Básico PF', value: 'basic_pf' },\n { name: 'Intermediário PF', value: 'intermediary_pf' },\n { name: 'Completo PF', value: 'complete_pf' },\n { name: 'Localiza PF', value: 'locate_pf' },\n { name: 'Básico PJ', value: 'basic_pj' },\n { name: 'Intermediário PJ', value: 'intermediary_pj' },\n { name: 'Completo PJ', value: 'complete_pj' }\n]\n","const CLIENT_PRE = 'pre'\nconst CLIENT_POS_CTRL = 'pos_controle'\nconst CLIENT_POS = 'pos_pago'\n\nexport default {\n CLIENT_PRE,\n CLIENT_POS_CTRL,\n CLIENT_POS\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"page-batch-query\"}},[_c('h1',{staticClass:\"text-xs-left mb-4\"},[_vm._v(\"\\n Consulta em lote\\n \")]),_c('v-layout',{staticClass:\"container-processamento\",attrs:{\"column\":\"\"}},[_c('process-batch-file'),_c('v-layout',{staticClass:\"table-wrapper\",attrs:{\"id\":\"historic-batch-query\",\"row\":\"\",\"wrap\":\"\"}},[_c('h3',{staticClass:\"main-title\"},[_vm._v(\"\\n Status dos processamentos\\n \")]),_c('v-flex',{staticClass:\"mr-5\",attrs:{\"xs12\":\"\"}},[_c('v-text-field',{attrs:{\"label\":\"Data Início\",\"rules\":[_vm.rules.datadc],\"return-masked-value\":\"\",\"mask\":\"##/##/####\",\"persistent-hint\":\"\",\"prepend-icon\":\"event\",\"color\":_vm.$vuetify.dark ? 'secondary' : 'primary'},model:{value:(_vm.startDate),callback:function ($$v) {_vm.startDate=$$v},expression:\"startDate\"}}),_c('v-text-field',{attrs:{\"label\":\"Data Fim\",\"rules\":[_vm.rules.datadc],\"return-masked-value\":\"\",\"mask\":\"##/##/####\",\"persistent-hint\":\"\",\"prepend-icon\":\"event\",\"color\":_vm.$vuetify.dark ? 'secondary' : 'primary'},model:{value:(_vm.endDate),callback:function ($$v) {_vm.endDate=$$v},expression:\"endDate\"}})],1),_c('v-container',{attrs:{\"row\":\"\"}},[_c('v-btn',{staticClass:\"primary-color\",attrs:{\"block\":\"\",\"width\":\"300\"},on:{\"click\":function($event){return _vm.refresh()}}},[_c('v-icon',[_vm._v(_vm._s(_vm.IconButtonRefresh))]),_vm._v(\"\\n\\n \"+_vm._s(_vm.TextButtonRefresh)+\"\\n \")],1)],1),_c('v-data-table',{staticClass:\"elevation-1\",attrs:{\"headers\":_vm.headers,\"items\":_vm.allJobs || [],\"rows-per-page-items\":_vm.rowsPageItems,\"total-items\":_vm.getterAllJobs.qtdeRowsFound || 0,\"pagination\":_vm.pagination,\"disable-initial-sort\":true,\"no-data-text\":\"Nenhum dado encontrado.\",\"rows-per-page-text\":\"Linhas por página\",\"default-sort\":\"user:desc\"},on:{\"update:pagination\":function($event){_vm.pagination=$event}},scopedSlots:_vm._u([{key:\"items\",fn:function(props){return [_c('td',{staticClass:\"text-xs-center\"},[_c('v-layout',{attrs:{\"row\":\"\"}},[_c('file-download-button',{attrs:{\"fab\":\"\",\"extension\":\"xls\",\"disabled\":_vm.isLoadingBatchQuery || props.item.endTime === '0001-01-01T00:00:00' || props.item.statusReportCallManager.processeds === 0,\"url\":_vm.linkToDownload(props.item),\"file-name\":(\"report-\" + (props.item.idBatch))}}),_c('v-btn',{directives:[{name:\"tooltip\",rawName:\"v-tooltip:bottom\",value:({ content: 'Detalhes', offset: 10 }),expression:\"{ content: 'Detalhes', offset: 10 }\",arg:\"bottom\"}],staticClass:\"info info--text\",attrs:{\"disabled\":props.item.situation !== 'Cancelado' || props.item.statusReportCallManager.processeds === 0,\"small\":\"\",\"outline\":\"\",\"fab\":\"\"},nativeOn:{\"click\":function($event){_vm.dialogInformation = true}}},[_c('v-icon',[_vm._v(\"info\")])],1)],1)],1),_c('td',{staticClass:\"text-xs-center\"},[_vm._v(\"\\n \"+_vm._s(props.item.idBatch)+\"\\n \")]),_c('td',{staticClass:\"text-xs-center\"},[_vm._v(\"\\n \"+_vm._s(props.item.user)+\"\\n \")]),_c('td',{staticClass:\"text-xs-center\"},[_vm._v(\"\\n \"+_vm._s(props.item.filename === null ? '-' : props.item.filename)+\"\\n \")]),_c('td',{staticClass:\"text-xs-center\"},[_vm._v(\"\\n \"+_vm._s(_vm.formatDate(props.item.startTime))+\"\\n \")]),_c('td',{staticClass:\"text-xs-center\"},[_vm._v(\"\\n \"+_vm._s(props.item.situation !== 'Processando' ? _vm.formatDate(props.item.endTime) : '-')+\"\\n \")]),_c('td',{staticClass:\"text-xs-center\"},[_vm._v(\"\\n \"+_vm._s(props.item.statusReportCallManager.processeds)+\" de \"+_vm._s(props.item.statusReportCallManager.all)+\"\\n \")]),_c('td',{staticClass:\"text-xs-center\"},[(props.item.situation === 'Finalizado')?_c('div',[_c('v-chip',{staticClass:\"green white--text\"},[_vm._v(\"\\n Finalizado\\n \")])],1):(props.item.situation === 'Processando')?_c('div',[_c('v-chip',{staticClass:\"orange white--text\"},[_vm._v(\"\\n Processando\\n \")])],1):(props.item.situation === 'Erro')?_c('div',{directives:[{name:\"tooltip\",rawName:\"v-tooltip.auto\",value:({ content: props.item.errors, offset: 10 }),expression:\"{ content: props.item.errors, offset: 10 }\",modifiers:{\"auto\":true}}]},[_c('v-chip',{staticClass:\"error white--text\"},[_vm._v(\"\\n Erro\\n \")])],1):_c('div',[_c('v-chip',{staticClass:\"error white--text\"},[_vm._v(\"\\n Cancelado\\n \")])],1)])]}}])}),_c('v-dialog',{attrs:{\"persistent\":\"\",\"width\":\"500\"},model:{value:(_vm.dialogConfirmation),callback:function ($$v) {_vm.dialogConfirmation=$$v},expression:\"dialogConfirmation\"}},[_c('v-card',[_c('v-card-title',{staticClass:\"headline\"},[_vm._v(\"\\n Tem certeza que deseja finalizar o lote \"+_vm._s(_vm.idbathSelected)+\"?\\n \")]),_c('v-card-text',[_c('b',[_vm._v(\"ATENÇÃO\")]),_vm._v(\": Se você confirmar os dados que ainda não foram processados serão perdido, e impossiveis de serem recuperados. Deseja continuar ?\")]),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{staticClass:\"default-color btn btn--raised btn--small\",attrs:{\"flat\":\"flat\"},nativeOn:{\"click\":function($event){_vm.dialogConfirmation = false}}},[_vm._v(\"\\n Cancelar\\n \")]),_c('v-btn',{staticClass:\"primary-color btn btn--raised btn--small\",nativeOn:{\"click\":function($event){return _vm.stopLot()}}},[_vm._v(\"\\n Continuar\\n \")])],1)],1)],1),_c('v-dialog',{attrs:{\"persistent\":\"\",\"width\":\"500\"},model:{value:(_vm.dialogInformation),callback:function ($$v) {_vm.dialogInformation=$$v},expression:\"dialogInformation\"}},[_c('v-card',[_c('v-card-title',{staticClass:\"headline\"},[_vm._v(\"\\n Informações lote cancelado\\n \")]),_c('v-card-text',[_vm._v(\"\\n Este lote foi cancelado, no entanto alguns pacotes foram processados, e estão disponíveis para visualização. \"),_c('br'),_c('br'),_vm._v(\"Faça o download utilizando o botão \"),_c('v-icon',[_vm._v(\"archive\")])],1),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{staticClass:\"default-color btn btn--raised btn--small\",attrs:{\"flat\":\"flat\"},nativeOn:{\"click\":function($event){_vm.dialogInformation = false}}},[_vm._v(\"\\n Ok\\n \")])],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { mapActions, mapGetters } from 'vuex'\nimport Moment from 'moment'\nimport service from '@/helper/const'\nimport {\n ProcessBatchFile,\n FileDownloadButton\n} from '@/components'\n\nexport default {\n components: {\n ProcessBatchFile,\n FileDownloadButton\n },\n data () {\n return {\n rules: {\n datadc: (value) => this.validateDate(value) || 'Insira um valor válido e tente novamente'\n },\n headers: [\n { text: 'Ações', align: 'center', sortable: false },\n { text: 'Identificador Lote', align: 'center' },\n { text: 'Usuário', align: 'center' },\n { text: 'Nome do Arquivo', align: 'center' },\n { text: 'Data/Hora Criação', align: 'center' },\n { text: 'Data/Hora Finalização', align: 'center' },\n { text: 'Progresso', align: 'center' },\n { text: 'Status de Processamento', align: 'center' }\n ],\n rowsPageItems: [5, 15, 25, { text: 'Todos', value: null }],\n pagination: {},\n selectedBatchQuery: {},\n isLoadingBatchQuery: false,\n dialogConfirmation: false,\n idbathSelected: '',\n dialogInformation: false,\n TextButtonRefresh: 'Buscar',\n IconButtonRefresh: 'search',\n startDate: Moment().format('DD/MM/YYYY'),\n startDateFormated: Moment().format('DD/MM/YYYY'),\n endDate: Moment().format('DD/MM/YYYY'),\n endDateFormated: Moment().format('DD/MM/YYYY'),\n menuEndDate: false,\n menuStartDate: false,\n allJobs: []\n }\n },\n computed: {\n ...mapGetters([\n 'getterAllJobs',\n 'getterAccount'\n ])\n },\n mounted () {\n this.getBatches()\n },\n watch: {\n pagination: {\n handler () {\n this.getBatches()\n },\n deep: true\n },\n getterAllJobs: {\n handler () {\n this.allJobs = this.getterAllJobs.batches\n },\n deep: true,\n imediate: true\n }\n },\n methods: {\n ...mapActions([\n 'actionGetAllJobs',\n 'actionGetLinkDownload',\n 'actionDeleteJob'\n ]),\n getBatches () {\n const params = {\n idClient: this.getterAccount.idClient,\n size: this.pagination.rowsPerPage ? this.pagination.rowsPerPage : null,\n page: this.pagination.page ? this.pagination.page : 1,\n startDate: `${Moment(this.startDate, 'DD/MM/YYYY').format('YYYY-MM-DD')}T00:00:00` || '',\n endDate: `${Moment(this.endDate, 'DD/MM/YYYY').format('YYYY-MM-DD')}T23:59:59` || ''\n }\n\n return this.actionGetAllJobs(params)\n },\n formatDate (date) {\n return Moment(date).format('DD/MM/YYYY [às] HH:mm:ss')\n },\n validateDate (date) {\n if (!date) {\n return true\n }\n const isDateValid = Moment(date, 'DD/MM/YYYY').format('DD/MM/YYYY')\n if (isDateValid !== 'Invalid date') {\n return true\n }\n return false\n },\n refresh () {\n this.TextButtonRefresh = 'Buscando...'\n this.IconButtonRefresh = 'hourglass_empty'\n this.getBatches()\n .then(() => {\n this.TextButtonRefresh = 'Buscar'\n this.IconButtonRefresh = 'search'\n })\n },\n linkToDownload (item) {\n return `${service.SERVICE_DOWNLOAD_SPREADSHEET_ALL}/batch/result/${item.idBatch}`\n }\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/eslint-loader/index.js??ref--13-0!./scripts.js?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/eslint-loader/index.js??ref--13-0!./scripts.js?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=aecc6ac4&lang=html&\"\nimport script from \"./scripts?vue&type=script&lang=js&\"\nexport * from \"./scripts?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!/opt/atlassian/pipelines/agent/build/node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib'\nimport { VCard } from 'vuetify/lib'\nimport { VCardActions } from 'vuetify/lib'\nimport { VCardText } from 'vuetify/lib'\nimport { VCardTitle } from 'vuetify/lib'\nimport { VChip } from 'vuetify/lib'\nimport { VContainer } from 'vuetify/lib'\nimport { VDataTable } from 'vuetify/lib'\nimport { VDialog } from 'vuetify/lib'\nimport { VFlex } from 'vuetify/lib'\nimport { VIcon } from 'vuetify/lib'\nimport { VLayout } from 'vuetify/lib'\nimport { VSpacer } from 'vuetify/lib'\nimport { VTextField } from 'vuetify/lib'\ninstallComponents(component, {VBtn,VCard,VCardActions,VCardText,VCardTitle,VChip,VContainer,VDataTable,VDialog,VFlex,VIcon,VLayout,VSpacer,VTextField})\n"],"sourceRoot":""}