From dae69da8cabdff34359cc3361ce51c47489af8f0 Mon Sep 17 00:00:00 2001 From: bob Date: Wed, 15 Mar 2023 15:07:56 +0800 Subject: [PATCH] fix(flow) resubmit page add instance --- ruoyi-ui/src/views/flowable/task/process/index.vue | 1 + ruoyi-ui/src/views/flowable/task/record/resubmit.vue | 2 ++ 2 files changed, 3 insertions(+) diff --git a/ruoyi-ui/src/views/flowable/task/process/index.vue b/ruoyi-ui/src/views/flowable/task/process/index.vue index 1593862..57ad660 100644 --- a/ruoyi-ui/src/views/flowable/task/process/index.vue +++ b/ruoyi-ui/src/views/flowable/task/process/index.vue @@ -350,6 +350,7 @@ export default { this.$refs.finishedRecord.init(row.procInsId,row.deployId,row.taskId, false) }, /** 流程流转记录 */ handleResubmit(row){ + console.log('handleResubmit=row=',row) this.$refs.recordResubmit.init(row.procInsId,row.deployId,row.taskId, false) }, /** 修改按钮操作 */ diff --git a/ruoyi-ui/src/views/flowable/task/record/resubmit.vue b/ruoyi-ui/src/views/flowable/task/record/resubmit.vue index 243b4b3..b348399 100644 --- a/ruoyi-ui/src/views/flowable/task/record/resubmit.vue +++ b/ruoyi-ui/src/views/flowable/task/record/resubmit.vue @@ -207,11 +207,13 @@ export default { // }, methods: { init(procInsId, deployId, taskId, finished) { + console.log('init:procInsId=',procInsId) this.uploadedImgs = [] this.open = true this.taskForm.deployId = deployId; this.taskForm.taskId = taskId; this.taskForm.procInsId = procInsId; + this.taskForm.instanceId = procInsId; // this.taskForm.executionId = this.$route.query && this.$route.query.executionId; // this.taskForm.instanceId = this.$route.query && this.$route.query.procInsId; // 初始化表单