weiwenhai 6 лет назад
Родитель
Сommit
2b8bb311df

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

@@ -201,6 +201,7 @@ export default {
     //查询所有
     searchAll() {
       var pageNo = Number(this.currentPage);
+      this.currentPage = 1;
       this.loading = true;
       var url =
         QUESTION_API + "/paperStruct/" + this.currentPage + "/" + this.pageSize;

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

@@ -96,7 +96,7 @@
         @selection-change="selectionChange"
       >
         <el-table-column type="selection" width="35"></el-table-column>
-        <el-table-column label="预设精确结构名称" width="190">
+        <el-table-column label="预设精确结构名称">
           <template slot-scope="scope">
             <span>{{ scope.row.name }}</span>
           </template>
@@ -210,6 +210,7 @@ export default {
     },
     searchPaperStructs() {
       var pageNo = Number(this.currentPage);
+      this.currentPage = 1;
       this.loading = true;
       var url =
         QUESTION_API + "/paperStruct/" + this.currentPage + "/" + this.pageSize;

+ 0 - 1
src/modules/questions/views/Question.vue

@@ -715,7 +715,6 @@ export default {
           firstPropertyId: "",
           secondPropertyId: ""
         };
-        this.currentPage = 1;
       }
       this.searchQues();
     }