diff --git a/pages.json b/pages.json
index e23c8b7..968ec2b 100644
--- a/pages.json
+++ b/pages.json
@@ -55,6 +55,9 @@
{
"path": "work/workDetail"
},
+ {
+ "path": "work/bossDetail"
+ },
{
"path": "mine/collect",
"style": {
diff --git a/pages/index/center.vue b/pages/index/center.vue
index d783996..f4f8141 100644
--- a/pages/index/center.vue
+++ b/pages/index/center.vue
@@ -18,9 +18,9 @@
手机号:{{phone}}
-
+
+ {{numInfo.vipType}}
+
- 开通VIP
+ {{numInfo.vipType}}
{
+ if(res.code == 200){
+ this.numInfo = res.result
+ }
+ })
+ },
vip(){
let vip = {}
this.list.forEach(n => {
diff --git a/pages_order/work/bossDetail.vue b/pages_order/work/bossDetail.vue
index 5bd4590..1ee7400 100644
--- a/pages_order/work/bossDetail.vue
+++ b/pages_order/work/bossDetail.vue
@@ -6,16 +6,16 @@
-
- 李先生
+ {{personInfo.name}}
- 广州有限公司 · 老板
+ {{companyInfo.companyName}}
vip
@@ -29,15 +29,15 @@
任职企业
-
- 广州有限公司
+ {{companyInfo.companyName}}
- 0-20人
+ {{companyInfo.financing}}*{{companyInfo.industry}}*{{companyInfo.number}}
@@ -80,6 +80,9 @@
return {
id : 0,
detail : {},
+ personInfo:{},
+ companyInfo:{},
+ hanHaiMember:{},
collectionFlag : false,
mixinsListApi : 'employeeQueryJobList',
urls: ['https://via.placeholder.com/400x200.png/3c9cff/fff'],
@@ -89,7 +92,7 @@
this.id = id
},
onShow() {
- // this.getDetail()
+ this.getDetail()
},
methods: {
getDetail(){
@@ -101,8 +104,11 @@
}
this.$api('employeeQueryJobById', data, res => {
if(res.code == 200){
- this.detail = res.result.employJob
+ this.detail = res.result.jobInfo
this.collectionFlag = res.result.collectionFlag
+ this.personInfo = res.result.personInfo
+ this.companyInfo = res.result.companyInfo
+ this.hanHaiMember = res.result.hanHaiMember
}
})
},
diff --git a/pages_order/work/workDetail.vue b/pages_order/work/workDetail.vue
index 396fef8..e4f5232 100644
--- a/pages_order/work/workDetail.vue
+++ b/pages_order/work/workDetail.vue
@@ -31,8 +31,8 @@
-
+
@@ -52,11 +52,11 @@
>
-
+
@@ -94,17 +94,17 @@
+ @click="$utils.navigateTo('/pages_order/work/bossDetail?id='+detail.id)">
-
+
- 广州有限公司
+ {{companyInfo.companyName}}
- 天使论A
+ {{companyInfo.financing}}*{{companyInfo.industry}}*{{companyInfo.number}}
@@ -155,6 +155,9 @@
text : '',
id : 0,
detail : {},
+ personInfo:{},
+ companyInfo:{},
+ hanHaiMember:{},
collectionFlag : false,
mixinsListApi : 'employeeQueryJobList',
}
@@ -176,8 +179,11 @@
}
this.$api('employeeQueryJobById', data, res => {
if(res.code == 200){
- this.detail = res.result.employJob
+ this.detail = res.result.jobInfo
this.collectionFlag = res.result.collectionFlag
+ this.personInfo = res.result.personInfo
+ this.companyInfo = res.result.companyInfo
+ this.hanHaiMember = res.result.hanHaiMember
}
})
},