浏览代码

新增组件及页面

liuqiwen 4 年之前
父节点
当前提交
f905bd1159
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 2 2
      dgtis-ui/src/views/index.vue
  2. 1 1
      dgtis-ui/src/views/system/userInfoList/index.vue

+ 2 - 2
dgtis-ui/src/views/index.vue

@@ -452,8 +452,8 @@
       toUserInfoList(){
         var that = this;
         console.log(that.conditionData)
-        // this.$router.push({ path:'/userInfoList',query:that.conditionData})
-        this.$router.push({ name:'UserInfoList',params:that.conditionData},)
+        this.$router.push({ path:'/userInfoList',query:that.conditionData})
+        // this.$router.push({ name:'UserInfoList',params:that.conditionData},)
       },
         // 客户年龄段性别分布
         getAgeSexDis(){

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

@@ -208,7 +208,7 @@
     getList() {
       let that = this;
       that.loading = true;
-      that.params = that.$route.params;
+      that.params = that.$route.query;
       console.log(that.$route.params)
       var newQueryParams = {...that.queryParams,...that.params};