From d42e477b9d8f0e1dc80af3a90292440db22b4aec Mon Sep 17 00:00:00 2001 From: "962704835@qq.com" Date: Fri, 21 Nov 2025 21:38:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=9D=E7=95=99=E5=AD=A6=E7=B1=8D=E7=94=B3?= =?UTF-8?q?=E8=AF=B7=E8=A1=A8=E5=8D=95=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/flowable/task/todo/detail/index.vue | 11 +++++------ src/views/routine/enlistmentReserve/index.vue | 2 +- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/views/flowable/task/todo/detail/index.vue b/src/views/flowable/task/todo/detail/index.vue index 0b078e9..9784171 100644 --- a/src/views/flowable/task/todo/detail/index.vue +++ b/src/views/flowable/task/todo/detail/index.vue @@ -1159,13 +1159,12 @@ export default { if (this.category == 'enlistmentReserve') { + this.form.enlistmentReserveApprovalList.push({nodeName: "学生申请"}) // 过滤returnTaskList,保留documentation在flowRecordList的taskName中存在的项 this.returnTaskList = this.returnTaskList.filter(returnTask => { // 检查flowRecordList中是否有项的taskName等于当前returnTask的documentation - return this.flowRecordList.some(record => record.taskName === returnTask.documentation) + return this.form.enlistmentReserveApprovalList.some(record => record.nodeName === returnTask.documentation) }) - console.log(this.flowRecordList); - } this.initApproval() }) @@ -1180,9 +1179,9 @@ export default { if (element.id == this.taskForm.targetKey) { this.taskForm.variables.targetNodeName = element.documentation } - }); - } - + }) + } + this.$refs['taskForm'].validate((valid) => { if (valid) { returnTask(this.taskForm).then((res) => { diff --git a/src/views/routine/enlistmentReserve/index.vue b/src/views/routine/enlistmentReserve/index.vue index 40b154f..5e55112 100644 --- a/src/views/routine/enlistmentReserve/index.vue +++ b/src/views/routine/enlistmentReserve/index.vue @@ -126,7 +126,7 @@ v-hasPermi="['routine:enlistmentReserve:edit']" v-if="scope.row.applyStatus == 0">修改 删除 - 详情