From 8f115311af95cb2fe0d7bee2d8a97dcbc059a263 Mon Sep 17 00:00:00 2001 From: feige <791364011@qq.com> Date: 星期四, 22 八月 2024 10:59:03 +0800 Subject: [PATCH] 修改权限相关 --- ruoyi-ui/src/views/system/family/index.vue | 22 +++++++++++++--------- 1 files changed, 13 insertions(+), 9 deletions(-) diff --git a/ruoyi-ui/src/views/system/family/index.vue b/ruoyi-ui/src/views/system/family/index.vue index a362c8a..23e196b 100644 --- a/ruoyi-ui/src/views/system/family/index.vue +++ b/ruoyi-ui/src/views/system/family/index.vue @@ -2,9 +2,9 @@ <div class="app-container"> <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch"> - <el-form-item label="瀹跺涵鍚嶇О" prop="roleKey"> + <el-form-item label="瀹跺涵鍚嶇О" prop="name"> <el-input - v-model="queryParams.roleKey" + v-model="queryParams.name" placeholder="璇疯緭鍏ユ潈闄愬瓧绗�" clearable style="width: 240px" @@ -197,9 +197,8 @@ queryParams: { pageNum: 1, pageSize: 10, - roleName: undefined, - roleKey: undefined, - status: undefined + name: undefined, + clanId: undefined }, personInfos:[], personInfos1:[], @@ -268,7 +267,8 @@ }, getAllUser(){ - getAllInfo().then(response=>{ + let clanId = this.$store.state.user.clanId + getAllInfo(clanId).then(response=>{ let fams = response.data let _this = this; console.log(fams) @@ -286,9 +286,13 @@ /** 鏌ヨ瑙掕壊鍒楄〃 */ getList() { this.loading = true; - listFamily().then(response => { - this.roleList = response.data; - // this.total = response.total; + let clanId = this.$store.state.user.clanId + // alert(clanId) + this.queryParams.clanId = clanId; + listFamily(this.queryParams).then(response => { + console.log(response) + this.roleList = response.data.data; + this.total = response.data.total; this.loading = false; } ); -- Gitblit v1.9.1