| | |
| | | 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; |
| | | let clanId = this.$store.state.user.clanId |
| | | alert(clanId) |
| | | listFamily().then(response => { |
| | | this.roleList = response.data; |
| | | // this.total = response.total; |
| | | // 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; |
| | | } |
| | | ); |