From 4b4c2e15116eade6bcb7ce29f5fe78ab8e364cc1 Mon Sep 17 00:00:00 2001 From: zhujiyan <17812234322@163.com> Date: Mon, 3 Jun 2024 10:49:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=81=E7=A8=8B=E5=AE=A1=E6=A0=B8=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/bpm/processInstance/detail/index.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/system/bpm/processInstance/detail/index.vue b/src/views/system/bpm/processInstance/detail/index.vue index 4fe4450c..54354fcb 100644 --- a/src/views/system/bpm/processInstance/detail/index.vue +++ b/src/views/system/bpm/processInstance/detail/index.vue @@ -4,6 +4,7 @@ + {{runningTasks.length}} { historyInstanceIdList.value.push(id) // if (historyInstanceIdList.value && historyInstanceIdList.value.length != 0) { //轮询 + console.log(historyInstanceIdList.value.length,"77778899999"); await historyInstanceIdList.value?.map((item: any, index: any) => { getTaskListByProcessInstanceId(item).then(res => { res.data.map(vv => { @@ -451,9 +453,8 @@ watch( return sortYMDHMS(b.createTime) - sortYMDHMS(a.createTime) } }) - let newList=[] // 获得需要自己审批的任务 - loadRunningTask(newList) + loadRunningTask(list) } }, {