forked from zhurui/management
1 line
7.5 KiB
JSON
1 line
7.5 KiB
JSON
{"remainingRequest":"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//\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 () {\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",{"version":3,"sources":["ren-process-running.vue"],"names":[],"mappings":";;;;;;;;;;;;;;AAcA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"ren-process-running.vue","sourceRoot":"src/components/ren-process-running/src","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"]}]} |