From 28e2cc84e2b5b816261a3dafe1b23f70469e11ec Mon Sep 17 00:00:00 2001 From: zty Date: Mon, 27 May 2024 14:10:36 +0800 Subject: [PATCH] =?UTF-8?q?fix=20:=20=E6=96=87=E4=BB=B6=E4=B8=8B=E8=BD=BD?= =?UTF-8?q?=E8=B7=AF=E5=BE=84=EF=BC=88=E6=80=BB=E9=83=A8=E6=96=87=E4=BB=B6?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/dist/index.html | 2 +- client/src/api/exam.js | 9 +++ client/src/views/consulting/deptFile.vue | 2 +- client/src/views/exam/index.vue | 38 +++++++++-- client/src/views/exam/questions.vue | 11 +++- client/src/views/exam/testPaperCreate.vue | 66 ++++++++++++++++++- .../informatiomCollect/qualityActive.vue | 3 +- 7 files changed, 115 insertions(+), 16 deletions(-) diff --git a/client/dist/index.html b/client/dist/index.html index 803ec8c..a83d5a2 100644 --- a/client/dist/index.html +++ b/client/dist/index.html @@ -1 +1 @@ -vue Admin Template
\ No newline at end of file +vue Admin Template
\ No newline at end of file diff --git a/client/src/api/exam.js b/client/src/api/exam.js index 5640707..903ddb3 100644 --- a/client/src/api/exam.js +++ b/client/src/api/exam.js @@ -117,6 +117,15 @@ export function createPaper(data) { data }) } + +//导入试卷 +export function UploadPaper(data) { + return request({ + url: `/exam/paper/upload_paper/`, + method: 'post', + data + }) +} //编辑试卷 export function updatePaper(id, data) { return request({ diff --git a/client/src/views/consulting/deptFile.vue b/client/src/views/consulting/deptFile.vue index a162377..ec6ae04 100644 --- a/client/src/views/consulting/deptFile.vue +++ b/client/src/views/consulting/deptFile.vue @@ -30,7 +30,7 @@