diff --git a/components/company/company.vue b/components/company/company.vue index 5c5407a..3abf8cd 100644 --- a/components/company/company.vue +++ b/components/company/company.vue @@ -20,7 +20,7 @@ 区域: - {{company.province_name+company.city_name+company.area_name+company.street_name+company.address}} + {{company.address}} diff --git a/subpkg/archives/archives.vue b/subpkg/archives/archives.vue index 201b012..7afc748 100644 --- a/subpkg/archives/archives.vue +++ b/subpkg/archives/archives.vue @@ -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 @@ } } - + } } diff --git a/subpkg/personnelDetails/personnelDetails.vue b/subpkg/personnelDetails/personnelDetails.vue index 14dc03c..c5a1ce1 100644 --- a/subpkg/personnelDetails/personnelDetails.vue +++ b/subpkg/personnelDetails/personnelDetails.vue @@ -11,7 +11,7 @@ {{userInfo.name}} - {{userInfo.roles[0]}} + 身份证号:{{userInfo.id_card}}