站内直转工单接入
This commit is contained in:
parent
be67818c7f
commit
1b312e054d
|
|
@ -227,8 +227,8 @@ onLoad(async (options) => {
|
|||
const urlParams = new URLSearchParams(origin)
|
||||
queryParams.value.taskId = urlParams.get('taskId')
|
||||
queryParams.value.id = urlParams.get('id')
|
||||
auditingParams.value.id = urlParams.get('id')
|
||||
auditingParams.value.taskId = urlParams.get('taskId')
|
||||
auditingParams.value.id = urlParams.get('taskId')
|
||||
auditingParams.value.taskId = urlParams.get('id')
|
||||
const ticketMatch = origin.match(/ticket=([^&]*)/)
|
||||
const ticket = ticketMatch ? ticketMatch[1] : ''
|
||||
|
||||
|
|
|
|||
|
|
@ -378,7 +378,8 @@ const handleReview = (action) => {
|
|||
if (currentIndex !== auditingList.value.length - 1) {
|
||||
auditingParams.value.nextNodeId =auditingList.value[currentIndex + 1].id
|
||||
}
|
||||
console.log("yyyyyyyyyyyyyyy",auditingParams.value)
|
||||
|
||||
uni.showLoading({ title: '提交中...', mask: true })
|
||||
const submitRes = await submitAuditingApi(auditingParams.value)
|
||||
console.log("zrrrrrrrrrrrrrrrrrr",submitRes)
|
||||
if (submitRes.code === 200) {
|
||||
|
|
@ -386,10 +387,12 @@ const handleReview = (action) => {
|
|||
title: '审核成功',
|
||||
icon: 'none',
|
||||
})
|
||||
uni.hideLoading()
|
||||
initPageData();
|
||||
// uni.navigateBack(); // 调接口成功后返回上一层页面
|
||||
}
|
||||
} else if (res.cancel) {
|
||||
uni.hideLoading()
|
||||
console.log('用户取消操作');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue