| | |
| | | <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" |
| | |
| | | queryParams: { |
| | | pageNum: 1, |
| | | pageSize: 10, |
| | | roleName: undefined, |
| | | roleKey: undefined, |
| | | status: undefined |
| | | name: undefined, |
| | | clanId: undefined |
| | | }, |
| | | personInfos:[], |
| | | personInfos1:[], |
| | |
| | | |
| | | }, |
| | | 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) |
| | |
| | | /** 查询角色列表 */ |
| | | 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; |
| | | } |
| | | ); |