Browse Source

新增组件及页面

liuqiwen 4 years ago
parent
commit
2470a8d957
1 changed files with 6 additions and 2 deletions
  1. 6 2
      dgtis-ui/src/views/system/userInfoList/index.vue

+ 6 - 2
dgtis-ui/src/views/system/userInfoList/index.vue

@@ -98,7 +98,7 @@
       customerList: [],
       // 查询参数
       queryParams: {
-        pageNum: 1,
+        pageNum: 0,
         pageSize: 10
       },
     };
@@ -119,10 +119,14 @@
         that.$route.params
       )
       console.log(that.queryParams)
+      // let params = Object.assign({pageNum: that.queryParams.pageNum}, this.$route.query )
+      console.log(params)
+      // this.$router.push({params})
       if(that.queryParams.education){
         that.queryParams.education = that.queryParams.education.join("&");
       }
-      console.log(that.queryParams)
+
+      // console.log(this.$route.params)
         listCustomer(that.queryParams).then(response => {
             console.log(response);
           this.customerList = response.data.list;