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