Browse Source

feature_20260402_指标修改

zhujindu 3 days ago
parent
commit
9c5efe40ce

+ 1 - 1
src/components/componentsTarget/placeOrder.vue

@@ -39,7 +39,7 @@
       </van-col>
       </van-col>
       <van-col span="12">
       <van-col span="12">
         <p>
         <p>
-          <span class="colLabel colLabel_TCFX">同城分销近3月:</span>
+          <span class="colLabel colLabel_TCFX">同城分销近3月:</span>
           <span class="colorbalck"> {{ reportTargetAll.tcfxShopMonthOrderRate }}% </span>
           <span class="colorbalck"> {{ reportTargetAll.tcfxShopMonthOrderRate }}% </span>
         </p>
         </p>
       </van-col>
       </van-col>

+ 1 - 1
src/components/componentsTarget/visitedRealTime.vue

@@ -92,7 +92,7 @@
       </van-col>
       </van-col>
       <van-col span="12">
       <van-col span="12">
         <p>
         <p>
-          <span class="colLabel colLabel_TCFX">同城分销近3月:</span>
+          <span class="colLabel colLabel_TCFX">同城分销近3月:</span>
           <span class="colorbalck">{{ Micrometer(reportTargetAll.tcfxShopVisitMonthNum) }}</span>
           <span class="colorbalck">{{ Micrometer(reportTargetAll.tcfxShopVisitMonthNum) }}</span>
           <span class="colorbalck"> ({{ reportTargetAll.tcfxShopVisitMonthRate }}%) </span>
           <span class="colorbalck"> ({{ reportTargetAll.tcfxShopVisitMonthRate }}%) </span>
         </p>
         </p>

+ 2 - 2
src/views/componentsTarget/placeOrder.vue

@@ -33,13 +33,13 @@
       </van-col>
       </van-col>
       <van-col span="12">
       <van-col span="12">
         <p>
         <p>
-          <span class="colLabel colLabel_TCFX">同城分销近3月</span>
+          <span class="colLabel colLabel_TCFX">同城分销近3月</span>
           <span class="colorbalck">{{ Micrometer(reportTargetAll.tcfxOrderShopMonthAct) }}</span>
           <span class="colorbalck">{{ Micrometer(reportTargetAll.tcfxOrderShopMonthAct) }}</span>
         </p>
         </p>
       </van-col>
       </van-col>
       <van-col span="12">
       <van-col span="12">
         <p>
         <p>
-          <span class="colLabel colLabel_TCFX">同城分销近3月</span>
+          <span class="colLabel colLabel_TCFX">同城分销近3月</span>
           <span class="colorbalck"> {{ reportTargetAll.tcfxShopMonthOrderRate }}% </span>
           <span class="colorbalck"> {{ reportTargetAll.tcfxShopMonthOrderRate }}% </span>
         </p>
         </p>
       </van-col>
       </van-col>

+ 10 - 34
src/views/home/hintTabPage/hintDetail.vue

@@ -32,7 +32,7 @@
         <van-tab
         <van-tab
           v-for="(val, key, index) in tabsItemPantone"
           v-for="(val, key, index) in tabsItemPantone"
           :key="index"
           :key="index"
-          :title="key=='keKong'?'可控店':'金牌店'"
+          :title="key == 'keKong' ? '可控店' : '金牌店'"
           :name="key"></van-tab>
           :name="key"></van-tab>
       </van-tabs>
       </van-tabs>
     </div>
     </div>
@@ -90,7 +90,7 @@ import {
   getReportMaterialType,
   getReportMaterialType,
   getReportMaterial,
   getReportMaterial,
   selectColorMixerStoreInfo,
   selectColorMixerStoreInfo,
-  getColorWarning
+  getColorWarning,
 } from '@/api/index';
 } from '@/api/index';
 import { mapState } from 'vuex';
 import { mapState } from 'vuex';
 export default {
 export default {
@@ -149,20 +149,11 @@ export default {
           ],
           ],
         },
         },
         {
         {
-          label: '同城分销-涂料店',
-          childredColumn: [
-            {
-              label: '(近2月)',
-              prop: 'TuLiaoNotVisited',
-            },
-          ],
-        },
-        {
-          label: '同城分销-其他店',
+          label: '同城分销',
           childredColumn: [
           childredColumn: [
             {
             {
               label: '(近3月)',
               label: '(近3月)',
-              prop: 'QiTaNotVisited',
+              prop: 'TcfxNotVisited',
             },
             },
           ],
           ],
         },
         },
@@ -191,24 +182,6 @@ export default {
             },
             },
           ],
           ],
         },
         },
-        {
-          label: '同城分销-涂料店',
-          childredColumn: [
-            {
-              label: '(7天未结案)',
-              prop: 'TuLiaoAbnormalNum',
-            },
-          ],
-        },
-        {
-          label: '同城分销-其他店',
-          childredColumn: [
-            {
-              label: '(7天未结案)',
-              prop: 'QiTaAbnormalNum',
-            },
-          ],
-        },
       ],
       ],
       // 色卡
       // 色卡
       pantone: [
       pantone: [
@@ -396,7 +369,7 @@ export default {
         this.firstProp = 'warehouseName';
         this.firstProp = 'warehouseName';
         let deptId = tree ? tree.deptId : null;
         let deptId = tree ? tree.deptId : null;
         this.getPantoneData(resolve, deptId);
         this.getPantoneData(resolve, deptId);
-      }else if (this.fromType == 'colorWarning') {
+      } else if (this.fromType == 'colorWarning') {
         // 调色预警
         // 调色预警
         let deptId = tree ? tree.onlyId : null;
         let deptId = tree ? tree.onlyId : null;
         this.firstProp = 'onlyName';
         this.firstProp = 'onlyName';
@@ -494,7 +467,7 @@ export default {
       // deptId 第一次传 null 获取当前等级下的数据(不需要当前层级)
       // deptId 第一次传 null 获取当前等级下的数据(不需要当前层级)
       getReportMaterialType(
       getReportMaterialType(
         { materialCode: this.materialCode, deptId: deptId },
         { materialCode: this.materialCode, deptId: deptId },
-        this.controller.signal
+        this.controller.signal,
       ).then((res) => {
       ).then((res) => {
         this.maskShow = false;
         this.maskShow = false;
         if (res.code == 200) {
         if (res.code == 200) {
@@ -532,7 +505,10 @@ export default {
     // 调色机详情
     // 调色机详情
     getColorWarningFun(resolve, deptId) {
     getColorWarningFun(resolve, deptId) {
       // deptId 第一次传 null 获取当前等级下的数据(不需要当前层级)
       // deptId 第一次传 null 获取当前等级下的数据(不需要当前层级)
-      selectColorMixerStoreInfo({ deptId: deptId,storeType:this.activaPantoneName }, this.controller.signal).then((res) => {
+      selectColorMixerStoreInfo(
+        { deptId: deptId, storeType: this.activaPantoneName },
+        this.controller.signal,
+      ).then((res) => {
         this.maskShow = false;
         this.maskShow = false;
         if (res.code == 200) {
         if (res.code == 200) {
           res.data.forEach((val) => {
           res.data.forEach((val) => {

+ 1 - 1
src/views/home/hintTabPage/index.vue

@@ -363,7 +363,7 @@ export default {
           // },
           // },
           {
           {
             title: '同城分销',
             title: '同城分销',
-            titleProp: 'QiTa',
+            titleProp: 'Tcfx',
             bagColor: '#8f82bc',
             bagColor: '#8f82bc',
             visitDetail: [
             visitDetail: [
               {
               {

+ 4 - 6
src/views/home/hintTabPage/noVisit.vue

@@ -96,11 +96,9 @@ export default {
         type = '可控店';
         type = '可控店';
       } else if (value == 'jinPai') {
       } else if (value == 'jinPai') {
         type = '金牌店';
         type = '金牌店';
-      } else if (value == 'TuLiao') {
-        type = '同城分销-涂料店';
-      } else if (value == 'QiTa') {
-        type = '同城分销-其他店';
-      }else if (value == 'FuWuShang') {
+      } else if (value == 'Tcfx') {
+        type = '同城分销';
+      } else if (value == 'FuWuShang') {
         type = '服务商';
         type = '服务商';
       }
       }
       return type;
       return type;
@@ -219,7 +217,7 @@ export default {
         this.TXisBD.lat,
         this.TXisBD.lat,
         this.TXisBD.lon,
         this.TXisBD.lon,
         this.TXisBD.lat,
         this.TXisBD.lat,
-        this.TXisBD.lon
+        this.TXisBD.lon,
       ).toFixed(2);
       ).toFixed(2);
       // GZ:工装店铺 直接进入拜访
       // GZ:工装店铺 直接进入拜访
       if (localStorage.getItem('postType') == 'GZ') {
       if (localStorage.getItem('postType') == 'GZ') {

+ 4 - 6
src/views/home/hintTabPage/unCreateStore.vue

@@ -105,7 +105,7 @@
                           placement="bottom"
                           placement="bottom"
                           width="200"
                           width="200"
                           trigger="click">
                           trigger="click">
-                          <div v-if="item.storeLabels">
+                          <div v-if="item && item.storeLabels">
                             <p>{{ timeData }}未通过的陈列任务:</p>
                             <p>{{ timeData }}未通过的陈列任务:</p>
                             <p v-for="(tt, ind) in (item.storeLabels.targetOne + '').split(';')">
                             <p v-for="(tt, ind) in (item.storeLabels.targetOne + '').split(';')">
                               <template v-if="tt"> {{ ind + 1 }}、{{ tt }};</template>
                               <template v-if="tt"> {{ ind + 1 }}、{{ tt }};</template>
@@ -113,7 +113,7 @@
                           </div>
                           </div>
                           <div
                           <div
                             class="visitStoreIco"
                             class="visitStoreIco"
-                            v-if="item.storeLabels.targetOne"
+                            v-if="item && item.storeLabels && item.storeLabels.targetOne"
                             style="background-color: #fff"
                             style="background-color: #fff"
                             slot="reference">
                             slot="reference">
                             <van-icon :name="targetOne" size="26" />
                             <van-icon :name="targetOne" size="26" />
@@ -279,6 +279,7 @@ import { mapState } from 'vuex';
 import store from '@/store';
 import store from '@/store';
 import { getMonthCommon } from '@/utils';
 import { getMonthCommon } from '@/utils';
 import { ProductItemImge } from '@/api/index';
 import { ProductItemImge } from '@/api/index';
+import targetOne from '@/assets/targetOne.png';
 export default {
 export default {
   name: 'unCreateStore',
   name: 'unCreateStore',
   computed: {
   computed: {
@@ -296,6 +297,7 @@ export default {
       visitRoutePath: '', //拜访页面路径
       visitRoutePath: '', //拜访页面路径
       clickIsFlage: true,
       clickIsFlage: true,
       timeData: '',
       timeData: '',
+      targetOne: targetOne,
     };
     };
   },
   },
   filters: {
   filters: {
@@ -307,10 +309,6 @@ export default {
         type = '金牌店7天未完工列表';
         type = '金牌店7天未完工列表';
       } else if (value == 'jinPaiAbnormalNum') {
       } else if (value == 'jinPaiAbnormalNum') {
         type = '金牌店30天未结案列表';
         type = '金牌店30天未结案列表';
-      } else if (value == 'TuLiaoAbnormalNum') {
-        type = '同城分销-涂料店7天未结案列表';
-      } else if (value == 'QiTaAbnormalNum') {
-        type = '同城分销-其他店7天未结案列表';
       }
       }
       return type;
       return type;
     },
     },