1 line
14 KiB
JSON
1 line
14 KiB
JSON
|
{"remainingRequest":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\equipmentManage\\other-five.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\equipmentManage\\other-five.vue","mtime":1614735254000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\babel-loader\\lib\\index.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport FiveAccessUpload from './five-access-upload'\nimport mixinViewModule from \"@/mixins/view-module\"\nimport {\n\tgetDictLabel,\n\tgetDictDataList,\n} from '@/utils'\nimport sendFace from './other-five-face'\nimport personList from './five-access-person-list'\nimport qs from \"qs\"\nexport default {\n\tmixins: [mixinViewModule],\n\tcomponents: {\n\t\tsendFace,\n\t\tpersonList,\n\t\tFiveAccessUpload,\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tmixinViewModuleOptions: {\n\t\t\t\tgetDataListURL: '/system/fvscdevice/page',\n\t\t\t\tgetDataListIsPage: true\n\t\t\t},\n\t\t\tdataForm: {\n\t\t\t\tfName: \"\",\n\t\t\t\tfstate: \"\",\n\t\t\t\teqType: \"1\",\n\t\t\t},\n\t\t\tcheckDataList: [],\n\t\t\tuploadVisible: false,\n\t\t\tequipStatusList: getDictDataList('equipment_status'),\n\t\t}\n\t},\n\tmethods: {\n\t\t// 复选\n\t\thandleSelectionChange(data) {\n\t\t\tthis.checkDataList = data.map(item => {\n\t\t\t\treturn {\n\t\t\t\t\tfname: item.fname,\n\t\t\t\t\tfpassword: item.fpassword,\n\t\t\t\t\tfserial: item.fserial,\n\t\t\t\t}\n\t\t\t})\n\t\t},\n\t\t// 跳转到5寸出入记录页面\n\t\tgotoAccessRecord(id) {\n\t\t\twindow.sessionStorage.setItem('fserialNumber', id);\n\t\t\tthis.$router.push({\n\t\t\t\tname: 'statistics-fiveAccessRecord',\n\t\t\t})\n\t\t},\n\t\t// 下发指定\n\t\tsendFaceToEquip() {\n\t\t\tif (this.checkDataList.length == 0) {\n\t\t\t\treturn this.$message.warning(\"请选择需要下发的设备!\")\n\t\t\t}\n\t\t\tthis.$refs['sendFace'].init();\n\n\t\t},\n\t\t// 下发屏保\n\t\tuploadHandle(id) {\n\t\t\tthis.uploadVisible = true\n\t\t\tthis.$nextTick(() => {\n\t\t\t\tthis.$refs.upload.init()\n\t\t\t})\n\t\t},\n\t\t// 下发人数\n\t\tshowPersonList(id) {\n\t\t\tthis.$refs['personList'].init(id)\n\t\t},\n\t\t// 远程开门\n\t\topenDoorHandle(obj) {\n\t\t\tthis.$confirm('此操作存在一定风险,是否继续?', '提示', {\n\t\t\t\tconfirmButtonText: this.$t('confirm'),\n\t\t\t\tcancelButtonText: this.$t('cancel'),\n\t\t\t\ttype: 'warning'\n\t\t\t}).then(() => {\n\t\t\t\tvar params = qs.stringify({\n\t\t\t\t\tpassword: obj.fpassword,\n\t\t\t\t\tserial: obj.fserial\n\t\t\t\t})\n\t\t\t\tthis.$http.post(`/system/fvscdevice/doorOpen`, params).then(({\n\t\t\t\t\tdata: res\n\t\t\t\t}) => {\n\t\t\t\t\tif (res.code != 0) {\n\t\t\t\t\t\treturn this.$message.error(res.msg)\n\t\t\t\t\t}\n\t\t\t\t\tthis.$message.success(res.msg)\n\t\t\t\t}).catch(err => {\n\n\t\t\t\t})\n\t\t\t})\n\t\t},\n\t\t// 重启设备\n\t\trebootDeviceHandle(obj) {\n\t\t\tthis.$confirm('此操作存在一定风险,是否继续?', '提示', {\n\t\t\t\tconfirmButtonText: this.$t('confirm'),\n\t\t\t\tcancelButtonText: this.$t('cancel'),\n\t\t\t\ttype: 'warning'\n\t\t\t}).then(() => {\n\t\t\t\tvar params = qs.stringify({\n\t\t\t\t\tpassword: obj.fpassword,\n\t\t\t\t\tserial: obj.fserial\n\t\t\t\t})\n\t\t\t\tthis.$http.po
|