From 9a388e62c2f50583a049185126fad3e4cda13e16 Mon Sep 17 00:00:00 2001 From: dengxiongfei Date: Wed, 26 Jan 2022 11:01:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=9A=E5=91=98=20=E9=80=80=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/client-detail/basic-information.vue | 2 +- pages/follow-up-records/index.vue | 10 +++++++--- pages/mine/index.vue | 13 ++++++------- pages/setting/index.vue | 20 +++++++++++++++++++- 4 files changed, 33 insertions(+), 12 deletions(-) diff --git a/pages/client-detail/basic-information.vue b/pages/client-detail/basic-information.vue index 7c706d8..8c0266b 100644 --- a/pages/client-detail/basic-information.vue +++ b/pages/client-detail/basic-information.vue @@ -251,7 +251,7 @@ export default { }, methods: { gotoTap() { - go2('follow-up-records') + go2('follow-up-records', { customerEnterpriseId: this.info.id }) }, getBaseInfo() { getBaseInfo({ customerId: this.customerId }).then((res) => { diff --git a/pages/follow-up-records/index.vue b/pages/follow-up-records/index.vue index c08c34e..acea003 100644 --- a/pages/follow-up-records/index.vue +++ b/pages/follow-up-records/index.vue @@ -77,7 +77,7 @@ export default { params: { asc: '', desc: '', - customerEnterpriseId: [this.$store.state.supplierInfo.id], + customerEnterpriseId: null, mallSupplierId: this.$store.state.supplierInfo.supplierId || null // enterpriseIds : ['651107734133018624'], // mallSupplierId : '670334117090562048', @@ -99,8 +99,12 @@ export default { }) }, onShow() { - console.log('onShow') - this.getList() + this.downCallback() + }, + onLoad(option) { + if (option.customerEnterpriseId) { + this.params.customerEnterpriseId = option.customerEnterpriseId + } }, methods: { back, diff --git a/pages/mine/index.vue b/pages/mine/index.vue index 982e5ac..cfa2262 100644 --- a/pages/mine/index.vue +++ b/pages/mine/index.vue @@ -49,7 +49,7 @@ 立即开通会员 尊享特权 - 开通会员 + {{ isVip ? '续费会员' : '开通会员' }} @@ -126,14 +126,13 @@ --> - mine client-credit enterprise-info