{"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\\activiti\\demo\\correction-add-or-update.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\activiti\\demo\\correction-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// 引入工作流公共方法\nimport processModule from '@/mixins/process-module';\nexport default {\n // 注入公共方法\n mixins: [processModule],\n data: function data() {\n return {\n // 是否显示流程启动组件\n processVisible: true,\n visible: false,\n dataForm: {\n id: '',\n applyPost: '',\n entryDate: '',\n correctionDate: '',\n workContent: '',\n achievement: '',\n creator: '',\n createDate: ''\n }\n };\n },\n computed: {\n dataRule: function dataRule() {\n return {\n applyPost: [{\n required: true,\n message: this.$t('validate.required'),\n trigger: 'blur'\n }],\n entryDate: [{\n required: true,\n message: this.$t('validate.required'),\n trigger: 'blur'\n }],\n correctionDate: [{\n required: true,\n message: this.$t('validate.required'),\n trigger: 'blur'\n }],\n workContent: [{\n required: true,\n message: this.$t('validate.required'),\n trigger: 'blur'\n }],\n achievement: [{\n required: true,\n message: this.$t('validate.required'),\n trigger: 'blur'\n }],\n createTime: [{\n required: true,\n message: this.$t('validate.required'),\n trigger: 'blur'\n }]\n };\n }\n },\n methods: {\n init: function init() {\n var _this = this;\n\n this.visible = true;\n this.$nextTick(function () {\n _this.$refs['dataForm'].resetFields();\n\n if (_this.dataForm.id) {\n _this.getInfo();\n } // 将业务组件对象赋值给流程(回调时需要用到)\n\n\n _this.$refs.renProcessStart.rootObj = _this; // 配置回调函数\n\n _this.$refs.renProcessStart.callbacks = {\n startProcessSuccessCallback: _this.closeCurrentDialog,\n startProcessErrorCallback: _this.startProcessErrorCallback,\n formSaveSuccessCallback: null,\n formSaveErrorCallback: null // 配置流程定义KEY\n\n };\n _this.$refs.renProcessStart.dataForm.processDefinitionKey = 'correctionprocess';\n });\n },\n // 获取信息\n getInfo: function getInfo() {\n var _this2 = this;\n\n this.$http.get(\"/activiti/demo/correction/\".concat(this.dataForm.id)).then(function (_ref) {\n var res = _ref.data;\n\n if (res.code !== 0) {\n return _this2.$message.error(res.msg);\n }\n\n _this2.dataForm = _objectSpread({}, _this2.dataForm, {}, res.data);\n }).catch(function () {});\n },\n closeCurrentDialog: function closeCurrentDialog() {\n this.visible = false;\n this.$emit('refreshDataList');\n }\n }\n};",{"version":3,"sources":["correction-add-or-update.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkCA;AACA,OAAA,aAAA,MAAA,yBAAA;AACA,eAAA;AACA;AACA,EAAA,MAAA,EAAA,CAAA,aAAA,CAFA;AAGA,EAAA,IAHA,kBAGA;AACA,WAAA;AACA;AACA,MAAA,cAAA,EAAA,IAFA;AAGA,MAAA,OAAA,EAAA,KAHA;AAIA,MAAA,QAAA,EAAA;AACA,QAAA,EAAA,EAAA,EADA;AAEA,QAAA,SAAA,EAAA,EAFA;AAGA,QAAA,SAAA,EAAA,EAHA;AAIA,QAAA,cAAA,EAAA,EAJA;AAKA,QAAA,WAAA,EAAA,EALA;AAMA,QAAA,WAAA,EAAA,EANA;AAOA,QAAA,OAAA,EAAA,EAPA;AAQA,QAAA,UAAA,EAAA;AARA;AAJA,KAAA;AAeA,GAnBA;AAoBA,EAAA,QAAA,EAAA;AACA,IAAA,QADA,sBACA;AACA,aAAA;AACA,QAAA,SAAA,EAAA,CACA;AAAA,UAAA,QAAA,EAAA,IAAA;AAAA,UAAA,OAAA,EAAA,KAAA,EAAA,CAAA,mBAAA,CAAA;AAAA,UAAA,OAAA,EAAA;AAAA,SADA,CADA;AAIA,QAAA,SAAA,EAAA,CACA;AAAA,UAAA,QAAA,EAAA,IAAA;AAAA,UAAA,OA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