feige
2024-08-31 b9bbbc298193293ba72a505c20878edd31a590ad
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){