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){