1 line
48 KiB
Plaintext
1 line
48 KiB
Plaintext
{"version":3,"sources":["webpack:///./src/directive/permission/permission.js","webpack:///./src/directive/permission/index.js","webpack:///./src/views/operation/patrol/receivingWork.vue?a0a7","webpack:///./src/views/operation/patrol/receivingWork.vue?9abb","webpack:///src/views/operation/patrol/receivingWork.vue","webpack:///./src/views/operation/patrol/receivingWork.vue?3270","webpack:///./src/views/operation/patrol/receivingWork.vue?d7af","webpack:///./src/views/operation/patrol/index.vue?42e9","webpack:///./src/views/operation/patrol/index.vue?35bc","webpack:///src/views/operation/patrol/index.vue","webpack:///./src/views/operation/patrol/index.vue?07ca","webpack:///./src/views/operation/patrol/index.vue?9417"],"names":["inserted","el","binding","value","roles","store","getters","butPermission","console","log","Array","length","Error","permissionRoles","hasPermission","some","role","includes","state","user","permissionFlag","newnode","document","createElement","style","cursor","display","pointerEvents","parentNode","insertBefore","removeChild","appendChild","install","Vue","directive","permission","window","use","render","_vm","this","_h","$createElement","_c","_self","staticClass","staticStyle","_t","attrs","$t","on","$event","handleFilter","model","getWorkList","callback","$$v","$set","expression","_l","item","key","label","arrayTimeSearch","_v","_s","wipeCondition","directives","name","rawName","workForm","scopedSlots","_u","fn","scope","row","telephone","_e","finishTime","remark","status","seeSon","total","curPage","pageSize","workList","dialogTableVisible","gridData","taskType","split","seeEq","sonTotal","getSonList","sonList","seeDialog","staticRenderFns","components","Pagination","sonEquipment","data","sonPatrol","list","listLoading","downloadLoading","receiveName","startTime","deadline","parentId","statusNo","releaseName","created","watch","val","$store","gongdan","isSee","methods","handleCreate","$children","forEach","e","workBree","handleDelete","taskCount","confirmButtonText","cancelButtonText","type","then","batchDeleteTask","taskIdStr","title","message","duration","getTask","taskId","getTaskList","workStatus","res","headClassName","rowClassName","rowIndex","component","taskSelected","task","id","DispatchedWork","ReceivingWork","taskList"],"mappings":"kNAEe,GACbA,SADa,SACJC,EAAIC,GACX,IAAQC,EAAUD,EAAVC,MAEFC,EAAQC,OAAMC,SAAWD,OAAMC,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G,GAAM,OAAOpG,EAAG,YAAY,CAACkB,IAAIkF,EAAKC,GAAGhG,MAAM,CAAC,MAAQ+F,EAAK5I,MAAM,MAAQ4I,EAAK3E,WAAU,IAAI,GAAGzB,EAAG,gBAAgB,CAACA,EAAG,YAAY,CAACE,YAAY,cAAcQ,MAAM,CAAClD,MAAOoC,EAAgB,aAAEgB,SAAS,SAAUC,GAAMjB,EAAIuG,aAAatF,GAAKE,WAAW,iBAAiBnB,EAAIoB,GAAIpB,EAAY,UAAE,SAASwG,GAAM,OAAOpG,EAAG,YAAY,CAACkB,IAAIkF,EAAKC,GAAGhG,MAAM,CAAC,MAAQ+F,EAAK5I,MAAM,MAAQ4I,EAAK3E,WAAU,IAAI,IAC5sB2B,EAAkB,G,oCC0BP,GACbC,WAAYA,CACViD,eAAJA,aACIC,cAAJA,cAEE/E,WAAYA,CAAdhC,mBACEgE,KANF,WAOI,MAAO,CACLgD,SAAUA,CAChB,CAAQ/E,KAARA,0BAAQjE,MAARA,UAAQ6I,GAARA,GACA,CAAQ5E,KAARA,yBAAQjE,MAARA,UAAQ6I,GAARA,IAEMF,aAAcA,YAGlBhC,QAfF,WAgBItE,KAAKsG,aAAetG,KAAK2G,SAAS,GAAGhJ,OAEvCiH,QAASA,IC7CkW,I,wBCQzWyB,EAAY,eACd,EACAvG,EACAyD,GACA,EACA,KACA,WACA,MAIa,aAAA8C,E","file":"js/chunk-34eb0d0f.9b1d83c1.js","sourcesContent":["import store from \"@/store\";\r\n\r\nexport default {\r\n inserted(el, binding) {\r\n const { value } = binding;\r\n // const roles = store.getters && store.getters.roles\r\n const roles = store.getters && store.getters.butPermission;\r\n console.log(roles, 'roles');\r\n if (value && value instanceof Array && value.length > 0) {\r\n const permissionRoles = value;\r\n const hasPermission = roles.some(role => {\r\n return permissionRoles.includes(role);\r\n });\r\n console.log(hasPermission, 'hasPermission');\r\n if (!hasPermission) {\r\n // el.parentNode && el.parentNode.removeChild(el) \r\n\r\n store.state.user.permissionFlag[permissionRoles] = true;\r\n\r\n\r\n console.log(store.state.user.permissionFlag[permissionRoles], 'permissionRoles');\r\n const newnode = document.createElement(\"div\");\r\n newnode.style.cursor = 'not-allowed'\r\n newnode.style.display = 'inline-block'\r\n el.style.pointerEvents = \"none\"\r\n el.parentNode.insertBefore(newnode, el)\r\n el.parentNode && el.parentNode.removeChild(el)\r\n newnode.appendChild(el);\r\n console.log(el, 'permissionRoles');\r\n } else {\r\n store.state.user.permissionFlag[permissionRoles] = false;\r\n }\r\n } else {\r\n throw new Error(`need roles! Like v-permission=\"['admin','editor']\"`);\r\n }\r\n }\r\n};","import permission from \"./permission\";\n\nconst install = function(Vue) {\n Vue.directive(\"permission\", permission);\n};\n\nif (window.Vue) {\n window[\"permission\"] = permission;\n Vue.use(install); // eslint-disable-line\n}\n\npermission.install = install;\nexport default permission;\n","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!./receivingWork.vue?vue&type=style&index=1&id=6edbe96c&scoped=true&lang=css&\"","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\",staticStyle:{\"border\":\"0\"}},[_vm._t(\"default\"),_c('el-select',{staticClass:\"filter-item\",staticStyle:{\"width\":\"150px\"},attrs:{\"placeholder\":_vm.$t('work.status')},on:{\"change\":function($event){return _vm.handleFilter()}},model:{value:(_vm.getWorkList.status),callback:function ($$v) {_vm.$set(_vm.getWorkList, \"status\", $$v)},expression:\"getWorkList.status\"}},_vm._l((_vm.status),function(item){return _c('el-option',{key:item.value,attrs:{\"label\":item.label,\"value\":item.value}})}),1),_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('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\"))+\" \")])],2),_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\"}},[_c('el-table-column',{attrs:{\"type\":\"index\",\"align\":\"left\",\"label\":\"序号\",\"width\":\"60\"}}),_c('el-table-column',{attrs:{\"property\":\"taskName\",\"align\":\"left\",\"label\":_vm.$t('work.taskName')}}),_c('el-table-column',{attrs:{\"property\":\"receiveName\",\"align\":\"left\",\"label\":_vm.$t('work.recipient')}}),_c('el-table-column',{attrs:{\"property\":\"telephone\",\"align\":\"left\",\"label\":_vm.$t('device.phone')},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(scope.row.telephone !== null)?_c('span',[_vm._v(\" \"+_vm._s(scope.row.telephone)+\" \")]):_vm._e(),(scope.row.telephone === null)?_c('span',[_vm._v(\"- -\")]):_vm._e()]}}])}),_c('el-table-column',{attrs:{\"property\":\"startTime\",\"align\":\"left\",\"label\":_vm.$t('startTime'),\"width\":\"165\"}}),_c('el-table-column',{attrs:{\"property\":\"deadline\",\"align\":\"left\",\"label\":_vm.$t('endTime'),\"width\":\"165\"}}),_c('el-table-column',{attrs:{\"property\":\"finishTime\",\"align\":\"left\",\"label\":_vm.$t('completionTime'),\"width\":\"165\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(scope.row.finishTime !== null)?_c('span',[_vm._v(\" \"+_vm._s(scope.row.finishTime)+\" \")]):_vm._e(),(scope.row.finishTime === null)?_c('span',[_vm._v(\"- -\")]):_vm._e()]}}])}),_c('el-table-column',{attrs:{\"align\":\"left\",\"label\":_vm.$t('work.remark'),\"show-overflow-tooltip\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(scope.row.remark !== null)?_c('span',[_vm._v(_vm._s(scope.row.remark))]):_vm._e(),(scope.row.remark === null)?_c('span',[_vm._v(\"- -\")]):_vm._e()]}}])}),_c('el-table-column',{attrs:{\"label\":_vm.$t('work.status'),\"align\":\"left\"},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.complete\")))]):_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 red\"},[_vm._v(_vm._s(_vm.$t(\"work.timedout\")))]):_vm._e()]}}])}),_c('el-table-column',{attrs:{\"label\":_vm.$t('table.operate'),\"width\":\"200\",\"align\":\"left\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('span',{staticClass:\"btnCancel\",staticStyle:{\"width\":\"58px\",\"height\":\"24px\"},on:{\"click\":function($event){return _vm.seeSon(scope)}}},[_c('i',{staticClass:\"iconfont icon-kejian\"}),_vm._v(\" \"+_vm._s(_vm.$t(\"work.see\"))+\" \")])]}}])})],1)],1),_c('pagination',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.total > 0),expression:\"total > 0\"}],attrs:{\"total\":_vm.total,\"page\":_vm.getWorkList.curPage,\"limit\":_vm.getWorkList.pageSize},on:{\"update:page\":function($event){return _vm.$set(_vm.getWorkList, \"curPage\", $event)},\"update:limit\":function($event){return _vm.$set(_vm.getWorkList, \"pageSize\", $event)},\"pagination\":_vm.workList}}),_c('el-dialog',{staticClass:\"gisDialog\",attrs:{\"title\":_vm.$t('work.Subinspectiontask'),\"visible\":_vm.dialogTableVisible},on:{\"update:visible\":function($event){_vm.dialogTableVisible=$event}}},[_c('div',{staticClass:\"table-container\",staticStyle:{\"height\":\"100%\"}},[_c('el-table',{staticStyle:{\"width\":\"100%\"},attrs:{\"highlight-current-row\":\"\",\"max-height\":\"480\",\"header-row-class-name\":\"table-header\",\"row-class-name\":\"table-row\",\"data\":_vm.gridData}},[_c('el-table-column',{attrs:{\"property\":\"taskName\",\"align\":\"left\",\"label\":_vm.$t('work.taskName')}}),_c('el-table-column',{attrs:{\"property\":\"receiveName\",\"align\":\"left\",\"label\":_vm.$t('work.recipient')}}),_c('el-table-column',{attrs:{\"property\":\"taskType\",\"align\":\"left\",\"label\":_vm.$t('work.taskType')},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(scope.row.taskType === '安装')?_c('span',{staticClass:\"use\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"work.install\")))]):(scope.row.taskType === '拆除')?_c('span',{staticClass:\"use\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"work.dismantle\"))+\" \")]):(scope.row.taskType === '故障')?_c('span',{staticClass:\"use\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"work.faults\"))+\" \")]):(scope.row.taskType === '巡检')?_c('span',{staticClass:\"use\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"work.patrol\"))+\" \")]):(scope.row.taskType.split(',')[0] === '其他')?_c('span',{staticClass:\"otherUse\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"work.other\") + \"(\" + scope.row.taskType.split(\",\")[1])+\") \")]):_c('span',{staticClass:\"use\"},[_vm._v(\" \"+_vm._s(scope.row.taskType)+\" \")])]}}])}),_c('el-table-column',{attrs:{\"property\":\"startTime\",\"align\":\"left\",\"label\":_vm.$t('startTime'),\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"property\":\"deadline\",\"label\":_vm.$t('endTime'),\"align\":\"left\",\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"property\":\"finishTime\",\"align\":\"left\",\"label\":_vm.$t('completionTime'),\"show-overflow-tooltip\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(scope.row.finishTime !== null)?_c('span',[_vm._v(\" \"+_vm._s(scope.row.finishTime)+\" \")]):_vm._e(),(scope.row.finishTime === null)?_c('span',[_vm._v(\"- -\")]):_vm._e()]}}])}),_c('el-table-column',{attrs:{\"label\":_vm.$t('work.status'),\"align\":\"left\"},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.complete\")))]):_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 red\"},[_vm._v(_vm._s(_vm.$t(\"work.timedout\")))]):_vm._e()]}}])}),_c('el-table-column',{attrs:{\"label\":_vm.$t('table.operate'),\"align\":\"left\",\"width\":\"80\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('span',{staticClass:\"btnCancel\",on:{\"click\":function($event){return _vm.seeEq(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.sonTotal > 0),expression:\"sonTotal > 0\"}],attrs:{\"total\":_vm.sonTotal,\"page-sizes\":[1, 5, 10, 20],\"page\":_vm.getSonList.curPage,\"limit\":_vm.getSonList.pageSize},on:{\"update:page\":function($event){return _vm.$set(_vm.getSonList, \"curPage\", $event)},\"update:limit\":function($event){return _vm.$set(_vm.getSonList, \"pageSize\", $event)},\"pagination\":_vm.sonList}})],1)]),_c('el-dialog',{attrs:{\"title\":_vm.$t('work.see'),\"visible\":_vm.seeDialog,\"width\":\"900px\"},on:{\"update:visible\":function($event){_vm.seeDialog=$event}}},[_c('son-equipment')],1)],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\" style=\"border: 0\">\r\n <slot />\r\n <el-select\r\n v-model=\"getWorkList.status\"\r\n :placeholder=\"$t('work.status')\"\r\n style=\"width: 150px\"\r\n class=\"filter-item\"\r\n @change=\"handleFilter()\"\r\n >\r\n <el-option\r\n v-for=\"item in status\"\r\n :key=\"item.value\"\r\n :label=\"item.label\"\r\n :value=\"item.value\"\r\n ></el-option>\r\n </el-select>\r\n\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 <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 >\r\n <el-table-column type=\"index\" align=\"left\" label=\"序号\" width=\"60\" />\r\n <!-- <el-table-column\r\n property=\"taskNum\"\r\n align=\"left\"\r\n label=\"任务编号\"\r\n \r\n show-overflow-tooltip\r\n />-->\r\n <el-table-column\r\n property=\"taskName\"\r\n align=\"left\"\r\n :label=\"$t('work.taskName')\"\r\n />\r\n <el-table-column\r\n property=\"receiveName\"\r\n align=\"left\"\r\n :label=\"$t('work.recipient')\"\r\n />\r\n <el-table-column\r\n property=\"telephone\"\r\n align=\"left\"\r\n :label=\"$t('device.phone')\"\r\n >\r\n <template slot-scope=\"scope\">\r\n <span v-if=\"scope.row.telephone !== null\">\r\n {{ scope.row.telephone }}\r\n </span>\r\n <span v-if=\"scope.row.telephone === null\">- -</span>\r\n </template>\r\n </el-table-column>\r\n <el-table-column\r\n property=\"startTime\"\r\n align=\"left\"\r\n :label=\"$t('startTime')\"\r\n width=\"165\"\r\n />\r\n <el-table-column\r\n property=\"deadline\"\r\n align=\"left\"\r\n :label=\"$t('endTime')\"\r\n width=\"165\"\r\n />\r\n <el-table-column\r\n property=\"finishTime\"\r\n align=\"left\"\r\n :label=\"$t('completionTime')\"\r\n width=\"165\"\r\n >\r\n <template slot-scope=\"scope\">\r\n <span v-if=\"scope.row.finishTime !== null\">\r\n {{ scope.row.finishTime }}\r\n </span>\r\n <span v-if=\"scope.row.finishTime === null\">- -</span>\r\n </template>\r\n </el-table-column>\r\n <el-table-column\r\n align=\"left\"\r\n :label=\"$t('work.remark')\"\r\n show-overflow-tooltip\r\n >\r\n <template slot-scope=\"scope\">\r\n <span v-if=\"scope.row.remark !== null\">{{ scope.row.remark }}</span>\r\n <span v-if=\"scope.row.remark === null\">- -</span>\r\n </template>\r\n </el-table-column>\r\n <el-table-column :label=\"$t('work.status')\" align=\"left\">\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.complete\")\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 red\">{{\r\n $t(\"work.timedout\")\r\n }}</span>\r\n </template>\r\n </el-table-column>\r\n <el-table-column :label=\"$t('table.operate')\" width=\"200\" align=\"left\">\r\n <template slot-scope=\"scope\">\r\n <span\r\n class=\"btnCancel\"\r\n @click=\"seeSon(scope)\"\r\n style=\"width: 58px; height: 24px\"\r\n >\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 </div>\r\n <pagination\r\n v-show=\"total > 0\"\r\n :total=\"total\"\r\n :page.sync=\"getWorkList.curPage\"\r\n :limit.sync=\"getWorkList.pageSize\"\r\n @pagination=\"workList\"\r\n />\r\n\r\n <el-dialog\r\n :title=\"$t('work.Subinspectiontask')\"\r\n :visible.sync=\"dialogTableVisible\"\r\n class=\"gisDialog\"\r\n >\r\n <div class=\"table-container\" style=\"height: 100%\">\r\n <el-table\r\n highlight-current-row\r\n max-height=\"480\"\r\n style=\"width: 100%\"\r\n header-row-class-name=\"table-header\"\r\n row-class-name=\"table-row\"\r\n :data=\"gridData\"\r\n >\r\n <el-table-column\r\n property=\"taskName\"\r\n align=\"left\"\r\n :label=\"$t('work.taskName')\"\r\n />\r\n <el-table-column\r\n property=\"receiveName\"\r\n align=\"left\"\r\n :label=\"$t('work.recipient')\"\r\n />\r\n <el-table-column\r\n property=\"taskType\"\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.taskType === '安装'\" class=\"use\">\r\n {{ $t(\"work.install\") }}</span\r\n >\r\n <span v-else-if=\"scope.row.taskType === '拆除'\" class=\"use\">\r\n {{ $t(\"work.dismantle\") }}\r\n </span>\r\n <span v-else-if=\"scope.row.taskType === '故障'\" class=\"use\">\r\n {{ $t(\"work.faults\") }}\r\n </span>\r\n <span v-else-if=\"scope.row.taskType === '巡检'\" class=\"use\">\r\n {{ $t(\"work.patrol\") }}\r\n </span>\r\n <span\r\n v-else-if=\"scope.row.taskType.split(',')[0] === '其他'\"\r\n class=\"otherUse\"\r\n >\r\n {{ $t(\"work.other\") + \"(\" + scope.row.taskType.split(\",\")[1] }})\r\n </span>\r\n <span v-else class=\"use\"> {{ scope.row.taskType }} </span>\r\n </template>\r\n </el-table-column>\r\n <el-table-column\r\n property=\"startTime\"\r\n align=\"left\"\r\n :label=\"$t('startTime')\"\r\n show-overflow-tooltip\r\n />\r\n <el-table-column\r\n property=\"deadline\"\r\n :label=\"$t('endTime')\"\r\n align=\"left\"\r\n show-overflow-tooltip\r\n />\r\n <el-table-column\r\n property=\"finishTime\"\r\n align=\"left\"\r\n :label=\"$t('completionTime')\"\r\n show-overflow-tooltip\r\n >\r\n <template slot-scope=\"scope\">\r\n <span v-if=\"scope.row.finishTime !== null\">\r\n {{ scope.row.finishTime }}\r\n </span>\r\n <span v-if=\"scope.row.finishTime === null\">- -</span>\r\n </template>\r\n </el-table-column>\r\n <el-table-column :label=\"$t('work.status')\" align=\"left\">\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.complete\")\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 red\">{{\r\n $t(\"work.timedout\")\r\n }}</span>\r\n </template>\r\n </el-table-column>\r\n <el-table-column :label=\"$t('table.operate')\" align=\"left\" width=\"80\">\r\n <template slot-scope=\"scope\">\r\n <span class=\"btnCancel\" @click=\"seeEq(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=\"sonTotal > 0\"\r\n :total=\"sonTotal\"\r\n :page-sizes=\"[1, 5, 10, 20]\"\r\n :page.sync=\"getSonList.curPage\"\r\n :limit.sync=\"getSonList.pageSize\"\r\n @pagination=\"sonList\"\r\n />\r\n </div>\r\n </el-dialog>\r\n <el-dialog :title=\"$t('work.see')\" :visible.sync=\"seeDialog\" width=\"900px\">\r\n <son-equipment></son-equipment>\r\n </el-dialog>\r\n </div>\r\n</template>\r\n<style></style>\r\n<script>\r\nimport { workStatus } from \"@/utils/time\"\r\nimport { getTaskList, getTask, batchDeleteTask } from \"@/api/work\"\r\nimport Pagination from \"@/components/Pagination\"\r\nimport sonEquipment from \"@/components/historicalTrack/sonEquipment\"\r\nexport default {\r\n components: { Pagination, sonEquipment },\r\n data() {\r\n return {\r\n gridData: null,\r\n dialogTableVisible: false,\r\n sonPatrol: null,\r\n total: 0,\r\n list: null,\r\n listLoading: true,\r\n downloadLoading: false,\r\n workForm: [],\r\n arrayTimeSearch: [],\r\n getWorkList: {\r\n receiveName: localStorage.getItem(\"sitename2\"),\r\n curPage: 1,\r\n pageSize: 10,\r\n startTime: null,\r\n deadline: null,\r\n status: null,\r\n taskType: \"巡检\",\r\n parentId: null,\r\n statusNo: -1\r\n },\r\n status: [\r\n {\r\n value: -1,\r\n label: this.$t(\"work.unpublished\")\r\n },\r\n {\r\n value: 0,\r\n label: this.$t(\"work.notStarted\")\r\n },\r\n {\r\n value: 1,\r\n label: this.$t(\"work.inProgress\")\r\n },\r\n {\r\n value: 2,\r\n label: this.$t(\"work.suspend\")\r\n },\r\n {\r\n value: 3,\r\n label: this.$t(\"work.passed\")\r\n },\r\n {\r\n value: 4,\r\n label: this.$t(\"work.failed\")\r\n }\r\n ],\r\n getSonList: {\r\n releaseName: localStorage.getItem(\"sitename2\"),\r\n curPage: 1,\r\n pageSize: 5,\r\n startTime: null,\r\n deadline: null,\r\n status: null,\r\n taskType: \"巡检\",\r\n parentId: null\r\n },\r\n sonTotal: 0,\r\n seeDialog: false\r\n }\r\n },\r\n created() {\r\n this.workList()\r\n },\r\n watch: {\r\n arrayTimeSearch(val) {\r\n this.getWorkList.startTime = val && val[0]\r\n this.getWorkList.deadline = val && val[1]\r\n },\r\n seeDialog(val) {\r\n if (val === true) {\r\n this.$store.state.gongdan.isSee = \"seeEquipment\"\r\n } else if (val === false) {\r\n this.$store.state.gongdan.isSee = \"\"\r\n }\r\n }\r\n },\r\n methods: {\r\n handleCreate() {\r\n this.$children.forEach((e) => {\r\n if (e.workBree) {\r\n e.handleCreate()\r\n }\r\n })\r\n },\r\n handleDelete() {\r\n this.$children.forEach((e) => {\r\n if (e.workBree) {\r\n console.log(e.taskCount)\r\n if (!e.taskCount) {\r\n return\r\n }\r\n this.$confirm(\r\n this.$t(\"title.delPointOutWork\"),\r\n this.$t(\"title.pointOut\"),\r\n {\r\n confirmButtonText: this.$t(\"title.delete\"),\r\n cancelButtonText: this.$t(\"title.cancel\"),\r\n type: \"warning\"\r\n }\r\n ).then(() => {\r\n batchDeleteTask({ taskIdStr: e.taskCount }).then((res) => {\r\n console.log(res)\r\n e.workList()\r\n this.$notify({\r\n title: this.$t(\"title.success\"),\r\n message: this.$t(\"title.deleteSuccess\"),\r\n type: \"success\",\r\n duration: 3000\r\n })\r\n })\r\n })\r\n }\r\n })\r\n },\r\n seeEq(scope) {\r\n this.seeDialog = true\r\n getTask({ taskId: scope.row.taskId }).then((res) => {\r\n this.$store.state.partol.deviceAllList = res.data\r\n })\r\n },\r\n sonList() {\r\n getTaskList(this.getSonList).then((res) => {\r\n this.gridData = res.data.list\r\n this.sonTotal = res.data.totalRow\r\n this.gridData = this.gridData.map((item) => {\r\n item = Object.assign({}, item)\r\n if (\r\n workStatus(\r\n item.startTime,\r\n item.deadline,\r\n res.timestamp,\r\n item.status\r\n ) == 6\r\n ) {\r\n item.status = 6\r\n }\r\n return item\r\n })\r\n })\r\n },\r\n seeSon(scope) {\r\n this.getSonList.parentId = scope.row.taskId\r\n this.dialogTableVisible = true\r\n this.sonList()\r\n },\r\n workList() {\r\n this.listLoading = true\r\n getTaskList(this.getWorkList).then((res) => {\r\n this.listLoading = false\r\n this.workForm = res.data.list\r\n this.total = res.data.totalRow\r\n this.workForm = this.workForm.map((item) => {\r\n item = Object.assign({}, item)\r\n if (\r\n workStatus(\r\n item.startTime,\r\n item.deadline,\r\n res.timestamp,\r\n item.status\r\n ) == 6\r\n ) {\r\n item.status = 6\r\n }\r\n return item\r\n })\r\n })\r\n },\r\n\r\n handleFilter() {\r\n this.getWorkList.curPage = 1\r\n this.workList()\r\n },\r\n wipeCondition() {\r\n for (var key in this.getWorkList) {\r\n if (\r\n key !== \"curPage\" &&\r\n key !== \"pageSize\" &&\r\n key !== \"receiveName\" &&\r\n key !== \"taskType\"\r\n ) {\r\n this.getWorkList[key] = null\r\n }\r\n }\r\n this.arrayTimeSearch = []\r\n this.workList()\r\n },\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>\r\n.edit-input {\r\n padding-right: 100px;\r\n}\r\n.options {\r\n margin-left: 110px;\r\n position: relative;\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!./receivingWork.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!./receivingWork.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./receivingWork.vue?vue&type=template&id=6edbe96c&scoped=true&\"\nimport script from \"./receivingWork.vue?vue&type=script&lang=js&\"\nexport * from \"./receivingWork.vue?vue&type=script&lang=js&\"\nimport style1 from \"./receivingWork.vue?vue&type=style&index=1&id=6edbe96c&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 \"6edbe96c\",\n null\n \n)\n\nexport default component.exports","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=4b2d2cae&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.taskSelected == 'release')?_c('DispatchedWork',[_c('el-select',{staticClass:\"filter-item\",model:{value:(_vm.taskSelected),callback:function ($$v) {_vm.taskSelected=$$v},expression:\"taskSelected\"}},_vm._l((_vm.taskList),function(task){return _c('el-option',{key:task.id,attrs:{\"value\":task.value,\"label\":task.name}})}),1)],1):_c('ReceivingWork',[_c('el-select',{staticClass:\"filter-item\",model:{value:(_vm.taskSelected),callback:function ($$v) {_vm.taskSelected=$$v},expression:\"taskSelected\"}},_vm._l((_vm.taskList),function(task){return _c('el-option',{key:task.id,attrs:{\"value\":task.value,\"label\":task.name}})}),1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <DispatchedWork v-if=\"taskSelected == 'release'\">\r\n <el-select v-model=\"taskSelected\" class=\"filter-item\">\r\n <el-option\r\n v-for=\"task in taskList\"\r\n :key=\"task.id\"\r\n :value=\"task.value\"\r\n :label=\"task.name\"\r\n ></el-option>\r\n </el-select>\r\n </DispatchedWork>\r\n <ReceivingWork v-else>\r\n <el-select v-model=\"taskSelected\" class=\"filter-item\">\r\n <el-option\r\n v-for=\"task in taskList\"\r\n :key=\"task.id\"\r\n :value=\"task.value\"\r\n :label=\"task.name\"\r\n ></el-option>\r\n </el-select>\r\n </ReceivingWork>\r\n</template>\r\n<script>\r\nimport DispatchedWork from './dispatchedWork'\r\nimport ReceivingWork from './receivingWork'\r\nimport permission from '@/directive/permission/index.js' // 权限判断指令\r\n\r\nexport default {\r\n components: {\r\n DispatchedWork,\r\n ReceivingWork\r\n },\r\n directives: { permission },\r\n data() {\r\n return {\r\n taskList: [\r\n { name: this.$t('work.published'), value: 'release', id: 2 },\r\n { name: this.$t('work.received'), value: 'receive', id: 3 }\r\n ],\r\n taskSelected: 'release'\r\n }\r\n },\r\n created() {\r\n this.taskSelected = this.taskList[0].value\r\n },\r\n methods: {}\r\n}\r\n</script>\r\n\r\n<style scoped>\r\n.edit-input {\r\n padding-right: 100px;\r\n}\r\n.allSearch {\r\n position: absolute;\r\n}\r\nselect {\r\n font-size: 14px;\r\n position: relative;\r\n z-index: 1;\r\n}\r\n.leftSelect {\r\n position: absolute;\r\n height: 36px !important;\r\n left: 898px;\r\n z-index: 1;\r\n}\r\n.selects {\r\n width: 106px;\r\n}\r\n.optionsMenu {\r\n padding-bottom: 0px;\r\n}\r\n.allSearch {\r\n margin: 0px !important;\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=4b2d2cae&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=4b2d2cae&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 \"4b2d2cae\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""} |