From f7083c7ee717e2f17f988207de6623c7f17ba6b9 Mon Sep 17 00:00:00 2001 From: zty Date: Thu, 30 May 2024 17:31:06 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E4=B8=8A=E4=BC=A0=E8=AF=95=E9=A2=98?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/views/exam/testPaperCreate.vue | 60 ++++++++++++++++++----- 1 file changed, 49 insertions(+), 11 deletions(-) diff --git a/client/src/views/exam/testPaperCreate.vue b/client/src/views/exam/testPaperCreate.vue index f38cf8d..97e46b6 100644 --- a/client/src/views/exam/testPaperCreate.vue +++ b/client/src/views/exam/testPaperCreate.vue @@ -48,16 +48,43 @@
选择试题 - - 上传试题 - + 上传试题 + + + + + + + + + + + 上传试题 + + + +
+ 取消 + 确认 +
+

@@ -103,12 +130,16 @@ panduan_count: 0 }, upUrl: upUrl(), + impDialogVisible: false, fileList: [], + type_list:[], upHeaders: upHeaders(), submitLoding: false, impForm:{ - doc_path:'' + doc_path:'', + question_type:'', }, + rules: { name: [ { required: true, message: "名称不能为空", trigger: "blur" } @@ -136,8 +167,15 @@ getQuestioncat() { getQuestioncatList().then(response => { this.workscopeData = response.data.results; + this.type_list = response.data.results; }); }, + handleChoose1(){ + this.impDialogVisible = true; + }, + closeDg() { + this.chooseVisible = false; + }, handleUpSuccess(res, file, filelist) { let that =this; if (res.code == 201){