1 line
29 KiB
JSON
1 line
29 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\\access.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\equipmentManage\\access.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//\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 mixinViewModule from '@/mixins/view-module'\nimport {\n\ttreeDataTranslate,\n\tgetDictLabel,\n\tgetDictDataList\n} from '@/utils'\nimport addOrUpdate from './access-add-or-update'\nimport viewAccess from './access-view'\nimport personList from './access-person-list'\nimport sendFace from './access-send-face'\nimport accessConfig from './access-config'\nimport AccessUpdatePassword from './access-update-password'\nexport default {\n\tmixins: [mixinViewModule],\n\tcomponents: {\n\t\taddOrUpdate,\n\t\tviewAccess,\n\t\tpersonList,\n\t\tsendFace,\n\t\taccessConfig,\n\t\tAccessUpdatePassword\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tloading : false,\n\t\t\tmixinViewModuleOptions: {\n\t\t\t\tgetDataListURL: '/system/scaidooreight/page',\n\t\t\t\tdeleteURL: '/system/scaidooreight',\n\t\t\t\tgetDataListIsPage: true\n\t\t\t},\n\t\t\taddressList: [], // 安装位置\n\t\t\tdfFloorid: [], // 选中id数组\n\t\t\tequipStatusList: getDictDataList('equipment_status'),\n\t\t\tlimit: 10,\n\t\t\tdataForm: {\n\t\t\t\taeClientip: \"\",\n\t\t\t\tstate: '',\n\t\t\t\tdevicename: '',\n\t\t\t\tfloorid: '', // 安装位置的id\n\t\t\t\tusername:'',\n\t\t\t\tuserno:''\n\t\t\t},\n\t\t\tcheckList: [],\n\t\t\tdataList: [],\n\t\t\taccessUpdatePasswordVisible: false\n\t\t}\n\t},\n\tcreated() {\n\t\tthis.getAddressList()\n\t},\n\twatch: {\n\t\t'dfFloorid': {\n\t\t\thandler(val) {\n\t\t\t\tif (val.length === 0) {\n\t\t\t\t\tthis.dataForm.floorid = \"\"\n\t\t\t\t} else {\n\t\t\t\t\tthis.dataForm.floorid = val[val.length - 1]\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\tcomputed: {\n\t\taeIds() {\n\t\t\treturn this.checkList.map(item => {\n\t\t\t\treturn item.aeId\n\t\t\t})\n\t\t},\n\t\t// 根据 数据 aeTransstate 判断是否有设备正在下发 1 有 0 否 如有下发 每1 分钟刷新一次数据\n\t\t// isNeedRefresh(){\n\t\t// return this.dataList.some(item=>item.aeTransstate)\n\t\t// }\n\t},\n\t// watch:{\n\t// // 监听是否需要刷新数据 执行定时任务\n\t// isNeedRefresh(state){\n\t// // 需要刷新 且 定时器未启动 则启动定时器\n\t// if(state&&!this.timer){\n\t// this.timer=setInterval(() => {\n\t// this.query();\n\t// }, 1000*30);\n\t// this.$once(\"hook:beforeDestroy\",()=>{\n\t// clearInterval(this.timer);\n\t// this.timer=null;\n\t// })\n\t// this.$once(\"hook:deactivated\",()=>{\n\t// clearInterval(this.timer);\n\t// this.timer=null;\n\t// })\n\t// }\n\t// // 不需要刷新 定时器仍在运行 则清除定时器\n\t// else if(!state&&
|