Преглед изворни кода

fix:前线人员排行查询参数更改

刘恒 пре 1 година
родитељ
комит
978bb2ec5e
2 измењених фајлова са 5 додато и 0 уклоњено
  1. 1 0
      src/pages/personnelManage/front/personnel.vue
  2. 4 0
      src/pages/task/channel.vue

+ 1 - 0
src/pages/personnelManage/front/personnel.vue

@@ -340,6 +340,7 @@ export default {
           ...this.rankForm,
           orderSort: this.orderSort,
           managementSource: 2,
+          ...this.formState,
         })
         .then((res) => {
           // console.log(res);

+ 4 - 0
src/pages/task/channel.vue

@@ -580,6 +580,10 @@ export default {
               defaultPageSize: res.data.data.size,
               total: res.data.data.total,
             };
+          } else {
+            this.loading = false;
+            this.tableList = [];
+            this.pagination.total = 0;
           }
         });
     },