ltao 3 jaren geleden
bovenliggende
commit
9666c97d9c
2 gewijzigde bestanden met toevoegingen van 4 en 2 verwijderingen
  1. 1 1
      src/views/combatduty/Quantitative/index.vue
  2. 3 1
      src/views/regulations/fileinfo/index.vue

+ 1 - 1
src/views/combatduty/Quantitative/index.vue

@@ -221,7 +221,7 @@
           <tr v-for="item in performanceTask" :key="item.id">
             <td style="color:#ccc"  height="28">{{item.unitName}}</td>
             <td style="color:#ccc" >{{ item.commanderName }}</td>
-            <td style="color:#ccc" class="shiyou" :title="item.question" >{{item.question }}</td>
+            <td style="color:#ccc" class="shiyou" :title="item.question"  >{{item.question }}</td>
             <td style="color:#ccc" >{{ item.adress }}</td>
             <td style="color:#ccc" >{{ item.startTime }}</td>
             <td style="color:#ccc" >{{ item.endTime }}</td>

+ 3 - 1
src/views/regulations/fileinfo/index.vue

@@ -735,7 +735,7 @@ export default {
       //   this.parentId = "";
       //   return;
       // }
-      this.queryParams1.pageNum=1;
+      // this.queryParams1.pageNum=1;
       // 目录
       listDirectoryinfo({
         parentId: this.parentId,
@@ -744,11 +744,13 @@ export default {
       }).then((res) => {
         res.rows.forEach((item) => {
           if (item.subclassification == 0) {
+
             this.directory = res.rows;
             this.total1 = res.total;
             this.addbtn = false;
           } else {
             // this.addbtn = true;
+            this.queryParams1.pageNum=1;
             return;
           }
         });