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 @@ > 删除 + + + 审核 + +