From cd6a602a56f07de30d644704f901ac2b277c1aa4 Mon Sep 17 00:00:00 2001 From: cclu <1106109051@qq.com> Date: Fri, 28 Jul 2023 11:55:43 +0800 Subject: [PATCH] update --- pages/commercialBI/carPortrait.vue | 8 ++++---- pages/index/index.vue | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pages/commercialBI/carPortrait.vue b/pages/commercialBI/carPortrait.vue index 3081dd2..d234324 100644 --- a/pages/commercialBI/carPortrait.vue +++ b/pages/commercialBI/carPortrait.vue @@ -230,14 +230,11 @@ - - - @@ -381,6 +378,7 @@ export default { onLoad(option){ console.log('option',option) this.isShowAllProvince = option.mustAllProvince + console.log("this.isShowAllProvince",this.isShowAllProvince) this.backType = option.type }, onShow(){ @@ -440,11 +438,13 @@ export default { month: `${y}${m}`, time: `${y}-${m}-${d}`, } - if (this.serviceInfo.SERVERPART_NAME==='安徽驿达'){ + if (this.serviceInfo.SERVERPART_NAME==='安徽驿达' || this.isShowAllProvince==='true'){ this.isShowAllProvince = true } console.log('this.isShowAllProvince',this.isShowAllProvince) if (this.isShowAllProvince === true){ + this.serviceInfo.SERVERPART_NAME = '安徽驿达' + this.serviceInfo.Serverpart_ID = undefined this.getDetail(this.theRequest) }else{ //获取服务区基本信息 diff --git a/pages/index/index.vue b/pages/index/index.vue index fd41bfb..d9e2855 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -1146,7 +1146,7 @@ export default { this.selectBigTab = val }, handleGoCarBi(){ - this.$util.toNextRoute('navigateTo', `/pages/commercialBI/carPortrait?mustAllProvince=${true}`) + this.$util.toNextRoute('navigateTo', `/pages/commercialBI/carPortrait?mustAllProvince=${true}`) }, handleGoWarning(){ this.$util.toNextRoute('navigateTo', `/pages/commercialBI/specialCase`)