فهرست منبع

提交题库5

weiwenhai 6 سال پیش
والد
کامیت
93dabd0cb3
2فایلهای تغییر یافته به همراه2 افزوده شده و 4 حذف شده
  1. 1 2
      src/modules/questions/views/BluePaperStructure.vue
  2. 1 2
      src/modules/questions/views/PaperStructure.vue

+ 1 - 2
src/modules/questions/views/BluePaperStructure.vue

@@ -203,8 +203,7 @@ export default {
       var pageNo = Number(this.currentPage);
       this.currentPage = 1;
       this.loading = true;
-      var url =
-        QUESTION_API + "/paperStruct/" + this.currentPage + "/" + this.pageSize;
+      var url = QUESTION_API + "/paperStruct/" + pageNo + "/" + this.pageSize;
       this.$http.get(url, { params: this.formSearch }).then(response => {
         this.tableData = response.data.content;
         this.total = response.data.totalElements;

+ 1 - 2
src/modules/questions/views/PaperStructure.vue

@@ -212,8 +212,7 @@ export default {
       var pageNo = Number(this.currentPage);
       this.currentPage = 1;
       this.loading = true;
-      var url =
-        QUESTION_API + "/paperStruct/" + this.currentPage + "/" + this.pageSize;
+      var url = QUESTION_API + "/paperStruct/" + pageNo + "/" + this.pageSize;
       this.$http.get(url, { params: this.formSearch }).then(response => {
         this.tableData = response.data.content;
         this.total = response.data.totalElements;