forked from zhurui/management
1 line
23 KiB
JSON
1 line
23 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\\building\\add-or-update.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\building\\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/web.dom.iterable\";\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\";\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//\nimport { getDictDataList } from '@/utils';\nimport debounce from 'lodash/debounce';\nimport buildingTree from '@/views/modules/building/building-tree';\nimport ajax from '@/utils/login';\nexport default {\n components: {\n buildingTree: buildingTree\n },\n inject: ['refresh'],\n data: function data() {\n var _this = this;\n\n var validateType = function validateType(rule, value, UWBallback) {\n if (value != '0' && !_this.dataForm.dfParentName) {\n UWBallback(new Error('请选择楼层或房间上级'));\n } else {\n UWBallback();\n }\n };\n\n return {\n showFloorCascader: false,\n // 是否显示楼层的cascader(当选择楼层\"1\"时展示)\n uwbFloorList: [],\n // 楼栋、楼层\n dialogVisible: false,\n loading: false,\n type: 'post',\n dfTypeList: getDictDataList('buildingType'),\n dfPurposeList: getDictDataList('purpose'),\n dataForm: {\n dfParentid: '0',\n dfParentName: '',\n dfType: '',\n uwbFloors: [],\n dfFloorname: '',\n dfPurpose: '',\n dfOrder: 0,\n drCapacity: 1\n },\n rules: {\n dfType: [{\n required: true,\n message: '请选择',\n trigger: ['blur', 'change']\n }, {\n validator: validateType,\n trigger: ['blur', 'change']\n }],\n uwbFloors: [{\n required: true,\n message: '请选择',\n trigger: ['blur', 'change']\n }],\n dfPurpose: [{\n
|