linwenxin 1 vuosi sitten
vanhempi
commit
2194594a69

+ 9 - 1
src/views/setting/account/index.vue

@@ -284,7 +284,15 @@ export default {
         status: this.screenForm.status,
         userName: this.screenForm.keyword,
         pageNum: this.currentPage,
-        pageSize: this.pageSize
+        pageSize: this.pageSize,
+        ...(()=>{
+          if(this.$route.query.companyWechatId){
+            return {
+              companyWechatId: this.$route.query.companyWechatId
+            }
+          }
+          return {}
+        })(),
       };
 
       getAccountList(params).then(res => {

+ 2 - 2
src/views/setting/organizationManagement/tenantManagement/index.vue

@@ -179,11 +179,11 @@ export default {
       })
     },
 
-    toAccountList() {
+    toAccountList(data) {
       this.$router.push({
         name:"account",
         query: {
-          type: 1
+          companyWechatId:data.companyWechatId
         }
       })
     },