EMS2.0-Documents/7.部署文档/Linux安装/项目前端文件/IEMS/js/chunk-604c36ae.874c10ad.js.map

1 line
95 KiB
Plaintext

{"version":3,"sources":["webpack:///./src/views/operation/patrol/sonPatrol.vue?043d","webpack:///./src/api/department.js","webpack:///./src/views/operation/patrol/dispatchedWork.vue?16ba","webpack:///./src/utils/validate.js","webpack:///./src/views/operation/patrol/tableData.vue?1ad7","webpack:///./src/utils/changeTime.js","webpack:///src/views/operation/patrol/tableData.vue","webpack:///./src/views/operation/patrol/tableData.vue?d094","webpack:///./src/views/operation/patrol/tableData.vue","webpack:///./src/api/user.js","webpack:///./src/views/operation/patrol/sonPatrol.vue?d6e5","webpack:///src/views/operation/patrol/sonPatrol.vue","webpack:///./src/views/operation/patrol/sonPatrol.vue?612c","webpack:///./src/views/operation/patrol/sonPatrol.vue","webpack:///./src/views/operation/patrol/dispatchedWork.vue?ba4a","webpack:///src/views/operation/patrol/dispatchedWork.vue","webpack:///./src/views/operation/patrol/dispatchedWork.vue?c7e5","webpack:///./src/views/operation/patrol/dispatchedWork.vue?2ac7"],"names":["getDepartmentList","data","request","url","method","params","getDeptSubByDeptId","editSubmitApi","formData","qs","stringify","addSubmitApi","delSubmitApi","headers","validatePhone","rule","value","callback","Error","test","filterNull","val","length","valReplace","replace","switchTimeFormat","time","dateTime","Date","year","getFullYear","month","getMonth","date","getDate","hour","getHours","minute","getMinutes","second","getSeconds","addZero","v","render","_vm","this","_h","$createElement","_c","_self","attrs","textMap","$store","state","partol","dialogStatus","addDialog","handleClose","on","$event","$set","staticStyle","active","ref","rules","form","$t","model","$$v","expression","_l","item","index","key","userName","deptList","checkStrictly","emitPath","pickerOptions0","_e","directives","name","rawName","deviceList","seletedList","staticClass","slot","next","_v","_s","createData","updateData","staticRenderFns","padZero","num","localDateFormats","YYYY","MM","DD","hh","mm","ss","validateTime","update","create","createStatus","subTaskList","groupedArray","disabledDate","getTime","now","telephone","required","validator","trigger","taskName","message","cycle","orderType","startTime","checkName","receiveName","deptId","computed","arrayTime","activeName","watch","deadline","setTimeout","methods","handleCreate","$children","forEach","e","workBree","handleDelete","console","taskCount","confirmButtonText","cancelButtonText","type","then","batchDeleteTask","taskIdStr","title","duration","$refs","validate","valid","label","alarmId","deviceId","deviceType","deviceName","latitude","longitude","areaId","getDeviceList","getGroup","filter","insertInspectionTask","catch","taskType","updateInspectionTask","done","$confirm","getAllDate","Number","startLog","deadlineLog","dTime","sTime","Telephone","remark","component","getUserList","getUserByUserName","delSubmitUserApi","delData","userIds","dialogTableVisible","gridData","scopedSlots","_u","fn","scope","row","finishTime","status","getOut","stop","apply","seeEq","sonTotal","getSonList","curPage","pageSize","sonList","seeDialog","components","Pagination","sonEquipment","props","releaseName","parentId","sonPatrol","mounted","$parent","workList","handleDeleteBatch","getTaskList","workStatus","res","applyAcceptanceTask","taskId","deleteTask","releaseTaskBySubId","stopTaskBySubId","getTask","_t","handleFilter","listQuery","arrayTimeSearch","wipeCondition","handleDeletes","workForm","handleSelectionChange","handleUpdates","handleUpdate","seeSon","total","parentTaskId","parentTaskStatus","tableData","list","listLoading","downloadLoading","light","userList","lampList","created","getUsers","get","set","currentCheckedList","join","releaseTask","validatenull","children","filterDeptList","nodeBean","editDeptList","resetForm","work","deviceAllList","Object","assign","headClassName","rowClassName","rowIndex"],"mappings":"mIAAA,W,oCCAA,+MAiBO,SAASA,EAAkBC,GAChC,OAAOC,eAAQ,CACbC,IAAK,oCACLC,OAAQ,MACRC,OAAQJ,IAKL,SAASK,EAAmBL,GACjC,OAAOC,eAAQ,CACbC,IAAK,uCACLC,OAAQ,MACRC,OAAQJ,IAaL,SAASM,EAAcC,GAC5B,IAAMP,EAAOQ,IAAGC,UAAUF,GAC1B,OAAON,eAAQ,CACbC,IAAK,+BACLC,OAAQ,OACRH,SAKG,SAASU,EAAaH,GAC3B,IAAMP,EAAOQ,IAAGC,UAAUF,GAC1B,OAAON,eAAQ,CACbC,IAAK,6BACLC,OAAQ,OACRH,SAKG,SAASW,EAAaJ,GAC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ArBA,0BACYwB,KAAMA,UACNK,SAAUA,MAEZ,EAAV,mBAII+E,cAjJJ,WAiJA,WACWnL,KAAK4F,WAGV5F,KAAKwH,SACX,iCACA,0BACA,CACQ3B,kBAARA,wBACQC,iBAARA,wBACQC,KAARA,YAEAC,MAAA,WACQC,eAAgBA,CAAxBC,wBAAA,kBACUP,QAAQA,IAAIA,GACZ,EAAV,WACU,EAAV,SACYQ,MAAOA,EAAnBA,oBACY5B,QAASA,EAArBA,0BACYwB,KAAMA,UACNK,SAAUA,aAKlB2E,aA1KJ,WA2KM/K,KAAKgL,UAAU1B,QAAU,EACzBtJ,KAAKmK,YAEPe,cA9KJ,WA+KM,IAAK,IAAItJ,KAAO5B,KAAKgL,UAE3BpJ,eACAA,gBACAA,mBACAA,iBAEU5B,KAAKgL,UAAUpJ,GAAO,MAG1B5B,KAAKiL,gBAAkB,GACvBjL,KAAKmK,YAEPiD,cA5LJ,YA4LA,yBAEM,OADAzH,QAAQA,IAAIA,EAAKA,GACV,YAET0H,aAhMJ,YAgMA,yBAEM,OADA1H,QAAQA,IAAIA,EAAKA,IACZ2H,EAAW,GAAK,IAAM,EAClB,cAEA,kBCreuW,I,wBCQlXrF,EAAY,eACd,EACAnI,EACAiD,GACA,EACA,KACA,WACA,MAIa,aAAAkF,E","file":"js/chunk-604c36ae.874c10ad.js","sourcesContent":["export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./sonPatrol.vue?vue&type=style&index=0&id=2a195f66&lang=scss&scoped=true&\"","import request from '@/utils/request'\r\nimport qs from 'qs'\r\n/*\r\n 系统管理-区域管理 权限操作api\r\n*/\r\n\r\n// 查询区域列表树\r\nexport function getAreaTreeList(data) {\r\n return request({\r\n url: 'user-service/area/getAreaTreeList',\r\n method: 'get',\r\n params: data\r\n })\r\n}\r\n\r\n\r\n// 查询所有区域树\r\nexport function getDepartmentList(data) {\r\n return request({\r\n url: 'user-service/dept/getDeptTreeList',\r\n method: 'get',\r\n params: data\r\n })\r\n}\r\n\r\n// 查询本级节点ID-直系子级节点\r\nexport function getDeptSubByDeptId(data) {\r\n return request({\r\n url: 'user-service/dept/getDeptSubByDeptId',\r\n method: 'get',\r\n params: data\r\n })\r\n}\r\n\r\n// 查询区域列表\r\nexport function getDeptTreeByDeptId(data) {\r\n return request({\r\n url: 'user-service/dept/getDeptTreeByDeptId',\r\n method: 'get',\r\n params: data\r\n })\r\n}\r\n// 修改\r\nexport function editSubmitApi(formData) {\r\n const data = qs.stringify(formData)\r\n return request({\r\n url: 'user-service/dept/updateDept',\r\n method: 'post',\r\n data\r\n })\r\n}\r\n\r\n// 新增\r\nexport function addSubmitApi(formData) {\r\n const data = qs.stringify(formData)\r\n return request({\r\n url: 'user-service/dept/saveDept',\r\n method: 'post',\r\n data\r\n })\r\n}\r\n\r\n// 删除\r\nexport function delSubmitApi(formData) {\r\n return request({\r\n headers: {\r\n 'Content-Type': 'application/json'\r\n },\r\n url: 'user-service/dept/removeDept',\r\n method: 'get',\r\n\r\n params: formData\r\n })\r\n}\r\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!./dispatchedWork.vue?vue&type=style&index=0&id=701bb298&scoped=true&lang=css&\"","/**\r\n * Created by jiachenpan on 16/11/18.\r\n */\r\n\r\n/**\r\n * @param {string} path\r\n * @returns {Boolean}\r\n */\r\nexport function isExternal(path) {\r\n return /^(https?:|mailto:|tel:)/.test(path)\r\n}\r\n/* 小写字母*/\r\nexport function validLowerCase(str) {\r\n const reg = /^[a-z]+$/\r\n return reg.test(str)\r\n}\r\n\r\n/* 大写字母*/\r\nexport function validUpperCase(str) {\r\n const reg = /^[A-Z]+$/\r\n return reg.test(str)\r\n}\r\n\r\n/* 大小写字母*/\r\nexport function validAlphabets(str) {\r\n const reg = /^[A-Za-z]+$/\r\n return reg.test(str)\r\n}\r\n\r\n/*8位16进制*/\r\nexport function validHexadecimal(rule, value, callback) {\r\n if (/^[0-9A-F]{8}$/.test(value)) {\r\n callback()\r\n } else {\r\n callback(new Error(\"请输入8位16进制数\"))\r\n }\r\n}\r\n\r\nexport function validateNumber(rule, value, callback) {\r\n console.log(!/^\\d+$|^\\d*\\.\\d+$/g.test(value), value)\r\n if (value === \"\") {\r\n callback(new Error(\"不能为空\"))\r\n } else if (!/^\\d+$|^\\d*\\.\\d+$/g.test(value)) {\r\n callback(new Error(\"只能输入数字\"))\r\n } else {\r\n callback()\r\n }\r\n}\r\n\r\nexport function validatePhone(rule, value, callback) {\r\n if (value === \"\") {\r\n callback(new Error(\"请输入手机号码\"))\r\n } else if (!/^[0-9-]+$/.test(value)) {\r\n\r\n\r\n callback(new Error(\"手机号码格式不对\"))\r\n } else {\r\n callback()\r\n }\r\n}\r\n\r\nexport function validateLong(rule, value, callback) {\r\n if (value === \"\") {\r\n callback(new Error(\"经度不能为空\"))\r\n } else if (Number(value) > 180) {\r\n callback(new Error(\"经度不能大于180\"))\r\n } else if (!/^\\d+$|^\\d*\\.\\d+$/g.test(value)) {\r\n callback(new Error(\"只允许输入数字\"))\r\n } else if (Number(value) < 0) {\r\n callback(new Error(\"数值不能小于0\"))\r\n } else {\r\n callback()\r\n }\r\n}\r\n\r\nexport function validateLat(rule, value, callback) {\r\n if (value === \"\") {\r\n callback(new Error(\"纬度不能为空\"))\r\n } else if (Number(value) > 90) {\r\n callback(new Error(\"纬度不能大于90\"))\r\n } else if (!/^\\d+$|^\\d*\\.\\d+$/g.test(value)) {\r\n callback(new Error(\"只允许输入数字\"))\r\n } else if (Number(value) < 0) {\r\n callback(new Error(\"数值不能小于0\"))\r\n } else {\r\n callback()\r\n }\r\n}\r\n\r\nexport function temperature(rule, value, callback) {\r\n if (value > 100) {\r\n callback(new Error(\"温度不能超过100\"))\r\n } else if (value < 0) {\r\n callback(new Error(\"温度不能小于0\"))\r\n } else if (value == \"\") {\r\n callback(new Error(\"数据必填\"))\r\n } else {\r\n callback()\r\n }\r\n}\r\n\r\nexport function humity(rule, value, callback) {\r\n if (value > 99) {\r\n callback(new Error(\"湿度不能超过99\"))\r\n } else if (value < 20) {\r\n callback(new Error(\"湿度不能小于20\"))\r\n } else if (value == \"\") {\r\n callback(new Error(\"数据必填\"))\r\n } else {\r\n callback()\r\n }\r\n}\r\n\r\n// 验证是否为空\r\nexport function filterNull(val) {\r\n if (val || val === 0) {\r\n if (val.length > 0) {\r\n var valReplace = val.replace(/(^\\s*)|(\\s*$)/g, \"\") // 去除字符串左右两端的空格\r\n if (valReplace) {\r\n return valReplace\r\n } else {\r\n return \"--\"\r\n }\r\n } else {\r\n return val\r\n }\r\n } else {\r\n return \"--\"\r\n }\r\n}\r\n\r\n// 验证是否为空,为空则为0\r\nexport function filterNull0(val) {\r\n if (val || val === 0) {\r\n if (val.length > 0) {\r\n var valReplace = val.replace(/(^\\s*)|(\\s*$)/g, \"\") // 去除字符串左右两端的空格\r\n if (valReplace) {\r\n return valReplace\r\n } else {\r\n return 0\r\n }\r\n } else {\r\n return val\r\n }\r\n } else {\r\n return 0\r\n }\r\n}\r\n\r\n// 验证开关状态\r\nexport function filterOpenCloseStatus(val) {\r\n if (parseInt(val) === 0) {\r\n return \"关\"\r\n } else if (parseInt(val) === 1) {\r\n return \"开\"\r\n } else {\r\n return \"--\"\r\n }\r\n}\r\n\r\n// UTC:世界标准时间转换为正常格式 \"yyyy-MM-dd' 'HH:mm:ss'\r\nexport function switchTimeFormat(time) {\r\n if (!time) {\r\n return \"\"\r\n }\r\n const dateTime = new Date(time)\r\n const year = dateTime.getFullYear()\r\n const month = dateTime.getMonth() + 1\r\n const date = dateTime.getDate()\r\n const hour = dateTime.getHours()\r\n const minute = dateTime.getMinutes()\r\n const second = dateTime.getSeconds()\r\n return (\r\n year +\r\n \"-\" +\r\n addZero(month) +\r\n \"-\" +\r\n addZero(date) +\r\n `\\n` +\r\n addZero(hour) +\r\n \":\" +\r\n addZero(minute) +\r\n \":\" +\r\n addZero(second)\r\n )\r\n}\r\n\r\nfunction addZero(v) {\r\n return v < 10 ? \"0\" + v : v\r\n}","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{attrs:{\"close-on-click-modal\":false,\"title\":_vm.textMap[_vm.$store.state.partol.dialogStatus],\"visible\":_vm.$store.state.partol.addDialog,\"before-close\":_vm.handleClose},on:{\"update:visible\":function($event){return _vm.$set(_vm.$store.state.partol, \"addDialog\", $event)}}},[_c('el-scrollbar',{staticStyle:{\"height\":\"100%\",\"padding-bottom\":\"8px\"},attrs:{\"vertical\":true}},[(_vm.active === 0)?_c('el-form',{ref:\"form\",attrs:{\"rules\":_vm.rules,\"status-icon\":\"\",\"model\":_vm.$store.state.partol.form,\"label-width\":\"125px\",\"inline\":\"\"}},[_c('el-form-item',{attrs:{\"label\":_vm.$t('work.taskName'),\"prop\":\"taskName\"}},[_c('el-input',{attrs:{\"placeholder\":_vm.$t('pEnter') + _vm.$t('work.taskName'),\"maxlength\":\"50\"},model:{value:(_vm.form.taskName),callback:function ($$v) {_vm.$set(_vm.form, \"taskName\", $$v)},expression:\"form.taskName\"}})],1),_c('el-form-item',{attrs:{\"label\":_vm.$t('work.Days'),\"prop\":\"cycle\"}},[_c('el-input',{attrs:{\"placeholder\":_vm.$t('pEnter') + _vm.$t('work.Days')},model:{value:(_vm.form.cycle),callback:function ($$v) {_vm.$set(_vm.form, \"cycle\", $$v)},expression:\"form.cycle\"}})],1),_c('el-form-item',{attrs:{\"label\":_vm.$t('work.recipient'),\"prop\":\"receiveName\"}},[_c('el-select',{model:{value:(_vm.form.receiveName),callback:function ($$v) {_vm.$set(_vm.form, \"receiveName\", $$v)},expression:\"form.receiveName\"}},_vm._l((_vm.$store.state.partol.getUserList),function(item,index){return _c('el-option',{key:index,attrs:{\"value\":item.userName}})}),1)],1),_c('el-form-item',{attrs:{\"label\":_vm.$t('device.phone'),\"prop\":\"telephone\"}},[_c('el-input',{model:{value:(_vm.form.telephone),callback:function ($$v) {_vm.$set(_vm.form, \"telephone\", $$v)},expression:\"form.telephone\"}})],1),_c('el-form-item',{attrs:{\"label\":_vm.$t('listQuery.deptId'),\"prop\":\"deptId\"}},[_c('el-cascader',{attrs:{\"show-all-levels\":false,\"options\":_vm.$store.state.partol.deptList,\"props\":{ checkStrictly: true, emitPath: false },\"clearable\":\"\"},model:{value:(_vm.form.deptId),callback:function ($$v) {_vm.$set(_vm.form, \"deptId\", $$v)},expression:\"form.deptId\"}})],1),_c('el-form-item',{attrs:{\"label\":_vm.$t('work.accepted'),\"prop\":\"checkName\"}},[_c('el-select',{model:{value:(_vm.form.checkName),callback:function ($$v) {_vm.$set(_vm.form, \"checkName\", $$v)},expression:\"form.checkName\"}},_vm._l((_vm.$store.state.partol.getUserList),function(item,index){return _c('el-option',{key:index,attrs:{\"value\":item.userName}})}),1)],1),_c('el-form-item',{attrs:{\"label\":_vm.$t('work.time'),\"prop\":\"startTime\"}},[_c('el-date-picker',{attrs:{\"type\":\"datetimerange\",\"start-placeholder\":_vm.$t('startTime'),\"end-placeholder\":_vm.$t('endTime'),\"picker-options\":_vm.pickerOptions0,\"value-format\":\"yyyy-MM-dd HH:mm:ss\",\"editable\":false},model:{value:(_vm.$store.state.partol.arrayTime),callback:function ($$v) {_vm.$set(_vm.$store.state.partol, \"arrayTime\", $$v)},expression:\"$store.state.partol.arrayTime\"}})],1),_c('el-form-item',{attrs:{\"label\":_vm.$t('work.remark'),\"prop\":\"remark\"}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"maxlength\":\"100\"},model:{value:(_vm.form.remark),callback:function ($$v) {_vm.$set(_vm.form, \"remark\", $$v)},expression:\"form.remark\"}})],1)],1):_vm._e(),_c('el-form',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.active === 1),expression:\"active === 1\"}],attrs:{\"label-width\":\"125px\",\"inline\":\"\"}},[_c('el-transfer',{ref:\"transfers\",staticStyle:{\"width\":\"800px\",\"margin\":\"0px auto\"},attrs:{\"filterable\":\"\",\"filter-placeholder\":_vm.$t('pEnter') + _vm.$t('device.deviceName'),\"titles\":[_vm.$t('table.optional'), _vm.$t('table.selected')],\"data\":_vm.deviceList,\"target-order\":\"unshift\"},model:{value:(_vm.seletedList),callback:function ($$v) {_vm.seletedList=$$v},expression:\"seletedList\"}})],1)],1),(_vm.active === 0)?_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":_vm.next}},[_vm._v(_vm._s(_vm.$t('work.next'))+\" \")])],1):_vm._e(),(_vm.active === 1)?_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.active = 0}}},[_vm._v(\" \"+_vm._s(_vm.$t('work.previous')))]),_c('span',{staticClass:\"btn-item long\",on:{\"click\":function($event){_vm.$store.state.partol.addDialog = false}}},[_vm._v(_vm._s(_vm.$t('btn.cancel')))]),_c('span',{staticClass:\"btn-item long\",on:{\"click\":function($event){_vm.$store.state.partol.dialogStatus === 'create'\n ? _vm.createData()\n : _vm.updateData()}}},[_vm._v(_vm._s(_vm.$t('btn.save')))])],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","function padZero(num) {\n return num > 9 ? num : `0${num}`;\n}\n\nexport function localDateFormats(date) {\n const YYYY = date.getFullYear();\n const MM = padZero(date.getMonth() + 1);\n const DD = padZero(date.getDate());\n const hh = padZero(date.getHours());\n const mm = padZero(date.getMinutes());\n const ss = padZero(date.getSeconds());\n return `${YYYY}-${MM}-${DD} ${hh}:${mm}:${ss}`;\n}\nexport function localDate(date) {\n const YYYY = date.getFullYear();\n const MM = padZero(date.getMonth() + 1);\n const DD = padZero(date.getDate());\n return `${YYYY}-${MM}-${DD}`;\n}","<template>\r\n <el-dialog\r\n :close-on-click-modal=\"false\"\r\n :title=\"textMap[$store.state.partol.dialogStatus]\"\r\n :visible.sync=\"$store.state.partol.addDialog\"\r\n :before-close=\"handleClose\"\r\n >\r\n <el-scrollbar style=\"height: 100%; padding-bottom: 8px\" :vertical=\"true\">\r\n <el-form\r\n v-if=\"active === 0\"\r\n ref=\"form\"\r\n :rules=\"rules\"\r\n status-icon\r\n :model=\"$store.state.partol.form\"\r\n label-width=\"125px\"\r\n inline\r\n >\r\n <el-form-item :label=\"$t('work.taskName')\" prop=\"taskName\">\r\n <el-input\r\n v-model=\"form.taskName\"\r\n :placeholder=\"$t('pEnter') + $t('work.taskName')\"\r\n maxlength=\"50\"\r\n />\r\n </el-form-item>\r\n <el-form-item :label=\"$t('work.Days')\" prop=\"cycle\">\r\n <el-input\r\n v-model=\"form.cycle\"\r\n :placeholder=\"$t('pEnter') + $t('work.Days')\"\r\n />\r\n </el-form-item>\r\n <el-form-item :label=\"$t('work.recipient')\" prop=\"receiveName\">\r\n <el-select v-model=\"form.receiveName\">\r\n <el-option\r\n v-for=\"(item, index) in $store.state.partol.getUserList\"\r\n :key=\"index\"\r\n :value=\"item.userName\"\r\n />\r\n </el-select>\r\n </el-form-item>\r\n <el-form-item :label=\"$t('device.phone')\" prop=\"telephone\">\r\n <el-input v-model=\"form.telephone\" />\r\n </el-form-item>\r\n\r\n <el-form-item :label=\"$t('listQuery.deptId')\" prop=\"deptId\">\r\n <el-cascader\r\n v-model=\"form.deptId\"\r\n :show-all-levels=\"false\"\r\n :options=\"$store.state.partol.deptList\"\r\n :props=\"{ checkStrictly: true, emitPath: false }\"\r\n clearable\r\n />\r\n </el-form-item>\r\n\r\n <el-form-item :label=\"$t('work.accepted')\" prop=\"checkName\">\r\n <el-select v-model=\"form.checkName\">\r\n <el-option\r\n v-for=\"(item, index) in $store.state.partol.getUserList\"\r\n :key=\"index\"\r\n :value=\"item.userName\"\r\n />\r\n </el-select>\r\n </el-form-item>\r\n\r\n <el-form-item :label=\"$t('work.time')\" prop=\"startTime\">\r\n <el-date-picker\r\n v-model=\"$store.state.partol.arrayTime\"\r\n type=\"datetimerange\"\r\n :start-placeholder=\"$t('startTime')\"\r\n :end-placeholder=\"$t('endTime')\"\r\n :picker-options=\"pickerOptions0\"\r\n value-format=\"yyyy-MM-dd HH:mm:ss\"\r\n :editable=\"false\"\r\n ></el-date-picker>\r\n </el-form-item>\r\n <el-form-item :label=\"$t('work.remark')\" prop=\"remark\">\r\n <el-input v-model=\"form.remark\" type=\"textarea\" maxlength=\"100\" />\r\n </el-form-item>\r\n </el-form>\r\n\r\n <el-form v-show=\"active === 1\" label-width=\"125px\" inline>\r\n <el-transfer\r\n filterable\r\n ref=\"transfers\"\r\n :filter-placeholder=\"$t('pEnter') + $t('device.deviceName')\"\r\n :titles=\"[$t('table.optional'), $t('table.selected')]\"\r\n v-model=\"seletedList\"\r\n :data=\"deviceList\"\r\n style=\"width: 800px; margin: 0px auto\"\r\n target-order=\"unshift\"\r\n />\r\n </el-form>\r\n </el-scrollbar>\r\n\r\n <span v-if=\"active === 0\" slot=\"footer\" class=\"dialog-footer\">\r\n <el-button @click=\"next\">{{ $t('work.next') }} </el-button>\r\n </span>\r\n <span v-if=\"active === 1\" slot=\"footer\" class=\"dialog-footer\">\r\n <el-button @click=\"active = 0\"> {{ $t('work.previous') }}</el-button>\r\n <span\r\n class=\"btn-item long\"\r\n @click=\"$store.state.partol.addDialog = false\"\r\n >{{ $t('btn.cancel') }}</span\r\n >\r\n <span\r\n class=\"btn-item long\"\r\n @click=\"\r\n $store.state.partol.dialogStatus === 'create'\r\n ? createData()\r\n : updateData()\r\n \"\r\n >{{ $t('btn.save') }}</span\r\n >\r\n </span>\r\n </el-dialog>\r\n</template>\r\n\r\n<script>\r\nimport {\r\n insertInspectionTask,\r\n updateInspectionTask,\r\n batchDeleteTask,\r\n getDeviceList\r\n} from '@/api/work'\r\nimport { validatePhone } from '@/utils/validate'\r\nimport { getAllDate, group } from '@/utils/time'\r\nimport { localDateFormats } from '@/utils/changeTime'\r\nexport default {\r\n data() {\r\n var validateTime = (rule, value, callback) => {\r\n if (this.arrayTime.length <= 0) {\r\n callback(new Error(this.$t('pEnter') + this.$t('work.time')))\r\n } else {\r\n callback()\r\n }\r\n }\r\n return {\r\n textMap: {\r\n update: this.$t('table.update'),\r\n create: this.$t('table.create')\r\n },\r\n\r\n createStatus: false,\r\n active: 0,\r\n name: 'tableData',\r\n subTaskList: [],\r\n groupedArray: null,\r\n pickerOptions0: {\r\n disabledDate: (time) => {\r\n return time.getTime() < Date.now() - 8.64e7\r\n }\r\n },\r\n rules: {\r\n telephone: [\r\n { required: true, validator: validatePhone, trigger: 'blur' }\r\n ],\r\n taskName: [\r\n {\r\n required: true,\r\n message: this.$t('pEnter') + this.$t('work.taskName'),\r\n trigger: 'blur'\r\n }\r\n ],\r\n cycle: [\r\n {\r\n required: true,\r\n message: this.$t('pEnter') + this.$t('work.Days'),\r\n trigger: 'blur'\r\n }\r\n ],\r\n orderType: [\r\n {\r\n required: true,\r\n message: this.$t('pEnter') + this.$t('work.taskType'),\r\n trigger: 'blur'\r\n }\r\n ],\r\n startTime: [\r\n {\r\n required: true,\r\n validator: validateTime,\r\n trigger: 'blur'\r\n }\r\n ],\r\n // deadline: [\r\n // { required: true, message: '请输入截止时间', trigger: 'blur' }\r\n // ],\r\n checkName: [\r\n {\r\n required: true,\r\n message: this.$t('pEnter') + this.$t('work.taskName'),\r\n trigger: 'blur'\r\n }\r\n ],\r\n receiveName: [\r\n {\r\n required: true,\r\n message: this.$t('pEnter') + this.$t('work.recipient'),\r\n trigger: 'blur'\r\n }\r\n ],\r\n deptId: [\r\n {\r\n required: true,\r\n message: this.$t('pEnter') + this.$t('listQuery.deptId'),\r\n trigger: 'blur'\r\n }\r\n ]\r\n },\r\n seletedList: [],\r\n deviceList: []\r\n }\r\n },\r\n computed: {\r\n form() {\r\n return this.$store.state.partol.form\r\n },\r\n arrayTime() {\r\n return this.$store.state.partol.arrayTime\r\n },\r\n addDialog() {\r\n return this.$store.state.partol.addDialog\r\n },\r\n activeName() {\r\n return this.$store.state.partol.activeName\r\n }\r\n },\r\n watch: {\r\n arrayTime(val) {\r\n if (val) {\r\n this.form.startTime = val && val[0]\r\n this.form.deadline = val && val[1]\r\n }\r\n },\r\n addDialog(val) {\r\n if (val === false) {\r\n setTimeout(() => {\r\n this.active = 0\r\n this.$store.state.partol.arrayTime = []\r\n }, 0)\r\n }\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 next() {\r\n //填选了必填项才能进入下一步\r\n let deviceList = []\r\n this.$refs.form.validate((valid) => {\r\n if (valid) {\r\n if (this.active++ > 2) {\r\n this.active = 0\r\n }\r\n this.seletedList = []\r\n this.deviceList = this.$store.state.work.deviceAllList.map((e) => {\r\n this.seletedList.push(e.alarmId ? e.alarmId - 0 : e.deviceCode)\r\n return {\r\n label: e.deviceName,\r\n key: e.alarmId ? e.alarmId - 0 : e.deviceCode,\r\n alarmId: e.alarmId,\r\n deviceId: e.deviceId,\r\n deviceType: e.deviceType,\r\n deviceName: e.deviceName,\r\n latitude: e.latitude,\r\n longitude: e.longitude,\r\n areaId: e.areaId\r\n }\r\n })\r\n getDeviceList().then((e) => {\r\n deviceList = e.data.list.map((e) => {\r\n return {\r\n label: e.deviceName,\r\n key: e.deviceCode,\r\n deviceId: e.deviceId,\r\n deviceType: e.deviceType,\r\n deviceName: e.deviceName,\r\n latitude: e.latitude,\r\n longitude: e.longitude,\r\n areaId: e.deptId\r\n }\r\n })\r\n deviceList = deviceList.filter((e) => {\r\n return !this.seletedList.includes(e.key)\r\n })\r\n this.deviceList = [...deviceList, ...this.deviceList]\r\n })\r\n }\r\n })\r\n },\r\n createData() {\r\n // 新增\r\n\r\n if (this.createStatus) {\r\n return\r\n }\r\n this.getGroup()\r\n this.form.deviceList = this.deviceList.filter((e) => {\r\n return this.seletedList.includes(e.key)\r\n })\r\n this.form.subTaskList = this.subTaskList\r\n if (this.form.deviceList.length > 0) {\r\n this.createStatus = true\r\n insertInspectionTask(this.form)\r\n .then((res) => {\r\n console.log(res)\r\n this.createStatus = false\r\n this.$store.state.partol.addDialog = false\r\n this.subTaskList = []\r\n this.active = 0\r\n this.$notify({\r\n title: this.$t('title.success'),\r\n message: this.$t('title.addSuccess'),\r\n type: 'success',\r\n duration: 3000\r\n })\r\n this.$parent.workList()\r\n //console.log(this.$parent)\r\n })\r\n .catch(() => {\r\n this.createStatus = false\r\n })\r\n }\r\n },\r\n updateData() {\r\n // 编辑\r\n this.form.deviceList = [...this.$store.state.partol.form.deviceList]\r\n this.getGroup()\r\n this.form.taskType = '巡检'\r\n this.form.subTaskList = this.subTaskList\r\n if (this.form.deviceList.length > 0) {\r\n updateInspectionTask(this.form).then((res) => {\r\n console.log(res)\r\n this.$store.state.partol.addDialog = false\r\n this.subTaskList = []\r\n this.active = 0\r\n this.$notify({\r\n title: this.$t('title.success'),\r\n message: this.$t('title.updateSuccess'),\r\n type: 'success',\r\n duration: 3000\r\n })\r\n this.$parent.workList()\r\n //console.log(this.$parent)\r\n })\r\n }\r\n },\r\n\r\n handleClose(done) {\r\n this.$confirm(this.$t('work.Confirm'))\r\n // eslint-disable-next-line no-unused-vars\r\n .then((_) => {\r\n done()\r\n this.active = 0\r\n this.$store.state.partol.arrayTime = []\r\n this.$refs['form'].clearValidate()\r\n })\r\n // eslint-disable-next-line no-unused-vars\r\n .catch((_) => {})\r\n },\r\n getGroup() {\r\n this.groupedArray = group(\r\n getAllDate(\r\n this.form.startTime.split(' ')[0],\r\n this.form.deadline.split(' ')[0]\r\n ),\r\n Number(this.form.cycle * 1 + 1),\r\n this.form.deadline.split(' ')[1]\r\n )\r\n this.subTaskList = []\r\n var startLog = 0\r\n var deadlineLog = this.groupedArray.length\r\n this.groupedArray.forEach((e) => {\r\n var dTime = ''\r\n if (deadlineLog === startLog + 1) {\r\n dTime = this.form.deadline.split(' ')[1]\r\n } else {\r\n dTime = '00:00:00'\r\n }\r\n\r\n var sTime = ''\r\n if (startLog === 0) {\r\n sTime = this.form.startTime.split(' ')[1]\r\n } else {\r\n sTime = '00:00:00'\r\n }\r\n var dateTime = new Date(e[e.length - 1] + ' ' + dTime)\r\n\r\n dateTime = dateTime.setDate(dateTime.getDate())\r\n dateTime = new Date(dateTime)\r\n\r\n this.subTaskList.push({\r\n startTime: e[0] + ' ' + sTime,\r\n deadline: localDateFormats(dateTime),\r\n taskName: this.form.taskName,\r\n receiveName: this.form.receiveName,\r\n Telephone: this.form.Telephone,\r\n deptId: this.form.deptId,\r\n remark: this.form.remark,\r\n checkName: this.form.checkName\r\n })\r\n startLog++\r\n })\r\n }\r\n }\r\n}\r\n</script>\r\n\r\n<style></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!./tableData.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!./tableData.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./tableData.vue?vue&type=template&id=75b39527&\"\nimport script from \"./tableData.vue?vue&type=script&lang=js&\"\nexport * from \"./tableData.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","import request from '@/utils/request'\r\n// import qs from \"qs\";\r\n\r\n/*\r\n 系统管理-用户管理 权限操作api\r\n*/\r\n\r\n\r\n// 查询用户列表\r\nexport function getUserList(data) {\r\n return request({\r\n url: 'user-service/user/getUserList',\r\n method: 'get',\r\n params: data\r\n })\r\n}\r\n\r\n// 根据userName查询用户信息\r\nexport function getUserByUserName(data) {\r\n return request({\r\n url: 'user-service/user/getUserByUserName',\r\n method: 'get',\r\n params: data\r\n })\r\n}\r\n\r\n// 新增\r\nexport function addSubmitApi(data) {\r\n return request({\r\n headers: {\r\n 'Content-Type': 'application/json'\r\n },\r\n url: 'user-service/user/saveSysuser',\r\n method: 'post',\r\n data\r\n })\r\n}\r\n\r\n// 修改\r\nexport function editSubmitApi(data) {\r\n return request({\r\n headers: {\r\n 'Content-Type': 'application/json'\r\n },\r\n url: 'user-service/user/updateSysuser',\r\n method: 'post',\r\n data\r\n })\r\n}\r\n\r\n// 删除\r\nexport function delSubmitUserApi(data) {\r\n const delData = {\r\n userIds: data\r\n }\r\n return request({\r\n url: 'user-service/user/removeSysuser',\r\n method: 'get',\r\n params: delData\r\n })\r\n}\r\n\r\n\r\n// 获取用户操作记录\r\nexport function getOperationRecord(params) {\r\n\r\n return request({\r\n url: 'user-service/log/getLogList',\r\n method: 'get',\r\n params\r\n })\r\n}\r\n\r\n\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-dialog',{staticClass:\"gisDialog\",attrs:{\"title\":_vm.$t('work.Subinspectiontask'),\"visible\":_vm.dialogTableVisible,\"modal\":false},on:{\"update:visible\":function($event){_vm.dialogTableVisible=$event}}},[_c('div',{staticClass:\"table-container\"},[_c('el-table',{attrs:{\"data\":_vm.gridData,\"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')}}),_c('el-table-column',{attrs:{\"property\":\"receiveName\",\"align\":\"left\",\"label\":_vm.$t('work.recipient')}}),_c('el-table-column',{attrs:{\"property\":\"startTime\",\"align\":\"left\",\"label\":_vm.$t('startTime'),\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"property\":\"deadline\",\"align\":\"left\",\"label\":_vm.$t('endTime'),\"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)?_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\":\"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 [(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(),_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',{staticStyle:{\"height\":\"800px\"},attrs:{\"title\":_vm.$t('work.see'),\"visible\":_vm.seeDialog},on:{\"update:visible\":function($event){_vm.seeDialog=$event}}},[_c('son-equipment')],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div>\r\n <el-dialog\r\n :title=\"$t('work.Subinspectiontask')\"\r\n :visible.sync=\"dialogTableVisible\"\r\n :modal=\"false\"\r\n class=\"gisDialog\"\r\n >\r\n <div class=\"table-container\">\r\n <el-table\r\n :data=\"gridData\"\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 />\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=\"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 align=\"left\"\r\n :label=\"$t('endTime')\"\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\">{{\r\n scope.row.finishTime\r\n }}</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=\"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\r\n :label=\"$t('table.operate')\"\r\n width=\"200\"\r\n align=\"left\"\r\n >\r\n <template slot-scope=\"scope\">\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\" />{{\r\n $t('work.release')\r\n }}</span\r\n >\r\n <span\r\n class=\"btnCancel\"\r\n @click=\"stop(scope)\"\r\n v-if=\"scope.row.status === 1\"\r\n ><i class=\"iconfont icon-chakan\" />{{\r\n $t('work.suspend')\r\n }}</span\r\n >\r\n <span\r\n class=\"btnCancel\"\r\n @click=\"apply(scope)\"\r\n v-if=\"scope.row.status === 1\"\r\n ><i class=\"iconfont icon-biaoti\" />{{ $t('work.check') }}</span\r\n >\r\n <span class=\"btnCancel\" @click=\"seeEq(scope)\">\r\n <i class=\"iconfont icon-kejian\" /> {{ $t('work.see') }}</span\r\n >\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\r\n :title=\"$t('work.see')\"\r\n :visible.sync=\"seeDialog\"\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\r\n<script>\r\nimport {\r\n getTaskList,\r\n deleteTask,\r\n batchDeleteTask,\r\n applyAcceptanceTask,\r\n releaseTaskBySubId,\r\n stopTaskBySubId,\r\n getTask\r\n} from '@/api/work'\r\nimport { workStatus } from '@/utils/time'\r\nimport Pagination from '@/components/Pagination'\r\nimport sonEquipment from '@/components/historicalTrack/sonEquipment'\r\nexport default {\r\n components: {\r\n Pagination,\r\n sonEquipment\r\n },\r\n props: ['parentTaskId', 'parentTaskStatus'],\r\n data() {\r\n return {\r\n gridData: null,\r\n dialogTableVisible: false,\r\n sonTotal: 0,\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 sonPatrol: 'sonPatrol',\r\n seeDialog: false\r\n }\r\n },\r\n mounted() {},\r\n watch: {\r\n dialogTableVisible(val) {\r\n if (val == false) {\r\n this.$parent.workList()\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 handleDeleteBatch() {\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 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 console.log(this.parentTaskId, this.parentTaskStatus)\r\n },\r\n apply(scope) {\r\n applyAcceptanceTask({ taskId: scope.row.taskId }).then((res) => {\r\n this.sonList(res)\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.sonList()\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 getOut(scope) {\r\n releaseTaskBySubId({ status: 0, taskId: scope.row.taskId }).then(\r\n (res) => {\r\n this.sonList(res)\r\n this.$parent.workList()\r\n }\r\n )\r\n },\r\n stop(scope) {\r\n stopTaskBySubId({ status: 2, taskId: scope.row.taskId }).then((res) => {\r\n this.sonList(res)\r\n })\r\n },\r\n //查看设备\r\n seeEq(scope) {\r\n console.log(scope, '----2---')\r\n getTask({ taskId: scope.row.taskId }).then((res) => {\r\n this.$store.state.work.deviceAllList = res.data.deviceList\r\n this.seeDialog = true\r\n })\r\n }\r\n }\r\n}\r\n</script>\r\n<style lang=\"scss\" scoped>\r\n.btnCancel {\r\n margin: 2px;\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!./sonPatrol.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!./sonPatrol.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./sonPatrol.vue?vue&type=template&id=2a195f66&scoped=true&\"\nimport script from \"./sonPatrol.vue?vue&type=script&lang=js&\"\nexport * from \"./sonPatrol.vue?vue&type=script&lang=js&\"\nimport style0 from \"./sonPatrol.vue?vue&type=style&index=0&id=2a195f66&lang=scss&scoped=true&\"\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 \"2a195f66\",\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\",staticStyle:{\"border\":\"0\"}},[_vm._t(\"default\"),_c('el-select',{staticClass:\"filter-item\",staticStyle:{\"width\":\"150px\"},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.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')}}),_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\":\"170\"}}),_c('el-table-column',{attrs:{\"property\":\"deadline\",\"align\":\"left\",\"label\":_vm.$t('endTime'),\"width\":\"170\"}}),_c('el-table-column',{attrs:{\"property\":\"finishTime\",\"align\":\"left\",\"label\":_vm.$t('completionTime'),\"width\":\"170\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(scope.row.finishTime),expression:\"scope.row.finishTime\"}]},[_vm._v(_vm._s(scope.row.scope))]),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(!scope.row.finishTime),expression:\"!scope.row.finishTime\"}]},[_vm._v(\"- -\")])]}}])}),_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\":\"300\",\"align\":\"left\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(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.handleUpdate(scope.row)}}},[_c('i',{staticClass:\"iconfont icon-bianji\"}),_vm._v(_vm._s(_vm.$t('table.update'))+\" \")]):_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(),_c('span',{staticClass:\"btnCancel\",on:{\"click\":function($event){return _vm.seeSon(scope)}}},[_c('i',{staticClass:\"iconfont icon-kejian\"}),_vm._v(\" \"+_vm._s(_vm.$t('work.see'))+\" \")]),_c('span',{staticClass:\"btnCancel\",on:{\"click\":function($event){return _vm.handleDelete(scope)}}},[_c('i',{staticClass:\"iconfont icon-a--\"}),_vm._v(_vm._s(_vm.$t('table.delete'))+\" \")])]}}])})],1)],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}}),_c('table-data'),_c('son-patrol',{attrs:{\"parentTaskId\":_vm.parentTaskId,\"parentTaskStatus\":_vm.parentTaskStatus}})],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=\"listQuery.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 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 class=\"filter-item\"\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 class=\"control-container\">\r\n <span class=\"btn-item\" @click=\"handleCreate\">\r\n <i class=\"iconfont icon-a-\" />{{ $t('btn.add') }}\r\n </span>\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 />\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=\"170\"\r\n />\r\n <el-table-column\r\n property=\"deadline\"\r\n align=\"left\"\r\n :label=\"$t('endTime')\"\r\n width=\"170\"\r\n />\r\n <el-table-column\r\n property=\"finishTime\"\r\n align=\"left\"\r\n :label=\"$t('completionTime')\"\r\n width=\"170\"\r\n >\r\n <template slot-scope=\"scope\">\r\n <span v-show=\"scope.row.finishTime\">{{ scope.row.scope }}</span>\r\n <span v-show=\"!scope.row.finishTime\">- -</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=\"300\" align=\"left\">\r\n <template slot-scope=\"scope\">\r\n <span\r\n v-if=\"scope.row.status === -1\"\r\n class=\"btnCancel\"\r\n @click=\"getOut(scope)\"\r\n >\r\n <i class=\"iconfont icon-biaoti\" />{{ $t('work.release') }}\r\n </span>\r\n <span\r\n class=\"btnCancel\"\r\n @click=\"handleUpdate(scope.row)\"\r\n v-if=\"scope.row.status === -1\"\r\n >\r\n <i class=\"iconfont icon-bianji\" />{{ $t('table.update') }}\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 >\r\n <i class=\"iconfont icon-chakan\" />{{ $t('work.suspend') }}\r\n </span>\r\n <!-- <span\r\n v-show=\"scope.row.status === 1\"\r\n class=\"btnCancel\" \r\n @click=\"apply(scope)\"\r\n title=\"申请验收\"\r\n >申请验收</span>-->\r\n <span class=\"btnCancel\" @click=\"seeSon(scope)\">\r\n <i class=\"iconfont icon-kejian\" /> {{ $t('work.see') }}\r\n </span>\r\n <span class=\"btnCancel\" @click=\"handleDelete(scope)\">\r\n <i class=\"iconfont icon-a--\" />{{ $t('table.delete') }}\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=\"listQuery.curPage\"\r\n :limit.sync=\"listQuery.pageSize\"\r\n @pagination=\"workList\"\r\n />\r\n <table-data></table-data>\r\n <son-patrol\r\n :parentTaskId=\"parentTaskId\"\r\n :parentTaskStatus=\"parentTaskStatus\"\r\n />\r\n </div>\r\n</template>\r\n<script>\r\nimport {\r\n getTaskList,\r\n releaseTask,\r\n deleteTask,\r\n getTask,\r\n applyAcceptanceTask,\r\n batchDeleteTask\r\n} from '@/api/work'\r\nimport { getDeptSubByDeptId } from '@/api/department'\r\nimport { getUserList } from '@/api/user'\r\nimport Pagination from '@/components/Pagination'\r\nimport sonPatrol from './sonPatrol'\r\n// import permission from '@/directive/permission/index.js' // 权限判断指令\r\nimport tableData from './tableData'\r\nimport { workStatus } from '@/utils/time'\r\nexport default {\r\n components: { Pagination, sonPatrol, tableData },\r\n // directives: { permission },\r\n\r\n data() {\r\n return {\r\n sonPatrol: null,\r\n total: 0,\r\n list: null,\r\n listLoading: true,\r\n downloadLoading: false,\r\n light: false,\r\n workForm: null,\r\n arrayTimeSearch: [],\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 },\r\n userList: {},\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 taskCount: null,\r\n workBree: 'workBree',\r\n lampList: null,\r\n parentTaskId: '',\r\n parentTaskStatus: ''\r\n }\r\n },\r\n created() {\r\n this.getDepartmentList()\r\n this.workList()\r\n this.getUsers()\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 computed: {\r\n form: {\r\n get() {\r\n return this.$store.state.partol.form\r\n },\r\n set(val) {\r\n this.$store.state.partol.form = val\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 },\r\n seeSon(scope) {\r\n this.parentTaskId = scope.row.taskId\r\n this.parentTaskStatus = scope.row.status\r\n this.$children.forEach((e) => {\r\n if (e.sonPatrol) {\r\n e.dialogTableVisible = true\r\n e.getSonList.parentId = scope.row.taskId\r\n e.sonList()\r\n }\r\n })\r\n },\r\n apply(scope) {\r\n applyAcceptanceTask({ taskId: scope.row.taskId }).then((res) => {\r\n this.workList(res)\r\n })\r\n },\r\n getOut(scope) {\r\n releaseTask({ status: 0, taskId: scope.row.taskId }).then((res) => {\r\n this.workList(res)\r\n })\r\n },\r\n stop(scope) {\r\n releaseTask({ status: 2, taskId: scope.row.taskId }).then((res) => {\r\n this.workList(res)\r\n })\r\n },\r\n getUsers() {\r\n getUserList(this.userList).then((res) => {\r\n this.$store.state.partol.getUserList = res.data.list\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 validatenull(children) {\r\n // 验证children\r\n if (children && children.length > 0) {\r\n return false\r\n } else {\r\n return true\r\n }\r\n },\r\n filterDeptList(data) {\r\n // 过滤机构列表\r\n const editDeptList = []\r\n if (!data.length && data.nodeBean) {\r\n data = [data]\r\n }\r\n if (!data[0]) {\r\n return []\r\n }\r\n data.forEach((e) => {\r\n const route = {\r\n value: e.nodeBean.deptId,\r\n label: e.nodeBean.deptName,\r\n children: this.validatenull(e.subBeanList)\r\n ? null\r\n : this.filterDeptList(e.subBeanList, true)\r\n }\r\n editDeptList.push(route)\r\n })\r\n return editDeptList\r\n },\r\n getDepartmentList() {\r\n // 获取机构列表\r\n getDeptSubByDeptId().then((res) => {\r\n this.$store.state.partol.deptList = this.filterDeptList(res.data)\r\n })\r\n },\r\n resetForm() {\r\n // 重置表单\r\n for (var key in this.form) {\r\n this.form[key] = null\r\n }\r\n this.form.deviceList = []\r\n this.$store.state.work.deviceAllList = []\r\n },\r\n handleCreate() {\r\n this.resetForm()\r\n this.$store.state.partol.addDialog = true\r\n this.$store.state.partol.dialogStatus = 'create'\r\n },\r\n handleUpdates(row) {\r\n this.handleUpdate(row)\r\n },\r\n handleUpdate(row) {\r\n this.$store.state.partol.arrayTime = [row.startTime, row.deadline]\r\n this.form = Object.assign({}, row)\r\n getTask(this.$store.state.partol.form).then((res) => {\r\n this.form = res.data\r\n this.$store.state.work.deviceAllList = res.data.deviceList || []\r\n })\r\n this.$store.state.partol.dialogStatus = 'update'\r\n this.$store.state.partol.addDialog = true\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 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 this.workList(res)\r\n })\r\n })\r\n },\r\n handleDeletes() {\r\n if (!this.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: 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 handleFilter() {\r\n this.listQuery.curPage = 1\r\n this.workList()\r\n },\r\n wipeCondition() {\r\n for (var 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 }\r\n }\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>\r\n.edit-input {\r\n padding-right: 100px;\r\n}\r\n.selectMenu {\r\n padding-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!./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=701bb298&scoped=true&\"\nimport script from \"./dispatchedWork.vue?vue&type=script&lang=js&\"\nexport * from \"./dispatchedWork.vue?vue&type=script&lang=js&\"\nimport style0 from \"./dispatchedWork.vue?vue&type=style&index=0&id=701bb298&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 \"701bb298\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}