EMS2.0-Documents/7.部署文档/Linux安装/项目前端文件/IEMS/js/chunk-c991a9d8.ce13e7b6.js.map

1 line
80 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/api/department.js","webpack:///./src/components/Pagination/index.vue?31f0","webpack:///./src/components/Pagination/index.vue?8e6f","webpack:///src/components/Pagination/index.vue","webpack:///./src/components/Pagination/index.vue?6c75","webpack:///./src/components/Pagination/index.vue?0d87","webpack:///./src/directive/permission/permission.js","webpack:///./src/directive/permission/index.js","webpack:///./src/api/site.js","webpack:///./src/api/deviceType.js","webpack:///./src/api/device.js","webpack:///./src/views/manager/deviceManager/cabinet.vue?86bc","webpack:///src/views/manager/deviceManager/cabinet.vue","webpack:///./src/views/manager/deviceManager/cabinet.vue?04aa","webpack:///./src/views/manager/deviceManager/cabinet.vue"],"names":["getDepartmentList","data","request","url","method","params","getDeptSubByDeptId","editSubmitApi","formData","qs","stringify","addSubmitApi","delSubmitApi","headers","render","_vm","this","_h","$createElement","_c","_self","staticClass","_b","attrs","background","currentPage","pageSize","layout","pageSizes","total","on","$event","handleSizeChange","handleCurrentChange","$attrs","staticRenderFns","name","props","required","type","page","default","limit","hidden","computed","get","set","val","$emit","methods","component","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","getSiteList","getUnChoiceDevice","getHasChoiceDevice","addSite","addSiteDevice","deleteSite","delData","siteById","updateSite","getTypeList","addType","deleteType","typeById","updateType","getCabinetList","addCabinet","addCabinetsImport","fileData","FormData","append","updateCabinet","deleteCabinet","cabinetCode","deleteCabinetList","cabinetCodes","getInsideDeviceByCabinetCode","getUnCheckDeviceByDeptId","addCabinetInsideDevice","getMoveDeviceList","addInsideMove","updateMoveDevice","addMovesImport","updateMoveOidImport","file","moveCode","getInsideDeviceList","addInsideDevice","addDevicesImport","updateInsideDevice","deleteInsideCabinet","deviceCode","deleteInsideDeviceList","deviceCodes","$t","deptIdList","checkStrictly","emitPath","handleFilter","model","listQuery","callback","$$v","$set","expression","_l","option","key","siteCode","siteName","nativeOn","deviceId","deviceName","typeCode","typeName","indexOf","_k","keyCode","apply","arguments","_v","_s","clearListQuery","ref","fileList","beforeUpload","handleFileSuccess","handleFileError","slot","handleCreate","deleteList","directives","rawName","list","scopedSlots","_u","fn","scope","class","red","row","online","handleUpdate","handleDelete","curPage","getList","textMap","dialogStatus","addDialog","rules","form","handleChange","_e","createData","updateData","components","Pagination","validatePhone","createStatus","update","create","deptId","factory","director","phone","owner","sort","deviceSerial","channelNo","listLoading","deviceTypeList","siteCodeList","cabinetList","message","trigger","validator","mapGetters","created","legalName","$message","info","response","status","err","item","then","catach","validatenull","children","getdeptIdList","res","subBeanList","obj","filterDeptList","e","subList","route","editDeptList","checkedChange","onlyOne","$refs","tree","setCheckedKeys","validate","valid","title","duration","catch","resetForm","$nextTick","monitorId","$confirm","confirmButtonText","cancelButtonText","table","selection","$notify","formatJson","filterVal","jsonData","map","v","j"],"mappings":"kHAAA,+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,GAC3B,OAAON,eAAQ,C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A5BA,GACC,KAAdoG,EAAIR,SACN,EAAZ,UACY,EAAZ,SACcuB,MAAOA,EAArBA,oBACchC,QAASA,EAAvBA,0BACc5K,KAAMA,UACN6M,SAAUA,cAOpB5E,WA3PJ,WA2PA,WACWxJ,KAAK8N,MAAMc,MAAMC,UAAU/L,OAShC9C,KAAKyO,SACX,mCACA,0BACA,CACQC,kBAARA,wBACQC,iBAARA,wBACQpN,KAARA,YAEAwL,MAAA,WACQ,IAAR,kEACA,cACQ7F,eAAuBA,GAAKA,MAAKA,SAAXA,GACF,KAAdkG,EAAIR,SACN,EAAZ,UACY,EAAZ,SACcuB,MAAOA,EAArBA,oBACchC,QAASA,EAAvBA,0BACc5K,KAAMA,UACN6M,SAAUA,aA1BhBpO,KAAK8O,QAAQ,CACXX,MAAOA,KAAKA,GAAGA,cACfhC,QAASA,KAAKA,GAAGA,WAAaA,KAAKA,GAAGA,aACtC5K,KAAMA,UACN6M,SAAUA,OA6BhB5G,aA9RJ,SA8RAjG,GACMvB,KAAK0H,UAAU4C,QAAU,EACzBtK,KAAKuK,UACO,UAARhJ,IACFvB,KAAKiM,aAAe,GACpBjM,KAAK0H,UAAUQ,SAAW,KAC1BlI,KAAKyE,cACLzE,KAAKkM,YAAc,GACnBlM,KAAK0H,UAAU3B,YAAc,KAC7B/F,KAAKuF,kBAEK,YAARhE,IACFvB,KAAKkM,YAAc,GACnBlM,KAAK0H,UAAU3B,YAAc,KAC7B/F,KAAKuF,mBAGTsF,aA/SJ,SA+SAD,GAAA,WACMA,EAAKA,YAAcA,KACnBrF,gBAANgG,kBAAA,kBACQ,EAAR,4BAGIwD,WArTJ,SAqTAC,EAAAC,GACM,OAAOA,EAASC,KAAI,SAA1B,UACAF,mBACU,OAAOG,EAAEC,YCvyB4V,I,YCO3WlN,EAAY,eACd,EACApC,EACAqB,GACA,EACA,KACA,KACA,MAIa,aAAAe,E","file":"js/chunk-c991a9d8.ce13e7b6.js","sourcesContent":["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!./index.vue?vue&type=style&index=0&id=4dfad654&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"pagination-container\"},[_c('el-pagination',_vm._b({attrs:{\"background\":_vm.background,\"current-page\":_vm.currentPage,\"page-size\":_vm.pageSize,\"layout\":_vm.layout,\"page-sizes\":_vm.pageSizes,\"total\":_vm.total},on:{\"update:currentPage\":function($event){_vm.currentPage=$event},\"update:current-page\":function($event){_vm.currentPage=$event},\"update:pageSize\":function($event){_vm.pageSize=$event},\"update:page-size\":function($event){_vm.pageSize=$event},\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange}},'el-pagination',_vm.$attrs,false))],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"pagination-container\">\r\n <el-pagination\r\n :background=\"background\"\r\n :current-page.sync=\"currentPage\"\r\n :page-size.sync=\"pageSize\"\r\n :layout=\"layout\"\r\n :page-sizes=\"pageSizes\"\r\n :total=\"total\"\r\n v-bind=\"$attrs\"\r\n @size-change=\"handleSizeChange\"\r\n @current-change=\"handleCurrentChange\"\r\n />\r\n </div>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n name: 'Pagination',\r\n props: {\r\n total: {\r\n required: true,\r\n type: Number\r\n },\r\n page: {\r\n type: Number,\r\n default: 0\r\n },\r\n limit: {\r\n type: Number,\r\n default: 20\r\n },\r\n pageSizes: {\r\n type: Array,\r\n default() {\r\n return [5, 10, 20, 30, 70]\r\n }\r\n },\r\n layout: {\r\n type: String,\r\n default: 'total, sizes, prev, pager, next, jumper'\r\n },\r\n background: {\r\n type: Boolean,\r\n default: true\r\n },\r\n hidden: {\r\n type: Boolean,\r\n default: false\r\n }\r\n },\r\n computed: {\r\n currentPage: {\r\n get() {\r\n return this.page\r\n },\r\n set(val) {\r\n this.$emit('update:page', val)\r\n }\r\n },\r\n pageSize: {\r\n get() {\r\n return this.limit\r\n },\r\n set(val) {\r\n this.$emit('update:limit', val)\r\n }\r\n }\r\n },\r\n methods: {\r\n handleSizeChange(val) {\r\n this.$emit('pagination', { page: this.currentPage, limit: val })\r\n },\r\n handleCurrentChange(val) {\r\n this.$emit('pagination', { page: val, limit: this.pageSize })\r\n }\r\n }\r\n}\r\n</script>\r\n\r\n<style scoped>\r\n.pagination-container {\r\n background: none;\r\n position: relative;\r\n margin-top: 30px;\r\n}\r\n.el-pagination {\r\n text-align: center;\r\n}\r\n.pagination-container.hidden {\r\n display: none;\r\n}\r\n</style>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=4dfad654&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=4dfad654&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4dfad654\",\n null\n \n)\n\nexport default component.exports","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","import request from '@/utils/request'\r\n// import qs from 'qs'\r\n/*\r\n 管理台-站址管理 权限操作api\r\n*/\r\n\r\n// 根据siteId查询站址信息\r\nexport function getSiteById(data) {\r\n return request({\r\n url: 'device-service/site/getSiteById',\r\n method: 'get',\r\n params: data\r\n })\r\n}\r\n\r\n// 根据siteId查询站址列表\r\nexport function getSiteList(data) {\r\n return request({\r\n url: 'device-service/site/getSiteList',\r\n method: 'get',\r\n params: data\r\n })\r\n}\r\n\r\n// 根据siteId查询未选择的综合柜\r\nexport function getUnChoiceDevice(data) {\r\n return request({\r\n url: 'device-service/site/getUnChoiceDevice',\r\n method: 'get',\r\n params: data\r\n })\r\n}\r\n\r\n// 根据siteId查询已选择的综合柜\r\nexport function getHasChoiceDevice(data) {\r\n return request({\r\n url: 'device-service/site/getHasChoiceDevice',\r\n method: 'get',\r\n params: data\r\n })\r\n}\r\n\r\n// 录入站址信息\r\nexport function addSite(data) {\r\n return request({\r\n headers: {\r\n 'Content-Type': 'application/json'\r\n },\r\n url: 'device-service/site/addSite',\r\n method: 'post',\r\n data\r\n })\r\n}\r\n\r\n// 录入综合柜站址关系\r\nexport function addSiteDevice(data) {\r\n return request({\r\n headers: {\r\n 'Content-Type': 'application/json'\r\n },\r\n url: 'device-service/site/addSiteDevice',\r\n method: 'post',\r\n data\r\n })\r\n}\r\n\r\n// 删除站址信息\r\nexport function deleteSite(data) {\r\n const delData = {\r\n siteById: data\r\n }\r\n return request({\r\n url: 'device-service/site/deleteSite',\r\n method: 'delete',\r\n params: delData\r\n })\r\n}\r\n\r\n// 批量删除站址信息\r\nexport function deleteSiteList(data) {\r\n const delData = {\r\n siteIds: data\r\n }\r\n return request({\r\n url: 'device-service/site/deleteSiteList',\r\n method: 'delete',\r\n params: delData\r\n })\r\n}\r\n\r\n// 修改站址信息\r\nexport function updateSite(data) {\r\n return request({\r\n headers: {\r\n 'Content-Type': 'application/json'\r\n },\r\n url: 'device-service/site/updateSite',\r\n method: 'put',\r\n data\r\n })\r\n}","import request from '@/utils/request'\r\n// import qs from 'qs'\r\n/*\r\n 管理台-设备类型 权限操作api\r\n*/\r\n\r\n// 根据typeId查询设备类型信息\r\nexport function getTypeById(data) {\r\n return request({\r\n url: 'device-service/type/getTypeById',\r\n method: 'get',\r\n params: data\r\n })\r\n}\r\n\r\n// 根据筛选项查询设备类型列表\r\nexport function getTypeList(data) {\r\n return request({\r\n url: 'device-service/type/getTypeList',\r\n method: 'get',\r\n params: data\r\n })\r\n}\r\n\r\n// 录入设备类型信息\r\nexport function addType(data) {\r\n return request({\r\n headers: {\r\n 'Content-Type': 'application/json'\r\n },\r\n url: 'device-service/type/addType',\r\n method: 'post',\r\n data\r\n })\r\n}\r\n\r\n// 删除设备类型信息\r\nexport function deleteType(data) {\r\n const delData = {\r\n typeById: data\r\n }\r\n return request({\r\n url: 'device-service/type/deleteType',\r\n method: 'delete',\r\n params: delData\r\n })\r\n}\r\n\r\n// 批量删除设备类型信息\r\nexport function deleteTypeList(data) {\r\n const delData = {\r\n typeIds: data\r\n }\r\n return request({\r\n url: 'device-service/type/deleteTypeList',\r\n method: 'delete',\r\n params: delData\r\n })\r\n}\r\n\r\n// 修改设备类型信息\r\nexport function updateType(data) {\r\n return request({\r\n headers: {\r\n 'Content-Type': 'application/json'\r\n },\r\n url: 'device-service/type/updateType',\r\n method: 'put',\r\n data\r\n })\r\n}\r\n","import request from '@/utils/request'\r\n// import qs from 'qs'\r\n/*\r\n 管理台-设备管理 权限操作api\r\n*/\r\n\r\n\r\n/*\r\n 综合柜 权限操作api\r\n*/\r\n\r\n// 根据筛选条件查询综合柜的列表信息\r\nexport function getCabinetList(data) {\r\n return request({\r\n url: 'device-service/cabinet/getCabinetList',\r\n method: 'get',\r\n params: data\r\n })\r\n}\r\n\r\n// 录入综合柜的基本信息\r\nexport function addCabinet(data) {\r\n return request({\r\n headers: {\r\n 'Content-Type': 'application/json'\r\n },\r\n url: 'device-service/cabinet/addCabinet',\r\n method: 'post',\r\n data\r\n })\r\n}\r\n\r\n// 根据Excel文件模板批量录入综合柜设备信息\r\nexport function addCabinetsImport(fileData) {\r\n var data = new FormData();\r\n data.append(\"file\", fileData);\r\n return request({\r\n headers: {\r\n \"Content-Type\": \"multipart/form-data\",\r\n },\r\n url: 'device-service/import/addCabinetsImport',\r\n method: 'post',\r\n data\r\n })\r\n}\r\n\r\n// 修改综合柜的基本信息\r\nexport function updateCabinet(data) {\r\n return request({\r\n headers: {\r\n 'Content-Type': 'application/json'\r\n },\r\n url: 'device-service/cabinet/updateCabinet',\r\n method: 'put',\r\n data\r\n })\r\n}\r\n\r\n// 删除综合柜的基本信息和安装信息,及柜内设备\r\nexport function deleteCabinet(data) {\r\n const delData = {\r\n cabinetCode: data\r\n }\r\n return request({\r\n url: 'device-service/cabinet/deleteCabinet',\r\n method: 'delete',\r\n params: delData\r\n })\r\n}\r\n\r\n// 批量删除综合柜的基本信息和安装信息,及柜内设备\r\nexport function deleteCabinetList(data) {\r\n const delData = {\r\n cabinetCodes: data\r\n }\r\n return request({\r\n url: 'device-service/cabinet/deleteCabinetList',\r\n method: 'delete',\r\n params: delData\r\n })\r\n}\r\n\r\n// 根据cabinetCode查询该综合柜的柜内设备(已选择的设备)\r\nexport function getInsideDeviceByCabinetCode(data) {\r\n return request({\r\n url: 'device-service/cabinet/getInsideDeviceByCabinetCode',\r\n method: 'get',\r\n params: data\r\n })\r\n}\r\n\r\n// 根据deptId查询未选择的设备\r\nexport function getUnCheckDeviceByDeptId(data) {\r\n return request({\r\n url: 'device-service/cabinet/getUnCheckDeviceByDeptId',\r\n method: 'get',\r\n params: data\r\n })\r\n}\r\n\r\n// 录入综合柜柜内设备的关系\r\nexport function addCabinetInsideDevice(data) {\r\n return request({\r\n headers: {\r\n 'Content-Type': 'application/json'\r\n },\r\n url: 'device-service/cabinet/addCabinetInsideDevice',\r\n method: 'post',\r\n data\r\n })\r\n}\r\n\r\n/*\r\n 动环模块 权限操作api\r\n*/\r\n\r\n// 根据筛选条件查询综合柜柜内动环设备的列表信息\r\nexport function getMoveDeviceList(data) {\r\n return request({\r\n url: 'device-service/inside/getMoveDeviceList',\r\n method: 'get',\r\n params: data\r\n })\r\n}\r\n\r\n// 录入综合柜柜内动环设备的基本信息\r\nexport function addInsideMove(data) {\r\n return request({\r\n headers: {\r\n 'Content-Type': 'application/json'\r\n },\r\n url: 'device-service/inside/addInsideMove',\r\n method: 'post',\r\n data\r\n })\r\n}\r\n\r\n// 修改综合柜的柜内动环设备信息\r\nexport function updateMoveDevice(data) {\r\n return request({\r\n headers: {\r\n 'Content-Type': 'application/json'\r\n },\r\n url: 'device-service/inside/updateMoveDevice',\r\n method: 'put',\r\n data\r\n })\r\n}\r\n\r\n// 根据Excel文件模板批量录入柜内设备信息\r\nexport function addMovesImport(fileData) {\r\n var data = new FormData();\r\n data.append(\"file\", fileData);\r\n return request({\r\n headers: {\r\n \"Content-Type\": \"multipart/form-data\",\r\n },\r\n url: 'device-service/import/addMovesImport',\r\n method: 'post',\r\n data\r\n })\r\n}\r\n\r\n// 录入oid信息\r\nexport function updateMoveOidImport(data) {\r\n var fileData = new FormData();\r\n\r\n fileData.append(\"file\", data.file);\r\n fileData.append(\"moveCode\", data.moveCode);\r\n return request({\r\n headers: {\r\n \"Content-Type\": \"multipart/form-data\",\r\n },\r\n url: 'device-service/import/updateMoveOidImport',\r\n method: \"post\",\r\n data: fileData,\r\n });\r\n}\r\n\r\n/*\r\n 柜内设备 权限操作api\r\n*/\r\n\r\n// 根据筛选条件查询综合柜柜内设备的列表信息\r\nexport function getInsideDeviceList(data) {\r\n return request({\r\n url: 'device-service/inside/getInsideDeviceList',\r\n method: 'get',\r\n params: data\r\n })\r\n}\r\n\r\n// 录入综合柜柜内设备的基本信息\r\nexport function addInsideDevice(data) {\r\n return request({\r\n headers: {\r\n 'Content-Type': 'application/json'\r\n },\r\n url: 'device-service/inside/addInsideDevice',\r\n method: 'post',\r\n data\r\n })\r\n}\r\n\r\n// 根据Excel文件模板批量录入柜内设备信息\r\nexport function addDevicesImport(fileData) {\r\n var data = new FormData();\r\n data.append(\"file\", fileData);\r\n return request({\r\n headers: {\r\n \"Content-Type\": \"multipart/form-data\",\r\n },\r\n url: 'device-service/import/addDevicesImport',\r\n method: 'post',\r\n data\r\n })\r\n}\r\n\r\n// 修改综合柜的柜内设备信息\r\nexport function updateInsideDevice(data) {\r\n return request({\r\n headers: {\r\n 'Content-Type': 'application/json'\r\n },\r\n url: 'device-service/inside/updateInsideDevice',\r\n method: 'put',\r\n data\r\n })\r\n}\r\n\r\n// 删除动环模块和柜内设备\r\nexport function deleteInsideCabinet(data) {\r\n const delData = {\r\n deviceCode: data\r\n }\r\n return request({\r\n url: 'device-service/inside/deleteCabinet',\r\n method: 'delete',\r\n params: delData\r\n })\r\n}\r\n\r\n// 批量删除动环模块和柜内设备\r\nexport function deleteInsideDeviceList(data) {\r\n const delData = {\r\n deviceCodes: data\r\n }\r\n return request({\r\n url: 'device-service/inside/deleteInsideDeviceList',\r\n method: 'delete',\r\n params: delData\r\n })\r\n}","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\"},[_c('el-cascader',{staticClass:\"filter-item\",attrs:{\"show-all-levels\":false,\"placeholder\":_vm.$t('listQuery.deptId'),\"options\":_vm.deptIdList,\"props\":{ checkStrictly: true, emitPath: false, props: {} },\"clearable\":\"\"},on:{\"change\":function($event){return _vm.handleFilter('deptId')}},model:{value:(_vm.listQuery.deptId),callback:function ($$v) {_vm.$set(_vm.listQuery, \"deptId\", $$v)},expression:\"listQuery.deptId\"}}),_c('el-select',{staticClass:\"filter-item\",attrs:{\"placeholder\":_vm.$t('listQuery.siteCode')},on:{\"change\":_vm.handleFilter},model:{value:(_vm.listQuery.siteCode),callback:function ($$v) {_vm.$set(_vm.listQuery, \"siteCode\", $$v)},expression:\"listQuery.siteCode\"}},_vm._l((_vm.siteCodeList),function(option){return _c('el-option',{key:option.siteCode,attrs:{\"label\":option.siteName,\"value\":option.siteCode},nativeOn:{\"click\":function($event){return _vm.handleFilter('siteCode')}}})}),1),_c('el-select',{staticClass:\"filter-item\",attrs:{\"placeholder\":_vm.$t('listQuery.cabinetCode')},on:{\"change\":_vm.handleFilter},model:{value:(_vm.listQuery.cabinetCode),callback:function ($$v) {_vm.$set(_vm.listQuery, \"cabinetCode\", $$v)},expression:\"listQuery.cabinetCode\"}},_vm._l((_vm.cabinetList),function(option){return _c('el-option',{key:option.deviceId,attrs:{\"label\":option.deviceName,\"value\":option.deviceCode}})}),1),_c('el-select',{staticClass:\"filter-item\",attrs:{\"placeholder\":_vm.$t('deviceType.typeCode')},on:{\"change\":_vm.handleFilter},model:{value:(_vm.listQuery.typeCode),callback:function ($$v) {_vm.$set(_vm.listQuery, \"typeCode\", $$v)},expression:\"listQuery.typeCode\"}},_vm._l((_vm.deviceTypeList),function(option){return _c('el-option',{key:option.typeCode,attrs:{\"label\":option.typeName,\"value\":option.typeCode}})}),1),_c('el-input',{staticClass:\"filter-item\",attrs:{\"placeholder\":_vm.$t('device.deviceName')},nativeOn:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.handleFilter.apply(null, arguments)}},model:{value:(_vm.listQuery.deviceName),callback:function ($$v) {_vm.$set(_vm.listQuery, \"deviceName\", $$v)},expression:\"listQuery.deviceName\"}}),_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.clearListQuery}},[_c('i',{staticClass:\"el-icon-refresh-left\"}),_vm._v(\" \"+_vm._s(_vm.$t(\"btn.resetting\")))]),_c('div',{staticClass:\"control-container\"},[_c('el-upload',{ref:\"upload\",attrs:{\"action\":\"\",\"file-list\":_vm.fileList,\"before-upload\":_vm.beforeUpload,\"on-success\":_vm.handleFileSuccess,\"on-error\":_vm.handleFileError,\"http-request\":_vm.addDevicesImport}},[_c('span',{staticClass:\"btn-item\",attrs:{\"slot\":\"trigger\"},slot:\"trigger\"},[_c('i',{staticClass:\"iconfont icon-a-\"}),_vm._v(_vm._s(_vm.$t(\"btn.adds\")))])]),_c('span',{staticClass:\"btn-item\",on:{\"click\":function($event){return _vm.handleCreate()}}},[_c('i',{staticClass:\"iconfont icon-a-\"}),_vm._v(_vm._s(_vm.$t(\"btn.addDevice\")))]),_c('span',{staticClass:\"btn-item delete\",on:{\"click\":_vm.deleteList}},[_c('i',{staticClass:\"iconfont icon-shanchu\"}),_vm._v(_vm._s(_vm.$t(\"btn.delete\")))])],1)],1),_c('div',{staticClass:\"table-container\"},[_c('el-table',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.listLoading),expression:\"listLoading\"}],ref:\"table\",attrs:{\"data\":_vm.list,\"fit\":\"\",\"max-height\":\"580\",\"highlight-current-row\":\"\",\"header-row-class-name\":\"table-header\",\"row-class-name\":\"table-row\"}},[_c('el-table-column',{attrs:{\"type\":\"selection\",\"width\":\"55\",\"align\":\"center\"}}),_c('el-table-column',{attrs:{\"property\":\"deviceCode\",\"align\":\"left\",\"label\":_vm.$t('device.deviceCode')}}),_c('el-table-column',{attrs:{\"property\":\"deviceName\",\"align\":\"left\",\"label\":_vm.$t('device.deviceName')}}),_c('el-table-column',{attrs:{\"property\":\"typeName\",\"align\":\"left\",\"label\":_vm.$t('device.typeName')}}),_c('el-table-column',{attrs:{\"property\":\"cabinetName\",\"align\":\"left\",\"label\":_vm.$t('device.cabinetCode')}}),_c('el-table-column',{attrs:{\"property\":\"deptName\",\"align\":\"left\",\"label\":_vm.$t('listQuery.deptId')}}),_c('el-table-column',{attrs:{\"property\":\"siteName\",\"align\":\"left\",\"label\":_vm.$t('listQuery.siteCode')}}),_c('el-table-column',{attrs:{\"property\":\"factory\",\"align\":\"left\",\"label\":_vm.$t('device.factory')}}),_c('el-table-column',{attrs:{\"property\":\"model\",\"align\":\"left\",\"label\":_vm.$t('device.model')}}),_c('el-table-column',{attrs:{\"property\":\"director\",\"align\":\"left\",\"label\":_vm.$t('device.director')}}),_c('el-table-column',{attrs:{\"property\":\"phone\",\"align\":\"left\",\"label\":_vm.$t('device.phone')}}),_c('el-table-column',{attrs:{\"property\":\"owner\",\"align\":\"left\",\"label\":_vm.$t('device.owner')}}),_c('el-table-column',{attrs:{\"label\":_vm.$t('device.online'),\"align\":\"left\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('span',{staticClass:\"pot\",class:{ red: scope.row.online != 1 }}),_vm._v(\" \"+_vm._s(scope.row.online == 1 ? _vm.$t(\"device.onLine\") : _vm.$t(\"device.outLine\"))+\" \")]}}])}),_c('el-table-column',{attrs:{\"label\":_vm.$t('table.operate'),\"width\":\"180\",\"align\":\"left\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('span',{staticClass:\"btnCancel\",attrs:{\"title\":_vm.$t('table.update')},on:{\"click\":function($event){return _vm.handleUpdate(scope)}}},[_c('i',{staticClass:\"iconfont icon-bianji\"}),_vm._v(_vm._s(_vm.$t(\"table.update\")))]),_c('span',{staticClass:\"btnCancel delete\",attrs:{\"title\":_vm.$t('table.delete')},on:{\"click\":function($event){return _vm.handleDelete(scope)}}},[_c('i',{staticClass:\"iconfont icon-a--\"}),_vm._v(_vm._s(_vm.$t(\"table.delete\")))])]}}])})],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.getList}})],1),_c('el-dialog',{attrs:{\"close-on-click-modal\":false,\"title\":_vm.textMap[_vm.dialogStatus],\"visible\":_vm.addDialog},on:{\"update:visible\":function($event){_vm.addDialog=$event}}},[_c('el-form',{ref:\"form\",attrs:{\"rules\":_vm.rules,\"status-icon\":\"\",\"model\":_vm.form,\"inline\":\"\",\"label-width\":\"150px\"}},[_c('el-form-item',{attrs:{\"label\":_vm.$t('device.typeCode'),\"prop\":\"typeCode\"}},[_c('el-select',{attrs:{\"placeholder\":_vm.$t('pSelect'),\"disabled\":_vm.dialogStatus === 'update'},model:{value:(_vm.form.typeCode),callback:function ($$v) {_vm.$set(_vm.form, \"typeCode\", $$v)},expression:\"form.typeCode\"}},_vm._l((_vm.deviceTypeList),function(option){return _c('el-option',{key:option.typeCode,attrs:{\"label\":option.typeName,\"value\":option.typeCode}})}),1)],1),_c('el-form-item',{attrs:{\"label\":_vm.$t('device.deviceCode'),\"prop\":\"deviceCode\"}},[_c('el-input',{attrs:{\"placeholder\":_vm.$t('pEnter') + _vm.$t('device.deviceCode'),\"maxlength\":\"20\",\"disabled\":_vm.dialogStatus === 'update'},model:{value:(_vm.form.deviceCode),callback:function ($$v) {_vm.$set(_vm.form, \"deviceCode\", $$v)},expression:\"form.deviceCode\"}})],1),_c('el-form-item',{attrs:{\"label\":_vm.$t('device.deviceName'),\"prop\":\"deviceName\"}},[_c('el-input',{attrs:{\"placeholder\":_vm.$t('pEnter') + _vm.$t('device.deviceName'),\"maxlength\":\"20\"},model:{value:(_vm.form.deviceName),callback:function ($$v) {_vm.$set(_vm.form, \"deviceName\", $$v)},expression:\"form.deviceName\"}})],1),_c('el-form-item',{attrs:{\"label\":_vm.$t('device.model'),\"prop\":\"model\"}},[_c('el-input',{attrs:{\"placeholder\":_vm.$t('pEnter') + _vm.$t('device.model'),\"maxlength\":\"20\"},model:{value:(_vm.form.model),callback:function ($$v) {_vm.$set(_vm.form, \"model\", $$v)},expression:\"form.model\"}})],1),_c('el-form-item',{attrs:{\"label\":_vm.$t('listQuery.deptId'),\"prop\":\"deptId\"}},[_c('el-cascader',{attrs:{\"show-all-levels\":false,\"options\":_vm.deptIdList,\"props\":{ checkStrictly: true, emitPath: false, props: {} },\"clearable\":\"\"},on:{\"change\":function($event){return _vm.handleChange(_vm.form)}},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('device.cabinetCode'),\"prop\":\"cabinetCode\"}},[_c('el-select',{model:{value:(_vm.form.cabinetCode),callback:function ($$v) {_vm.$set(_vm.form, \"cabinetCode\", $$v)},expression:\"form.cabinetCode\"}},_vm._l((_vm.cabinetList),function(option){return _c('el-option',{key:option.deviceId,attrs:{\"label\":option.deviceName,\"value\":option.deviceCode}})}),1)],1),_c('el-form-item',{attrs:{\"label\":_vm.$t('device.factory'),\"prop\":\"factory\"}},[_c('el-input',{attrs:{\"placeholder\":_vm.$t('pEnter') + _vm.$t('device.factory'),\"maxlength\":\"20\"},model:{value:(_vm.form.factory),callback:function ($$v) {_vm.$set(_vm.form, \"factory\", $$v)},expression:\"form.factory\"}})],1),_c('el-form-item',{attrs:{\"label\":_vm.$t('device.owner'),\"prop\":\"owner\"}},[_c('el-input',{attrs:{\"placeholder\":_vm.$t('pEnter') + _vm.$t('device.owner'),\"maxlength\":\"20\"},model:{value:(_vm.form.owner),callback:function ($$v) {_vm.$set(_vm.form, \"owner\", $$v)},expression:\"form.owner\"}})],1),_c('el-form-item',{attrs:{\"label\":_vm.$t('device.director'),\"prop\":\"director\"}},[_c('el-input',{attrs:{\"placeholder\":_vm.$t('pEnter') + _vm.$t('device.director'),\"maxlength\":\"20\"},model:{value:(_vm.form.director),callback:function ($$v) {_vm.$set(_vm.form, \"director\", $$v)},expression:\"form.director\"}})],1),_c('el-form-item',{attrs:{\"label\":_vm.$t('device.phone'),\"prop\":\"phone\"}},[_c('el-input',{attrs:{\"placeholder\":_vm.$t('pEnter') + _vm.$t('device.phone'),\"maxlength\":\"20\"},model:{value:(_vm.form.phone),callback:function ($$v) {_vm.$set(_vm.form, \"phone\", $$v)},expression:\"form.phone\"}})],1),_c('el-form-item',{attrs:{\"label\":_vm.$t('device.sort'),\"prop\":\"sort\"}},[_c('el-input-number',{attrs:{\"placeholder\":_vm.$t('pEnter') + _vm.$t('device.sort'),\"min\":1,\"max\":10},model:{value:(_vm.form.sort),callback:function ($$v) {_vm.$set(_vm.form, \"sort\", $$v)},expression:\"form.sort\"}})],1),(_vm.form.typeCode == 'CAMERA')?_c('el-form-item',{attrs:{\"label\":_vm.$t('device.deviceSerial'),\"prop\":\"deviceSerial\"}},[_c('el-input',{attrs:{\"placeholder\":_vm.$t('pEnter') + _vm.$t('device.deviceSerial')},model:{value:(_vm.form.deviceSerial),callback:function ($$v) {_vm.$set(_vm.form, \"deviceSerial\", $$v)},expression:\"form.deviceSerial\"}})],1):_vm._e(),(_vm.form.typeCode == 'CAMERA')?_c('el-form-item',{attrs:{\"label\":_vm.$t('device.channelNo'),\"prop\":\"channelNo\"}},[_c('el-input',{attrs:{\"placeholder\":_vm.$t('pEnter') + _vm.$t('device.channelNo')},model:{value:(_vm.form.channelNo),callback:function ($$v) {_vm.$set(_vm.form, \"channelNo\", $$v)},expression:\"form.channelNo\"}})],1):_vm._e()],1),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('span',{staticClass:\"btn-item long\",on:{\"click\":function($event){_vm.addDialog = false}}},[_vm._v(_vm._s(_vm.$t(\"btn.cancel\")))]),_c('span',{staticClass:\"btn-item long\",on:{\"click\":function($event){_vm.dialogStatus === 'create' ? _vm.createData() : _vm.updateData()}}},[_vm._v(_vm._s(_vm.$t(\"btn.define\")))])])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!-- 设备管理-柜内设备 -->\r\n<template>\r\n <div class=\"app-container\">\r\n <div class=\"decorate\"></div>\r\n\r\n <div class=\"filter-container\">\r\n <el-cascader\r\n :show-all-levels=\"false\"\r\n v-model=\"listQuery.deptId\"\r\n :placeholder=\"$t('listQuery.deptId')\"\r\n class=\"filter-item\"\r\n :options=\"deptIdList\"\r\n :props=\"{ checkStrictly: true, emitPath: false, props: {} }\"\r\n clearable\r\n @change=\"handleFilter('deptId')\"\r\n />\r\n <el-select\r\n v-model=\"listQuery.siteCode\"\r\n :placeholder=\"$t('listQuery.siteCode')\"\r\n class=\"filter-item\"\r\n @change=\"handleFilter\"\r\n >\r\n <el-option\r\n v-for=\"option in siteCodeList\"\r\n :key=\"option.siteCode\"\r\n :label=\"option.siteName\"\r\n :value=\"option.siteCode\"\r\n @click.native=\"handleFilter('siteCode')\"\r\n ></el-option>\r\n </el-select>\r\n <el-select\r\n v-model=\"listQuery.cabinetCode\"\r\n :placeholder=\"$t('listQuery.cabinetCode')\"\r\n class=\"filter-item\"\r\n @change=\"handleFilter\"\r\n >\r\n <el-option\r\n v-for=\"option in cabinetList\"\r\n :key=\"option.deviceId\"\r\n :label=\"option.deviceName\"\r\n :value=\"option.deviceCode\"\r\n ></el-option>\r\n </el-select>\r\n <el-select\r\n v-model=\"listQuery.typeCode\"\r\n class=\"filter-item\"\r\n :placeholder=\"$t('deviceType.typeCode')\"\r\n @change=\"handleFilter\"\r\n >\r\n <el-option\r\n v-for=\"option in deviceTypeList\"\r\n :key=\"option.typeCode\"\r\n :label=\"option.typeName\"\r\n :value=\"option.typeCode\"\r\n ></el-option>\r\n </el-select>\r\n <el-input\r\n v-model=\"listQuery.deviceName\"\r\n :placeholder=\"$t('device.deviceName')\"\r\n class=\"filter-item\"\r\n @keyup.enter.native=\"handleFilter\"\r\n />\r\n <span class=\"btn-item\" @click=\"handleFilter\"\r\n ><i class=\"iconfont icon-sousuo\" />{{ $t(\"btn.search\") }}</span\r\n >\r\n <span class=\"btn-item\" @click=\"clearListQuery\">\r\n <i class=\"el-icon-refresh-left\"></i>\r\n {{ $t(\"btn.resetting\") }}</span\r\n >\r\n\r\n <div class=\"control-container\">\r\n <el-upload\r\n ref=\"upload\"\r\n action\r\n :file-list=\"fileList\"\r\n :before-upload=\"beforeUpload\"\r\n :on-success=\"handleFileSuccess\"\r\n :on-error=\"handleFileError\"\r\n :http-request=\"addDevicesImport\"\r\n >\r\n <span class=\"btn-item\" slot=\"trigger\"\r\n ><i class=\"iconfont icon-a-\" />{{ $t(\"btn.adds\") }}</span\r\n >\r\n </el-upload>\r\n <span class=\"btn-item\" @click=\"handleCreate()\"\r\n ><i class=\"iconfont icon-a-\" />{{ $t(\"btn.addDevice\") }}</span\r\n >\r\n <span class=\"btn-item delete\" @click=\"deleteList\"\r\n ><i class=\"iconfont icon-shanchu\" />{{ $t(\"btn.delete\") }}</span\r\n >\r\n </div>\r\n </div>\r\n\r\n <div class=\"table-container\">\r\n <el-table\r\n v-loading=\"listLoading\"\r\n :data=\"list\"\r\n ref=\"table\"\r\n fit\r\n max-height=\"580\"\r\n highlight-current-row\r\n header-row-class-name=\"table-header\"\r\n row-class-name=\"table-row\"\r\n >\r\n <el-table-column type=\"selection\" width=\"55\" align=\"center\" />\r\n\r\n <el-table-column\r\n property=\"deviceCode\"\r\n align=\"left\"\r\n :label=\"$t('device.deviceCode')\"\r\n />\r\n <el-table-column\r\n property=\"deviceName\"\r\n align=\"left\"\r\n :label=\"$t('device.deviceName')\"\r\n />\r\n <el-table-column\r\n property=\"typeName\"\r\n align=\"left\"\r\n :label=\"$t('device.typeName')\"\r\n />\r\n <el-table-column\r\n property=\"cabinetName\"\r\n align=\"left\"\r\n :label=\"$t('device.cabinetCode')\"\r\n />\r\n <el-table-column\r\n property=\"deptName\"\r\n align=\"left\"\r\n :label=\"$t('listQuery.deptId')\"\r\n />\r\n <el-table-column\r\n property=\"siteName\"\r\n align=\"left\"\r\n :label=\"$t('listQuery.siteCode')\"\r\n />\r\n <el-table-column\r\n property=\"factory\"\r\n align=\"left\"\r\n :label=\"$t('device.factory')\"\r\n />\r\n <el-table-column\r\n property=\"model\"\r\n align=\"left\"\r\n :label=\"$t('device.model')\"\r\n />\r\n <el-table-column\r\n property=\"director\"\r\n align=\"left\"\r\n :label=\"$t('device.director')\"\r\n />\r\n <el-table-column\r\n property=\"phone\"\r\n align=\"left\"\r\n :label=\"$t('device.phone')\"\r\n />\r\n <el-table-column\r\n property=\"owner\"\r\n align=\"left\"\r\n :label=\"$t('device.owner')\"\r\n />\r\n <el-table-column :label=\"$t('device.online')\" align=\"left\">\r\n <template slot-scope=\"scope\">\r\n <span class=\"pot\" :class=\"{ red: scope.row.online != 1 }\"> </span>\r\n {{\r\n scope.row.online == 1 ? $t(\"device.onLine\") : $t(\"device.outLine\")\r\n }}\r\n </template>\r\n </el-table-column>\r\n <el-table-column :label=\"$t('table.operate')\" width=\"180\" align=\"left\">\r\n <template slot-scope=\"scope\">\r\n <span\r\n class=\"btnCancel\"\r\n @click=\"handleUpdate(scope)\"\r\n :title=\"$t('table.update')\"\r\n >\r\n <i class=\"iconfont icon-bianji\" />{{ $t(\"table.update\") }}</span\r\n >\r\n <span\r\n class=\"btnCancel delete\"\r\n @click=\"handleDelete(scope)\"\r\n :title=\"$t('table.delete')\"\r\n >\r\n <i class=\"iconfont icon-a--\" />{{ $t(\"table.delete\") }}</span\r\n >\r\n </template>\r\n </el-table-column>\r\n </el-table>\r\n <pagination\r\n v-show=\"total > 0\"\r\n :total=\"total\"\r\n :page.sync=\"listQuery.curPage\"\r\n :limit.sync=\"listQuery.pageSize\"\r\n @pagination=\"getList\"\r\n />\r\n </div>\r\n\r\n <el-dialog\r\n :close-on-click-modal=\"false\"\r\n :title=\"textMap[dialogStatus]\"\r\n :visible.sync=\"addDialog\"\r\n >\r\n <el-form\r\n ref=\"form\"\r\n :rules=\"rules\"\r\n status-icon\r\n :model=\"form\"\r\n inline\r\n label-width=\"150px\"\r\n >\r\n <el-form-item :label=\"$t('device.typeCode')\" prop=\"typeCode\">\r\n <el-select\r\n v-model=\"form.typeCode\"\r\n :placeholder=\"$t('pSelect')\"\r\n :disabled=\"dialogStatus === 'update'\"\r\n >\r\n <el-option\r\n v-for=\"option in deviceTypeList\"\r\n :key=\"option.typeCode\"\r\n :label=\"option.typeName\"\r\n :value=\"option.typeCode\"\r\n ></el-option>\r\n </el-select>\r\n </el-form-item>\r\n <el-form-item :label=\"$t('device.deviceCode')\" prop=\"deviceCode\">\r\n <el-input\r\n v-model=\"form.deviceCode\"\r\n :placeholder=\"$t('pEnter') + $t('device.deviceCode')\"\r\n maxlength=\"20\"\r\n :disabled=\"dialogStatus === 'update'\"\r\n />\r\n </el-form-item>\r\n <el-form-item :label=\"$t('device.deviceName')\" prop=\"deviceName\">\r\n <el-input\r\n v-model=\"form.deviceName\"\r\n :placeholder=\"$t('pEnter') + $t('device.deviceName')\"\r\n maxlength=\"20\"\r\n />\r\n </el-form-item>\r\n <el-form-item :label=\"$t('device.model')\" prop=\"model\">\r\n <el-input\r\n v-model=\"form.model\"\r\n :placeholder=\"$t('pEnter') + $t('device.model')\"\r\n maxlength=\"20\"\r\n />\r\n </el-form-item>\r\n <el-form-item :label=\"$t('listQuery.deptId')\" prop=\"deptId\">\r\n <el-cascader\r\n :show-all-levels=\"false\"\r\n v-model=\"form.deptId\"\r\n :options=\"deptIdList\"\r\n :props=\"{ checkStrictly: true, emitPath: false, props: {} }\"\r\n clearable\r\n @change=\"handleChange(form)\"\r\n />\r\n </el-form-item>\r\n <el-form-item :label=\"$t('device.cabinetCode')\" prop=\"cabinetCode\">\r\n <el-select v-model=\"form.cabinetCode\">\r\n <el-option\r\n v-for=\"option in cabinetList\"\r\n :key=\"option.deviceId\"\r\n :label=\"option.deviceName\"\r\n :value=\"option.deviceCode\"\r\n ></el-option>\r\n </el-select>\r\n </el-form-item>\r\n\r\n <el-form-item :label=\"$t('device.factory')\" prop=\"factory\">\r\n <el-input\r\n v-model=\"form.factory\"\r\n :placeholder=\"$t('pEnter') + $t('device.factory')\"\r\n maxlength=\"20\"\r\n />\r\n </el-form-item>\r\n <el-form-item :label=\"$t('device.owner')\" prop=\"owner\">\r\n <el-input\r\n v-model=\"form.owner\"\r\n :placeholder=\"$t('pEnter') + $t('device.owner')\"\r\n maxlength=\"20\"\r\n />\r\n </el-form-item>\r\n <el-form-item :label=\"$t('device.director')\" prop=\"director\">\r\n <el-input\r\n v-model=\"form.director\"\r\n :placeholder=\"$t('pEnter') + $t('device.director')\"\r\n maxlength=\"20\"\r\n />\r\n </el-form-item>\r\n <el-form-item :label=\"$t('device.phone')\" prop=\"phone\">\r\n <el-input\r\n v-model=\"form.phone\"\r\n :placeholder=\"$t('pEnter') + $t('device.phone')\"\r\n maxlength=\"20\"\r\n />\r\n </el-form-item>\r\n <el-form-item :label=\"$t('device.sort')\" prop=\"sort\">\r\n <el-input-number\r\n v-model=\"form.sort\"\r\n :placeholder=\"$t('pEnter') + $t('device.sort')\"\r\n :min=\"1\"\r\n :max=\"10\"\r\n />\r\n </el-form-item>\r\n <el-form-item\r\n v-if=\"form.typeCode == 'CAMERA'\"\r\n :label=\"$t('device.deviceSerial')\"\r\n prop=\"deviceSerial\"\r\n >\r\n <el-input\r\n v-model=\"form.deviceSerial\"\r\n :placeholder=\"$t('pEnter') + $t('device.deviceSerial')\"\r\n />\r\n </el-form-item>\r\n <el-form-item\r\n v-if=\"form.typeCode == 'CAMERA'\"\r\n :label=\"$t('device.channelNo')\"\r\n prop=\"channelNo\"\r\n >\r\n <el-input\r\n v-model=\"form.channelNo\"\r\n :placeholder=\"$t('pEnter') + $t('device.channelNo')\"\r\n />\r\n </el-form-item>\r\n </el-form>\r\n\r\n <span slot=\"footer\" class=\"dialog-footer\">\r\n <span class=\"btn-item long\" @click=\"addDialog = false\">{{\r\n $t(\"btn.cancel\")\r\n }}</span>\r\n <span\r\n class=\"btn-item long\"\r\n @click=\"dialogStatus === 'create' ? createData() : updateData()\"\r\n >{{ $t(\"btn.define\") }}</span\r\n >\r\n </span>\r\n </el-dialog>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport { mapGetters } from \"vuex\"\r\nimport {\r\n getInsideDeviceList,\r\n addInsideDevice,\r\n updateInsideDevice,\r\n deleteInsideCabinet,\r\n deleteInsideDeviceList,\r\n getCabinetList,\r\n addDevicesImport\r\n} from \"@/api/device\"\r\nimport { getTypeList } from \"@/api/deviceType\"\r\nimport { getDeptSubByDeptId } from \"@/api/department\"\r\nimport { getSiteList } from \"@/api/site\"\r\nimport Pagination from \"@/components/Pagination\"\r\n\r\nimport permission from \"@/directive/permission/index.js\" // 权限判断指令\r\n\r\nexport default {\r\n components: { Pagination },\r\n directives: { permission },\r\n data() {\r\n var validatePhone = (rule, value, callback) => {\r\n if (value === \"\") {\r\n callback(new Error(this.$t(\"validate.phone\")))\r\n } else if (!/^[0-9-]+$/.test(value)) {\r\n callback(new Error(this.$t(\"validate.phoneFormat\")))\r\n } else {\r\n callback()\r\n }\r\n }\r\n return {\r\n createStatus: false,\r\n addDialog: false,\r\n textMap: {\r\n update: this.$t(\"table.update\"),\r\n create: this.$t(\"table.create\")\r\n },\r\n dialogStatus: \"\",\r\n form: {\r\n deviceId: null,\r\n deviceCode: null,\r\n typeCode: null,\r\n deviceName: null,\r\n deptId: null,\r\n cabinetCode: null,\r\n factory: null,\r\n model: null,\r\n director: null,\r\n phone: null,\r\n owner: null,\r\n sort: null,\r\n deviceSerial: null,\r\n channelNo: null\r\n },\r\n total: 0,\r\n listQuery: {\r\n siteCode: null,\r\n cabinetCode: null,\r\n deptId: null,\r\n deviceName: null,\r\n curPage: 1,\r\n pageSize: 10\r\n },\r\n listLoading: true,\r\n list: null,\r\n deviceTypeList: [],\r\n deptIdList: [],\r\n siteCodeList: [],\r\n cabinetList: [],\r\n rules: {\r\n sort: [\r\n {\r\n required: true,\r\n message: this.$t(\"pEnter\") + this.$t(\"device.sort\"),\r\n trigger: \"blur\"\r\n }\r\n ],\r\n typeCode: [\r\n {\r\n required: true,\r\n message: this.$t(\"pSelect\") + this.$t(\"device.typeCode\"),\r\n trigger: \"change\"\r\n }\r\n ],\r\n deviceCode: [\r\n {\r\n required: true,\r\n message: this.$t(\"pEnter\") + this.$t(\"device.deviceCode\"),\r\n trigger: \"blur\"\r\n }\r\n ],\r\n deviceName: [\r\n {\r\n required: true,\r\n message: this.$t(\"pEnter\") + this.$t(\"device.deviceName\"),\r\n trigger: \"blur\"\r\n }\r\n ],\r\n deptId: [\r\n {\r\n required: true,\r\n message: this.$t(\"pSelect\") + this.$t(\"listQuery.deptId\"),\r\n trigger: \"change\"\r\n }\r\n ],\r\n cabinetCode: [\r\n {\r\n required: true,\r\n message: this.$t(\"pSelect\") + this.$t(\"device.cabinetCode\"),\r\n trigger: \"change\"\r\n }\r\n ],\r\n model: [\r\n {\r\n required: true,\r\n message: this.$t(\"pEnter\") + this.$t(\"device.model\"),\r\n trigger: \"blur\"\r\n }\r\n ],\r\n factory: [\r\n {\r\n required: true,\r\n message: this.$t(\"pEnter\") + this.$t(\"device.factory\"),\r\n trigger: \"blur\"\r\n }\r\n ],\r\n owner: [\r\n {\r\n required: true,\r\n message: this.$t(\"pEnter\") + this.$t(\"device.owner\"),\r\n trigger: \"blur\"\r\n }\r\n ],\r\n director: [\r\n {\r\n required: true,\r\n message: this.$t(\"pEnter\") + this.$t(\"device.director\"),\r\n trigger: \"blur\"\r\n }\r\n ],\r\n phone: [{ required: true, validator: validatePhone, trigger: \"blur\" }]\r\n },\r\n fileList: []\r\n }\r\n },\r\n computed: {\r\n ...mapGetters([\"userName\"])\r\n },\r\n created() {\r\n this.getList()\r\n this.getTypeList()\r\n this.getDeptSubByDeptId()\r\n this.getSiteList()\r\n this.getCabinetList()\r\n },\r\n methods: {\r\n beforeUpload(file) {\r\n console.log(file, \"file\")\r\n\r\n let legalName = [\"xlsx\", \"xls\"]\r\n // 拿到后缀名\r\n let name = file.name.substring(\r\n file.name.lastIndexOf(\".\") + 1,\r\n file.name.length\r\n )\r\n if (legalName.includes(name)) {\r\n console.log(legalName.includes(name))\r\n } else {\r\n this.$message.info(\"文件格式不对仅限xls和xlsx\")\r\n return false\r\n }\r\n return true\r\n },\r\n handleFileSuccess(response) {\r\n console.log(response, \"handleFileSuccess\")\r\n if (response.status === 200) {\r\n console.log(response, \"200\")\r\n }\r\n },\r\n handleFileError(err) {\r\n console.log(err, \"err\")\r\n },\r\n addDevicesImport(item) {\r\n addDevicesImport(item.file)\r\n .then(() => {\r\n this.$refs.upload.clearFiles()\r\n this.getList()\r\n })\r\n .catach(() => {\r\n this.$refs.upload.clearFiles()\r\n })\r\n },\r\n validatenull(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 // 数组遍历\r\n getdeptIdList(data) {\r\n if (!data.length) {\r\n data = [data]\r\n }\r\n const list = data.map((res) => {\r\n const obj = {}\r\n if (res.subBeanList) {\r\n obj.children = this.getdeptIdList(res.subBeanList)\r\n obj.label = res.nodeBean.deptName\r\n obj.value = res.nodeBean.deptId\r\n return obj\r\n } else {\r\n obj.label = res.nodeBean.deptName\r\n obj.value = res.nodeBean.deptId\r\n return obj\r\n }\r\n })\r\n return list\r\n },\r\n // 清空搜索选项,重置表格\r\n clearListQuery() {\r\n this.listQuery = {\r\n siteCode: null,\r\n cabinetCode: null,\r\n deptId: null,\r\n deviceName: null,\r\n curPage: 1,\r\n pageSize: 10\r\n }\r\n this.getList()\r\n },\r\n getTypeList() {\r\n // 获取设备类型列表\r\n getTypeList().then((res) => {\r\n // this.data = res.data.list\r\n this.deviceTypeList = this.filterDeptList(res.data.list)\r\n })\r\n },\r\n filterDeptList(data) {\r\n // 过滤区域列表\r\n const editDeptList = []\r\n data.forEach((e) => {\r\n const route = e\r\n console.log(e)\r\n if (!e) {\r\n return\r\n }\r\n if (e.subList) {\r\n route.children = this.filterDeptList(e.subList, true)\r\n }\r\n e.id = e.deptId + 1\r\n editDeptList.push(route)\r\n })\r\n return editDeptList\r\n },\r\n getDeptSubByDeptId() {\r\n // 获取区域列表\r\n getDeptSubByDeptId().then((res) => {\r\n this.deptIdList = res.data && this.getdeptIdList(res.data)\r\n })\r\n },\r\n getSiteList() {\r\n // 获取站址列表\r\n getSiteList({ deptId: this.listQuery.deptId }).then((res) => {\r\n this.siteCodeList = res.data.list\r\n })\r\n },\r\n getCabinetList() {\r\n // 获取综合柜列表\r\n getCabinetList({\r\n deptId: this.listQuery.deptId,\r\n siteCode: this.listQuery.siteCode\r\n }).then((res) => {\r\n this.cabinetList = res.data.list\r\n })\r\n },\r\n checkedChange(e) {\r\n const onlyOne = this.$refs.tree.getCheckedKeys()\r\n if (onlyOne.length > 1) {\r\n onlyOne.shift()\r\n this.$refs.tree.setCheckedKeys(e.deptId)\r\n }\r\n },\r\n getList() {\r\n this.listLoading = true\r\n getInsideDeviceList(this.listQuery).then((res) => {\r\n this.listLoading = false\r\n this.list = res.data.list\r\n this.total = res.data.totalRow\r\n })\r\n },\r\n createData() {\r\n if (this.createStatus) {\r\n return\r\n }\r\n // 新增\r\n this.$refs.form.validate((valid) => {\r\n if (valid) {\r\n this.createStatus = true\r\n addInsideDevice(this.form)\r\n .then((res) => {\r\n if (res.status == 200) {\r\n this.createStatus = false\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.getList()\r\n this.addDialog = false\r\n }\r\n })\r\n .catch(() => {\r\n this.createStatus = false\r\n })\r\n }\r\n })\r\n },\r\n updateData() {\r\n // 编辑\r\n this.$refs.form.validate((valid) => {\r\n if (valid) {\r\n updateInsideDevice(this.form).then((res) => {\r\n if (res.status == 200) {\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.getList()\r\n this.addDialog = false\r\n }\r\n })\r\n }\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 },\r\n handleCreate() {\r\n this.resetForm()\r\n this.addDialog = true\r\n this.dialogStatus = \"create\"\r\n this.$nextTick(() => {\r\n // 清除表单验证\r\n this.$refs[\"form\"].clearValidate()\r\n })\r\n },\r\n handleUpdate(scope) {\r\n this.form = {\r\n deviceId: scope.row.deviceId,\r\n deviceCode: scope.row.deviceCode,\r\n deviceName: scope.row.deviceName,\r\n typeCode: scope.row.typeCode,\r\n deptId: scope.row.deptId,\r\n cabinetCode: scope.row.cabinetCode,\r\n factory: scope.row.factory,\r\n model: scope.row.model,\r\n director: scope.row.director,\r\n phone: scope.row.phone,\r\n owner: scope.row.owner,\r\n sort: scope.row.sort,\r\n deviceSerial: null,\r\n channelNo: null\r\n }\r\n if (scope.row.typeCode == \"CAMERA\") {\r\n this.form.monitorId = scope.row.monitorId\r\n this.form.deviceSerial = scope.row.deviceSerial\r\n this.form.channelNo = scope.row.channelNo\r\n }\r\n this.dialogStatus = \"update\"\r\n this.addDialog = true\r\n this.$nextTick(() => {\r\n this.$refs[\"form\"].clearValidate()\r\n })\r\n },\r\n // 删除\r\n handleDelete(scope) {\r\n this.$confirm(\r\n this.$t(\"title.delPointOutDevice\"),\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 deleteInsideCabinet(scope.row.deviceCode).then((res) => {\r\n if (res.status == 200) {\r\n this.getList()\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 deleteList() {\r\n if (!this.$refs.table.selection.length) {\r\n this.$notify({\r\n title: this.$t(\"title.fail\"),\r\n message: this.$t(\"pSelect\") + this.$t(\"user.user\"),\r\n type: \"warning\",\r\n duration: 3000\r\n })\r\n return\r\n }\r\n this.$confirm(\r\n this.$t(\"title.delPointOutDevice\"),\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 const list = this.$refs.table.selection.map((e) => e.deviceCode)\r\n const str = list.join(\",\")\r\n deleteInsideDeviceList(str).then((res) => {\r\n if (res.status == 200) {\r\n this.getList()\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 handleFilter(type) {\r\n this.listQuery.curPage = 1\r\n this.getList()\r\n if (type == \"deptId\") {\r\n this.siteCodeList = []\r\n this.listQuery.siteCode = null\r\n this.getSiteList()\r\n this.cabinetList = []\r\n this.listQuery.cabinetCode = null\r\n this.getCabinetList()\r\n }\r\n if (type == \"siteCode\") {\r\n this.cabinetList = []\r\n this.listQuery.cabinetCode = null\r\n this.getCabinetList()\r\n }\r\n },\r\n handleChange(form) {\r\n form.cabinetCode = null\r\n getCabinetList({ deptId: form.deptId }).then((res) => {\r\n this.cabinetList = res.data.list\r\n })\r\n },\r\n formatJson(filterVal, jsonData) {\r\n return jsonData.map((v) =>\r\n filterVal.map((j) => {\r\n return v[j]\r\n })\r\n )\r\n }\r\n }\r\n}\r\n</script>\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./cabinet.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!./cabinet.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./cabinet.vue?vue&type=template&id=1abf50ba&\"\nimport script from \"./cabinet.vue?vue&type=script&lang=js&\"\nexport * from \"./cabinet.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"],"sourceRoot":""}