From beb5a49a703670317ae45dcb4919b05e104a63b0 Mon Sep 17 00:00:00 2001 From: Houjie <714924425@qq.com> Date: 星期四, 24 七月 2025 16:32:03 +0800 Subject: [PATCH] 刀具盘点-选择刀具-查询条件 无效 处理 --- src/views/flowable/workflow/FlowTodo.vue | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/src/views/flowable/workflow/FlowTodo.vue b/src/views/flowable/workflow/FlowTodo.vue index e70779b..9a452fc 100644 --- a/src/views/flowable/workflow/FlowTodo.vue +++ b/src/views/flowable/workflow/FlowTodo.vue @@ -580,6 +580,26 @@ } else if (categorySet.has('WEEK_MAINTENANCE')) { this.$refs.weenMaintenanceBatchApprovalModalRef.handleDetail(this.selectionRows[0]) this.$refs.weenMaintenanceBatchApprovalModalRef.title = this.selectionRows[0].name + }else if (categorySet.has('ggApproval')){ + let ids = '' + for (let a = 0; a < this.selectedRowKeys.length; a++) { + ids += this.selectedRowKeys[a] + ',' + } + getAction(this.url.isSameNode + '?taskIds=' + ids).then((res) => { + if (res.success) { + let taskDefKey = res.result + this.selectBachData.taskIds = ids + this.selectBachData.taskDefKey = taskDefKey + this.$refs.modalFormDispatchFileBatch.title = '鎵归噺澶勭悊' + this.$refs.modalFormDispatchFileBatch.edit(this.selectBachData) + this.$refs.modalFormDispatchFileBatch.disableSubmit = false + } else { + this.$notification.warning({ + message: '娑堟伅', + description: res.message + }) + } + }) } }, -- Gitblit v1.9.3