dedsudiyu 8 kuukautta sitten
vanhempi
commit
afc78093fd

+ 1 - 1
src/views/safetyEducationExam/safeLearning/el_course/edit.vue

@@ -823,7 +823,7 @@
       },
       //获取题目分类
       getList_option() {
-        examElClassifyQueryOption({}).then(response => {
+        examElClassifyQueryOption({pageSize:-1}).then(response => {
           this.optionList = response.data.records
         })
       },

+ 1 - 1
src/views/safetyEducationExam/securityExam/exam/addExamPage.vue

@@ -798,7 +798,7 @@ export default {
     },
     /** 查询题目分类 */
     getClassifys(){
-      examElClassifyQueryOption({}).then(response => {
+      examElClassifyQueryOption({pageSize:-1}).then(response => {
         for(let i=0;i<response.data.records.length;i++){
           response.data.records[i].classifyId = response.data.records[i].id;
         }

+ 1 - 1
src/views/safetyEducationExam/securityExam/myExercise/index.vue

@@ -67,7 +67,7 @@
       },
       //获取选项列表
       getQueryOption(){
-        examElClassifyQueryOption({}).then( res => {
+        examElClassifyQueryOption({pageSize:-1}).then( res => {
           this.checkList =  res.data.records;
         });
       },

+ 1 - 1
src/views/safetyEducationExam/securityExam/qu/addTopic.vue

@@ -323,7 +323,7 @@ export default {
     },
     /** 查询题目分类 */
     getClassifys(){
-      examElClassifyQueryOption({}).then(response => {
+      examElClassifyQueryOption({pageSize:-1}).then(response => {
         this.classifys = response.data.records;
       });
     },

+ 1 - 1
src/views/safetyEducationExam/securityExam/qu/index.vue

@@ -285,7 +285,7 @@ export default {
       this.pageType = 0;
     },
     getList_option(){
-      examElClassifyQueryOption({}).then(response => {
+      examElClassifyQueryOption({pageSize:-1}).then(response => {
         this.optionList = response.data.records;
       });
     },