{"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,EAAA,EADA;AAEA,QAAA,UAAA,EAAA,EAFA;AAGA,QAAA,KAAA,E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