列严信用修复发起时添加提示框

This commit is contained in:
zhouxy 2026-01-14 14:33:15 +08:00
parent 11171868f7
commit 8582848586
1 changed files with 18 additions and 6 deletions

View File

@ -213,13 +213,25 @@ export default {
this.subloading = false
return this.$message.error(Array.isArray(res.data) ? res.data[0].reason : res.data.reason)
}
startRemTask({ illegallistids: illegallistid, type: 'credit' }).then(res => {
//
this.$confirm('是否确认启动待办?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
// startRemTask
startRemTask({ illegallistids: illegallistid, type: 'credit' }).then(res => {
this.subloading = false
if (res.code === 0) {
this.$router.push({ path: '/credit/repair/accept', query: { tasklistid: res.data.tasklistid, bizseq: res.data.bizSeq, workflowId: res.data.workflowId }})
} else {
this.$message.error(res.msg)
}
})
}).catch(() => {
//
this.subloading = false
if (res.code === 0) {
this.$router.push({ path: '/credit/repair/accept', query: { tasklistid: res.data.tasklistid, bizseq: res.data.bizSeq, workflowId: res.data.workflowId }})
} else {
this.$message.error(res.msg)
}
this.$message.info('已取消启动待办')
})
} else {
this.subloading = false