forked from zhurui/management
1 line
17 KiB
JSON
1 line
17 KiB
JSON
|
{"remainingRequest":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\babel-loader\\lib\\index.js!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!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\\five-access.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\equipmentManage\\five-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//\nimport FiveAccessUpload from \"./five-access-upload\";\nimport mixinViewModule from \"@/mixins/view-module\";\nimport { getDictLabel, getDictDataList } from '@/utils';\nimport sendFace from \"./access-send-face\";\nimport personList from \"./five-access-person-list\";\nimport qs from \"qs\";\nexport default {\n mixins: [mixinViewModule],\n components: {\n sendFace: sendFace,\n personList: personList,\n FiveAccessUpload: FiveAccessUpload\n },\n data: function data() {\n return {\n mixinViewModuleOptions: {\n getDataListURL: '/system/fvscdevice/page',\n getDataListIsPage: true\n },\n dataForm: {\n fName: \"\",\n fstate: \"\",\n eqType: \"0\"\n },\n checkDataList: [],\n uploadVisible: false,\n equipStatusList: getDictDataList('equipment_status')\n };\n },\n methods: {\n // 复选\n handleSelectionChange: function handleSelectionChange(data) {\n this.checkDataList = data.map(function (item) {\n return {\n fname: item.fname,\n fpassword: item.fpassword,\n fserial: item.fserial\n };\n });\n },\n // 跳转到5寸出入记录页面\n gotoAccessRecord: function gotoAccessRecord(id) {\n window.sessionStorage.setItem('fserialNumber', id);\n this.$router.push({\n name: 'statistics-fiveAccessRecord'\n });\n },\n // 下发指定\n sendFaceToEquip: function sendFaceToEquip() {\n if (this.checkDataList.length == 0) {\n return this.$message.warning(\"请选择需要下发的设备!\");\n }\n\n this.$refs['sendFace'].init();\n },\n // 下发屏保\n uploadHandle: function uploadHandle(id) {\n var _this = this;\n\n this.uploadVisible = true;\n this.$nextTick(function () {\n _this.$refs.upload.init();\n });\n },\n // 下发人数\n showPersonList: function showPersonList(id) {\n this.$refs['personList'].init(id);\n },\n // 远程开门\n openDoorHandle: function openDoorHandle(obj) {\n var _this2 = this;\n\n this.$confirm('此操作存在一定风险,是否继续?', '提示', {\n confirmButtonText: this.$t('confirm'),\n cancelButtonText: this.$t('cancel'),\n type: 'warning'\n }).then(function () {\n var params = qs.stringify({\n password: obj.fpassword,\n serial: obj.fserial\n });\n\n _this2.$http.post(\"/system/fvscdevice/doorOpen\", params).then(function (_ref) {\n var res = _ref.data;\n\n if (res.code != 0) {\n return _this2.$message.error(res.msg)
|