Forráskód Böngészése

BMD业务员显示提示类和A类指标

zhujindu 1 napja
szülő
commit
a697b41f2d
2 módosított fájl, 506 hozzáadás és 481 törlés
  1. 503 479
      src/views/home/ABtarget.vue
  2. 3 2
      src/views/home/index.vue

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 503 - 479
src/views/home/ABtarget.vue


+ 3 - 2
src/views/home/index.vue

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