From 2d881714a7b35ec6208946a06243c9db6690aff7 Mon Sep 17 00:00:00 2001
From: feige <791364011@qq.com>
Date: 星期六, 23 十一月 2024 15:26:47 +0800
Subject: [PATCH] 修改性别

---
 ruoyi-ui/src/views/system/user/profile/index.vue |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/ruoyi-ui/src/views/system/user/profile/index.vue b/ruoyi-ui/src/views/system/user/profile/index.vue
index 1f10f90..f728a33 100644
--- a/ruoyi-ui/src/views/system/user/profile/index.vue
+++ b/ruoyi-ui/src/views/system/user/profile/index.vue
@@ -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,12 @@
     upAuthority(){
       let checkedKeys = this.$refs.authr.getCheckedKeys();
       let peoKeys = this.$refs.peoInfo.getCheckedKeys();
-     // console.log(peoKeys)
+     console.log(peoKeys)
+     console.log(checkedKeys)
+	 
+	 //alert(this.fid)
      // alert(checkedKeys.length)
+	
      // this.getDeptAllCheckedKeys()
      if(checkedKeys.length!=0&&peoKeys.length!=0)
      {
@@ -346,7 +351,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 +445,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 })
     })

--
Gitblit v1.9.1