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

1 line
11 KiB
JSON
Raw Normal View History

2023-12-18 13:12:25 +08:00
{"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\\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//\nimport mixinViewModule from '@/mixins/view-module';\nimport { getDictLabel, getDictDataList } from '@/utils';\nexport default {\n mixins: [mixinViewModule],\n data: function data() {\n return {\n mixinViewModuleOptions: {\n getDataListURL: '/system/scaidooreight/page',\n deleteURL: '/system/scaidooreight',\n getDataListIsPage: true\n },\n limit: 10,\n dataForm: {\n aeClientip: \"\",\n devicename: '',\n state: ''\n },\n dialogVisible: false,\n dataList: [],\n checkedList: [],\n equipStatusList: getDictDataList('equipment_status')\n };\n },\n methods: {\n init: function init() {\n this.dialogVisible = true;\n this.page = 1;\n this.query();\n },\n search: function search() {\n this.page = 1;\n this.query();\n },\n selectionChange: function selectionChange(data) {\n this.checkedList = data;\n },\n formatterType: function formatterType(row) {\n return getDictLabel('accessEquipType', row.aeSigntype);\n },\n formatterDevinceType: function formatterDevinceType(row) {\n return getDictLabel('accessDevinceType', row.aeDevicetype);\n },\n formatterState: function formatterState(row) {\n return getDictLabel('equipment_status', row.aeState);\n },\n updateEquip: function updateEquip() {\n var _this = this;\n\n var updateAllState = false;\n\n if (this.checkedList.length == 0) {\n updateAllState = true;\n }\n\n this.$confirm(updateAllState ? '将对全部设备升级' : '将对已选中设备升级', '提示', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n type: 'warning'\n }).then(function () {\n _this.$http({\n url: updateAllState ? \"/system/scaidooreight/updateAlldevice\" : \"/system/scaidooreight/updatedevicelist\",\n method: updateAllState ? \"get\" : 'post',\n data: _this.checkedList.map(function (item) {\n return item.aeId;\n })\n }).then(function (_ref) {\n var res = _ref.data;\n\n if (res.code != 0) {\n return _this.$message.error(res.msg);\n }\n\n _this.$message.success(res.msg);\n });\n }).catch(function () {});\n }\n }\n};",{"version":3,"sources":["access-version-update.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwCA,OAAA,eAAA,MAAA,sBAAA;AACA,SACA,YADA,EAEA,eAFA,QAGA,SAHA;AAIA,eAAA;AACA,EAAA,MAAA,EAAA,CAAA,eAAA,CADA;AAEA,EAAA,IAFA,kBAEA;AACA,WAAA;AACA,MAAA,sBAAA,EAAA;AACA,QAAA,cAAA,EAAA,4BADA;AAEA,QAAA,SAAA,EAAA,uBAFA;AAGA,QAAA,iBAAA,EAAA;AAHA,OADA;AAMA,MAAA,KAAA,EAAA,EANA;AAOA,MAAA,QAAA,EAAA;AACA,QAAA,UAAA,E