| | |
| | | queryParams: { |
| | | pageNum: 1, |
| | | pageSize: 10, |
| | | roleName: undefined, |
| | | roleKey: undefined, |
| | | status: undefined |
| | | name: undefined, |
| | | clanId: undefined |
| | | }, |
| | | personInfos:[], |
| | | personInfos1:[], |
| | |
| | | id: undefined, |
| | | name: undefined, |
| | | mid: undefined, |
| | | fid: undefined |
| | | fid: undefined, |
| | | clanId: undefined |
| | | }, |
| | | defaultProps: { |
| | | children: "children", |
| | |
| | | methods: { |
| | | chongf(){ |
| | | //alert(2) |
| | | let clanId = this.$store.state.user.clanId |
| | | if(this.form.name!=""){ |
| | | findByFname(this.form.name).then(response => { |
| | | findByFname(this.form.name, clanId).then(response => { |
| | | console.log(response.data) |
| | | // alert(response.data!=null) |
| | | if(response.data!=null) |
| | |
| | | |
| | | }, |
| | | 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) |
| | | //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; |
| | | } |
| | | ); |
| | |
| | | /** 提交按钮 */ |
| | | submitForm: function() { |
| | | let _this = this |
| | | let clanId = this.$store.state.user.clanId |
| | | this.form.clanId = clanId |
| | | this.$refs["form"].validate(valid => { |
| | | if (valid) { |
| | | // alert(this.form.id) |