| | |
| | | this.a = 2 |
| | | this.pOID = row.userId |
| | | this.sex = row.sex |
| | | |
| | | this.getSex(); |
| | | |
| | | this.getAllIn() |
| | | alert(34) |
| | | const userId = row.userId || this.ids; |
| | | this.cuid= row.userId || this.ids; |
| | | alert(345) |
| | | let clanId = this.$store.state.user.clanId |
| | | this.allInfo2 = [] |
| | | //alert(this.form.sex) |
| | |
| | | //alert(this.fid) |
| | | let _this = this |
| | | getUser(userId).then(response => { |
| | | console.log(response.data) |
| | | console.log(response) |
| | | this.form = response.data; |
| | | |
| | | console.log(response.data,'formformformformform') |
| | | // console.log(_this.form.spouseId,'伴侣id') |
| | | this.postOptions = response.posts; |
| | |
| | | // if(response.roleIds.length!=0) |
| | | // this.rt = response.roleIds[0] |
| | | let _this = this |
| | | // alert(response.data.roles[0].roleName) |
| | | |
| | | if(response.data.role!=102) |
| | | { |
| | | return |
| | | } |
| | | getIndividual(userId).then(response => { |
| | | // alert(123) |
| | | |
| | | // console.log('++++++++-----0000((((((9999))))))') |
| | | console.log(response.data,'getIndividualgetIndividualgetIndividual') |
| | | if(response.data!=undefined) |
| | |
| | | fm.status = this.form.status |
| | | if(this.originRole==102 && fm.roleId==2) |
| | | { |
| | | this.originRole = undefined |
| | | this.$modal.msgSuccess("家庭用户不能修改为普通用户"); |
| | | return |
| | | } |