Forráskód Böngészése

新增组件及页面

liuqiwen 4 éve
szülő
commit
f905bd1159

+ 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};