From 85828485865b815c62b5c8dc076155b7c88c68ce Mon Sep 17 00:00:00 2001 From: zhouxy Date: Wed, 14 Jan 2026 14:33:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=97=E4=B8=A5=E4=BF=A1=E7=94=A8=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E5=8F=91=E8=B5=B7=E6=97=B6=E6=B7=BB=E5=8A=A0=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/credit/repair/Search.vue | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/src/views/credit/repair/Search.vue b/src/views/credit/repair/Search.vue index 9feac81..a4428a5 100644 --- a/src/views/credit/repair/Search.vue +++ b/src/views/credit/repair/Search.vue @@ -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