management/front/dkha-web-sz-main/node_modules/.cache/babel-loader/0f212956d6e29928831fd390455...

1 line
26 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\\equipmentManage\\electric-add-or-update.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\equipmentManage\\electric-add-or-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":["import \"core-js/modules/es7.object.get-own-property-descriptors\";\nimport \"core-js/modules/es6.object.keys\";\nimport _defineProperty from \"C:\\\\Users\\\\27446\\\\Desktop\\\\up\\\\front\\\\dkha-web-sz-main\\\\node_modules\\\\@babel\\\\runtime-corejs2/helpers/esm/defineProperty\";\nimport \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es6.string.iterator\";\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\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 throttle from 'lodash/throttle';\nimport { validateIP } from '@/utils/validate.js';\nimport { treeDataTranslate } from '@/utils';\nexport default {\n name: \"electric-add-or-update\",\n data: function data() {\n return {\n visible: false,\n loading: false,\n tfSetupaddrList: [],\n // 楼栋、楼层级联\n dataForm: {\n \"id\": \"\",\n tfId: \"\",\n tfDevicename: \"\",\n \"tfDevicesn\": \"\",\n \"tfIpgateway\": \"\",\n tfSetupaddr: [],\n \"tfExpirydate\": \"\",\n scTransformerroomDTOList: [{\n tfrPortaddr: 1,\n drId: \"\"\n }, {\n tfrPortaddr: 2,\n drId: \"\"\n }, {\n tfrPortaddr: 3,\n drId: \"\"\n }, {\n tfrPortaddr: 4,\n drId: \"\"\n }],\n remark: \"\"\n },\n roomList: [] // 房间号列表\n\n };\n },\n computed: {\n dataRule: function dataRule() {\n var _this = this;\n\n var validateRoom = function validateRoom(rule, value, callback) {\n var status = value.some(function (item) {\n return item.drId !== \"\";\n });\n\n if (status) {\n callback();\n } else {\n callback(new Error(_this.$t('validate.required')));\n }\n };\n\n return {\n tfDevicename: [{\n required: true,\n message: this.$t('validat