From a54e22610d7634d1b6c7e5ef4b83ccb3b7a6f56e Mon Sep 17 00:00:00 2001 From: "YOHO\\20373" <2037305722@qq.com> Date: Mon, 9 Jun 2025 10:31:14 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=91=E5=87=BA?= =?UTF-8?q?=E9=A2=98=E7=9F=A5=E8=AF=86=E7=82=B9=E5=8F=AF=E9=80=89=E6=8B=A9?= =?UTF-8?q?=EF=BC=8C=E6=95=B0=E6=8D=AE=E6=97=B6=E6=95=88=E6=80=A7,MYSQL?= =?UTF-8?q?=E5=88=A4=E5=88=86=E8=AF=AD=E5=8F=A5=E5=A2=9E=E5=8A=A0=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E6=9D=83=E5=80=BC=20=E3=80=90=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E3=80=91=E8=AF=95=E5=8D=B7=E4=BB=BB=E5=8A=A1=E5=8F=82=E6=95=B0?= =?UTF-8?q?=EF=BC=8C=E5=9C=A8=E5=B7=B2=E6=9C=89=E7=9A=84=E8=AF=95=E5=8D=B7?= =?UTF-8?q?=E6=8A=BD=E5=8D=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/paper/index.ts | 4 +- src/api/system/task/index.ts | 12 +- src/views/exam/points/index.vue | 3 - src/views/paper/question/BrowerForm.vue | 239 ++++++--- src/views/paper/question/FileForm.vue | 301 ++++++++--- src/views/paper/question/MysqlForm.vue | 240 +++++---- src/views/paper/question/index.vue | 98 +++- .../steps/step1/components/step-edit.vue | 8 +- .../steps/step2/components/step-add.vue | 489 ++++++++++++++---- .../steps/step2/components/step-edit.vue | 20 +- .../exam/components/steps/step2/index.vue | 15 +- .../exam/components/steps/step3/index.vue | 175 ++++--- .../steps/step5/components/person-edit.vue | 2 +- .../exam/components/steps/step5/index.vue | 10 +- .../steps/step1/components/step-edit.vue | 8 +- .../steps/step2/components/step-add.vue | 478 +++++++++++++---- .../components/steps/step2/index copy.vue | 211 -------- .../components/steps/step2/index.vue | 2 +- .../components/steps/step3/index.vue | 174 ++++--- .../steps/step5/components/person-edit.vue | 2 +- .../components/steps/step5/index.vue | 10 +- .../steps/step1/components/step-edit.vue | 8 +- .../steps/step2/components/step-add.vue | 478 +++++++++++++---- .../components/steps/step2/index copy.vue | 211 -------- .../module/components/steps/step2/index.vue | 2 +- .../module/components/steps/step3/index.vue | 404 +++++++-------- .../steps/step5/components/person-edit.vue | 3 +- .../module/components/steps/step5/index.vue | 10 +- .../steps/step1/components/step-edit.vue | 8 +- .../steps/step2/components/step-add.vue | 478 +++++++++++++---- .../components/steps/step2/index copy.vue | 211 -------- .../random/components/steps/step2/index.vue | 12 +- .../random/components/steps/step3/index.vue | 174 ++++--- .../steps/step5/components/person-edit.vue | 2 +- .../random/components/steps/step5/index.vue | 10 +- .../steps/step1/components/step-edit.vue | 10 +- .../steps/step2/components/step-add.vue | 489 ++++++++++++++---- .../steps/step2/components/step-edit.vue | 18 +- .../sprint/components/steps/step2/index.vue | 15 +- .../sprint/components/steps/step3/index.vue | 175 ++++--- .../steps/step5/components/person-edit.vue | 2 +- .../sprint/components/steps/step5/index.vue | 13 +- .../steps/step1/components/step-edit.vue | 8 +- .../steps/step2/components/step-add.vue | 489 ++++++++++++++---- .../steps/step2/components/step-edit.vue | 20 +- .../trans/components/steps/step2/index.vue | 15 +- .../trans/components/steps/step3/index.vue | 135 ++--- .../steps/step5/components/person-edit.vue | 2 +- .../trans/components/steps/step5/index.vue | 10 +- 49 files changed, 3727 insertions(+), 2186 deletions(-) delete mode 100644 src/views/task/selftrans/collegeexam/components/steps/step2/index copy.vue delete mode 100644 src/views/task/selftrans/module/components/steps/step2/index copy.vue delete mode 100644 src/views/task/selftrans/random/components/steps/step2/index copy.vue diff --git a/src/api/system/paper/index.ts b/src/api/system/paper/index.ts index 48b7d9b..7b8ad0c 100644 --- a/src/api/system/paper/index.ts +++ b/src/api/system/paper/index.ts @@ -29,7 +29,9 @@ export async function getPaper(id) { export async function addPaper(params) { return await request.get({ url: '/exam/paper/add' , params }) } - +export async function addPaperBypaper(data) { + return await request.post({ url: '/exam/paper/addPaperBypaper' , data }) +} /** * 修改试卷 */ diff --git a/src/api/system/task/index.ts b/src/api/system/task/index.ts index a0e29ad..0c2abe5 100644 --- a/src/api/system/task/index.ts +++ b/src/api/system/task/index.ts @@ -5,10 +5,18 @@ import request from '@/config/axios' */ export async function pageTasks(params) { return await request.get({ url: '/exam/task/list' , params }) - - } +export async function pageTaskPapers(params) { + return await request.get({ url: '/exam/task/listPaper' , params }) +} + + +export async function checkType(data) { + + return await request.post({ url: '/exam/task/checkType' , data }) + +} /** * 查询全部试卷任务 */ diff --git a/src/views/exam/points/index.vue b/src/views/exam/points/index.vue index 6b35c1d..db6fb12 100644 --- a/src/views/exam/points/index.vue +++ b/src/views/exam/points/index.vue @@ -68,7 +68,6 @@ link type="primary" @click="openForm('create', scope.row.id)" - v-hasPermi="['system:dept:update']" > 新增 @@ -76,7 +75,6 @@ link type="primary" @click="openForm('update', scope.row.id)" - v-hasPermi="['system:dept:update']" > 修改 @@ -84,7 +82,6 @@ link type="danger" @click="handleDelete(scope.row.id)" - v-hasPermi="['system:dept:delete']" > 删除 diff --git a/src/views/paper/question/BrowerForm.vue b/src/views/paper/question/BrowerForm.vue index 8aef3e0..93b87d2 100644 --- a/src/views/paper/question/BrowerForm.vue +++ b/src/views/paper/question/BrowerForm.vue @@ -1,6 +1,19 @@