1 line
9.0 KiB
JSON
1 line
9.0 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\\sys\\access-version-update.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\sys\\access-version-update.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\nimport mixinViewModule from '@/mixins/view-module'\nimport {\n\tgetDictLabel,\n\tgetDictDataList\n} from '@/utils'\nexport default {\n\tmixins: [mixinViewModule],\n\tdata() {\n\t\treturn {\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\tlimit: 10,\n\t\t\tdataForm: {\n\t\t\t\taeClientip: \"\",\n\t\t\t\tdevicename: '',\n\t\t\t\tstate: ''\n\t\t\t},\n\t\t\tdialogVisible: false,\n\t\t\tdataList: [],\n\t\t\tcheckedList: [],\n\t\t\tequipStatusList: getDictDataList('equipment_status'),\n\t\t}\n\t},\n\n\tmethods: {\n\t\tinit() {\n\t\t\tthis.dialogVisible = true;\n\t\t\tthis.page = 1;\n\t\t\tthis.query();\n\t\t},\n\t\tsearch() {\n\t\t\tthis.page = 1;\n\t\t\tthis.query();\n\t\t},\n\t\tselectionChange(data) {\n\t\t\tthis.checkedList = data;\n\t\t},\n\t\tformatterType(row) {\n\t\t\treturn getDictLabel('accessEquipType', row.aeSigntype)\n\t\t},\n\t\tformatterDevinceType(row) {\n\t\t\treturn getDictLabel('accessDevinceType', row.aeDevicetype)\n\t\t},\n\t\tformatterState(row) {\n\t\t\treturn getDictLabel('equipment_status', row.aeState)\n\n\t\t},\n\t\tupdateEquip() {\n\t\t\tlet updateAllState = false;\n\t\t\tif (this.checkedList.length == 0) {\n\t\t\t\tupdateAllState = true;\n\t\t\t}\n\t\t\tthis.$confirm(updateAllState ? '将对全部设备升级' : '将对已选中设备升级', '提示', {\n\t\t\t\tconfirmButtonText: '确定',\n\t\t\t\tcancelButtonText: '取消',\n\t\t\t\ttype: 'warning'\n\t\t\t}).then(() => {\n\t\t\t\tthis.$http({\n\t\t\t\t\turl: updateAllState ? \"/system/scaidooreight/updateAlldevice\" : \"/system/scaidooreight/updatedevicelist\",\n\t\t\t\t\tmethod: updateAllState ? \"get\" : 'post',\n\t\t\t\t\tdata: this.checkedList.map(item => item.aeId)\n\t\t\t\t}).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})\n\t\t\t}).catch(() => {})\n\t\t},\n\t}\n}\n",{"version":3,"sources":["access-version-update.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"access-version-update.vue","sourceRoot":"src/views/modules/sys","sourcesContent":["<template>\n\t<el-dialog title=\"固件升级\" :visible.sync=\"dialogVisible\" :close-on-click-modal=\"false\" width=\"70%\">\n\t\t<el-form ref=\"ruleForm\" :model=\"dataForm\" label-width=\"100px\" inline>\n\t\t\t<el-form-item label=\"设备IP\" prop=\"aeClientip\">\n\t\t\t\t<el-input v-model=\"dataForm.aeClient
|