From b9bbbc298193293ba72a505c20878edd31a590ad Mon Sep 17 00:00:00 2001 From: feige <791364011@qq.com> Date: 星期六, 31 八月 2024 21:37:13 +0800 Subject: [PATCH] 修改了家族管理员 --- ruoyi-ui/src/views/system/user/index.vue | 13 +++++++++---- 1 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ruoyi-ui/src/views/system/user/index.vue b/ruoyi-ui/src/views/system/user/index.vue index 26a2558..db0e228 100644 --- a/ruoyi-ui/src/views/system/user/index.vue +++ b/ruoyi-ui/src/views/system/user/index.vue @@ -547,7 +547,7 @@ if(value != undefined){ this.sex = value } - alert(this.sex) + // alert(this.sex) const tpfid = this.pOID let clanId = this.$store.state.user.clanId // 鏂板a=1,淇敼a=2 @@ -679,7 +679,7 @@ else{ let clanId = this.$store.state.user.clanId this.allInfo2 = [] - alert(this.form.sex) + //alert(this.form.sex) addPO(this.form.sex, clanId).then(response =>{ for(let i in response.data[0]){ this.allInfo2.push({'nickName':response.data[0][i],'userId': parseInt(i)}) @@ -688,6 +688,7 @@ }) if(this.form.isMyFamily=="0") this.isshowMri = true + this.getAllIn() } }, getAllIn(){ @@ -696,6 +697,8 @@ console.log(response) console.log('-------00000000000000000-----------') this.allInfo = response.data; + this.fathorInfo = [] + this.motherInfo = [] console.log(response.data,'allInfoallInfoallInfoallInfo') for(var i = 0; i < this.allInfo.length; i++) { @@ -706,8 +709,10 @@ this.motherInfo.push(this.allInfo[i]) } // alert(98) - //console.log(this.fathorInfo) - //console.log('----sdfdsfds') + console.log(this.fathorInfo) + console.log('----sdfdsfds') + + console.log(this.motherInfo) }) }, getRole(value){ -- Gitblit v1.9.1