management/front/dkha-web-sz-main/node_modules/.cache/babel-loader/13f99fbb4d7ffc7c0f8880f1476...

1 line
19 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\\src\\mixins\\process-module.js","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\mixins\\process-module.js","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}],"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\";\nimport \"core-js/modules/es6.function.name\";\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\nimport { addDynamicRoute } from '@/router';\nexport default {\n data: function data() {\n return {\n processVisible: false\n };\n },\n methods: {\n // 初始化流程配置(集成发起流程和任务处理功能)\n initProcessMultiple: function initProcessMultiple(callbacks) {\n var _this = this;\n\n // showType 用于区分流程启动start、任务处理(taskHandle)以及查看详情(null)\n // 流程启动显示的是“流程启动”按钮,任务处理显示的是“通过、委托、回退、驳回、终止”按钮,查看详情都不显示\n var showType = this.$route.params.processShowType;\n this.processVisible = true;\n this.$nextTick(function () {\n if (_this.$route.params.processDefinitionKey) {\n _this.$refs.renProcessMultiple.dataForm.processDefinitionKey = _this.$route.params.processDefinitionKey;\n }\n\n if (_this.$route.params.taskId) {\n _this.$refs.renProcessMultiple.dataForm.taskId = _this.$route.params.taskId;\n }\n\n if (_this.$route.params.processInstanceId) {\n _this.$refs.renProcessMultiple.dataForm.processInstanceId = _this.$route.params.processInstanceId;\n }\n\n _this.$refs.renProcessMultiple.dataForm.businessKey = _this.$route.params.businessKey;\n _this.$refs.renProcessMultiple.showType = showType;\n _this.$refs.renProcessMultiple.parentObj = _this;\n _this.$refs.renProcessMultiple.callbacks = callbacks;\n });\n },\n // 关闭当前窗口\n closeCurrentTab: function closeCurrentTab(data) {\n var tabName = this.$store.state.contentTabsActiveName;\n this.$store.state.contentTabs = this.$store.state.contentTabs.filter(function (item) {\n return item.name !== tabName;\n });\n\n if (this.$store.state.contentTabs.length <= 0) {\n this.$store.state.sidebarMenuActiveName = this.$store.state.contentTabsActiveName = 'home';\n return false;\n }\n\n if (tabName === this.$store.state.contentTabsActiveName) {\n this.$router.push({\n name: this.$store.state.contentTabs[this.$store.state.contentTabs.length - 1].name\n