From f2ce587e752798a2a454e0f029069b4e82a41bc8 Mon Sep 17 00:00:00 2001 From: lyh <925863403@qq.com> Date: 星期五, 27 六月 2025 17:36:52 +0800 Subject: [PATCH] 增加提交样式,新增批量处理dnc审签 --- src/views/flowable/workflow/FlowTodo.vue | 28 ++++++++++++++++++++++++---- 1 files changed, 24 insertions(+), 4 deletions(-) diff --git a/src/views/flowable/workflow/FlowTodo.vue b/src/views/flowable/workflow/FlowTodo.vue index 76b8b69..9a452fc 100644 --- a/src/views/flowable/workflow/FlowTodo.vue +++ b/src/views/flowable/workflow/FlowTodo.vue @@ -497,7 +497,7 @@ case 'ggApproval': this.handDispatchFileDetial(item) break - case 'standardized_approval': + case 'ncFileSettingProcessApproval': this.handStandardizedDetial(item) break case 'sbdjApproval': @@ -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 + }) + } + }) } }, @@ -588,20 +608,20 @@ let result = parts[0] return result }, - + //DNC-鎸囨淳NC绋嬪簭鑷宠澶� handDrDetial(item) { this.selectShenpiData = item this.$refs.modalFormApproval.clearTableSource() this.$refs.modalFormApproval.getAllApproveData(item) }, - + //DNC-NC绋嬪簭绛炬淳 handDispatchFileDetial(item) { console.log('item----->', item) this.selectDispatchFileXqData = item this.$refs.modalFormDispatchFileXq.clearTableSource() this.$refs.modalFormDispatchFileXq.getAllApproveData(item) }, - //瀹氬瀷瀹℃壒椤甸潰 + //DNC-瀹氬瀷瀹℃壒椤甸潰 handStandardizedDetial(item){ this.selectDispatchFileXqData = item this.$refs.StandardizedProcessHandle.clearTableSource() -- Gitblit v1.9.3