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) } }, {