From ff42d33cbb09f9a1dd978a837307684b5840c2e2 Mon Sep 17 00:00:00 2001 From: "YOHO\\20373" <2037305722@qq.com> Date: Fri, 13 Jun 2025 01:50:17 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=91=E8=AF=95?= =?UTF-8?q?=E5=8D=B7=E4=BB=BB=E5=8A=A1=EF=BC=8C=E4=BA=BA=E5=91=98=EF=BC=8C?= =?UTF-8?q?=E8=AF=95=E9=A2=98=E5=88=A0=E9=99=A4=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/paper/question/index.vue | 8 +++-- .../steps/step1/components/step-edit.vue | 4 +-- .../steps/step5/components/person-edit.vue | 9 ++++-- .../exam/components/steps/step5/index.vue | 29 ++++++++++++------- .../steps/step1/components/step-edit.vue | 6 ++-- .../steps/step5/components/person-edit.vue | 9 ++++-- .../components/steps/step5/index.vue | 29 ++++++++++++------- .../steps/step1/components/step-edit.vue | 6 ++-- .../steps/step5/components/person-edit.vue | 10 +++++-- .../module/components/steps/step5/index.vue | 29 ++++++++++++------- .../steps/step1/components/step-edit.vue | 6 ++-- .../steps/step5/components/person-edit.vue | 9 ++++-- .../random/components/steps/step5/index.vue | 29 ++++++++++++------- .../steps/step5/components/person-edit.vue | 9 ++++-- .../sprint/components/steps/step5/index.vue | 8 ++++- src/views/task/sprint/index.vue | 18 +++++++++--- .../steps/step1/components/step-edit.vue | 6 ++-- .../steps/step5/components/person-edit.vue | 9 ++++-- .../trans/components/steps/step5/index.vue | 11 +++++-- 19 files changed, 164 insertions(+), 80 deletions(-) diff --git a/src/views/paper/question/index.vue b/src/views/paper/question/index.vue index 003be3e..7635d34 100644 --- a/src/views/paper/question/index.vue +++ b/src/views/paper/question/index.vue @@ -809,8 +809,12 @@ const handleDelete = async (id: number) => { } ); // 发起删除 - await QuestionApi.removeQuestions(id) - message.success(t('common.delSuccess')) + const res = await QuestionApi.removeQuestions(id); + if(res=='删除成功'){ + message.success(res) + }else{ + message.error(res) + } // 刷新列表 await getList() } catch {} diff --git a/src/views/task/exam/components/steps/step1/components/step-edit.vue b/src/views/task/exam/components/steps/step1/components/step-edit.vue index 2b1e225..805c5f3 100644 --- a/src/views/task/exam/components/steps/step1/components/step-edit.vue +++ b/src/views/task/exam/components/steps/step1/components/step-edit.vue @@ -86,10 +86,10 @@ {{ availableCount }} - +