Browse Source

修改对接数据

master
主管理员 2 months ago
parent
commit
32514cbd6a
5 changed files with 51 additions and 22 deletions
  1. +3
    -0
      pages.json
  2. +3
    -3
      pages/index/center.vue
  3. +16
    -2
      pages_order/mine/MemberRecharge.vue
  4. +14
    -8
      pages_order/work/bossDetail.vue
  5. +15
    -9
      pages_order/work/workDetail.vue

+ 3
- 0
pages.json View File

@ -55,6 +55,9 @@
{ {
"path": "work/workDetail" "path": "work/workDetail"
}, },
{
"path": "work/bossDetail"
},
{ {
"path": "mine/collect", "path": "mine/collect",
"style": { "style": {


+ 3
- 3
pages/index/center.vue View File

@ -18,9 +18,9 @@
<view class="tips"> <view class="tips">
手机号{{phone}} 手机号{{phone}}
</view> </view>
<!-- <view>
湖南瀚海黎明信息科技有限公司 * HR
</view> -->
<view>
{{numInfo.vipType}}
</view>
</view> </view>
<!-- <view class="headBtn" @click="headBtn"> <!-- <view class="headBtn" @click="headBtn">
角色切换 角色切换


+ 16
- 2
pages_order/mine/MemberRecharge.vue View File

@ -17,10 +17,13 @@
<view class="tips"> <view class="tips">
手机号{{userInfo.phone}} 手机号{{userInfo.phone}}
</view> </view>
<!-- <view>
{{numInfo.vipType}}
</view> -->
</view> </view>
</view> </view>
<view class="openvip">开通VIP</view>
<view class="openvip">{{numInfo.vipType}}</view>
<view class="options"> <view class="options">
<view <view
@ -90,16 +93,27 @@
return { return {
radiovalue: false, radiovalue: false,
mixinsListApi : 'commonQueryVipType', mixinsListApi : 'commonQueryVipType',
vipId : ''
vipId : '',
numInfo:{}
} }
}, },
onShow() { onShow() {
this.$store.commit('getUserInfo') this.$store.commit('getUserInfo')
//
this.getUserCenterData();
}, },
computed: { computed: {
headImage() { headImage() {
return '/static/image/center/headImage.png' return '/static/image/center/headImage.png'
}, },
//
getUserCenterData(){
this.$api('getUserCenterData',{}, res =>{
if(res.code == 200){
this.numInfo = res.result
}
})
},
vip(){ vip(){
let vip = {} let vip = {}
this.list.forEach(n => { this.list.forEach(n => {


+ 14
- 8
pages_order/work/bossDetail.vue View File

@ -6,16 +6,16 @@
<view class="box"> <view class="box">
<view class="boss-box"> <view class="boss-box">
<image src="/static/image/center/headImage.png"
<image :src="hanHaiMember.headImage"
class="headImage" class="headImage"
mode="aspectFill"></image> mode="aspectFill"></image>
<view class="info"> <view class="info">
<view class="title"> <view class="title">
李先生<text></text>
{{personInfo.name}}<text></text>
</view> </view>
<view class="desc"> <view class="desc">
广州有限公司 · 老板
{{companyInfo.companyName}}
<view class="vip"> <view class="vip">
vip vip
@ -29,15 +29,15 @@
任职企业 任职企业
</view> </view>
<view class="firm-info"> <view class="firm-info">
<image src="/static/image/center/headImage.png"
<image :src="companyInfo.logo"
class="image" class="image"
mode="aspectFill"></image> mode="aspectFill"></image>
<view class="info"> <view class="info">
<view class="name"> <view class="name">
广州有限公司
{{companyInfo.companyName}}
</view> </view>
<view class="desc"> <view class="desc">
0-20
{{companyInfo.financing}}*{{companyInfo.industry}}*{{companyInfo.number}}
</view> </view>
</view> </view>
</view> </view>
@ -80,6 +80,9 @@
return { return {
id : 0, id : 0,
detail : {}, detail : {},
personInfo:{},
companyInfo:{},
hanHaiMember:{},
collectionFlag : false, collectionFlag : false,
mixinsListApi : 'employeeQueryJobList', mixinsListApi : 'employeeQueryJobList',
urls: ['https://via.placeholder.com/400x200.png/3c9cff/fff'], urls: ['https://via.placeholder.com/400x200.png/3c9cff/fff'],
@ -89,7 +92,7 @@
this.id = id this.id = id
}, },
onShow() { onShow() {
// this.getDetail()
this.getDetail()
}, },
methods: { methods: {
getDetail(){ getDetail(){
@ -101,8 +104,11 @@
} }
this.$api('employeeQueryJobById', data, res => { this.$api('employeeQueryJobById', data, res => {
if(res.code == 200){ if(res.code == 200){
this.detail = res.result.employJob
this.detail = res.result.jobInfo
this.collectionFlag = res.result.collectionFlag this.collectionFlag = res.result.collectionFlag
this.personInfo = res.result.personInfo
this.companyInfo = res.result.companyInfo
this.hanHaiMember = res.result.hanHaiMember
} }
}) })
}, },


+ 15
- 9
pages_order/work/workDetail.vue View File

@ -31,8 +31,8 @@
</view> </view>
<view class="userHead"> <view class="userHead">
<userHead :headImage="detail.headImage"
:name="detail.name" :phoneCall="detail.phone"/>
<userHead :image="hanHaiMember.headImage" :tips="personInfo.phone"
:name="personInfo.name" :phoneCall="personInfo.phone"/>
</view> </view>
<view class="address"> <view class="address">
@ -52,11 +52,11 @@
></uv-icon> ></uv-icon>
</view> </view>
<view class="tag-list">
<!-- <view class="tag-list">
<view> <view>
距您14.6千米 距您14.6千米
</view> </view>
</view>
</view> -->
</view> </view>
<view class="info"> <view class="info">
@ -94,17 +94,17 @@
</view> </view>
<view class="boss-box" <view class="boss-box"
@click="$utils.navigateTo('/pages_order/work/bossDetail?id=1')">
@click="$utils.navigateTo('/pages_order/work/bossDetail?id='+detail.id)">
<view class="image"> <view class="image">
<image src="../static/work/g.png" mode=""></image>
<image :src="companyInfo.logo" mode=""></image>
</view> </view>
<view class="shop-box" <view class="shop-box"
> >
<view class="title"> <view class="title">
广州有限公司
{{companyInfo.companyName}}
</view> </view>
<view class="desc"> <view class="desc">
天使论A
{{companyInfo.financing}}*{{companyInfo.industry}}*{{companyInfo.number}}
</view> </view>
</view> </view>
<view class="arrow-right"> <view class="arrow-right">
@ -155,6 +155,9 @@
text : '', text : '',
id : 0, id : 0,
detail : {}, detail : {},
personInfo:{},
companyInfo:{},
hanHaiMember:{},
collectionFlag : false, collectionFlag : false,
mixinsListApi : 'employeeQueryJobList', mixinsListApi : 'employeeQueryJobList',
} }
@ -176,8 +179,11 @@
} }
this.$api('employeeQueryJobById', data, res => { this.$api('employeeQueryJobById', data, res => {
if(res.code == 200){ if(res.code == 200){
this.detail = res.result.employJob
this.detail = res.result.jobInfo
this.collectionFlag = res.result.collectionFlag this.collectionFlag = res.result.collectionFlag
this.personInfo = res.result.personInfo
this.companyInfo = res.result.companyInfo
this.hanHaiMember = res.result.hanHaiMember
} }
}) })
}, },


Loading…
Cancel
Save