This commit is contained in:
shengchanzhe 2023-08-02 09:59:38 +08:00
parent a9e8bc72f1
commit 936c1c04e9
3 changed files with 6 additions and 3 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

@ -59,6 +59,7 @@
export default {
data() {
return {
user_id:0,
list: [],
loadConfig: {
page: 1,
@ -71,6 +72,7 @@
}
},
onLoad(options) {
this.user_id=options.id
console.log(options);
},
onShow() {
@ -101,7 +103,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) {

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">{{userInfo.roles[0]}}</view>
<!-- <view class="role">{{userInfo.roles[0]}}</view> -->
</view>
<view class="id_card">
身份证号:{{userInfo.id_card}}