forked from zhurui/management
1 line
10 KiB
JSON
1 line
10 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\\components\\ren-process-running\\src\\ren-process-running.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\components\\ren-process-running\\src\\ren-process-running.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//\nimport RenTaskBack from \"./ren-task-back\";\nimport RenTaskEntrust from \"./ren-task-entrust\";\nimport RenTaskHandle from \"./ren-task-handle\";\nexport default {\n name: 'RenProcessRunning',\n data: function data() {\n return {\n // 是否显示退回窗口\n renTaskBackVisible: false,\n renTaskEntrustVisible: false,\n renTaskHandleVisible: false,\n parentObj: null,\n dataForm: {\n taskId: '',\n businessKey: '',\n processDefinitionKey: '',\n processInstanceId: ''\n },\n // 回调函数\n callbacks: {\n taskHandleSuccessCallback: null,\n taskHandleErrorCallback: null\n }\n };\n },\n components: {\n RenTaskBack: RenTaskBack,\n RenTaskEntrust: RenTaskEntrust,\n RenTaskHandle: RenTaskHandle\n },\n created: function created() {\n this.$nextTick(function () {});\n },\n props: {},\n watch: {},\n methods: {\n completeTask: function completeTask() {\n var _this = this;\n\n this.renTaskHandleVisible = true;\n this.$nextTick(function () {\n _this.$refs.renTaskHandle.dataForm.taskId = _this.dataForm.taskId;\n _this.$refs.renTaskHandle.callbacks = _this.callbacks;\n _this.$refs.renTaskHandle.handleType = 'complete';\n\n _this.$refs.renTaskHandle.init();\n });\n },\n rejectTask: function rejectTask() {\n var _this2 = this;\n\n this.renTaskHandleVisible = true;\n this.$nextTick(function () {\n _this2.$refs.renTaskHandle.dataForm.taskId = _this2.dataForm.taskId;\n _this2.$refs.renTaskHandle.callbacks = _this2.callbacks;\n _this2.$refs.renTaskHandle.handleType = 'reject';\n\n _this2.$refs.renTaskHandle.init();\n });\n },\n rollbackTask: function rollbackTask() {\n var _this3 = this;\n\n this.renTaskBackVisible = true;\n this.$nextTick(function () {\n _this3.$refs.renTaskBack.dataForm.taskId = _this3.dataForm.taskId;\n _this3.$refs.renTaskBack.dataForm.processInstanceId = _this3.dataForm.processInstanceId;\n _this3.$refs.renTaskBack.callbacks = _this3.callbacks;\n\n _this3.$refs.renTaskBack.init();\n });\n },\n entrustTask: function entrustTask() {\n var _this4 = this;\n\n this.renTaskEntrustVisible = true;\n this.$nextTick(function () {\n _this4.$refs.renTaskEntrust.dataForm.taskId = _this4.dataForm.taskId;\n _this4.$refs.renTaskEntrust.callbacks = _this4.callbacks;\n\n _this4.$refs.renTaskEntrust.init();\n });\n },\n terminationTask: function terminationTask() {\n var _this5 = this;\n\n this.renTaskHandleVisible = true;\n this.$nextTick(function () {\n _this5.$refs.renTaskHandle.dataForm.taskId = _this5.dataForm.taskId;\n _this5.$refs.renTaskHandle.callbacks = _this5.callbacks;\n _this5.$refs.renTaskHandle.handleType = 'termination';\n\n _this5.$refs.renTaskHandle.init();\n });\n }\n }\n};",{"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AJA;AAKA,KAnCA;AAoCA,IAAA,eApCA,6BAoCA;AAAA;;AACA,WAAA,oBAAA,GAAA,IAAA;AACA,WAAA,SAAA,CAAA,YAAA;AACA,QAAA,MAAA,CAAA,KAAA,CAAA,aAAA,CAAA,QAAA,CAAA,MAAA,GAAA,MAAA,CAAA,QAAA,CAAA,MAAA;AACA,QAAA,MAAA,CAAA,KAAA,CAAA,aAAA,CAAA,SAAA,GAAA,MAAA,CAAA,SAAA;AACA,QAAA,MAAA,CAAA,KAAA,CAAA,aAAA,CAAA,UAAA,GAAA,aAAA;;AACA,QAAA,MAAA,CAAA,KAAA,CAAA,aAAA,CAAA,IAAA;AACA,OALA;AAMA;AA5CA;AAnCA,CAAA","sourcesContent":["<template>\n <div>\n <el-button type=\"primary\" @click=\"completeTask()\">{{ $t('process.completeTask') }}</el-button>\n <el-button type=\"warning\" @click=\"rejectTask()\">{{ $t('process.rejectTask') }}</el-button>\n <el-button type=\"success\" @click=\"rollbackTask()\">{{ $t('process.doBackRollback') }}</el-button>\n <el-button type=\"info\" @click=\"entrustTask()\">{{ $t('process.entrustTask') }}</el-button>\n <el-button type=\"danger\" @click=\"terminationTask()\">{{ $t('process.terminationTask') }}</el-button>\n <ren-task-back v-if=\"renTaskBackVisible\" ref=\"renTaskBack\"></ren-task-back>\n <ren-task-entrust v-if=\"renTaskEntrustVisible\" ref=\"renTaskEntrust\"></ren-task-entrust>\n <ren-task-handle v-if=\"renTaskHandleVisible\" ref=\"renTaskHandle\"></ren-task-handle>\n </div>\n</template>\n\n<script>\nimport RenTaskBack from './ren-task-back'\nimport RenTaskEntrust from './ren-task-entrust'\nimport RenTaskHandle from './ren-task-handle'\nexport default {\n name: 'RenProcessRunning',\n data () {\n return {\n // 是否显示退回窗口\n renTaskBackVisible: false,\n renTaskEntrustVisible: false,\n renTaskHandleVisible: false,\n parentObj: null,\n dataForm: {\n taskId: '',\n businessKey: '',\n processDefinitionKey: '',\n processInstanceId: ''\n },\n // 回调函数\n callbacks: {\n taskHandleSuccessCallback: null,\n taskHandleErrorCallback: null\n }\n }\n },\n components: {\n RenTaskBack,\n RenTaskEntrust,\n RenTaskHandle\n },\n created () {\n this.$nextTick(() => {\n })\n },\n props: {\n },\n watch: {\n },\n methods: {\n completeTask () {\n this.renTaskHandleVisible = true\n this.$nextTick(() => {\n this.$refs.renTaskHandle.dataForm.taskId = this.dataForm.taskId\n this.$refs.renTaskHandle.callbacks = this.callbacks\n this.$refs.renTaskHandle.handleType = 'complete'\n this.$refs.renTaskHandle.init()\n })\n },\n rejectTask () {\n this.renTaskHandleVisible = true\n this.$nextTick(() => {\n this.$refs.renTaskHandle.dataForm.taskId = this.dataForm.taskId\n this.$refs.renTaskHandle.callbacks = this.callbacks\n this.$refs.renTaskHandle.handleType = 'reject'\n this.$refs.renTaskHandle.init()\n })\n },\n rollbackTask () {\n this.renTaskBackVisible = true\n this.$nextTick(() => {\n this.$refs.renTaskBack.dataForm.taskId = this.dataForm.taskId\n this.$refs.renTaskBack.dataForm.processInstanceId = this.dataForm.processInstanceId\n this.$refs.renTaskBack.callbacks = this.callbacks\n this.$refs.renTaskBack.init()\n })\n },\n entrustTask () {\n this.renTaskEntrustVisible = true\n this.$nextTick(() => {\n this.$refs.renTaskEntrust.dataForm.taskId = this.dataForm.taskId\n this.$refs.renTaskEntrust.callbacks = this.callbacks\n this.$refs.renTaskEntrust.init()\n })\n },\n terminationTask () {\n this.renTaskHandleVisible = true\n this.$nextTick(() => {\n this.$refs.renTaskHandle.dataForm.taskId = this.dataForm.taskId\n this.$refs.renTaskHandle.callbacks = this.callbacks\n this.$refs.renTaskHandle.handleType = 'termination'\n this.$refs.renTaskHandle.init()\n })\n }\n }\n}\n</script>\n"],"sourceRoot":"src/components/ren-process-running/src"}]} |