From 2f519ead537a0b38019bbf64a6075cbb6e08f9b4 Mon Sep 17 00:00:00 2001 From: hyingbo <1363390067@qq.com> Date: 星期三, 09 七月 2025 13:53:01 +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