|
@@ -13,7 +13,7 @@
|
|
|
<ABtarget :tabVal="tabVal" ref="Atarget"></ABtarget>
|
|
<ABtarget :tabVal="tabVal" ref="Atarget"></ABtarget>
|
|
|
</van-tab>
|
|
</van-tab>
|
|
|
<van-tab title="B类指标" name="1" v-if="onlyShowHomeTarget == false">
|
|
<van-tab title="B类指标" name="1" v-if="onlyShowHomeTarget == false">
|
|
|
- <ABtarget :tabVal="tabVal" ref="Btarget"></ABtarget>
|
|
|
|
|
|
|
+ <ABtarget :tabVal="tabVal" ref="Btarget" :BMDType="userInfo.BMDType"></ABtarget>
|
|
|
</van-tab>
|
|
</van-tab>
|
|
|
<van-tab title="首页指标" name="2" v-if="onlyShowHomeTarget == true">
|
|
<van-tab title="首页指标" name="2" v-if="onlyShowHomeTarget == true">
|
|
|
<HomeTarget :tabVal="tabVal" ref="HomeTarget"></HomeTarget>
|
|
<HomeTarget :tabVal="tabVal" ref="HomeTarget"></HomeTarget>
|
|
@@ -109,7 +109,8 @@ export default {
|
|
|
this.onlyShowHomeTarget = true;
|
|
this.onlyShowHomeTarget = true;
|
|
|
} else {
|
|
} else {
|
|
|
// <!-- 0-历史指标 1-动态指标,String类型 -->
|
|
// <!-- 0-历史指标 1-动态指标,String类型 -->
|
|
|
- if (postType == 'GZ' || this.userInfo.BMDType == 'BMD') {
|
|
|
|
|
|
|
+ // || this.userInfo.BMDType == 'BMD'
|
|
|
|
|
+ if (postType == 'GZ') {
|
|
|
if (this.reportInfo.targetType == '0') {
|
|
if (this.reportInfo.targetType == '0') {
|
|
|
this.onlyShowHomeTarget = false;
|
|
this.onlyShowHomeTarget = false;
|
|
|
} else if (this.reportInfo.targetType == '1') {
|
|
} else if (this.reportInfo.targetType == '1') {
|