EMS2.0-Documents/7.部署文档/Window安装/项目前端文件/IEMS/js/chunk-e7aff04c.cfb4f830.js.map

1 line
67 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

{"version":3,"sources":["webpack:///./src/directive/permission/permission.js","webpack:///./src/directive/permission/index.js","webpack:///./src/views/operation/apply/equipment.vue?1586","webpack:///src/views/operation/apply/equipment.vue","webpack:///./src/views/operation/apply/equipment.vue?1f26","webpack:///./src/views/operation/apply/equipment.vue","webpack:///./src/api/work.js","webpack:///./node_modules/core-js/modules/es.json.stringify.js","webpack:///./src/views/operation/apply/equipment.vue?7e24"],"names":["inserted","el","binding","value","roles","store","getters","butPermission","console","log","Array","length","Error","permissionRoles","hasPermission","some","role","includes","state","user","permissionFlag","newnode","document","createElement","style","cursor","display","pointerEvents","parentNode","insertBefore","removeChild","appendChild","install","Vue","directive","permission","window","use","render","_vm","this","_h","$createElement","_c","_self","staticClass","staticStyle","on","goBack","_v","_s","$t","$store","work","applyStatus","getApply","_e","attrs","taskForm","taskName","startTime","receiveName","finishTime","taskNum","deadline","checkName","getOrder","orderType","remark","equipmentList","scopedSlots","_u","key","fn","scope","row","checkStatus","directives","name","rawName","expression","$event","applys","dialogVisible","handleClose","_l","item","index","createTime","v","i","picAnnexList","latitude","longitude","slot","lastCheck","failCheck","successCheck","checkedVisible","uploadHttpList","handlePreview","handleRemove","handleSuccess","beforeUpload","fileList","uploadFile","changeVideo","deletes","videoFile","changeAudio","audioFile","minRows","maxRows","model","form","callback","$$v","$set","btnFlag","handleGet","staticRenderFns","data","url","list","checkId","videoPath","audioPath","deviceType","deviceId","deviceName","taskId","trackType","Remark","picAnnex","videoAnnex","audioAnnex","Longitude","filePath","taskStatus","stopTime","applyTime","taskText","created","watch","methods","val","replace","file","$confirm","confirmButtonText","cancelButtonText","then","fileUrl","deleteFileByUrl","res","status","title","message","type","duration","getList","getNeedAcceptanceDeviceList","getTrajectoryList","flag","acceptanceTask","done","catch","id","join","insertTrajectoryTask","response","push","path","fileData","FormData","axios","method","headers","Authorization","testmsg","test","isLt5M","uploading","$message","error","that","getElementById","files","formData","component","getDeviceList","request","params","insertOrderTask","dataForm","JSON","stringify","updateOrderTask","releaseTask","getTask","getTaskList","releaseTaskBySubId","qs","stopTaskBySubId","applyAcceptanceTask","deleteTask","batchDeleteTask","dismantleList","dismantleInfo","insertInspectionTask","updateInspectionTask","$","global","getBuiltIn","apply","uncurryThis","fails","$stringify","exec","charAt","charCodeAt","numberToString","toString","tester","low","hi","fix","match","offset","string","prev","next","FORCED","target","stat","forced","it","replacer","space","l","arguments","args","result"],"mappings":"wKAEe,GACbA,SADa,SACJC,EAAIC,GACX,IAAQC,EAAUD,EAAVC,MAEFC,EAAQC,OAAMC,SAAWD,OAAMC,QAAQC,cAE7C,GADAC,QAAQC,IAAIL,EAAO,WACfD,GAASA,aAAiBO,OAASP,EAAMQ,OAAS,GAyBpD,MAAM,IAAIC,MAAJ,wDAxBN,IAAMC,EAAkBV,EAClBW,EAAgBV,EAAMW,MAAK,SAAAC,GAC/B,OAAOH,EAAgBI,SAASD,MAGlC,GADAR,QAAQC,IAAIK,EAAe,iBACtBA,EAgBHT,OAAMa,MAAMC,KAAKC,eAAeP,IAAmB,MAhBjC,CAGlBR,OAAMa,MAAMC,KAAKC,eAAeP,IAAmB,EAGnDL,QAAQC,IAAIJ,OAAMa,MAAMC,KAAKC,eAAeP,GAAkB,mBAC9D,IAAMQ,EAAUC,SAASC,cAAc,OACvCF,EAAQG,MAAMC,OAAS,cACvBJ,EAAQG,MAAME,QAAU,eACxBzB,EAAGuB,MAAMG,cAAgB,OACzB1B,EAAG2B,WAAWC,aAAaR,EAASpB,GACpCA,EAAG2B,YAAc3B,EAAG2B,WAAWE,YAAY7B,GAC3CoB,EAAQU,YAAY9B,GACpBO,QAAQC,IAAIR,EAAI,sBC1BlB+B,EAAU,SAAS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QgG,EAAQnB,EAAQG,GAAOgB,M,kCCzCxE","file":"js/chunk-e7aff04c.cfb4f830.js","sourcesContent":["import store from \"@/store\";\r\n\r\nexport default {\r\n inserted(el, binding) {\r\n const { value } = binding;\r\n // const roles = store.getters && store.getters.roles\r\n const roles = store.getters && store.getters.butPermission;\r\n console.log(roles, 'roles');\r\n if (value && value instanceof Array && value.length > 0) {\r\n const permissionRoles = value;\r\n const hasPermission = roles.some(role => {\r\n return permissionRoles.includes(role);\r\n });\r\n console.log(hasPermission, 'hasPermission');\r\n if (!hasPermission) {\r\n // el.parentNode && el.parentNode.removeChild(el) \r\n\r\n store.state.user.permissionFlag[permissionRoles] = true;\r\n\r\n\r\n console.log(store.state.user.permissionFlag[permissionRoles], 'permissionRoles');\r\n const newnode = document.createElement(\"div\");\r\n newnode.style.cursor = 'not-allowed'\r\n newnode.style.display = 'inline-block'\r\n el.style.pointerEvents = \"none\"\r\n el.parentNode.insertBefore(newnode, el)\r\n el.parentNode && el.parentNode.removeChild(el)\r\n newnode.appendChild(el);\r\n console.log(el, 'permissionRoles');\r\n } else {\r\n store.state.user.permissionFlag[permissionRoles] = false;\r\n }\r\n } else {\r\n throw new Error(`need roles! Like v-permission=\"['admin','editor']\"`);\r\n }\r\n }\r\n};","import permission from \"./permission\";\n\nconst install = function(Vue) {\n Vue.directive(\"permission\", permission);\n};\n\nif (window.Vue) {\n window[\"permission\"] = permission;\n Vue.use(install); // eslint-disable-line\n}\n\npermission.install = install;\nexport default permission;\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"filter-container\",staticStyle:{\"margin-bottom\":\"16px\"}},[_c('span',{staticClass:\"btn-item\",on:{\"click\":_vm.goBack}},[_c('i',{staticClass:\"el-icon-upload2\"}),_vm._v(_vm._s(_vm.$t(\"work.return\")))]),(_vm.$store.state.work.applyStatus == 5)?_c('span',{staticClass:\"btn-item\",on:{\"click\":_vm.getApply}},[_c('i',{staticClass:\"el-icon-upload2\"}),_vm._v(_vm._s(_vm.$t(\"work.submit\")))]):_vm._e()]),_c('div',{staticClass:\"app-container\"},[_c('div',{staticClass:\"decorate\"}),_c('div',{staticClass:\"baseInfo\"},[_c('div',{staticClass:\"name\"},[_c('i',{staticClass:\"iconfont icon-biaoti\"}),_c('span',[_vm._v(_vm._s(_vm.$t(\"cabinet.basicInfo\")))])]),_c('el-row',{staticClass:\"row\"},[_c('el-col',{attrs:{\"span\":6}},[_c('span',{staticClass:\"label\"},[_vm._v(_vm._s(_vm.$t(\"work.taskName\")))]),_c('span',{staticClass:\"value\"},[_vm._v(\" \"+_vm._s(_vm.$store.state.work.taskForm.taskName)+\" \")])]),_c('el-col',{attrs:{\"span\":6}},[_c('span',{staticClass:\"label\"},[_vm._v(_vm._s(_vm.$t(\"startTime\")))]),_c('span',{staticClass:\"value\"},[_vm._v(\" \"+_vm._s(_vm.$store.state.work.taskForm.startTime)+\" \")])]),_c('el-col',{attrs:{\"span\":6}},[_c('span',{staticClass:\"label\"},[_vm._v(_vm._s(_vm.$t(\"work.recipient\")))]),_c('span',{staticClass:\"value\"},[_vm._v(\" \"+_vm._s(_vm.$store.state.work.taskForm.receiveName)+\" \")])]),_c('el-col',{attrs:{\"span\":6}},[_c('span',{staticClass:\"label\"},[_vm._v(_vm._s(_vm.$t(\"completionTime\")))]),_c('span',{staticClass:\"value\"},[_vm._v(\" \"+_vm._s(_vm.$store.state.work.taskForm.finishTime || \"- -\")+\" \")])]),_c('el-col',{attrs:{\"span\":6}},[_c('span',{staticClass:\"label\"},[_vm._v(_vm._s(_vm.$t(\"work.taskNum\")))]),_c('span',{staticClass:\"value\"},[_vm._v(\" \"+_vm._s(_vm.$store.state.work.taskForm.taskNum)+\" \")])]),_c('el-col',{attrs:{\"span\":6}},[_c('span',{staticClass:\"label\"},[_vm._v(_vm._s(_vm.$t(\"endTime\")))]),_c('span',{staticClass:\"value\"},[_vm._v(\" \"+_vm._s(_vm.$store.state.work.taskForm.deadline)+\" \")])]),_c('el-col',{attrs:{\"span\":6}},[_c('span',{staticClass:\"label\"},[_vm._v(_vm._s(_vm.$t(\"work.accepted\")))]),_c('span',{staticClass:\"value\"},[_vm._v(\" \"+_vm._s(_vm.$store.state.work.taskForm.checkName)+\" \")])]),_c('el-col',{attrs:{\"span\":6}},[_c('span',{staticClass:\"label\"},[_vm._v(_vm._s(_vm.$t(\"work.taskType\")))]),_c('span',{staticClass:\"value\"},[_vm._v(\" \"+_vm._s(_vm.getOrder(_vm.$store.state.work.taskForm.orderType))+\" \")])]),_c('el-col',{attrs:{\"span\":24}},[_c('span',{staticClass:\"label\"},[_vm._v(_vm._s(_vm.$t(\"work.remark\")))]),_c('span',{staticClass:\"value\"},[_vm._v(\" \"+_vm._s(this.$store.state.work.taskForm.remark)+\" \")])])],1)],1),_c('div',{staticClass:\"table-container\"},[_c('div',{staticClass:\"name\"},[_c('i',{staticClass:\"iconfont icon-biaoti\"}),_c('span',[_vm._v(_vm._s(_vm.$t(\"work.deviceList\")))])]),_c('el-table',{attrs:{\"data\":_vm.$store.state.work.equipmentList,\"highlight-current-row\":\"\",\"header-row-class-name\":\"table-header\",\"row-class-name\":\"table-row\"}},[_c('el-table-column',{attrs:{\"property\":\"deviceName\",\"align\":\"center\",\"label\":_vm.$t('device.deviceName')}}),_c('el-table-column',{attrs:{\"property\":\"deviceId\",\"align\":\"center\",\"label\":_vm.$t('device.deviceCode')}}),_c('el-table-column',{attrs:{\"align\":\"center\",\"label\":_vm.$t('work.status')},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(scope.row.checkStatus === 1)?_c('span',[_vm._v(_vm._s(_vm.$t(\"work.passed\")))]):_vm._e(),(scope.row.checkStatus === 0)?_c('span',[_vm._v(_vm._s(_vm.$t(\"work.failed\")))]):_vm._e(),(scope.row.checkStatus == null)?_c('span',[_vm._v(_vm._s(_vm.$t(\"work.tobeAccepted\")))]):_vm._e()]}}])}),_c('el-table-column',{attrs:{\"label\":_vm.$t('table.operate'),\"width\":\"300\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('span',{directives:[{name:\"permission\",rawName:\"v-permission\",value:(['apply_checkLog']),expression:\"['apply_checkLog']\"}],staticClass:\"btnCancel\",on:{\"click\":function($event){return _vm.applys(scope)}}},[_c('i',{staticClass:\"iconfont icon-kejian\"}),_vm._v(\" \"+_vm._s(_vm.$t(\"work.see\"))+\" \")])]}}])})],1)],1),(_vm.dialogVisible)?_c('el-dialog',{staticClass:\"devDialog\",attrs:{\"title\":_vm.$t('work.see'),\"visible\":_vm.dialogVisible,\"before-close\":_vm.handleClose},on:{\"update:visible\":function($event){_vm.dialogVisible=$event}}},[_c('div',{staticStyle:{\"padding\":\"20px\"}},_vm._l((_vm.list),function(item,index){return _c('el-timeline',{key:index},[_c('el-timeline-item',{attrs:{\"timestamp\":item.createTime,\"placement\":\"top\"}},[_c('el-card',[_vm._l((item.picAnnexList),function(v,i){return _c('el-image',{key:i,staticStyle:{\"width\":\"100px\",\"height\":\"100px\"},attrs:{\"src\":v,\"preview-src-list\":item.picAnnexList}})}),_vm._l((item.videoAnnexList),function(v,i){return _c('div',{key:(v + \"+\" + i)},[_c('video',{staticClass:\"video-js\",attrs:{\"id\":(\"video\" + v + \"+\" + i),\"controls\":\"\",\"preload\":\"auto\",\"poster\":\"//vjs.zencdn.net/v/oceans.png\",\"width\":\"600\",\"height\":\"400\"}},[_c('source',{attrs:{\"src\":v,\"type\":\"video/mp4\"}}),_c('source',{attrs:{\"src\":v,\"type\":\"video/webm\"}}),_c('source',{attrs:{\"src\":v,\"type\":\"video/ogg\"}})])])}),_vm._l((item.audioAnnexList),function(v,i){return _c('div',{key:(v + \"+\" + i)},[_c('audio',{attrs:{\"controls\":\"\",\"height\":\"100\",\"width\":\"100\"}},[_c('source',{attrs:{\"src\":v,\"type\":\"audio/wav\"}}),_c('source',{attrs:{\"src\":v,\"type\":\"audio/ogg\"}}),_c('source',{attrs:{\"src\":v,\"type\":\"audio/mp3\"}}),_c('embed',{attrs:{\"height\":\"100\",\"width\":\"100\",\"src\":v}}),_vm._v(\" Your browser does not support this audio format. \")])])}),_c('p',{staticStyle:{\"margin-top\":\"20px\",\"font-size\":\"16px\"}},[_vm._v(\" \"+_vm._s(item.remark)+\" \")]),(item.latitude)?_c('p',{staticStyle:{\"margin-top\":\"20px\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"table.longitude\"))+\":\"+_vm._s(item.latitude)+\" \"+_vm._s(_vm.$t(\"table.latitude\"))+\":\"+_vm._s(item.longitude)+\" \")]):_vm._e()],2)],1)],1)}),1),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('span',{directives:[{name:\"permission\",rawName:\"v-permission\",value:(['apply_nopass']),expression:\"['apply_nopass']\"}],staticClass:\"btn-item long\",attrs:{\"disabled\":_vm.lastCheck == 1},on:{\"click\":function($event){return _vm.failCheck(0)}}},[_vm._v(\" \"+_vm._s(_vm.$t(\"work.failed\")))]),_c('span',{directives:[{name:\"permission\",rawName:\"v-permission\",value:(['apply_pass']),expression:\"['apply_pass']\"}],staticClass:\"btn-item long\",attrs:{\"disabled\":_vm.lastCheck == 1},on:{\"click\":function($event){return _vm.successCheck(1)}}},[_vm._v(_vm._s(_vm.$t(\"work.passed\")))])])]):_vm._e(),(_vm.checkedVisible)?_c('el-dialog',{staticClass:\"devDialog\",attrs:{\"title\":_vm.$t('work.Acceptance'),\"visible\":_vm.checkedVisible,\"before-close\":_vm.handleClose},on:{\"update:visible\":function($event){_vm.checkedVisible=$event}}},[_c('div',{staticStyle:{\"padding\":\"20px\"}},[_c('div',[_c('p',{staticStyle:{\"font-size\":\"24px\",\"margin-bottom\":\"20px\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"work.pictures\"))+\" \")]),_c('el-upload',{staticClass:\"upload-demo\",attrs:{\"action\":_vm.uploadHttpList,\"on-preview\":_vm.handlePreview,\"on-remove\":_vm.handleRemove,\"on-success\":_vm.handleSuccess,\"before-upload\":_vm.beforeUpload,\"file-list\":_vm.fileList,\"http-request\":_vm.uploadFile,\"list-type\":\"picture\"}},[_c('el-button',{attrs:{\"size\":\"small\",\"type\":\"primary\"}},[_vm._v(_vm._s(_vm.$t(\"work.upload\")))]),_c('div',{staticClass:\"el-upload__tip\",attrs:{\"slot\":\"tip\"},slot:\"tip\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"work.uploadTip\"))+\" \")])],1)],1),_c('div',[_c('p',{staticStyle:{\"font-size\":\"24px\",\"margin-bottom\":\"20px\",\"margin-top\":\"40px\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"work.video\"))+\" \")]),_c('form',{attrs:{\"action\":\"\",\"id\":\"myForm\",\"enctype\":\"multipart/form-data\",\"name\":\"fileinfo\",\"target\":\"uploadFrame\"}},[_c('div',{staticClass:\"img.file\"},[_c('label',{staticClass:\"addbutton button-green\",attrs:{\"for\":\"imgFile\"}},[_vm._v(_vm._s(_vm.$t(\"work.upload\")))]),_c('input',{staticClass:\"upload_input\",attrs:{\"type\":\"file\",\"id\":\"imgFile\",\"accept\":\"video/*\"},on:{\"change\":_vm.changeVideo}})])]),_c('p',{staticStyle:{\"margin-top\":\"10px\",\"margin-bottom\":\"10px\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"work.videos\"))+\" \")]),_vm._l((_vm.videoFile),function(item,index){return _c('div',{key:index,staticClass:\"deletes\"},[_c('span',{staticClass:\"use\",staticStyle:{\"margin-bottom\":\"4px\",\"margin-right\":\"10px\"}},[_vm._v(_vm._s(item.name))]),_c('span',{attrs:{\"title\":_vm.$t('work.DeleteVideo')},on:{\"click\":function($event){return _vm.deletes(item, _vm.videoFile)}}},[_c('svg-icon',{attrs:{\"icon-class\":\"deletes\"}})],1)])})],2),_c('div',[_c('p',{staticStyle:{\"font-size\":\"24px\",\"margin-bottom\":\"20px\",\"margin-top\":\"40px\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"work.audio\"))+\" \")]),_c('form',{attrs:{\"action\":\"\",\"id\":\"myAudio\",\"enctype\":\"multipart/form-data\",\"name\":\"fileAudio\",\"target\":\"uploadFrame\"}},[_c('div',{staticClass:\"img.file\"},[_c('label',{staticClass:\"addbutton button-green\",attrs:{\"for\":\"imgFile\"}},[_vm._v(_vm._s(_vm.$t(\"work.upload\")))]),_c('input',{staticClass:\"upload_input\",attrs:{\"type\":\"file\",\"id\":\"audioFile\",\"accept\":\"audio/*\"},on:{\"change\":_vm.changeAudio}})])]),_c('p',{staticStyle:{\"margin-top\":\"10px\",\"margin-bottom\":\"10px\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"work.audios\"))+\" \")]),_vm._l((_vm.audioFile),function(item,index){return _c('div',{key:index,staticClass:\"deletes\"},[_c('span',{staticClass:\"use\",staticStyle:{\"margin-bottom\":\"4px\",\"margin-right\":\"10px\"}},[_vm._v(_vm._s(item.name))]),_c('span',{attrs:{\"title\":_vm.$t('work.DeleteAudio')},on:{\"click\":function($event){return _vm.deletes(item, _vm.audioFile)}}},[_c('svg-icon',{attrs:{\"icon-class\":\"deletes\"}})],1)])})],2),_c('div',{staticStyle:{\"margin-top\":\"40px\"}},[_c('p',{staticStyle:{\"font-size\":\"24px\",\"margin-bottom\":\"20px\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"work.explain\"))+\" \")]),_c('el-input',{staticStyle:{\"width\":\"600px\"},attrs:{\"type\":\"textarea\",\"autosize\":{ minRows: 4, maxRows: 10 }},model:{value:(_vm.form.Remark),callback:function ($$v) {_vm.$set(_vm.form, \"Remark\", $$v)},expression:\"form.Remark\"}})],1)]),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('span',{staticClass:\"btn-item long\",on:{\"click\":function($event){_vm.checkedVisible = false}}},[_vm._v(_vm._s(_vm.$t(\"btn.cancel\")))]),_c('span',{staticClass:\"btn-item long\",attrs:{\"disabled\":_vm.btnFlag},on:{\"click\":function($event){return _vm.handleGet()}}},[_vm._v(_vm._s(_vm.$t(\"btn.define\")))])])]):_vm._e()],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div>\r\n <div class=\"filter-container\" style=\"margin-bottom: 16px\">\r\n <span class=\"btn-item\" @click=\"goBack\"\r\n ><i class=\"el-icon-upload2\"></i>{{ $t(\"work.return\") }}</span\r\n >\r\n <span\r\n class=\"btn-item\"\r\n v-if=\"$store.state.work.applyStatus == 5\"\r\n @click=\"getApply\"\r\n ><i class=\"el-icon-upload2\"></i>{{ $t(\"work.submit\") }}</span\r\n >\r\n </div>\r\n <div class=\"app-container\">\r\n <div class=\"decorate\"></div>\r\n <div class=\"baseInfo\">\r\n <div class=\"name\">\r\n <i class=\"iconfont icon-biaoti\" />\r\n <span>{{ $t(\"cabinet.basicInfo\") }}</span>\r\n </div>\r\n <el-row class=\"row\">\r\n <el-col :span=\"6\">\r\n <span class=\"label\">{{ $t(\"work.taskName\") }}</span>\r\n <span class=\"value\">\r\n {{ $store.state.work.taskForm.taskName }}\r\n </span>\r\n </el-col>\r\n <el-col :span=\"6\">\r\n <span class=\"label\">{{ $t(\"startTime\") }}</span>\r\n <span class=\"value\">\r\n {{ $store.state.work.taskForm.startTime }}\r\n </span>\r\n </el-col>\r\n <el-col :span=\"6\">\r\n <span class=\"label\">{{ $t(\"work.recipient\") }}</span>\r\n <span class=\"value\">\r\n {{ $store.state.work.taskForm.receiveName }}\r\n </span>\r\n </el-col>\r\n <el-col :span=\"6\">\r\n <span class=\"label\">{{ $t(\"completionTime\") }}</span>\r\n <span class=\"value\">\r\n {{ $store.state.work.taskForm.finishTime || \"- -\" }}\r\n </span>\r\n </el-col>\r\n <el-col :span=\"6\">\r\n <span class=\"label\">{{ $t(\"work.taskNum\") }}</span>\r\n <span class=\"value\">\r\n {{ $store.state.work.taskForm.taskNum }}\r\n </span>\r\n </el-col>\r\n <el-col :span=\"6\">\r\n <span class=\"label\">{{ $t(\"endTime\") }}</span>\r\n <span class=\"value\">\r\n {{ $store.state.work.taskForm.deadline }}\r\n </span>\r\n </el-col>\r\n <el-col :span=\"6\">\r\n <span class=\"label\">{{ $t(\"work.accepted\") }}</span>\r\n <span class=\"value\">\r\n {{ $store.state.work.taskForm.checkName }}\r\n </span>\r\n </el-col>\r\n <el-col :span=\"6\">\r\n <span class=\"label\">{{ $t(\"work.taskType\") }}</span>\r\n <span class=\"value\">\r\n {{ getOrder($store.state.work.taskForm.orderType) }}\r\n </span>\r\n </el-col>\r\n <el-col :span=\"24\">\r\n <span class=\"label\">{{ $t(\"work.remark\") }}</span>\r\n <span class=\"value\">\r\n {{ this.$store.state.work.taskForm.remark }}\r\n </span>\r\n </el-col>\r\n </el-row>\r\n </div>\r\n <div class=\"table-container\">\r\n <div class=\"name\">\r\n <i class=\"iconfont icon-biaoti\" />\r\n <span>{{ $t(\"work.deviceList\") }}</span>\r\n </div>\r\n <el-table\r\n :data=\"$store.state.work.equipmentList\"\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=\"deviceName\"\r\n align=\"center\"\r\n :label=\"$t('device.deviceName')\"\r\n />\r\n <el-table-column\r\n property=\"deviceId\"\r\n align=\"center\"\r\n :label=\"$t('device.deviceCode')\"\r\n />\r\n <el-table-column align=\"center\" :label=\"$t('work.status')\">\r\n <template slot-scope=\"scope\">\r\n <span v-if=\"scope.row.checkStatus === 1\">{{\r\n $t(\"work.passed\")\r\n }}</span>\r\n <span v-if=\"scope.row.checkStatus === 0\">{{\r\n $t(\"work.failed\")\r\n }}</span>\r\n <span v-if=\"scope.row.checkStatus == null\">{{\r\n $t(\"work.tobeAccepted\")\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=\"300\"\r\n align=\"center\"\r\n >\r\n <template slot-scope=\"scope\">\r\n <span\r\n class=\"btnCancel\"\r\n v-permission=\"['apply_checkLog']\"\r\n @click=\"applys(scope)\"\r\n >\r\n <i class=\"iconfont icon-kejian\" /> {{ $t(\"work.see\") }}\r\n </span>\r\n </template>\r\n </el-table-column>\r\n </el-table>\r\n </div>\r\n\r\n <el-dialog\r\n :title=\"$t('work.see')\"\r\n :visible.sync=\"dialogVisible\"\r\n class=\"devDialog\"\r\n :before-close=\"handleClose\"\r\n v-if=\"dialogVisible\"\r\n >\r\n <div style=\"padding: 20px\">\r\n <el-timeline v-for=\"(item, index) in list\" :key=\"index\">\r\n <el-timeline-item :timestamp=\"item.createTime\" placement=\"top\">\r\n <el-card>\r\n <el-image\r\n v-for=\"(v, i) in item.picAnnexList\"\r\n :key=\"i\"\r\n style=\"width: 100px; height: 100px\"\r\n :src=\"v\"\r\n :preview-src-list=\"item.picAnnexList\"\r\n />\r\n <div v-for=\"(v, i) in item.videoAnnexList\" :key=\"`${v}+${i}`\">\r\n <video\r\n :id=\"`video${v}+${i}`\"\r\n class=\"video-js\"\r\n controls\r\n preload=\"auto\"\r\n poster=\"//vjs.zencdn.net/v/oceans.png\"\r\n width=\"600\"\r\n height=\"400\"\r\n >\r\n <source :src=\"v\" type=\"video/mp4\" />\r\n <source :src=\"v\" type=\"video/webm\" />\r\n <source :src=\"v\" type=\"video/ogg\" />\r\n </video>\r\n </div>\r\n <div v-for=\"(v, i) in item.audioAnnexList\" :key=\"`${v}+${i}`\">\r\n <audio controls height=\"100\" width=\"100\">\r\n <source :src=\"v\" type=\"audio/wav\" />\r\n <source :src=\"v\" type=\"audio/ogg\" />\r\n <source :src=\"v\" type=\"audio/mp3\" />\r\n <embed height=\"100\" width=\"100\" :src=\"v\" />\r\n Your browser does not support this audio format.\r\n </audio>\r\n </div>\r\n <p style=\"margin-top: 20px; font-size: 16px\">\r\n {{ item.remark }}\r\n </p>\r\n <p v-if=\"item.latitude\" style=\"margin-top: 20px\">\r\n {{ $t(\"table.longitude\") }}:{{ item.latitude }}\r\n {{ $t(\"table.latitude\") }}:{{ item.longitude }}\r\n </p>\r\n </el-card>\r\n </el-timeline-item>\r\n </el-timeline>\r\n </div>\r\n <span slot=\"footer\" class=\"dialog-footer\">\r\n <span\r\n class=\"btn-item long\"\r\n v-permission=\"['apply_nopass']\"\r\n @click=\"failCheck(0)\"\r\n :disabled=\"lastCheck == 1\"\r\n >\r\n {{ $t(\"work.failed\") }}</span\r\n >\r\n <span\r\n class=\"btn-item long\"\r\n v-permission=\"['apply_pass']\"\r\n @click=\"successCheck(1)\"\r\n :disabled=\"lastCheck == 1\"\r\n >{{ $t(\"work.passed\") }}</span\r\n >\r\n </span>\r\n </el-dialog>\r\n\r\n <el-dialog\r\n :title=\"$t('work.Acceptance')\"\r\n :visible.sync=\"checkedVisible\"\r\n class=\"devDialog\"\r\n :before-close=\"handleClose\"\r\n v-if=\"checkedVisible\"\r\n >\r\n <div style=\"padding: 20px\">\r\n <div>\r\n <p style=\"font-size: 24px; margin-bottom: 20px\">\r\n {{ $t(\"work.pictures\") }}\r\n </p>\r\n <el-upload\r\n class=\"upload-demo\"\r\n :action=\"uploadHttpList\"\r\n :on-preview=\"handlePreview\"\r\n :on-remove=\"handleRemove\"\r\n :on-success=\"handleSuccess\"\r\n :before-upload=\"beforeUpload\"\r\n :file-list=\"fileList\"\r\n :http-request=\"uploadFile\"\r\n list-type=\"picture\"\r\n >\r\n <el-button size=\"small\" type=\"primary\">{{\r\n $t(\"work.upload\")\r\n }}</el-button>\r\n <div slot=\"tip\" class=\"el-upload__tip\">\r\n {{ $t(\"work.uploadTip\") }}\r\n </div>\r\n </el-upload>\r\n </div>\r\n <!-- 上传视频 -->\r\n <div>\r\n <p style=\"font-size: 24px; margin-bottom: 20px; margin-top: 40px\">\r\n {{ $t(\"work.video\") }}\r\n </p>\r\n <form\r\n action\r\n id=\"myForm\"\r\n enctype=\"multipart/form-data\"\r\n name=\"fileinfo\"\r\n target=\"uploadFrame\"\r\n >\r\n <div class=\"img.file\">\r\n <label for=\"imgFile\" class=\"addbutton button-green\">{{\r\n $t(\"work.upload\")\r\n }}</label>\r\n <input\r\n type=\"file\"\r\n @change=\"changeVideo\"\r\n id=\"imgFile\"\r\n class=\"upload_input\"\r\n accept=\"video/*\"\r\n />\r\n </div>\r\n </form>\r\n <p style=\"margin-top: 10px; margin-bottom: 10px\">\r\n {{ $t(\"work.videos\") }}\r\n </p>\r\n <div\r\n v-for=\"(item, index) in videoFile\"\r\n :key=\"index\"\r\n class=\"deletes\"\r\n >\r\n <span\r\n style=\"margin-bottom: 4px; margin-right: 10px\"\r\n class=\"use\"\r\n >{{ item.name }}</span\r\n >\r\n <span\r\n @click=\"deletes(item, videoFile)\"\r\n :title=\"$t('work.DeleteVideo')\"\r\n >\r\n <svg-icon icon-class=\"deletes\" />\r\n </span>\r\n </div>\r\n </div>\r\n\r\n <!-- 上传音频 -->\r\n <div>\r\n <p style=\"font-size: 24px; margin-bottom: 20px; margin-top: 40px\">\r\n {{ $t(\"work.audio\") }}\r\n </p>\r\n <form\r\n action\r\n id=\"myAudio\"\r\n enctype=\"multipart/form-data\"\r\n name=\"fileAudio\"\r\n target=\"uploadFrame\"\r\n >\r\n <div class=\"img.file\">\r\n <label for=\"imgFile\" class=\"addbutton button-green\">{{\r\n $t(\"work.upload\")\r\n }}</label>\r\n <input\r\n type=\"file\"\r\n @change=\"changeAudio\"\r\n id=\"audioFile\"\r\n class=\"upload_input\"\r\n accept=\"audio/*\"\r\n />\r\n </div>\r\n </form>\r\n <p style=\"margin-top: 10px; margin-bottom: 10px\">\r\n {{ $t(\"work.audios\") }}\r\n </p>\r\n <div\r\n v-for=\"(item, index) in audioFile\"\r\n :key=\"index\"\r\n class=\"deletes\"\r\n >\r\n <span\r\n style=\"margin-bottom: 4px; margin-right: 10px\"\r\n class=\"use\"\r\n >{{ item.name }}</span\r\n >\r\n <span\r\n @click=\"deletes(item, audioFile)\"\r\n :title=\"$t('work.DeleteAudio')\"\r\n >\r\n <svg-icon icon-class=\"deletes\" />\r\n </span>\r\n </div>\r\n </div>\r\n <div style=\"margin-top: 40px\">\r\n <p style=\"font-size: 24px; margin-bottom: 20px\">\r\n {{ $t(\"work.explain\") }}\r\n </p>\r\n <el-input\r\n type=\"textarea\"\r\n :autosize=\"{ minRows: 4, maxRows: 10 }\"\r\n v-model=\"form.Remark\"\r\n style=\"width: 600px\"\r\n >\r\n </el-input>\r\n </div>\r\n </div>\r\n <span slot=\"footer\" class=\"dialog-footer\">\r\n <span class=\"btn-item long\" @click=\"checkedVisible = false\">{{\r\n $t(\"btn.cancel\")\r\n }}</span>\r\n <span\r\n class=\"btn-item long\"\r\n @click=\"handleGet()\"\r\n :disabled=\"btnFlag\"\r\n >{{ $t(\"btn.define\") }}</span\r\n >\r\n </span>\r\n </el-dialog>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport {\r\n getTrajectoryList,\r\n insertTrajectoryTask,\r\n acceptanceTask,\r\n getNeedAcceptanceDeviceList,\r\n deleteFileByUrl\r\n} from \"@/api/work\"\r\n\r\nimport permission from \"@/directive/permission/index.js\" // 权限判断指令\r\nimport { getToken } from \"@/utils/auth\"\r\nimport axios from \"axios\"\r\nexport default {\r\n directives: { permission },\r\n data() {\r\n return {\r\n url: \"\",\r\n uploadHttpList: \"\",\r\n fileList: [],\r\n dialogVisible: false,\r\n checkedVisible: false,\r\n list: null,\r\n checkId: \"\",\r\n videoFile: [],\r\n videoPath: [],\r\n audioPath: [],\r\n audioFile: [],\r\n form: {\r\n deviceType: \"\",\r\n deviceId: \"\",\r\n deviceName: \"\",\r\n taskId: this.$store.state.work.taskForm.taskId,\r\n trackType: \"验收\",\r\n checkStatus: \"\",\r\n Remark: \"\",\r\n picAnnex: \"\",\r\n videoAnnex: \"\",\r\n audioAnnex: \"\",\r\n Longitude: \"\",\r\n latitude: \"\"\r\n },\r\n filePath: [],\r\n taskStatus: {\r\n taskNum: \"\",\r\n startTime: \"\",\r\n receiveName: \"\",\r\n finishTime: \"\",\r\n taskName: \"\",\r\n stopTime: \"\",\r\n applyTime: \"\",\r\n taskText: \"\"\r\n },\r\n btnFlag: false,\r\n // checkStatus:null,\r\n lastCheck: \"\"\r\n }\r\n },\r\n created() {\r\n this.url = this.$store.state.user.url + \"/trajectory-service\"\r\n this.uploadHttpList = this.url + \"/file/uploadFileList\"\r\n },\r\n watch: {\r\n checkedVisible() {\r\n this.form.videoAnnex = \"\"\r\n this.form.audioAnnex = \"\"\r\n this.form.picAnnex = \"\"\r\n this.videoFile = []\r\n this.videoPath = []\r\n this.audioPath = []\r\n this.audioFile = []\r\n this.filePath = []\r\n this.fileList = []\r\n this.form.Remark = \"\"\r\n }\r\n },\r\n methods: {\r\n getOrder(val) {\r\n switch (val) {\r\n case \"1\":\r\n return this.$t(\"work.install\")\r\n case \"3\":\r\n return this.$t(\"work.dismantle\")\r\n case \"4\":\r\n return this.$t(\"work.faults\")\r\n case \"8\":\r\n return this.$t(\"work.patrol\")\r\n default:\r\n return this.$store.state.work.taskForm.orderType.replace(\r\n \"5\",\r\n this.$t(\"work.other\")\r\n )\r\n }\r\n },\r\n deletes(item, file) {\r\n //删除视频\r\n console.log(item)\r\n this.$confirm(\"是否确定删除\", \"提示\", {\r\n confirmButtonText: \"确定\",\r\n cancelButtonText: \"取消\"\r\n }).then(() => {\r\n const param = {\r\n fileUrl: item.path\r\n }\r\n deleteFileByUrl(param).then((res) => {\r\n if (res.status == 200) {\r\n let index = file.indexOf(item)\r\n console.log(index)\r\n if (index > -1) {\r\n file.splice(index, 1)\r\n }\r\n this.$notify({\r\n title: this.$t(\"title.success\"),\r\n message: res.message,\r\n type: \"success\",\r\n duration: 3000\r\n })\r\n }\r\n })\r\n })\r\n },\r\n getList() {\r\n if (this.$store.state.work.taskId) {\r\n getNeedAcceptanceDeviceList({\r\n taskId: this.$store.state.work.taskId,\r\n trackType: \"验收\"\r\n }).then((res) => {\r\n this.$store.state.work.equipmentList = res.data.deviceAcceptanceList\r\n this.$store.state.work.taskForm = res.data.task\r\n })\r\n }\r\n },\r\n applys(scope) {\r\n this.form.deviceId = scope.row.deviceId\r\n this.form.deviceType = scope.row.deviceType\r\n this.form.deviceName = scope.row.deviceName\r\n this.dialogVisible = true\r\n // this.checkStatus = scope.row.checkStatus\r\n const form = {\r\n deviceId: scope.row.deviceId,\r\n taskId: this.$store.state.work.taskForm.taskId\r\n }\r\n getTrajectoryList(form).then((res) => {\r\n this.list = res.data.list\r\n this.lastCheck = this.list[this.list.length - 1].checkStatus\r\n })\r\n },\r\n goBack() {\r\n this.$store.state.work.flag = \"task\"\r\n },\r\n getApply() {\r\n this.$confirm(\"是否确定验收, 是否继续?\", \"提示\", {\r\n confirmButtonText: \"确定\",\r\n cancelButtonText: \"取消\",\r\n type: \"warning\"\r\n }).then(() => {\r\n acceptanceTask({ taskId: this.$store.state.work.taskId }).then(\r\n (res) => {\r\n if (res.status === 200) {\r\n this.$store.state.work.flag = \"task\"\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 }\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 })\r\n // eslint-disable-next-line no-unused-vars\r\n .catch((_) => {})\r\n },\r\n successCheck(id) {\r\n this.dialogVisible = false\r\n this.checkedVisible = true\r\n this.form.checkStatus = id\r\n },\r\n failCheck(id) {\r\n this.dialogVisible = false\r\n this.checkedVisible = true\r\n this.form.checkStatus = id\r\n },\r\n handleGet() {\r\n this.form.videoAnnex = this.videoPath.join(\"^\")\r\n this.form.audioAnnex = this.audioPath.join(\"^\")\r\n console.log(this.form)\r\n insertTrajectoryTask(this.form).then((res) => {\r\n this.$notify({\r\n title: this.$t(\"title.success\"),\r\n message: res.message,\r\n type: \"success\"\r\n })\r\n this.getList()\r\n })\r\n this.checkedVisible = false\r\n this.form.Remark = \"\"\r\n this.fileList = []\r\n },\r\n handleRemove(file, fileList) {\r\n console.log(file, fileList)\r\n },\r\n handlePreview(file) {\r\n console.log(file)\r\n },\r\n handleSuccess(response, file, fileList) {\r\n console.log(response, file, fileList)\r\n this.filePath.push(response.data.path)\r\n this.form.picAnnex = this.filePath.join(\"^\")\r\n },\r\n // 上传图片\r\n uploadFile(item) {\r\n var fileData = new FormData()\r\n fileData.append(\"file\", item.file)\r\n fileData.append(\"host\", this.url)\r\n axios({\r\n method: \"post\",\r\n url: this.uploadHttpList, //填写上传的接口\r\n data: fileData,\r\n headers: {\r\n \"Content-Type\": \"multipart/form-data\",\r\n Authorization: getToken()\r\n }\r\n }).then((res) => {\r\n if (res.status === 200) {\r\n // this.$store.dispatch(this.flags);\r\n this.$notify({\r\n title: this.$t(\"title.success\"),\r\n message: res.data.message,\r\n type: \"success\",\r\n duration: 3000\r\n })\r\n this.filePath.push(res.data.data)\r\n this.form.picAnnex = this.filePath.join(\"^\")\r\n } else {\r\n this.$notify({\r\n title: \"失败\",\r\n message: res.data.message,\r\n type: \"warning\",\r\n duration: 3000\r\n })\r\n }\r\n })\r\n },\r\n beforeUpload(file) {\r\n // const isJPG = file.type === 'image/jpeg'\r\n var testmsg = /^image\\/(jpeg|png|jpg|(svg\\+xml))$/.test(file.type)\r\n const isLt5M = file.size / 1024 / 1024 < 5\r\n if (!testmsg) {\r\n this.$message.error(\"上传图片格式不对!\")\r\n return false\r\n }\r\n if (!isLt5M) {\r\n this.$message.error(\"上传图片大小不能超过 2MB!\")\r\n return false\r\n }\r\n this.uploading = false\r\n return testmsg && isLt5M\r\n },\r\n //上传视频\r\n changeVideo() {\r\n let that = this\r\n that.btnFlag = true\r\n var file = document.getElementById(\"imgFile\").files[0]\r\n that.file = file\r\n var formData = new FormData() //构造一个FormData把后台需要发送的参数添加到FormData里面这样就可以直接把Formdata作为参数传递了\r\n if (file) {\r\n formData.append(\"file\", file) //接口需要传递个参数\r\n formData.append(\"host\", this.url)\r\n }\r\n axios({\r\n method: \"post\",\r\n url: this.uploadHttpList,\r\n data: formData,\r\n headers: {\r\n \"Content-Type\": \"multipart/form-data\",\r\n Authorization: getToken()\r\n }\r\n })\r\n .then((res) => {\r\n that.btnFlag = false\r\n this.videoFile.push({\r\n name: res.data.data,\r\n path: res.data.data\r\n })\r\n this.videoPath.push(res.data.data)\r\n })\r\n .catch((err) => {\r\n console.log(err)\r\n })\r\n },\r\n //上传音频\r\n changeAudio() {\r\n let that = this\r\n that.btnFlag = true\r\n var file = document.getElementById(\"audioFile\").files[0]\r\n that.file = file\r\n var formData = new FormData() //构造一个FormData把后台需要发送的参数添加到FormData里面这样就可以直接把Formdata作为参数传递了\r\n if (file) {\r\n formData.append(\"file\", file) //接口需要传递个参数\r\n formData.append(\"host\", this.url)\r\n }\r\n axios({\r\n method: \"post\",\r\n url: this.uploadHttpList,\r\n data: formData,\r\n headers: {\r\n \"Content-Type\": \"multipart/form-data\",\r\n Authorization: getToken()\r\n }\r\n })\r\n .then((res) => {\r\n that.btnFlag = false\r\n this.audioFile.push({\r\n name: res.data.data,\r\n path: res.data.data\r\n })\r\n this.audioPath.push(res.data.data)\r\n })\r\n .catch((err) => {\r\n console.log(err)\r\n })\r\n }\r\n }\r\n}\r\n</script>\r\n\r\n<style rel=\"stylesheet/scss\" lang=\"scss\" scoped>\r\n.baseInfo {\r\n height: 200px;\r\n padding: 53px 0 0 25px;\r\n .row {\r\n padding-left: 35px;\r\n .label {\r\n display: inline-block;\r\n line-height: 16px;\r\n font-size: 14px;\r\n font-family: Microsoft YaHei;\r\n font-weight: 400;\r\n color: #45e9f4;\r\n margin-right: 20px;\r\n margin-bottom: 16px;\r\n }\r\n .value {\r\n display: inline-block;\r\n line-height: 16px;\r\n font-size: 14px;\r\n font-family: Microsoft YaHei;\r\n font-weight: 400;\r\n color: #bbe6e4;\r\n margin-bottom: 16px;\r\n }\r\n }\r\n}\r\n.table-container {\r\n padding-left: 25px;\r\n}\r\n.name {\r\n width: 100%;\r\n line-height: 16px;\r\n font-size: 15px;\r\n font-family: Microsoft YaHei;\r\n font-weight: 400;\r\n color: #02b5aa;\r\n background: none;\r\n margin-bottom: 20px;\r\n .iconfont {\r\n margin-right: 8px;\r\n }\r\n}\r\n.deletes {\r\n margin-bottom: 10px;\r\n cursor: pointer;\r\n}\r\n.nosearch {\r\n display: flex;\r\n flex-direction: row;\r\n flex-wrap: wrap;\r\n justify-content: flex-start;\r\n width: 80%;\r\n}\r\n.patrolMessage {\r\n width: 200px;\r\n color: gray;\r\n display: inline-block;\r\n white-space: nowrap;\r\n text-overflow: ellipsis;\r\n overflow: hidden;\r\n vertical-align: middle;\r\n}\r\n.patrolMain span {\r\n text-align: right;\r\n width: 80px;\r\n display: inline-block;\r\n color: gray;\r\n}\r\n.patrolMain {\r\n margin-right: 20px;\r\n margin-bottom: 20px;\r\n}\r\n.allOptionBtn {\r\n display: flex;\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!./equipment.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!./equipment.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./equipment.vue?vue&type=template&id=0d2a7507&scoped=true&\"\nimport script from \"./equipment.vue?vue&type=script&lang=js&\"\nexport * from \"./equipment.vue?vue&type=script&lang=js&\"\nimport style0 from \"./equipment.vue?vue&type=style&index=0&id=0d2a7507&rel=stylesheet%2Fscss&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 \"0d2a7507\",\n null\n \n)\n\nexport default component.exports","import request from \"@/utils/request\";\r\nimport qs from \"qs\";\r\n\r\n/*\r\n 系统管理-用户管理 权限操作api 运维中心\r\n*/\r\n\r\n// 根据条件查询平台所有的设备列表信息\r\nexport function getDeviceList(data) {\r\n return request({\r\n url: 'device-service/cabinet/getDeviceList',\r\n method: 'get',\r\n params: data\r\n })\r\n}\r\n\r\n// 工单新建(告警)\r\nexport function insertOrderTask(dataForm) {\r\n const data = JSON.stringify(dataForm);\r\n return request({\r\n url: \"trajectory-service/ttask/insertOrderTask\",\r\n method: \"post\",\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n },\r\n data,\r\n });\r\n}\r\n\r\n// 工单编辑\r\nexport function updateOrderTask(dataForm) {\r\n const data = JSON.stringify(dataForm);\r\n return request({\r\n url: \"trajectory-service/ttask/updateTask\",\r\n method: \"post\",\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n },\r\n data,\r\n });\r\n}\r\n\r\n// 发布或中止工单\r\nexport function releaseTask(data) {\r\n return request({\r\n url: \"trajectory-service/ttask/releaseTask\",\r\n method: \"post\",\r\n params: data,\r\n });\r\n}\r\n\r\n// 获取历史轨迹\r\nexport function getTaskTrajectoryList(data) {\r\n return request({\r\n url: \"trajectory-service/trajectory/getTaskTrajectoryList\",\r\n method: \"get\",\r\n params: data,\r\n });\r\n}\r\n\r\n// 获取单个任务\r\nexport function getTask(data) {\r\n return request({\r\n url: \"trajectory-service/ttask/getTask\",\r\n method: \"get\",\r\n params: data,\r\n });\r\n}\r\n\r\n// 查询工单列表\r\nexport function getTaskList(data) {\r\n return request({\r\n url: \"trajectory-service/ttask/getTaskList\",\r\n method: \"get\",\r\n params: data,\r\n });\r\n}\r\n\r\n// 获取工单和子巡检任务要验收的设备列表\r\nexport function getNeedAcceptanceDeviceList(data) {\r\n return request({\r\n url: \"trajectory-service/acceptance/getNeedAcceptanceDeviceList\",\r\n method: \"get\",\r\n params: data,\r\n });\r\n}\r\n\r\n//子巡检发布\r\nexport function releaseTaskBySubId(dataForm) {\r\n const data = qs.stringify(dataForm);\r\n return request({\r\n url: \"trajectory-service/ttask/releaseTaskBySubId\",\r\n method: \"post\",\r\n data,\r\n });\r\n}\r\n\r\n//子巡检中止\r\nexport function stopTaskBySubId(dataForm) {\r\n const data = qs.stringify(dataForm);\r\n return request({\r\n url: \"trajectory-service/ttask/stopTaskBySubId\",\r\n method: \"post\",\r\n data,\r\n });\r\n}\r\n\r\n// 申请验收任务\r\nexport function applyAcceptanceTask(data) {\r\n return request({\r\n url: \"trajectory-service/acceptance/applyAcceptanceTask\",\r\n method: \"get\",\r\n params: data,\r\n });\r\n}\r\n\r\n// 验收任务\r\nexport function acceptanceTask(data) {\r\n return request({\r\n url: \"trajectory-service/acceptance/acceptanceTask\",\r\n method: \"get\",\r\n params: data,\r\n });\r\n}\r\n\r\n// 删除单个任务\r\nexport function deleteTask(dataForm) {\r\n const data = qs.stringify(dataForm);\r\n return request({\r\n url: \"trajectory-service/ttask/deleteTask\",\r\n method: \"post\",\r\n data,\r\n });\r\n}\r\n\r\n// 批量删除单个任务\r\nexport function batchDeleteTask(dataForm) {\r\n const data = qs.stringify(dataForm);\r\n return request({\r\n url: \"trajectory-service/ttask/batchDeleteTask\",\r\n method: \"post\",\r\n data,\r\n });\r\n}\r\n\r\n//批量发布或者终止\r\nexport function batchReleaseTask(dataForm) {\r\n const data = qs.stringify(dataForm);\r\n return request({\r\n url: \"trajectory-service/ttask/batchReleaseTask\",\r\n method: \"post\",\r\n data,\r\n });\r\n}\r\n\r\n// 查询历史记录列表\r\nexport function getTrajectoryList(data) {\r\n return request({\r\n url: \"trajectory-service/trajectory/getTrajectoryList\",\r\n method: \"get\",\r\n params: data,\r\n });\r\n}\r\n\r\n// 新增历史记录\r\nexport function insertTrajectoryTask(dataForm) {\r\n const data = qs.stringify(dataForm);\r\n return request({\r\n url: \"trajectory-service/trajectory/insertTrajectory\",\r\n method: \"post\",\r\n data,\r\n });\r\n}\r\n\r\n// 删除(工单)音频、视频\r\nexport function deleteFileByUrl(data) {\r\n return request({\r\n url: \"trajectory-service/file/deleteFileByUrl\",\r\n method: \"post\",\r\n params: data,\r\n });\r\n}\r\n\r\n// 获取拆除记录\r\nexport function dismantleList(data) {\r\n return request({\r\n url: \"trajectory-service/dismantle/getDismantleList\",\r\n method: \"get\",\r\n params: data,\r\n });\r\n}\r\n\r\n// 根据dismantleId获取拆除记录\r\nexport function dismantleInfo(data) {\r\n return request({\r\n url: \"trajectory-service/dismantle/getDismantleInfo\",\r\n method: \"get\",\r\n params: data,\r\n });\r\n}\r\n\r\n// 新增巡检任务\r\nexport function insertInspectionTask(dataForm) {\r\n const data = JSON.stringify(dataForm);\r\n return request({\r\n url: \"trajectory-service/ttask/insertInspectionTask\",\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n },\r\n method: \"post\",\r\n data,\r\n });\r\n}\r\n\r\n// 更新巡检任务\r\nexport function updateInspectionTask(dataForm) {\r\n const data = JSON.stringify(dataForm);\r\n return request({\r\n url: \"trajectory-service/ttask/updateInspectionTask\",\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n },\r\n method: \"post\",\r\n data,\r\n });\r\n}\r\n","var $ = require('../internals/export');\nvar global = require('../internals/global');\nvar getBuiltIn = require('../internals/get-built-in');\nvar apply = require('../internals/function-apply');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\n\nvar Array = global.Array;\nvar $stringify = getBuiltIn('JSON', 'stringify');\nvar exec = uncurryThis(/./.exec);\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar replace = uncurryThis(''.replace);\nvar numberToString = uncurryThis(1.0.toString);\n\nvar tester = /[\\uD800-\\uDFFF]/g;\nvar low = /^[\\uD800-\\uDBFF]$/;\nvar hi = /^[\\uDC00-\\uDFFF]$/;\n\nvar fix = function (match, offset, string) {\n var prev = charAt(string, offset - 1);\n var next = charAt(string, offset + 1);\n if ((exec(low, match) && !exec(hi, next)) || (exec(hi, match) && !exec(low, prev))) {\n return '\\\\u' + numberToString(charCodeAt(match, 0), 16);\n } return match;\n};\n\nvar FORCED = fails(function () {\n return $stringify('\\uDF06\\uD834') !== '\"\\\\udf06\\\\ud834\"'\n || $stringify('\\uDEAD') !== '\"\\\\udead\"';\n});\n\nif ($stringify) {\n // `JSON.stringify` method\n // https://tc39.es/ecma262/#sec-json.stringify\n // https://github.com/tc39/proposal-well-formed-stringify\n $({ target: 'JSON', stat: true, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n stringify: function stringify(it, replacer, space) {\n for (var i = 0, l = arguments.length, args = Array(l); i < l; i++) args[i] = arguments[i];\n var result = apply($stringify, null, args);\n return typeof result == 'string' ? replace(result, tester, fix) : result;\n }\n });\n}\n","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!./equipment.vue?vue&type=style&index=0&id=0d2a7507&rel=stylesheet%2Fscss&lang=scss&scoped=true&\""],"sourceRoot":""}