|
|
|
@ -20,12 +20,16 @@ |
|
|
|
<view class="btn"></view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="bottom"> |
|
|
|
<view class="title">部门</view> |
|
|
|
<view class="title">{{userInfo.department_name_str}}</view> |
|
|
|
<view class="bottom" v-for="(v,k) in userInfo.cameus_dept_arr"> |
|
|
|
<view class="left"> |
|
|
|
<view class="title">校区:</view> |
|
|
|
<view class="title">{{v.campus_id_name}}</view> |
|
|
|
</view> |
|
|
|
<view class="division"></view> |
|
|
|
<view class="title">等级</view> |
|
|
|
<view class="title">S5</view> |
|
|
|
<view class="right"> |
|
|
|
<view class="title">部门:</view> |
|
|
|
<view class="title dept">{{v.dept_name_str}}</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
@ -84,10 +88,10 @@ |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="section_box"> |
|
|
|
<view class="item" @click="openViewFeedback()"> |
|
|
|
<view>意见反馈</view> |
|
|
|
<view></view> |
|
|
|
</view> |
|
|
|
<!-- <view class="item" @click="openViewFeedback()">--> |
|
|
|
<!-- <view>意见反馈</view>--> |
|
|
|
<!-- <view></view>--> |
|
|
|
<!-- </view>--> |
|
|
|
|
|
|
|
<view class="item" @click="openViewSetUp()"> |
|
|
|
<view>设置</view> |
|
|
|
@ -165,7 +169,21 @@ export default { |
|
|
|
}) |
|
|
|
return |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
res.data.cameus_dept_arr.forEach((v,k)=>{ |
|
|
|
console.log(111111,v) |
|
|
|
let d_arr = [] |
|
|
|
v.dept_arr.forEach((dv,dk)=>{ |
|
|
|
d_arr.push(dv.dept_name) |
|
|
|
}) |
|
|
|
//数组转字符串 |
|
|
|
v.dept_name_str = d_arr.join(',') |
|
|
|
}) |
|
|
|
|
|
|
|
this.userInfo = res.data |
|
|
|
console.log('限定',this.userInfo) |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
@ -275,7 +293,7 @@ export default { |
|
|
|
//用户信息 |
|
|
|
.user_section { |
|
|
|
background-color: #29D3B4; |
|
|
|
padding-top: 58rpx; |
|
|
|
padding-top: 10rpx; |
|
|
|
padding-bottom: 42rpx; |
|
|
|
color: #fff; |
|
|
|
font-size: 28rpx; |
|
|
|
@ -314,15 +332,27 @@ export default { |
|
|
|
padding: 0rpx 40rpx; |
|
|
|
display: flex; |
|
|
|
justify-content: space-between; |
|
|
|
align-items: center; |
|
|
|
align-items: flex-start; |
|
|
|
.title{ |
|
|
|
font-size: 28rpx; |
|
|
|
} |
|
|
|
//分割线段 |
|
|
|
.division{ |
|
|
|
width: 2px; |
|
|
|
height: 35rpx; |
|
|
|
background-color: #fff; |
|
|
|
} |
|
|
|
.left{ |
|
|
|
width: 48%; |
|
|
|
display: flex; |
|
|
|
} |
|
|
|
.right{ |
|
|
|
width: 48%; |
|
|
|
display: flex; |
|
|
|
.dept{ |
|
|
|
width: 70%; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|