1
0
Fork 0
management/front/dkha-web-sz-main/node_modules/.cache/babel-loader/3bbc5a70b55d08370960e1a82b5...

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);\n }\n\n _this2.$message.success(res.msg);\n }).catch(function (err) {});\n });\n },\n // 重启设备\n rebootDeviceHandle: function rebootDeviceHandle(obj) {\n var _this3 = 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 _this3.$http.post(\"/system/fvscdevice/doorReset\", params).then(function (_ref2) {\n var res = _ref2.data;\n\n if (res.code != 0) {\n return _this3.$message.error(res.msg);\n }\n\n _this3.$message.success(res.msg);\n }).catch(function (err) {});\n });\n },\n // 重新下发\n issueAgainHandle: function issueAgainHandle(obj) {\n var _this4 = 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 _this4.$http.post(\"/system/fvscdevice/redownFace\", params).then(function (_ref3) {\n var res = _ref3.data;\n\n if (res.code != 0) {\n return _this4.$message.error(res.msg);\n }\n\n _this4.$message.success(res.msg);\n }).catch(function (err) {});\n });\n }\n }\n};",{"version":3,"sources":["five-access.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiEA,OAAA,gBAAA;AACA,OAAA,eAAA,MAAA,sBAAA;AACA,SACA,YADA,EAEA,eAFA,QAGA,SAHA;AAIA,OAAA,QAAA;AACA,OAAA,UAAA;AACA,OAAA,EAAA,MAAA,IAAA;AACA,eAAA;AACA,EAAA,MAAA,EAAA,CAAA,eAAA,CADA;AAEA,EAAA,UAAA,EAAA;AACA,IAAA,QAAA,EAAA,QADA;AAEA,IAAA,UAAA,EAAA,UAFA;AAGA,IAAA,gBAAA,EAAA;AAHA,GAFA;AAOA,EAAA,IAPA,kBAOA;AACA,WAAA;AACA,MAAA,sBAAA,EAAA;AACA,QAAA,cAAA,EAAA,yBADA;AAEA,QAAA,iBAAA,EAAA;AAFA,OADA;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\t<el-form ref=\"ruleForm\" :model=\"dataForm\" label-width=\"80px\" inline @keyup.enter.native=\"getDataList\">\n\t\t\t<el-form-item label=\"房间号\" prop=\"fName\">\n\t\t\t\t<el-input v-model=\"dataForm.fName\" placeholder=\"请输入\" clearable></el-input>\n\t\t\t</el-form-item>\n\t\t\t<el-form-item label=\"设备状态\" prop=\"fstate\">\n\t\t\t\t<el-select v-model=\"dataForm.fstate\" placeholder=\"请选择\" clearable>\n\t\t\t\t\t<el-option v-for=\"item in equipStatusList\" :key=\"item.dictValue\" :label=\"item.dictLabel\" :value=\"item.dictValue\">\n\t\t\t\t\t</el-option>\n\t\t\t\t</el-select>\n\t\t\t</el-form-item>\n\t\t\t<el-form-item>\n\t\t\t\t<el-button @click=\"getDataList()\">查询</el-button>\n\t\t\t\t<el-button type=\"warning\" @click=\"resetForm('ruleForm')\">重置</el-button>\n\t\t\t\t<!-- 在宿舍管理-宿舍房间下发5寸照片 -->\n\t\t\t\t<!-- <el-button type=\"success\" @click=\"sendFaceToEquip\">下发指定</el-button> -->\n\t\t\t\t<el-button type=\"success\" @click=\"uploadHandle()\">下发屏保</el-button>\n\t\t\t</el-form-item>\n\t\t</el-form>\n\t\t<el-table v-loading=\"dataListLoading\" :data=\"dataList\" @selection-change=\"handleSelectionChange\">\n\t\t\t<el-table-column type=\"selection\" label=\"全选\" align=\"center\"></el-table-column>\n\t\t\t<el-table-column type=\"index\" label=\"序号\" align=\"center\"></el-table-column>\n\t\t\t<el-table-column prop=\"fname\" label=\"房间号\" align=\"center\" show-overflow-tooltip>\n\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t<el-button type=\"text\" @click=\"gotoAccessRecord(scope.row.fserialNumber)\">{{scope.row.fname}}</el-button>\n\t\t\t\t</template>\n\t\t\t</el-table-column>\n\t\t\t<el-table-column label=\"设备状态\" align=\"center\">\n\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t<span v-if=\"scope.row.fstate==-1\" style=\"color:#f56c6c;\">离线</span>\n\t\t\t\t\t<span v-else-if=\"scope.row.fstate==0\" style=\"color:#67C23A;\">正常</span>\n\t\t\t\t\t<span v-else style=\"color:#f56c6c;\">停用</span>\n\t\t\t\t</template>\n\t\t\t</el-table-column>\n\t\t\t<el-table-column prop=\"fserialNumber\" label=\"设备序列号\" align=\"center\" show-overflow-tooltip>\n\t\t\t</el-table-column>\n\t\t\t<el-table-column prop=\"faddDate\" label=\"设备安装日期\" align=\"center\" show-overflow-tooltip>\n\t\t\t</el-table-column>\n\t\t\t<el-table-column label=\"已下发人数\" align=\"center\" width=\"150\">\n\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t<el-button type=\"text\" @click=\"showPersonList(scope.row.fid)\">{{scope.row.ffaceTotal}}</el-button>\n\t\t\t\t</template>\n\t\t\t</el-table-column>\n\t\t\t<el-table-column :label=\"$t('handle')\" fixed=\"right\" header-align=\"center\" align=\"center\" width=\"300\">\n\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t<el-button type=\"text\" @click=\"openDoorHandle(scope.row)\">远程开门</el-button>\n\t\t\t\t\t<el-button type=\"text\" @click=\"issueAgainHandle(scope.row)\" style=\"color:#f56c6c\">重新下发</el-button>\n\t\t\t\t\t<el-button type=\"text\" @click=\"rebootDeviceHandle(scope.row)\" style=\"color:#f56c6c\">重启设备</el-button>\n\t\t\t\t</template>\n\t\t\t</el-table-column>\n\t\t</el-table>\n\t\t<el-pagination :current-page=\"page\" :page-sizes=\"[10, 20, 50, 100,300]\" :page-size=\"limit\" :total=\"total\" layout=\"total, sizes, prev, pager, next, jumper\"\n\t\t @size-change=\"pageSizeChangeHandle\" @current-change=\"pageCurrentChangeHandle\">\n\t\t</el-pagination>\n\t\t<!-- 下发操作 -->\n\t\t<send-face ref=\"sendFace\" :aeids=\"checkDataList\" accessType=\"five\"></send-face>\n\t\t<!-- 已下发人数列表 -->\n\t\t<person-list ref=\"personList\"></person-list>\n\t\t<!-- 弹窗, 上传 -->\n\t\t<five-access-upload v-if=\"uploadVisible\" ref=\"upload\"></five-access-upload>\n\t</el-card>\n</template>\n\n<script>\n\timport FiveAccessUpload from './five-access-upload'\n\timport mixinViewModule from \"@/mixins/view-module\"\n\timport {\n\t\tgetDictLabel,\n\t\tgetDictDataList,\n\t} from '@/utils'\n\timport sendFace from './access-send-face'\n\timport personList from './five-access-person-list'\n\timport qs from \"qs\"\n\texport default {\n\t\tmixins: [mixinViewModule],\n\t\tcomponents: {\n\t\t\tsendFace,\n\t\t\tpersonList,\n\t\t\tFiveAccessUpload,\n\t\t},\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tmixinViewModuleOptions: {\n\t\t\t\t\tgetDataListURL: '/system/fvscdevice/page',\n\t\t\t\t\tgetDataListIsPage: true\n\t\t\t\t},\n\t\t\t\tdataForm: {\n\t\t\t\t\tfName: \"\",\n\t\t\t\t\tfstate: \"\",\n\t\t\t\t\teqType:\"0\",\n\t\t\t\t},\n\t\t\t\tcheckDataList: [],\n\t\t\t\tuploadVisible: false,\n\t\t\t\tequipStatusList: getDictDataList('equipment_status'),\n\t\t\t}\n\t\t},\n\t\tmethods: {\n\t\t\t// 复选\n\t\t\thandleSelectionChange(data) {\n\t\t\t\tthis.checkDataList = data.map(item => {\n\t\t\t\t\treturn {\n\t\t\t\t\t\tfname: item.fname,\n\t\t\t\t\t\tfpassword: item.fpassword,\n\t\t\t\t\t\tfserial: item.fserial,\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t},\n\t\t\t// 跳转到5寸出入记录页面\n\t\t\tgotoAccessRecord(id) {\n\t\t\t\twindow.sessionStorage.setItem('fserialNumber', id);\n\t\t\t\tthis.$router.push({\n\t\t\t\t\tname: 'statistics-fiveAccessRecord',\n\t\t\t\t})\n\t\t\t},\n\t\t\t// 下发指定\n\t\t\tsendFaceToEquip() {\n\t\t\t\tif (this.checkDataList.length == 0) {\n\t\t\t\t\treturn this.$message.warning(\"请选择需要下发的设备!\")\n\t\t\t\t}\n\t\t\t\tthis.$refs['sendFace'].init();\n\n\t\t\t},\n\t\t\t// 下发屏保\n\t\t\tuploadHandle(id) {\n\t\t\t\tthis.uploadVisible = true\n\t\t\t\tthis.$nextTick(() => {\n\t\t\t\t\tthis.$refs.upload.init()\n\t\t\t\t})\n\t\t\t},\n\t\t\t// 下发人数\n\t\t\tshowPersonList(id) {\n\t\t\t\tthis.$refs['personList'].init(id)\n\t\t\t},\n\t\t\t// 远程开门\n\t\t\topenDoorHandle(obj) {\n\t\t\t\tthis.$confirm('此操作存在一定风险,是否继续?', '提示', {\n\t\t\t\t\tconfirmButtonText: this.$t('confirm'),\n\t\t\t\t\tcancelButtonText: this.$t('cancel'),\n\t\t\t\t\ttype: 'warning'\n\t\t\t\t}).then(() => {\n\t\t\t\t\tvar params = qs.stringify({\n\t\t\t\t\t\tpassword: obj.fpassword,\n\t\t\t\t\t\tserial: obj.fserial\n\t\t\t\t\t})\n\t\t\t\t\tthis.$http.post(`/system/fvscdevice/doorOpen`, params).then(({\n\t\t\t\t\t\tdata: res\n\t\t\t\t\t}) => {\n\t\t\t\t\t\tif (res.code != 0) {\n\t\t\t\t\t\t\treturn this.$message.error(res.msg)\n\t\t\t\t\t\t}\n\t\t\t\t\t\tthis.$message.success(res.msg)\n\t\t\t\t\t}).catch(err => {\n\n\t\t\t\t\t})\n\t\t\t\t})\n\t\t\t},\n\t\t\t// 重启设备\n\t\t\trebootDeviceHandle(obj) {\n\t\t\t\tthis.$confirm('此操作存在一定风险,是否继续?', '提示', {\n\t\t\t\t\tconfirmButtonText: this.$t('confirm'),\n\t\t\t\t\tcancelButtonText: this.$t('cancel'),\n\t\t\t\t\ttype: 'warning'\n\t\t\t\t}).then(() => {\n\t\t\t\t\tvar params = qs.stringify({\n\t\t\t\t\t\tpassword: obj.fpassword,\n\t\t\t\t\t\tserial: obj.fserial\n\t\t\t\t\t})\n\t\t\t\t\tthis.$http.post(`/system/fvscdevice/doorReset`, params).then(({\n\t\t\t\t\t\tdata: res\n\t\t\t\t\t}) => {\n\t\t\t\t\t\tif (res.code != 0) {\n\t\t\t\t\t\t\treturn this.$message.error(res.msg)\n\t\t\t\t\t\t}\n\t\t\t\t\t\tthis.$message.success(res.msg)\n\t\t\t\t\t}).catch(err => {\n\n\t\t\t\t\t})\n\t\t\t\t})\n\t\t\t},\n\t\t\t// 重新下发\n\t\t\tissueAgainHandle(obj) {\n\t\t\t\tthis.$confirm('此操作存在一定风险,是否继续?', '提示', {\n\t\t\t\t\tconfirmButtonText: this.$t('confirm'),\n\t\t\t\t\tcancelButtonText: this.$t('cancel'),\n\t\t\t\t\ttype: 'warning'\n\t\t\t\t}).then(() => {\n\t\t\t\t\tvar params = qs.stringify({\n\t\t\t\t\t\tpassword: obj.fpassword,\n\t\t\t\t\t\tserial: obj.fserial\n\t\t\t\t\t})\n\t\t\t\t\tthis.$http.post(`/system/fvscdevice/redownFace`, params).then(({\n\t\t\t\t\t\tdata: res\n\t\t\t\t\t}) => {\n\t\t\t\t\t\tif (res.code != 0) {\n\t\t\t\t\t\t\treturn this.$message.error(res.msg)\n\t\t\t\t\t\t}\n\t\t\t\t\t\tthis.$message.success(res.msg)\n\t\t\t\t\t}).catch(err => {\n\n\t\t\t\t\t})\n\t\t\t\t})\n\t\t\t},\n\t\t}\n\t}\n</script>\n\n<style scoped lang=\"scss\">\n\t.el-table {\n\t\t.el-button--text {\n\t\t\tpadding: 8px 0;\n\t\t}\n\t}\n</style>\n"],"sourceRoot":"src/views/modules/equipmentManage"}]}