Houjie
2025-07-24 964faa1077a89713910063c39ebe08fac4e4c56e
pages/user/people.vue
@@ -13,7 +13,10 @@
            <view class="text-xl text-orange">{{personalList.username}}</view>
           <view class="margin-top-sm"><text class="cuIcon-people"></text> 用户</view>
          </view>
          <view class="flex flex-sub flex-direction animation-slide-top" :style="[{animationDelay: '0.2s'}]">
            <view class="text-xl text-blue">{{personalList.workNo?personalList.workNo:'工号'}}</view>
            <view class="margin-top-sm"><text class="cuIcon-activity"></text> 工号</view>
          </view>
          <view class="flex flex-sub flex-direction animation-slide-top" :style="[{animationDelay: '0.2s'}]">
            <view class="text-xl text-green">{{personalList.post?personalList.post:'员工'}}</view>
            <view class="margin-top-sm"><text class="cuIcon-news"></text> 职务</view>
@@ -74,7 +77,8 @@
              avatar:'',
              realname:'',
              username:'',
              post:''
              post:'',
              workNo:''
            },
              positionUrl:'/sys/position/list',
              departUrl:'/sys/user/userDepartList',
@@ -124,7 +128,7 @@
                  
                    // let avatar=(perArr.avatar && perArr.avatar.length > 0)? api.getFileAccessHttpUrl(perArr.avatar):'/static/avatar_boy.png'
                  this.personalList.avatar =res.data.result.avatar
                  this.personalList.workNo =res.data.result.workNo
                  // this.personalList.realname = perArr.realname
                  this.personalList.username = res.data.result.realname
                  // this.personalList.depart = perArr.departIds