更新
This commit is contained in:
parent
a9e8bc72f1
commit
936c1c04e9
@ -20,7 +20,7 @@
|
|||||||
<uni-icons type="location"></uni-icons>
|
<uni-icons type="location"></uni-icons>
|
||||||
<view class="location">区域:</view>
|
<view class="location">区域:</view>
|
||||||
</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>
|
||||||
</view>
|
</view>
|
||||||
</block>
|
</block>
|
||||||
|
@ -59,6 +59,7 @@
|
|||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
user_id:0,
|
||||||
list: [],
|
list: [],
|
||||||
loadConfig: {
|
loadConfig: {
|
||||||
page: 1,
|
page: 1,
|
||||||
@ -71,6 +72,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad(options) {
|
onLoad(options) {
|
||||||
|
this.user_id=options.id
|
||||||
console.log(options);
|
console.log(options);
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
@ -101,7 +103,8 @@
|
|||||||
this.loadConfig.status = "loading"
|
this.loadConfig.status = "loading"
|
||||||
let res = await informationList({
|
let res = await informationList({
|
||||||
page: this.loadConfig.page,
|
page: this.loadConfig.page,
|
||||||
limit: this.loadConfig.limit
|
limit: this.loadConfig.limit,
|
||||||
|
user_id:that.user_id
|
||||||
})
|
})
|
||||||
this.loadConfig.status = "loadmore"
|
this.loadConfig.status = "loadmore"
|
||||||
if (res.data.length < this.loadConfig.limit) {
|
if (res.data.length < this.loadConfig.limit) {
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
<view class="basic_name">
|
<view class="basic_name">
|
||||||
<view class="name">{{userInfo.name}}</view>
|
<view class="name">{{userInfo.name}}</view>
|
||||||
<image class="icon" :src="userInfo.sex==1?'../../static/icons/man.png':'../../static/icons/woman.png'"></image>
|
<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>
|
||||||
<view class="id_card">
|
<view class="id_card">
|
||||||
身份证号:{{userInfo.id_card}}
|
身份证号:{{userInfo.id_card}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user