# Conflicts:
#	subpkg/personnelDetails/personnelDetails.vue
This commit is contained in:
weipengfei 2023-08-02 10:04:26 +08:00
commit 583450a39a
3 changed files with 18 additions and 15 deletions

View File

@ -20,7 +20,7 @@
<uni-icons type="location"></uni-icons>
<view class="location">区域:</view>
</view>
<view style="flex: 1;">{{company.province_name+company.city_name+company.area_name+company.street_name+company.address}}</view>
<view style="flex: 1;">{{company.address}}</view>
</view>
</view>
</block>

View File

@ -47,6 +47,7 @@
export default {
data() {
return {
user_id: 0,
list: [],
loadConfig: {
page: 1,
@ -59,6 +60,7 @@
}
},
onLoad(options) {
this.user_id = options.id
console.log(options);
},
onShow() {
@ -92,7 +94,8 @@
this.loadConfig.status = "loading"
let res = await informationList({
page: this.loadConfig.page,
limit: this.loadConfig.limit
limit: this.loadConfig.limit,
user_id: that.user_id
})
this.loadConfig.status = "loadmore"
if (res.data.length < this.loadConfig.limit) {
@ -146,42 +149,42 @@
justify-content: space-between;
align-items: center;
width: 100%;
.avatar {
width: 88rpx;
height: 88rpx;
border-radius: 50%;
margin-right: 18rpx;
}
.u_avatar {
margin-right: 18rpx;
}
.text {
display: flex;
justify-content: space-around;
flex-direction: column;
height: 100%;
.name {
font-size: 32rpx;
font-weight: 500;
color: #333333;
}
.mobile {
color: #999999;
font-size: 28rpx;
}
}
.right {
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
.top,
.bottom {
width: 158rpx;
@ -195,7 +198,7 @@
align-items: center;
justify-content: center;
}
.bottom {
border: 2rpx solid #F9AA32;
color: #F9AA32;
@ -203,13 +206,13 @@
}
}
}
.bottom {
display: flex;
justify-content: left;
align-items: center;
margin-top: 20rpx;
.circle {
width: 11rpx;
height: 11rpx;
@ -218,7 +221,7 @@
margin-right: 10rpx;
border-radius: 50%;
}
.green {
font-weight: 400;
color: #34A853;
@ -228,7 +231,7 @@
}
}
}
}

View File

@ -11,7 +11,7 @@
<view class="basic_name">
<view class="name">{{userInfo.name}}</view>
<image class="icon" :src="userInfo.sex==1?'../../static/icons/man.png':'../../static/icons/woman.png'"></image>
<view class="role" v-if="userInfo.roles">{{userInfo.roles[0]}}</view>
<!-- <view class="role" v-if="userInfo.roles">{{userInfo.roles[0]}}</view> -->
</view>
<view class="id_card">
身份证号:{{userInfo.id_card}}