From 32514cbd6a67ec4db63ee8272c1a7f20f9ceb119 Mon Sep 17 00:00:00 2001 From: lzx_win <2602107437@qq.com> Date: Sat, 21 Dec 2024 22:42:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AF=B9=E6=8E=A5=E6=95=B0?= =?UTF-8?q?=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 3 +++ pages/index/center.vue | 6 +++--- pages_order/mine/MemberRecharge.vue | 18 ++++++++++++++++-- pages_order/work/bossDetail.vue | 22 ++++++++++++++-------- pages_order/work/workDetail.vue | 24 +++++++++++++++--------- 5 files changed, 51 insertions(+), 22 deletions(-) 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 } }) },