流程审核详情修改
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
<!--返回按钮-->
|
||||
<back-component style="margin: 8px; position: absolute; z-index: 10; top: -3px; right: 2px" />
|
||||
<el-tabs type="border-card" v-model="tab" @tab-click="handleClickTab">
|
||||
{{runningTasks.length}}
|
||||
<el-tab-pane label="流程审核" name="流程审核" v-if="runningTasks.length > 0">
|
||||
<el-card
|
||||
v-for="(item, index) in runningTasks"
|
||||
@@ -346,6 +347,7 @@ const getTaskList = async () => {
|
||||
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)
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user