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

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,6 +213,13 @@ export default {
this.subloading = false this.subloading = false
return this.$message.error(Array.isArray(res.data) ? res.data[0].reason : res.data.reason) return this.$message.error(Array.isArray(res.data) ? res.data[0].reason : res.data.reason)
} }
//
this.$confirm('是否确认启动待办?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
// startRemTask
startRemTask({ illegallistids: illegallistid, type: 'credit' }).then(res => { startRemTask({ illegallistids: illegallistid, type: 'credit' }).then(res => {
this.subloading = false this.subloading = false
if (res.code === 0) { if (res.code === 0) {
@ -221,6 +228,11 @@ export default {
this.$message.error(res.msg) this.$message.error(res.msg)
} }
}) })
}).catch(() => {
//
this.subloading = false
this.$message.info('已取消启动待办')
})
} else { } else {
this.subloading = false this.subloading = false
this.$message.error('验证严重违法失信记录状态异常') this.$message.error('验证严重违法失信记录状态异常')