1 line
33 KiB
Plaintext
1 line
33 KiB
Plaintext
{"version":3,"sources":["webpack:///./src/components/Pagination/index.vue?31f0","webpack:///./src/components/Pagination/index.vue?8e6f","webpack:///src/components/Pagination/index.vue","webpack:///./src/components/Pagination/index.vue?6c75","webpack:///./src/components/Pagination/index.vue?0d87","webpack:///./src/views/operation/apply/index.vue?f7c6","webpack:///src/views/operation/apply/index.vue","webpack:///./src/views/operation/apply/index.vue?3d26","webpack:///./src/views/operation/apply/index.vue","webpack:///./src/views/operation/apply/task.vue?5246","webpack:///src/views/operation/apply/task.vue","webpack:///./src/views/operation/apply/task.vue?6eb5","webpack:///./src/views/operation/apply/task.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","_b","attrs","background","currentPage","pageSize","layout","pageSizes","total","on","$event","handleSizeChange","handleCurrentChange","$attrs","staticRenderFns","name","props","required","type","page","default","limit","hidden","computed","get","set","val","$emit","methods","component","$store","state","work","flag","components","task","equipment","data","beforeRouteLeave","to","from","next","created","$t","handleFilter","model","value","callback","$$v","arrayTimeSearch","expression","listQuery","$set","_l","item","key","status","label","_v","_s","wipeCondition","directives","rawName","workForm","handleSelectionChange","scopedSlots","_u","fn","scope","row","orderType","split","finishTime","_e","createTime","applyTime","apply","curPage","workList","Pagination","permission","searchForm","workNum","startTime","reviceName","workName","deadline","countPatrol","remark","checkName","parentId","listLoading","taskIdStr","watch","getTaskList","completeList","ids","deviceId","solveStatus","solver","receiveName","taskId","applyStatus","getNeedAcceptanceDeviceList","trackType","then","res","console","count","join","headClassName","rowClassName","rowIndex"],"mappings":"kHAAA,W,6DCAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,wBAAwB,CAACF,EAAG,gBAAgBJ,EAAIO,GAAG,CAACC,MAAM,CAAC,WAAaR,EAAIS,WAAW,eAAeT,EAAIU,YAAY,YAAYV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AAKmC,OAAOC,MAAMC,KAAK+D,aAAaI,OAAS/B,EAAMC,IAAI+B,YACvDzG,KAAKmC,OAAOC,MAAMC,KAAKqE,OAASjC,EAAMC,IAAIgC,OAC1C1G,KAAKmC,OAAOC,MAAMC,KAAKsE,YAAclC,EAAMC,IAAIb,OAE/C+C,eAA4BA,CAC1BF,OAAQA,EAAMA,IAAIA,OAClBG,UAAWA,OACnBC,MAAA,YACQ,EAAR,mCACQ,EAAR,4DAEuC,MAA3BC,EAAIrE,KAAKF,KAAKmC,YAChBoC,EAAIA,KAAKA,KAAKA,UAAYA,KAE5B,EAAR,uCACQC,QAAQA,IAAIA,EAApBA,gCAII3C,sBA/BJ,SA+BAK,GACM,IAAN,KACMA,EAAIA,SAAQA,SAAlBA,GACQuC,EAAMA,KAAKA,EAAKA,WAElBjH,KAAKiG,UAAYgB,EAAMC,KAAK,KAC5BF,QAAQA,IAAIA,KAAKA,YAEnB/D,aAvCJ,WAwCMjD,KAAKwD,UAAU0B,QAAU,EACzBlF,KAAKmF,YAEPlB,cA3CJ,WA4CMjE,KAAKwD,UAAU0B,QAAU,EACzBlF,KAAKwD,UAAUgC,UAAY,GAC3BxF,KAAKwD,UAAUmC,SAAW,GAC1B3F,KAAKsD,gBAAkB,GACvBtD,KAAKmF,YAEPgC,cAlDJ,YAkDA,yBAEM,OADAH,QAAQA,IAAIA,EAAKA,GACV,YAETI,aAtDJ,YAsDA,yBAEM,OADAJ,QAAQA,IAAIA,EAAKA,IACZK,EAAW,GAAK,IAAM,EAClB,cAEA,kBCnS6V,I,YCOxWnF,EAAY,eACd,EACApC,EACAqB,GACA,EACA,KACA,WACA,MAIa,aAAAe,E","file":"js/chunk-16394674.2dccc834.js","sourcesContent":["export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=4dfad654&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"pagination-container\"},[_c('el-pagination',_vm._b({attrs:{\"background\":_vm.background,\"current-page\":_vm.currentPage,\"page-size\":_vm.pageSize,\"layout\":_vm.layout,\"page-sizes\":_vm.pageSizes,\"total\":_vm.total},on:{\"update:currentPage\":function($event){_vm.currentPage=$event},\"update:current-page\":function($event){_vm.currentPage=$event},\"update:pageSize\":function($event){_vm.pageSize=$event},\"update:page-size\":function($event){_vm.pageSize=$event},\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange}},'el-pagination',_vm.$attrs,false))],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"pagination-container\">\r\n <el-pagination\r\n :background=\"background\"\r\n :current-page.sync=\"currentPage\"\r\n :page-size.sync=\"pageSize\"\r\n :layout=\"layout\"\r\n :page-sizes=\"pageSizes\"\r\n :total=\"total\"\r\n v-bind=\"$attrs\"\r\n @size-change=\"handleSizeChange\"\r\n @current-change=\"handleCurrentChange\"\r\n />\r\n </div>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n name: 'Pagination',\r\n props: {\r\n total: {\r\n required: true,\r\n type: Number\r\n },\r\n page: {\r\n type: Number,\r\n default: 0\r\n },\r\n limit: {\r\n type: Number,\r\n default: 20\r\n },\r\n pageSizes: {\r\n type: Array,\r\n default() {\r\n return [5, 10, 20, 30, 70]\r\n }\r\n },\r\n layout: {\r\n type: String,\r\n default: 'total, sizes, prev, pager, next, jumper'\r\n },\r\n background: {\r\n type: Boolean,\r\n default: true\r\n },\r\n hidden: {\r\n type: Boolean,\r\n default: false\r\n }\r\n },\r\n computed: {\r\n currentPage: {\r\n get() {\r\n return this.page\r\n },\r\n set(val) {\r\n this.$emit('update:page', val)\r\n }\r\n },\r\n pageSize: {\r\n get() {\r\n return this.limit\r\n },\r\n set(val) {\r\n this.$emit('update:limit', val)\r\n }\r\n }\r\n },\r\n methods: {\r\n handleSizeChange(val) {\r\n this.$emit('pagination', { page: this.currentPage, limit: val })\r\n },\r\n handleCurrentChange(val) {\r\n this.$emit('pagination', { page: val, limit: this.pageSize })\r\n }\r\n }\r\n}\r\n</script>\r\n\r\n<style scoped>\r\n.pagination-container {\r\n background: none;\r\n position: relative;\r\n margin-top: 30px;\r\n}\r\n.el-pagination {\r\n text-align: center;\r\n}\r\n.pagination-container.hidden {\r\n display: none;\r\n}\r\n</style>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=4dfad654&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=4dfad654&scoped=true&lang=css&\"\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 \"4dfad654\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.$store.state.work.flag === 'task')?_c('task'):_c('equipment')}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <task v-if=\"$store.state.work.flag === 'task'\" />\r\n <equipment v-else />\r\n</template>\r\n<script>\r\nimport task from './task'\r\nimport equipment from './equipment'\r\nexport default {\r\n components: {\r\n task,\r\n equipment\r\n },\r\n data() {\r\n return {}\r\n },\r\n beforeRouteLeave(to, from, next) {\r\n this.$store.state.work.flag = 'task'\r\n next()\r\n },\r\n created() {},\r\n methods: {}\r\n}\r\n</script>\r\n\r\n<style scoped></style>\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=40dae57c&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\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 \"40dae57c\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"app-container\"},[_c('div',{staticClass:\"decorate\"}),_c('div',{staticClass:\"filter-container options\"},[_c('el-date-picker',{staticClass:\"filter-item\",attrs:{\"type\":\"datetimerange\",\"start-placeholder\":_vm.$t('startTime'),\"end-placeholder\":_vm.$t('endTime'),\"value-format\":\"yyyy-MM-dd HH:mm:ss\",\"editable\":false},on:{\"change\":function($event){return _vm.handleFilter()}},model:{value:(_vm.arrayTimeSearch),callback:function ($$v) {_vm.arrayTimeSearch=$$v},expression:\"arrayTimeSearch\"}}),_c('el-select',{staticClass:\"filter-item\",attrs:{\"placeholder\":_vm.$t('work.status')},on:{\"change\":_vm.handleFilter},model:{value:(_vm.listQuery.status),callback:function ($$v) {_vm.$set(_vm.listQuery, \"status\", $$v)},expression:\"listQuery.status\"}},_vm._l((_vm.status),function(item){return _c('el-option',{key:item.status,attrs:{\"label\":item.label,\"value\":item.status}})}),1),_c('span',{staticClass:\"btn-item\",on:{\"click\":_vm.handleFilter}},[_c('i',{staticClass:\"iconfont icon-sousuo\"}),_vm._v(_vm._s(_vm.$t(\"btn.search\"))+\" \")]),_c('span',{staticClass:\"btn-item\",on:{\"click\":_vm.wipeCondition}},[_c('i',{staticClass:\"el-icon-refresh-left\"}),_vm._v(_vm._s(_vm.$t(\"btn.resetting\"))+\" \")])],1),_c('div',{staticClass:\"table-container\"},[_c('el-table',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.listLoading),expression:\"listLoading\"}],attrs:{\"data\":_vm.workForm,\"max-height\":\"580\",\"highlight-current-row\":\"\",\"header-row-class-name\":\"table-header\",\"row-class-name\":\"table-row\"},on:{\"selection-change\":_vm.handleSelectionChange}},[_c('el-table-column',{attrs:{\"property\":\"taskName\",\"align\":\"center\",\"label\":_vm.$t('work.taskName')}}),_c('el-table-column',{attrs:{\"property\":\"receiveName\",\"align\":\"center\",\"label\":_vm.$t('work.recipient')}}),_c('el-table-column',{attrs:{\"property\":\"orderType\",\"align\":\"left\",\"label\":_vm.$t('work.taskType')},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(scope.row.orderType === '1')?_c('span',{staticClass:\"use\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"work.install\")))]):(scope.row.orderType === '3')?_c('span',{staticClass:\"use\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"work.dismantle\"))+\" \")]):(scope.row.orderType === '4')?_c('span',{staticClass:\"use\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"work.faults\"))+\" \")]):(\n scope.row.orderType && scope.row.orderType.split(',')[0] === '5'\n )?_c('span',{staticClass:\"otherUse\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"work.other\") + \"(\" + scope.row.orderType.split(\",\")[1])+\") \")]):_c('span',{staticClass:\"use\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"work.patrol\"))+\" \")])]}}])}),_c('el-table-column',{attrs:{\"align\":\"center\",\"label\":_vm.$t('completionTime')},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(scope.row.finishTime)?_c('span',[_vm._v(_vm._s(scope.row.finishTime))]):_vm._e(),(!scope.row.finishTime)?_c('span',[_vm._v(\"- -\")]):_vm._e()]}}])}),_c('el-table-column',{attrs:{\"label\":_vm.$t('work.status'),\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(scope.row.status === -1)?_c('span',{staticClass:\"btn yellow\"},[_vm._v(_vm._s(_vm.$t(\"work.unpublished\")))]):_vm._e(),(scope.row.status === 0)?_c('span',{staticClass:\"btn blue\"},[_vm._v(_vm._s(_vm.$t(\"work.notStarted\")))]):_vm._e(),(scope.row.status === 1)?_c('span',{staticClass:\"btn\"},[_vm._v(_vm._s(_vm.$t(\"work.inProgress\")))]):_vm._e(),(scope.row.status === 2)?_c('span',{staticClass:\"btn white\"},[_vm._v(_vm._s(_vm.$t(\"work.suspend\")))]):_vm._e(),(scope.row.status === 3)?_c('span',{staticClass:\"btn white\"},[_vm._v(_vm._s(_vm.$t(\"work.passed\")))]):_vm._e(),(scope.row.status === 4)?_c('span',{staticClass:\"btn blue\"},[_vm._v(_vm._s(_vm.$t(\"work.failed\")))]):_vm._e(),(scope.row.status === 5)?_c('span',{staticClass:\"btn purple\"},[_vm._v(_vm._s(_vm.$t(\"work.tobeAccepted\")))]):_vm._e(),(scope.row.status === 6)?_c('span',{staticClass:\"btn purple\"},[_vm._v(_vm._s(_vm.$t(\"work.timedout\")))]):_vm._e()]}}])}),_c('el-table-column',{attrs:{\"property\":\"checkName\",\"align\":\"center\",\"label\":_vm.$t('work.accepted')}}),_c('el-table-column',{attrs:{\"align\":\"center\",\"label\":_vm.$t('work.createdTime'),\"property\":\"createTime\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(scope.row.createTime)?_c('span',[_vm._v(_vm._s(scope.row.createTime))]):_vm._e(),(!scope.row.createTime)?_c('span',[_vm._v(\"- -\")]):_vm._e()]}}])}),_c('el-table-column',{attrs:{\"align\":\"center\",\"label\":_vm.$t('work.ApplicationTime')},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(scope.row.applyTime)?_c('span',[_vm._v(_vm._s(scope.row.applyTime))]):_vm._e(),(!scope.row.applyTime)?_c('span',[_vm._v(\"- -\")]):_vm._e()]}}])}),_c('el-table-column',{attrs:{\"label\":_vm.$t('table.operate'),\"width\":\"300\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('span',{staticClass:\"btnCancel\",on:{\"click\":function($event){return _vm.apply(scope)}}},[_c('i',{staticClass:\"iconfont icon-kejian\"}),_vm._v(\" \"+_vm._s(_vm.$t(\"work.see\"))+\" \")])]}}])})],1),_c('pagination',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.total > 0),expression:\"total > 0\"}],attrs:{\"total\":_vm.total,\"page\":_vm.listQuery.curPage,\"limit\":_vm.listQuery.pageSize},on:{\"update:page\":function($event){return _vm.$set(_vm.listQuery, \"curPage\", $event)},\"update:limit\":function($event){return _vm.$set(_vm.listQuery, \"pageSize\", $event)},\"pagination\":_vm.workList}})],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"app-container\">\r\n <div class=\"decorate\"></div>\r\n <div class=\"filter-container options\">\r\n <el-date-picker\r\n v-model=\"arrayTimeSearch\"\r\n class=\"filter-item\"\r\n type=\"datetimerange\"\r\n :start-placeholder=\"$t('startTime')\"\r\n :end-placeholder=\"$t('endTime')\"\r\n value-format=\"yyyy-MM-dd HH:mm:ss\"\r\n :editable=\"false\"\r\n @change=\"handleFilter()\"\r\n ></el-date-picker>\r\n <el-select\r\n v-model=\"listQuery.status\"\r\n class=\"filter-item\"\r\n :placeholder=\"$t('work.status')\"\r\n @change=\"handleFilter\"\r\n >\r\n <el-option\r\n v-for=\"item in status\"\r\n :key=\"item.status\"\r\n :label=\"item.label\"\r\n :value=\"item.status\"\r\n />\r\n </el-select>\r\n <span class=\"btn-item\" @click=\"handleFilter\">\r\n <i class=\"iconfont icon-sousuo\"></i>{{ $t(\"btn.search\") }}\r\n </span>\r\n <span class=\"btn-item\" @click=\"wipeCondition\">\r\n <i class=\"el-icon-refresh-left\"></i>{{ $t(\"btn.resetting\") }}\r\n </span>\r\n </div>\r\n <div class=\"table-container\">\r\n <el-table\r\n v-loading=\"listLoading\"\r\n :data=\"workForm\"\r\n max-height=\"580\"\r\n highlight-current-row\r\n header-row-class-name=\"table-header\"\r\n row-class-name=\"table-row\"\r\n @selection-change=\"handleSelectionChange\"\r\n >\r\n <el-table-column\r\n property=\"taskName\"\r\n align=\"center\"\r\n :label=\"$t('work.taskName')\"\r\n />\r\n <!-- <el-table-column\r\n property=\"taskNum\"\r\n align=\"center\"\r\n label=\"任务编号\"\r\n \r\n show-overflow-tooltip\r\n />-->\r\n <el-table-column\r\n property=\"receiveName\"\r\n align=\"center\"\r\n :label=\"$t('work.recipient')\"\r\n />\r\n <el-table-column\r\n property=\"orderType\"\r\n align=\"left\"\r\n :label=\"$t('work.taskType')\"\r\n >\r\n <template slot-scope=\"scope\">\r\n <span v-if=\"scope.row.orderType === '1'\" class=\"use\">\r\n {{ $t(\"work.install\") }}</span\r\n >\r\n <span v-else-if=\"scope.row.orderType === '3'\" class=\"use\">\r\n {{ $t(\"work.dismantle\") }}\r\n </span>\r\n <span v-else-if=\"scope.row.orderType === '4'\" class=\"use\">\r\n {{ $t(\"work.faults\") }}\r\n </span>\r\n <span\r\n v-else-if=\"\r\n scope.row.orderType && scope.row.orderType.split(',')[0] === '5'\r\n \"\r\n class=\"otherUse\"\r\n >\r\n {{ $t(\"work.other\") + \"(\" + scope.row.orderType.split(\",\")[1] }})\r\n </span>\r\n <span v-else class=\"use\">\r\n {{ $t(\"work.patrol\") }}\r\n </span>\r\n </template>\r\n </el-table-column>\r\n <el-table-column align=\"center\" :label=\"$t('completionTime')\">\r\n <template slot-scope=\"scope\">\r\n <span v-if=\"scope.row.finishTime\">{{ scope.row.finishTime }}</span>\r\n <span v-if=\"!scope.row.finishTime\">- -</span>\r\n </template>\r\n </el-table-column>\r\n <el-table-column :label=\"$t('work.status')\" align=\"center\">\r\n <template slot-scope=\"scope\">\r\n <span v-if=\"scope.row.status === -1\" class=\"btn yellow\">{{\r\n $t(\"work.unpublished\")\r\n }}</span>\r\n <span v-if=\"scope.row.status === 0\" class=\"btn blue\">{{\r\n $t(\"work.notStarted\")\r\n }}</span>\r\n <span v-if=\"scope.row.status === 1\" class=\"btn\">{{\r\n $t(\"work.inProgress\")\r\n }}</span>\r\n <span v-if=\"scope.row.status === 2\" class=\"btn white\">{{\r\n $t(\"work.suspend\")\r\n }}</span>\r\n <span v-if=\"scope.row.status === 3\" class=\"btn white\">{{\r\n $t(\"work.passed\")\r\n }}</span>\r\n <span v-if=\"scope.row.status === 4\" class=\"btn blue\">{{\r\n $t(\"work.failed\")\r\n }}</span>\r\n <span v-if=\"scope.row.status === 5\" class=\"btn purple\">{{\r\n $t(\"work.tobeAccepted\")\r\n }}</span>\r\n <span v-if=\"scope.row.status === 6\" class=\"btn purple\">{{\r\n $t(\"work.timedout\")\r\n }}</span>\r\n </template>\r\n </el-table-column>\r\n <el-table-column\r\n property=\"checkName\"\r\n align=\"center\"\r\n :label=\"$t('work.accepted')\"\r\n />\r\n <el-table-column\r\n align=\"center\"\r\n :label=\"$t('work.createdTime')\"\r\n property=\"createTime\"\r\n >\r\n <template slot-scope=\"scope\">\r\n <span v-if=\"scope.row.createTime\">{{ scope.row.createTime }}</span>\r\n <span v-if=\"!scope.row.createTime\">- -</span>\r\n </template>\r\n </el-table-column>\r\n <el-table-column align=\"center\" :label=\"$t('work.ApplicationTime')\">\r\n <template slot-scope=\"scope\">\r\n <span v-if=\"scope.row.applyTime\">{{ scope.row.applyTime }}</span>\r\n <span v-if=\"!scope.row.applyTime\">- -</span>\r\n </template>\r\n </el-table-column>\r\n <el-table-column\r\n :label=\"$t('table.operate')\"\r\n width=\"300\"\r\n align=\"center\"\r\n >\r\n <template slot-scope=\"scope\">\r\n <span class=\"btnCancel\" @click=\"apply(scope)\">\r\n <i class=\"iconfont icon-kejian\" /> {{ $t(\"work.see\") }}\r\n </span>\r\n </template>\r\n </el-table-column>\r\n </el-table>\r\n <pagination\r\n v-show=\"total > 0\"\r\n :total=\"total\"\r\n :page.sync=\"listQuery.curPage\"\r\n :limit.sync=\"listQuery.pageSize\"\r\n @pagination=\"workList\"\r\n />\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport { getTaskList, getNeedAcceptanceDeviceList } from \"@/api/work\"\r\nimport Pagination from \"@/components/Pagination\"\r\nimport permission from \"@/directive/permission/index.js\" // 权限判断指令\r\n\r\nexport default {\r\n components: {\r\n Pagination\r\n },\r\n directives: { permission },\r\n data() {\r\n return {\r\n searchForm: {\r\n workNum: \"\",\r\n startTime: \"\",\r\n reviceName: \"\",\r\n finishTime: \"\",\r\n workName: \"\",\r\n deadline: \"\",\r\n countPatrol: \"\",\r\n remark: \"\"\r\n },\r\n arrayTimeSearch: [],\r\n listQuery: {\r\n checkName: localStorage.getItem(\"sitename2\"),\r\n curPage: 1,\r\n pageSize: 10,\r\n startTime: null,\r\n deadline: null,\r\n status: 5,\r\n parentId: null\r\n },\r\n workForm: null,\r\n listLoading: true,\r\n total: 0,\r\n taskIdStr: \"\",\r\n status: [\r\n {\r\n status: 3,\r\n label: this.$t(\"work.passed\")\r\n },\r\n {\r\n status: 4,\r\n label: this.$t(\"work.failed\")\r\n },\r\n {\r\n status: 5,\r\n label: this.$t(\"work.tobeAccepted\")\r\n }\r\n ]\r\n }\r\n },\r\n watch: {\r\n arrayTimeSearch(val) {\r\n this.listQuery.startTime = val && val[0]\r\n this.listQuery.deadline = val && val[1]\r\n }\r\n },\r\n created() {\r\n this.workList()\r\n },\r\n beforeRouteLeave(to, from, next) {\r\n this.$store.state.work.flag = \"task\"\r\n next()\r\n },\r\n methods: {\r\n workList() {\r\n this.listLoading = true\r\n getTaskList(this.listQuery).then((res) => {\r\n this.listLoading = false\r\n this.workForm = res.data.list\r\n this.total = res.data.totalRow\r\n })\r\n },\r\n apply(scope) {\r\n this.$store.state.work.completeList.ids = scope.row.deviceId\r\n this.$store.state.work.completeList.solveStatus = scope.row.orderType\r\n this.$store.state.work.completeList.solver = scope.row.receiveName\r\n this.$store.state.work.taskId = scope.row.taskId\r\n this.$store.state.work.applyStatus = scope.row.status\r\n\r\n getNeedAcceptanceDeviceList({\r\n taskId: scope.row.taskId,\r\n trackType: \"验收\"\r\n }).then((res) => {\r\n this.$store.state.work.flag = \"equipment\"\r\n this.$store.state.work.equipmentList = res.data.deviceAcceptanceList\r\n\r\n if (res.data.task.orderType == null) {\r\n res.data.task.orderType = \"8\"\r\n }\r\n this.$store.state.work.taskForm = res.data.task\r\n console.log(this.$store.state.work.taskForm)\r\n //console.log(this.$store.state.work.equipmentList)\r\n })\r\n },\r\n handleSelectionChange(row) {\r\n const count = []\r\n row.forEach((item) => {\r\n count.push(item.taskId)\r\n })\r\n this.taskIdStr = count.join(\",\")\r\n console.log(this.taskIdStr)\r\n },\r\n handleFilter() {\r\n this.listQuery.curPage = 1\r\n this.workList()\r\n },\r\n wipeCondition() {\r\n this.listQuery.curPage = 1\r\n this.listQuery.startTime = \"\"\r\n this.listQuery.deadline = \"\"\r\n this.arrayTimeSearch = []\r\n this.workList()\r\n },\r\n headClassName({ row, rowIndex }) {\r\n console.log(row, rowIndex)\r\n return \"headName\"\r\n },\r\n rowClassName({ row, rowIndex }) {\r\n console.log(row, rowIndex)\r\n if ((rowIndex + 1) % 2 !== 0) {\r\n return \"cellNameOdd\"\r\n } else {\r\n return \"cellNameEven\"\r\n }\r\n }\r\n }\r\n}\r\n</script>\r\n\r\n<style scoped></style>\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./task.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./task.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./task.vue?vue&type=template&id=7b27e008&scoped=true&\"\nimport script from \"./task.vue?vue&type=script&lang=js&\"\nexport * from \"./task.vue?vue&type=script&lang=js&\"\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 \"7b27e008\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""} |