From 318ea936d9c8b5867c0e90e6e6fa346e6db17bbe Mon Sep 17 00:00:00 2001 From: dx <1242347652@qq.com> Date: Thu, 20 Feb 2025 10:41:06 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E5=AE=A1=E6=A0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/user/examineform.vue | 9 ++++++--- src/views/task/index.vue | 11 +++++++++++ 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/src/views/system/user/examineform.vue b/src/views/system/user/examineform.vue index 8167aa5..0941505 100644 --- a/src/views/system/user/examineform.vue +++ b/src/views/system/user/examineform.vue @@ -46,11 +46,14 @@ function open(param) { function submit(type) { form.value.audit = type; - UserApi.examineUser(form.value).then((res) => { - proxy.$modal.msgSuccess("审批成功"); + try { + UserApi.examineUser(form.value).then((res) => { emits("success"); - show.value = false; }); + + } finally { + show.value = false + } } defineExpose({ open }); diff --git a/src/views/task/index.vue b/src/views/task/index.vue index dfcd32d..edae37f 100644 --- a/src/views/task/index.vue +++ b/src/views/task/index.vue @@ -187,6 +187,17 @@ > 删除 + + + 审核 + +