feige
2024-10-18 ed96edec7c6dfd4944d0ee1c6d924c7cb808428c
ruoyi-ui/src/views/system/user/profile/index.vue
@@ -238,7 +238,7 @@
                label: '保洁收纳',
                },
              {
                id: 2021,
                id: 2020,
                label: '通讯录',
              },
              { id:2033,
@@ -297,6 +297,7 @@
             }
           //  alert(data.authority)
            // let _this = this
         this.menuOptionsp[0]['children'] = []
             getUserByFidAid(data).then(response=>{
               console.log(response)
               let fams = response.data;
@@ -318,8 +319,10 @@
    upAuthority(){
      let checkedKeys = this.$refs.authr.getCheckedKeys();
      let peoKeys = this.$refs.peoInfo.getCheckedKeys();
     // console.log(peoKeys)
     console.log(peoKeys)
    //alert(this.fid)
     // alert(checkedKeys.length)
     // this.getDeptAllCheckedKeys()
     if(checkedKeys.length!=0&&peoKeys.length!=0)
     {
@@ -346,7 +349,8 @@
        "fid": this.fid,
        "authority": value
      }
      alert(data.authority)
       this.menuOptionsp[0]['children'] = []
     // alert(data.authority)
      let _this = this
      getUserByFidAid(data).then(response=>{
        console.log(response)
@@ -439,6 +443,8 @@
         return
    getAllInfo(clanId).then(response=>{
      let fams = response.data
    // console.log(fams)
   //  console.log("++++++++++++++++++++++++==")
      for(let i = 0; i < fams.length; i++)
        _this.menuOptions1[0]['children'].push({id:fams[i].userId,label:fams[i].nickName })
    })