1 line
82 KiB
Plaintext
1 line
82 KiB
Plaintext
{"version":3,"sources":["webpack:///./src/views/operation/workOrder/dispatchedWork.vue?b123","webpack:///src/views/operation/workOrder/dispatchedWork.vue","webpack:///./src/views/operation/workOrder/dispatchedWork.vue?6783","webpack:///./src/views/operation/workOrder/dispatchedWork.vue","webpack:///./src/views/operation/workOrder/index.vue?b59b","webpack:///src/views/operation/workOrder/index.vue","webpack:///./src/views/operation/workOrder/index.vue?3b24","webpack:///./src/views/operation/workOrder/index.vue?6f08","webpack:///./src/directive/permission/permission.js","webpack:///./src/directive/permission/index.js","webpack:///./src/views/operation/workOrder/index.vue?d0a2","webpack:///./src/views/operation/workOrder/receivingWork.vue?4fe3","webpack:///src/views/operation/workOrder/receivingWork.vue","webpack:///./src/views/operation/workOrder/receivingWork.vue?9927","webpack:///./src/views/operation/workOrder/receivingWork.vue?09a9","webpack:///./src/views/operation/workOrder/receivingWork.vue?ec8b","webpack:///./src/api/deviceType.js"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","_t","staticStyle","attrs","$t","nativeOn","$event","type","indexOf","_k","keyCode","key","handleFilter","apply","arguments","model","value","listQuery","callback","$$v","$set","expression","on","_l","item","label","arrayTimeSearch","_v","_s","wipeCondition","handleCreate","handleDeletes","directives","name","rawName","workForm","handleSelectionChange","handleUpdates","scopedSlots","_u","fn","scope","row","orderType","split","status","_e","finishTime","remark","handleUpdate","handleSee","handleDelete","getOut","stop","total","curPage","pageSize","workList","ref","dialogStatus","otherRemarkParent","arrayTimeParent","seeDialog","staticRenderFns","components","Pagination","sonEquipment","createWork","filters","statusFilter","data","deviceType","addDialog","deptList","releaseName","startTime","deadline","taskType","parentId","search","list","listLoading","downloadLoading","light","options","taskCount","workFly","deviceList","pickerOptions0","disabledDate","time","getTime","Date","now","pickerOptions1","computed","form","$store","state","work","isDialog","watch","val","devList","isSee","created","getTypeList","methods","currentCheckedList","join","releaseTask","taskId","console","res","title","message","duration","applyAcceptanceTask","getTaskList","workStatus","resetForm","otherRemark","arrayTime","deviceAllList","getTask","Object","assign","$confirm","confirmButtonText","cancelButtonText","then","batchDeleteTask","taskIdStr","deleteTask","formatJson","filterVal","jsonData","map","v","j","component","taskSelected","task","id","DispatchedWork","ReceivingWork","taskList","inserted","el","binding","roles","store","getters","butPermission","log","Array","length","Error","permissionRoles","hasPermission","some","role","includes","user","permissionFlag","newnode","document","createElement","style","cursor","display","pointerEvents","parentNode","insertBefore","removeChild","appendChild","install","Vue","directive","permission","window","use","getWorkList","receiveName","statusNo","headClassName","rowClassName","rowIndex","request","url","method","params","addType","headers","deleteType","delData","typeById","updateType"],"mappings":"2JAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,iBAAiB,CAACF,EAAG,MAAM,CAACE,YAAY,aAAaF,EAAG,MAAM,CAACE,YAAY,oBAAoB,CAACN,EAAIO,GAAG,WAAWH,EAAG,WAAW,CAACE,YAAY,cAAcE,YAAY,CAAC,MAAQ,SAASC,MAAM,CAAC,YAAcT,EAAIU,GAAG,kBAAkBC,SAAS,CAAC,MAAQ,SAASC,GAAQ,OAAIA,EAAOC,KAAKC,QAAQ,QAAQd,EAAIe,GAAGH,EAAOI,QAAQ,QAAQ,GAAGJ,EAAOK,IAAI,SAAkB,KAAcjB,EAAIkB,aAAaC,MAAM,KAAMC,aAAaC,MAAM,CAACC,MAAOtB,EAAIuB,UAAgB,OAAEC,SAAS,SAAUC,GAAMzB,EAAI0B,KAAK1B,EAAIuB,UAAW,SAAUE,IAAME,WAAW,sBAAsBvB,EAAG,YAAY,CAACE,YAAY,cAAcE,YAAY,CAAC,MAAQ,SAASC,MAAM,CAAC,YAAcT,EAAIU,GAAG,oBAAoBkB,GAAG,CAAC,OAAS5B,EAAIkB,cAAcG,MAAM,CAACC,MAAOtB,EAAIuB,UAAoB,WAAEC,SAAS,SAAUC,GA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nC,GALA+F,eACA/F,YACAA,WACAyF,YACAzF,YAGYA,EAAKA,OAASA,GAETA,KAETwF,QAAQA,IAAIA,EAApBA,cAGIpG,aA9BJ,WAgCMjB,KAAK2L,YAAY/H,QAAU,EAC3B5D,KAAK8D,YAEP5B,cAnCJ,WAoCM,IAAK,IAAX,sBAEAlB,eACAA,gBACAA,mBACAA,gBACAA,iBAEUhB,KAAK2L,YAAY3K,GAAO,MAG5BhB,KAAK+H,UAAY,GACjB/H,KAAK2L,YAAY/H,QAAU,EAC3B5D,KAAK8D,YAEPgI,cAnDJ,WAoDM,MAAO,YAETC,aAtDJ,YAsDA,yBAEM,OADA1E,QAAQA,IAAIA,EAAKA,IACZ2E,EAAW,GAAK,IAAM,EAClB,cAEA,kBC/XsW,I,wBCQjX/C,EAAY,eACd,EACAnJ,EACAsE,GACA,EACA,KACA,WACA,MAIa,aAAA6E,E,2CCnBf,W,kCCAA,wJAgBO,SAASlC,EAAYpC,GAC1B,OAAOsH,eAAQ,CACbC,IAAK,kCACLC,OAAQ,MACRC,OAAQzH,IAKL,SAAS0H,EAAQ1H,GACtB,OAAOsH,eAAQ,CACbK,QAAS,CACP,eAAgB,oBAElBJ,IAAK,8BACLC,OAAQ,OACRxH,SAKG,SAAS4H,EAAW5H,GACzB,IAAM6H,EAAU,CACdC,SAAU9H,GAEZ,OAAOsH,eAAQ,CACbC,IAAK,iCACLC,OAAQ,SACRC,OAAQI,IAiBL,SAASE,EAAW/H,GACzB,OAAOsH,eAAQ,CACbK,QAAS,CACP,eAAgB,oBAElBJ,IAAK,iCACLC,OAAQ,MACRxH,W","file":"js/chunk-c6770f14.7726bfd3.js","sourcesContent":["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\"},[_vm._t(\"default\"),_c('el-input',{staticClass:\"filter-item\",staticStyle:{\"width\":\"150px\"},attrs:{\"placeholder\":_vm.$t('work.taskName')},nativeOn:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.handleFilter.apply(null, arguments)}},model:{value:(_vm.listQuery.search),callback:function ($$v) {_vm.$set(_vm.listQuery, \"search\", $$v)},expression:\"listQuery.search\"}}),_c('el-select',{staticClass:\"filter-item\",staticStyle:{\"width\":\"150px\"},attrs:{\"placeholder\":_vm.$t('device.typeName')},on:{\"change\":_vm.handleFilter},model:{value:(_vm.listQuery.deviceType),callback:function ($$v) {_vm.$set(_vm.listQuery, \"deviceType\", $$v)},expression:\"listQuery.deviceType\"}},_vm._l((_vm.deviceType),function(item){return _c('el-option',{key:item.value,attrs:{\"label\":item.label,\"value\":item.value}})}),1),_c('el-select',{staticClass:\"filter-item\",staticStyle:{\"width\":\"150px\"},attrs:{\"placeholder\":_vm.$t('work.status'),\"clearable\":\"\"},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.value,attrs:{\"label\":item.label,\"value\":item.value}})}),1),_c('el-select',{staticClass:\"filter-item\",staticStyle:{\"width\":\"150px\"},attrs:{\"placeholder\":_vm.$t('work.taskType'),\"clearable\":\"\"},on:{\"change\":_vm.handleFilter},model:{value:(_vm.listQuery.orderType),callback:function ($$v) {_vm.$set(_vm.listQuery, \"orderType\", $$v)},expression:\"listQuery.orderType\"}},_vm._l((_vm.options),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\":_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\"))+\" \")]),_c('div',{staticClass:\"control-container\"},[_c('span',{staticClass:\"btn-item\",on:{\"click\":_vm.handleCreate}},[_c('i',{staticClass:\"iconfont icon-a-\"}),_vm._v(_vm._s(_vm.$t(\"btn.add\")))]),_c('span',{staticClass:\"btn-item delete\",on:{\"click\":_vm.handleDeletes}},[_c('i',{staticClass:\"iconfont icon-shanchu\"}),_vm._v(_vm._s(_vm.$t(\"btn.delete\")))])])],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\"},on:{\"selection-change\":_vm.handleSelectionChange,\"row-dblclick\":_vm.handleUpdates}},[_c('el-table-column',{attrs:{\"type\":\"selection\",\"width\":\"55\",\"align\":\"center\"}}),_c('el-table-column',{attrs:{\"property\":\"taskName\",\"align\":\"left\",\"label\":_vm.$t('work.taskName'),\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"property\":\"receiveName\",\"align\":\"left\",\"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\"))+\" \")]):(scope.row.orderType.split(',')[0] === '5')?_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(scope.row.orderType)+\" \")])]}}])}),_c('el-table-column',{attrs:{\"property\":\"startTime\",\"align\":\"left\",\"label\":_vm.$t('startTime')}}),_c('el-table-column',{attrs:{\"property\":\"deadline\",\"align\":\"left\",\"label\":_vm.$t('endTime')}}),_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:{\"align\":\"left\",\"label\":_vm.$t('completionTime')},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(!scope.row.finishTime)?_c('span',[_vm._v(\"- -\")]):_vm._e(),(scope.row.finishTime)?_c('span',[_vm._v(_vm._s(scope.row.finishTime))]):_vm._e()]}}])}),_c('el-table-column',{attrs:{\"property\":\"remark\",\"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('table.operate'),\"width\":\"350\",\"align\":\"left\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(scope.row.status === -1)?_c('span',{staticClass:\"btnCancel\",attrs:{\"title\":_vm.$t('table.update')},on:{\"click\":function($event){return _vm.handleUpdate(scope.row)}}},[_c('i',{staticClass:\"iconfont icon-bianji\"}),_vm._v(_vm._s(_vm.$t(\"table.update\"))+\" \")]):_vm._e(),_c('span',{staticClass:\"btnCancel\",attrs:{\"title\":_vm.$t('work.see')},on:{\"click\":function($event){return _vm.handleSee(scope.row)}}},[_c('i',{staticClass:\"iconfont icon-kejian\"}),_vm._v(\" \"+_vm._s(_vm.$t(\"work.see\"))+\" \")]),_c('span',{staticClass:\"btnCancel delete\",attrs:{\"title\":_vm.$t('table.delete')},on:{\"click\":function($event){return _vm.handleDelete(scope)}}},[_c('i',{staticClass:\"iconfont icon-a--\"}),_vm._v(_vm._s(_vm.$t(\"table.delete\"))+\" \")]),(scope.row.status === -1)?_c('span',{staticClass:\"btnCancel\",on:{\"click\":function($event){return _vm.getOut(scope)}}},[_c('i',{staticClass:\"iconfont icon-biaoti\"}),_vm._v(_vm._s(_vm.$t(\"work.release\"))+\" \")]):_vm._e(),(scope.row.status === 1)?_c('span',{staticClass:\"btnCancel\",on:{\"click\":function($event){return _vm.stop(scope)}}},[_c('i',{staticClass:\"iconfont icon-chakan\"}),_vm._v(_vm._s(_vm.$t(\"work.suspend\"))+\" \")]):_vm._e(),(scope.row.status === 1)?_c('span',{staticClass:\"btnCancel\",on:{\"click\":function($event){return _vm.apply(scope)}}},[_c('i',{staticClass:\"iconfont icon-biaoti\"}),_vm._v(_vm._s(_vm.$t(\"work.check\"))+\" \")]):_vm._e()]}}])})],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),_c('create-work',{ref:\"from\",attrs:{\"dialogStatus\":_vm.dialogStatus,\"otherRemarkParent\":_vm.otherRemarkParent,\"arrayTimeParent\":_vm.arrayTimeParent}}),_c('el-dialog',{staticStyle:{\"height\":\"800px\"},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\">\r\n <slot />\r\n <el-input\r\n v-model=\"listQuery.search\"\r\n :placeholder=\"$t('work.taskName')\"\r\n style=\"width: 150px\"\r\n class=\"filter-item\"\r\n @keyup.enter.native=\"handleFilter\"\r\n />\r\n <el-select\r\n v-model=\"listQuery.deviceType\"\r\n :placeholder=\"$t('device.typeName')\"\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 deviceType\"\r\n :key=\"item.value\"\r\n :label=\"item.label\"\r\n :value=\"item.value\"\r\n />\r\n </el-select>\r\n <el-select\r\n v-model=\"listQuery.status\"\r\n :placeholder=\"$t('work.status')\"\r\n clearable\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 <el-select\r\n v-model=\"listQuery.orderType\"\r\n :placeholder=\"$t('work.taskType')\"\r\n clearable\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 options\"\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 <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 />\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 class=\"control-container\">\r\n <span class=\"btn-item\" @click=\"handleCreate\"\r\n ><i class=\"iconfont icon-a-\" />{{ $t(\"btn.add\") }}</span\r\n >\r\n <span class=\"btn-item delete\" @click=\"handleDeletes\"\r\n ><i class=\"iconfont icon-shanchu\" />{{ $t(\"btn.delete\") }}</span\r\n >\r\n </div>\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 @row-dblclick=\"handleUpdates\"\r\n >\r\n <el-table-column type=\"selection\" width=\"55\" align=\"center\" />\r\n <el-table-column\r\n property=\"taskName\"\r\n align=\"left\"\r\n :label=\"$t('work.taskName')\"\r\n show-overflow-tooltip\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=\"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=\"scope.row.orderType.split(',')[0] === '5'\"\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\"> {{ scope.row.orderType }} </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 />\r\n <el-table-column\r\n property=\"deadline\"\r\n align=\"left\"\r\n :label=\"$t('endTime')\"\r\n />\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 align=\"left\" :label=\"$t('completionTime')\">\r\n <template slot-scope=\"scope\">\r\n <span v-if=\"!scope.row.finishTime\">- -</span>\r\n <span v-if=\"scope.row.finishTime\">{{ scope.row.finishTime }}</span>\r\n </template>\r\n </el-table-column>\r\n <el-table-column\r\n property=\"remark\"\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('table.operate')\" width=\"350\" align=\"left\">\r\n <template slot-scope=\"scope\">\r\n <span\r\n class=\"btnCancel\"\r\n v-if=\"scope.row.status === -1\"\r\n @click=\"handleUpdate(scope.row)\"\r\n :title=\"$t('table.update')\"\r\n >\r\n <i class=\"iconfont icon-bianji\" />{{ $t(\"table.update\") }}\r\n </span>\r\n <span\r\n class=\"btnCancel\"\r\n @click=\"handleSee(scope.row)\"\r\n :title=\"$t('work.see')\"\r\n >\r\n <i class=\"iconfont icon-kejian\" /> {{ $t(\"work.see\") }}\r\n </span>\r\n <span\r\n class=\"btnCancel delete\"\r\n @click=\"handleDelete(scope)\"\r\n :title=\"$t('table.delete')\"\r\n ><i class=\"iconfont icon-a--\" />{{ $t(\"table.delete\") }}\r\n </span>\r\n <span\r\n v-if=\"scope.row.status === -1\"\r\n class=\"btnCancel\"\r\n @click=\"getOut(scope)\"\r\n ><i class=\"iconfont icon-biaoti\" />{{ $t(\"work.release\") }}\r\n </span>\r\n <span\r\n v-if=\"scope.row.status === 1\"\r\n class=\"btnCancel\"\r\n @click=\"stop(scope)\"\r\n ><i class=\"iconfont icon-chakan\" />{{ $t(\"work.suspend\") }}\r\n </span>\r\n\r\n <span\r\n v-if=\"scope.row.status === 1\"\r\n class=\"btnCancel\"\r\n @click=\"apply(scope)\"\r\n ><i class=\"iconfont icon-biaoti\" />{{ $t(\"work.check\") }}\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\r\n <!--发起工单 -->\r\n <create-work\r\n :dialogStatus=\"dialogStatus\"\r\n :otherRemarkParent=\"otherRemarkParent\"\r\n :arrayTimeParent=\"arrayTimeParent\"\r\n ref=\"from\"\r\n ></create-work>\r\n <!-- 查看任务下的设备 -->\r\n <el-dialog\r\n :title=\"$t('work.see')\"\r\n :visible.sync=\"seeDialog\"\r\n width=\"900px\"\r\n style=\"height: 800px\"\r\n >\r\n <son-equipment></son-equipment>\r\n </el-dialog>\r\n </div>\r\n</template>\r\n<script>\r\nimport createWork from \"@/components/createWork/createWork\"\r\nimport {\r\n getTaskList,\r\n releaseTask,\r\n deleteTask,\r\n applyAcceptanceTask,\r\n getTask\r\n} from \"@/api/work\"\r\nimport { getTypeList } from \"@/api/deviceType\"\r\nimport { batchDeleteTask } from \"@/api/work\"\r\nimport Pagination from \"@/components/Pagination\"\r\n// import permission from '@/directive/permission/index.js' // 权限判断指令\r\nimport sonEquipment from \"@/components/historicalTrack/sonEquipment\"\r\nimport { workStatus } from \"@/utils/time\"\r\nexport default {\r\n components: { Pagination, sonEquipment, createWork },\r\n // directives: { permission },\r\n filters: {\r\n statusFilter(status) {\r\n if (status === 0) {\r\n return \"禁用\"\r\n } else {\r\n return \"启用\"\r\n }\r\n }\r\n },\r\n data() {\r\n return {\r\n arrayTimeSearch: [],\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 deviceType: [],\r\n addDialog: false,\r\n seeDialog: false,\r\n dialogStatus: \"\",\r\n deptList: [],\r\n total: 0,\r\n listQuery: {\r\n releaseName: 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 deviceType: null,\r\n search: null\r\n },\r\n otherRemarkParent: \"\",\r\n arrayTimeParent: [],\r\n list: null,\r\n listLoading: true,\r\n downloadLoading: false,\r\n light: false,\r\n workForm: null,\r\n options: [\r\n {\r\n value: \"1\",\r\n label: this.$t(\"work.install\")\r\n },\r\n {\r\n value: \"3\",\r\n label: this.$t(\"work.dismantle\")\r\n },\r\n {\r\n value: \"4\",\r\n label: this.$t(\"work.faults\")\r\n },\r\n {\r\n value: \"5\",\r\n label: this.$t(\"work.other\")\r\n }\r\n ],\r\n taskCount: null,\r\n workFly: \"workFly\",\r\n deviceList: [],\r\n pickerOptions0: {\r\n disabledDate: (time) => {\r\n return time.getTime() < Date.now() - 8.64e7\r\n }\r\n },\r\n pickerOptions1: {\r\n disabledDate: (time) => {\r\n return time.getTime() > Date.now() - 8.64e6\r\n }\r\n }\r\n }\r\n },\r\n computed: {\r\n form() {\r\n return this.$store.state.work.form\r\n },\r\n isDialog() {\r\n return this.$store.state.work.isDialog\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 isDialog(val) {\r\n if (val === false) {\r\n this.$store.state.work.devList = []\r\n }\r\n },\r\n seeDialog(val) {\r\n if (val === true) {\r\n this.$store.state.work.isSee = \"seeEquipment\"\r\n } else if (val === false) {\r\n this.$store.state.work.isSee = \"\"\r\n }\r\n }\r\n },\r\n created() {\r\n this.workList()\r\n getTypeList().then((res) => {\r\n this.deviceType = res.data.list.map((res) => {\r\n return {\r\n value: res.typeId,\r\n label: res.typeName\r\n }\r\n })\r\n })\r\n },\r\n methods: {\r\n handleSelectionChange(row) {\r\n const currentCheckedList = []\r\n row.forEach((e) => {\r\n currentCheckedList.push(e.taskId)\r\n })\r\n this.taskCount = currentCheckedList.join(\",\")\r\n //console.log(this.taskCount);\r\n },\r\n getOut(scope) {\r\n releaseTask({ status: 0, taskId: scope.row.taskId }).then((res) => {\r\n console.log(res)\r\n this.workList()\r\n })\r\n },\r\n stop(scope) {\r\n releaseTask({ status: 2, taskId: scope.row.taskId }).then((res) => {\r\n if (res.status === 200) {\r\n this.$notify({\r\n title: this.$t(\"title.success\"),\r\n message: \"终止成功\",\r\n type: \"success\",\r\n duration: 3000\r\n })\r\n }\r\n this.workList()\r\n })\r\n },\r\n apply(scope) {\r\n applyAcceptanceTask({ taskId: scope.row.taskId }).then((res) => {\r\n console.log(res)\r\n this.workList()\r\n })\r\n },\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 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 resetForm() {\r\n // 重置表单\r\n for (var key in this.form) {\r\n if (key !== \"deviceList\") {\r\n this.form[key] = null\r\n }\r\n }\r\n this.arrayTimeSearch = []\r\n // this.$nextTick(() => {\r\n // // 清除表单验证\r\n // this.$refs[\"form\"].clearValidate();\r\n // });\r\n this.otherRemark = \"\"\r\n this.arrayTime = []\r\n },\r\n handleCreate() {\r\n this.resetForm()\r\n this.$store.state.work.deviceAllList = []\r\n this.$store.state.work.addDialog = true\r\n this.dialogStatus = \"create\"\r\n },\r\n handleUpdates(row) {\r\n // if (this.$store.state.user.permissionFlag.work_edit) {\r\n // this.$notify({\r\n // title: '失败',\r\n // message: '无此权限',\r\n // type: 'warning',\r\n // duration: 3000\r\n // })\r\n // return\r\n // }\r\n this.handleUpdate(row)\r\n },\r\n handleUpdate(row) {\r\n this.resetForm()\r\n getTask({ taskId: row.taskId }).then((res) => {\r\n this.$store.state.work.deviceAllList = res.data.deviceList\r\n })\r\n this.$store.state.work.form = Object.assign({}, row) // 复制对象\r\n console.log(this.$store.state.work.form, row, \"-------`-----\")\r\n this.$store.state.work.form.orderType = row.orderType.split(\",\")[0]\r\n this.dialogStatus = \"update\"\r\n this.otherRemarkParent = row.orderType.split(\",\")[1]\r\n this.arrayTimeParent = [row.startTime, row.deadline]\r\n this.$store.state.work.addDialog = true\r\n },\r\n handleDeletes() {\r\n if (this.taskCount) {\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: this.taskCount }).then((res) => {\r\n console.log(res)\r\n this.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 handleSee(row) {\r\n this.seeDialog = true\r\n getTask({ taskId: row.taskId }).then((res) => {\r\n this.$store.state.work.deviceAllList = res.data.deviceList\r\n })\r\n },\r\n handleDelete(scope) {\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 deleteTask({ taskId: scope.row.taskId }).then((res) => {\r\n console.log(res)\r\n this.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 handleFilter() {\r\n // 搜索\r\n\r\n this.listQuery.curPage = 1\r\n this.workList()\r\n },\r\n wipeCondition() {\r\n this.arrayTimeSearch = []\r\n for (let key in this.listQuery) {\r\n if (\r\n key !== \"curPage\" &&\r\n key !== \"pageSize\" &&\r\n key !== \"releaseName\" &&\r\n key !== \"taskType\"\r\n ) {\r\n this.listQuery[key] = null\r\n delete this.listQuery.orderType\r\n }\r\n }\r\n this.workList()\r\n },\r\n formatJson(filterVal, jsonData) {\r\n return jsonData.map((v) =>\r\n filterVal.map((j) => {\r\n return v[j]\r\n })\r\n )\r\n }\r\n }\r\n}\r\n</script>\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!./dispatchedWork.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!./dispatchedWork.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./dispatchedWork.vue?vue&type=template&id=b381b068&\"\nimport script from \"./dispatchedWork.vue?vue&type=script&lang=js&\"\nexport * from \"./dispatchedWork.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 null,\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.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 />\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 />\r\n </el-select>\r\n </ReceivingWork>\r\n</template>\r\n<script>\r\nimport DispatchedWork from './dispatchedWork'\r\nimport ReceivingWork from './receivingWork'\r\nexport default {\r\n components: {\r\n DispatchedWork,\r\n ReceivingWork\r\n },\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: ''\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\nselect {\r\n font-size: 14px;\r\n}\r\n.selects {\r\n position: absolute;\r\n width: 115px;\r\n margin: 0px;\r\n}\r\n.allSearch {\r\n position: absolute;\r\n margin: 0px;\r\n}\r\n.selectMenu {\r\n position: absolute;\r\n left: 1332px;\r\n}\r\n.options {\r\n padding-bottom: 0px;\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=9b79f46e&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=9b79f46e&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 \"9b79f46e\",\n null\n \n)\n\nexport default component.exports","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!./index.vue?vue&type=style&index=0&id=9b79f46e&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\"},[_vm._t(\"default\"),_c('el-input',{staticClass:\"filter-item\",staticStyle:{\"width\":\"150px\"},attrs:{\"placeholder\":_vm.$t('work.taskName')},nativeOn:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.handleFilter.apply(null, arguments)}},model:{value:(_vm.getWorkList.search),callback:function ($$v) {_vm.$set(_vm.getWorkList, \"search\", $$v)},expression:\"getWorkList.search\"}}),_c('el-select',{staticClass:\"filter-item\",staticStyle:{\"width\":\"150px\"},attrs:{\"placeholder\":_vm.$t('device.typeName'),\"clearable\":\"\"},on:{\"change\":function($event){return _vm.handleFilter()}},model:{value:(_vm.getWorkList.deviceType),callback:function ($$v) {_vm.$set(_vm.getWorkList, \"deviceType\", $$v)},expression:\"getWorkList.deviceType\"}},_vm._l((_vm.deviceType),function(item){return _c('el-option',{key:item.value,attrs:{\"label\":item.label,\"value\":item.value}})}),1),_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-select',{staticClass:\"filter-item\",staticStyle:{\"width\":\"150px\"},attrs:{\"placeholder\":_vm.$t('work.taskType')},on:{\"change\":function($event){return _vm.handleFilter()}},model:{value:(_vm.getWorkList.orderType),callback:function ($$v) {_vm.$set(_vm.getWorkList, \"orderType\", $$v)},expression:\"getWorkList.orderType\"}},_vm._l((_vm.options),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\",\"default-time\":['12:00:00'],\"editable\":false},model:{value:(_vm.arrayTime),callback:function ($$v) {_vm.arrayTime=$$v},expression:\"arrayTime\"}}),_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:{\"property\":\"taskName\",\"align\":\"left\",\"label\":_vm.$t('work.taskName'),\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"property\":\"receiveName\",\"align\":\"left\",\"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\"))+\" \")]):(scope.row.orderType.split(',')[0] === '5')?_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(scope.row.orderType)+\" \")])]}}])}),_c('el-table-column',{attrs:{\"property\":\"startTime\",\"align\":\"left\",\"label\":_vm.$t('startTime')}}),_c('el-table-column',{attrs:{\"property\":\"deadline\",\"align\":\"left\",\"label\":_vm.$t('endTime')}}),_c('el-table-column',{attrs:{\"property\":\"finishTime\",\"align\":\"left\",\"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:{\"property\":\"remark\",\"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\":\"180\",\"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.handleSee(scope.row)}}},[_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.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}})],1),_c('el-dialog',{staticStyle:{\"height\":\"800px\"},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\">\r\n <slot />\r\n <el-input\r\n v-model=\"getWorkList.search\"\r\n :placeholder=\"$t('work.taskName')\"\r\n style=\"width: 150px\"\r\n class=\"filter-item\"\r\n @keyup.enter.native=\"handleFilter\"\r\n />\r\n <el-select\r\n v-model=\"getWorkList.deviceType\"\r\n :placeholder=\"$t('device.typeName')\"\r\n style=\"width: 150px\"\r\n class=\"filter-item\"\r\n @change=\"handleFilter()\"\r\n clearable\r\n >\r\n <el-option\r\n v-for=\"item in deviceType\"\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 <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 <el-select\r\n v-model=\"getWorkList.orderType\"\r\n :placeholder=\"$t('work.taskType')\"\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 options\"\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 <el-date-picker\r\n v-model=\"arrayTime\"\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 :default-time=\"['12:00:00']\"\r\n :editable=\"false\"\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\r\n property=\"taskName\"\r\n align=\"left\"\r\n :label=\"$t('work.taskName')\"\r\n show-overflow-tooltip\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=\"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=\"scope.row.orderType.split(',')[0] === '5'\"\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\"> {{ scope.row.orderType }} </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 />\r\n <el-table-column\r\n property=\"deadline\"\r\n align=\"left\"\r\n :label=\"$t('endTime')\"\r\n />\r\n <el-table-column\r\n property=\"finishTime\"\r\n align=\"left\"\r\n :label=\"$t('completionTime')\"\r\n >\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\r\n property=\"remark\"\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=\"180\" align=\"left\">\r\n <template slot-scope=\"scope\">\r\n <span\r\n class=\"btnCancel\"\r\n @click=\"handleSee(scope.row)\"\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 <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 </div>\r\n\r\n <!-- 查看任务下的设备 -->\r\n <el-dialog\r\n :title=\"$t('work.see')\"\r\n :visible.sync=\"seeDialog\"\r\n width=\"900px\"\r\n style=\"height: 800px\"\r\n >\r\n <son-equipment></son-equipment>\r\n </el-dialog>\r\n </div>\r\n</template>\r\n<style></style>\r\n<script>\r\n// import { getDeptSubByDeptId } from '@/api/strategy'\r\nimport { getTypeList } from \"@/api/deviceType\"\r\nimport { getTaskList, getTask } from \"@/api/work\" // getUser\r\nimport Pagination from \"@/components/Pagination\"\r\nimport sonEquipment from \"@/components/historicalTrack/sonEquipment\"\r\nimport { workStatus } from \"@/utils/time\"\r\nimport permission from \"@/directive/permission/index.js\" // 权限判断指令\r\n\r\nexport default {\r\n components: { Pagination, sonEquipment },\r\n directives: { permission },\r\n data() {\r\n return {\r\n total: 0,\r\n seeDialog: false,\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 list: null,\r\n listLoading: true,\r\n downloadLoading: false,\r\n workForm: null,\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 deviceType: null,\r\n search: null\r\n },\r\n deviceType: [],\r\n options: [\r\n {\r\n value: \"1\",\r\n label: this.$t(\"work.install\")\r\n },\r\n {\r\n value: \"3\",\r\n label: this.$t(\"work.dismantle\")\r\n },\r\n {\r\n value: \"4\",\r\n label: this.$t(\"work.faults\")\r\n },\r\n {\r\n value: \"5\",\r\n label: this.$t(\"work.other\")\r\n }\r\n ],\r\n arrayTime: [],\r\n pickerOptions0: {\r\n disabledDate: (time) => {\r\n return time.getTime() > Date.now() - 8.64e6\r\n }\r\n }\r\n }\r\n },\r\n created() {\r\n this.workList()\r\n getTypeList().then((res) => {\r\n this.deviceType = res.data.list.map((res) => {\r\n return {\r\n value: res.deviceTypeId,\r\n label: res.deviceTypeName\r\n }\r\n })\r\n console.log(this.deviceTypelist)\r\n })\r\n },\r\n watch: {\r\n arrayTime(val) {\r\n if (val) {\r\n this.getWorkList.startTime = val && val[0]\r\n this.getWorkList.deadline = val && val[1]\r\n } else {\r\n this.getWorkList.startTime = null\r\n this.getWorkList.deadline = null\r\n }\r\n },\r\n seeDialog(val) {\r\n if (val === true) {\r\n this.$store.state.work.isSee = \"seeEquipment\"\r\n } else if (val === false) {\r\n this.$store.state.work.isSee = \"\"\r\n }\r\n }\r\n },\r\n methods: {\r\n handleSee(row) {\r\n this.seeDialog = true\r\n getTask({ taskId: row.taskId }).then((res) => {\r\n this.$store.state.work.deviceAllList = res.data.deviceList\r\n })\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 console.log(this.workForm)\r\n })\r\n },\r\n handleFilter() {\r\n // 搜索\r\n this.getWorkList.curPage = 1\r\n this.workList()\r\n },\r\n wipeCondition() {\r\n for (let 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 key !== \"statusNo\"\r\n ) {\r\n this.getWorkList[key] = null\r\n }\r\n }\r\n this.arrayTime = []\r\n this.getWorkList.curPage = 1\r\n this.workList()\r\n },\r\n headClassName() {\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.selectTop {\r\n margin-left: 120px;\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=6a8de856&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=6a8de856&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 \"6a8de856\",\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!./receivingWork.vue?vue&type=style&index=1&id=6a8de856&scoped=true&lang=css&\"","import request from '@/utils/request'\r\n// import qs from 'qs'\r\n/*\r\n 管理台-设备类型 权限操作api\r\n*/\r\n\r\n// 根据typeId查询设备类型信息\r\nexport function getTypeById(data) {\r\n return request({\r\n url: 'device-service/type/getTypeById',\r\n method: 'get',\r\n params: data\r\n })\r\n}\r\n\r\n// 根据筛选项查询设备类型列表\r\nexport function getTypeList(data) {\r\n return request({\r\n url: 'device-service/type/getTypeList',\r\n method: 'get',\r\n params: data\r\n })\r\n}\r\n\r\n// 录入设备类型信息\r\nexport function addType(data) {\r\n return request({\r\n headers: {\r\n 'Content-Type': 'application/json'\r\n },\r\n url: 'device-service/type/addType',\r\n method: 'post',\r\n data\r\n })\r\n}\r\n\r\n// 删除设备类型信息\r\nexport function deleteType(data) {\r\n const delData = {\r\n typeById: data\r\n }\r\n return request({\r\n url: 'device-service/type/deleteType',\r\n method: 'delete',\r\n params: delData\r\n })\r\n}\r\n\r\n// 批量删除设备类型信息\r\nexport function deleteTypeList(data) {\r\n const delData = {\r\n typeIds: data\r\n }\r\n return request({\r\n url: 'device-service/type/deleteTypeList',\r\n method: 'delete',\r\n params: delData\r\n })\r\n}\r\n\r\n// 修改设备类型信息\r\nexport function updateType(data) {\r\n return request({\r\n headers: {\r\n 'Content-Type': 'application/json'\r\n },\r\n url: 'device-service/type/updateType',\r\n method: 'put',\r\n data\r\n })\r\n}\r\n"],"sourceRoot":""} |