直转增加任务类型

This commit is contained in:
syruan 2025-06-27 16:37:45 +08:00
parent 5ea3c5211c
commit f90bc471ee
1 changed files with 6 additions and 1 deletions

View File

@ -357,6 +357,8 @@ export default {
this.auditingParams.nextNodeId = this.auditingList[currentIndex + 1].id
}
this.auditingParams.taskTypeId = 16
const res = await submitAuditingApi(this.auditingParams)
if (res.code === 200) {
@ -366,6 +368,8 @@ export default {
// this.$tab.closeOpenPage(obj)
this.$tab.closePage()
}, 500)
} else {
this.$modal.msgError(res.message);
}
// const params = {
// flowId: this.flowId,
@ -431,7 +435,8 @@ export default {
},
//
async getLeaseTaskDetailFun(taskId) {
const result = await getAuditingDetailsApi({ taskId })
const taskType = 16
const result = await getAuditingDetailsApi({ taskId, taskType })
console.log('result', result)
this.auditingList = result.rows
}