Преглед на файлове

Merge branch 'feature_20260227_首页指标添加数据' into dev(uat)

# Conflicts:
#	src/views/agentList/index.vue
zhujindu преди 6 дни
родител
ревизия
f9ad1cc999
променени са 2 файла, в които са добавени 10 реда и са изтрити 5 реда
  1. 7 4
      src/views/agentList/index.vue
  2. 3 1
      src/views/home/visitCollapse.vue

+ 7 - 4
src/views/agentList/index.vue

@@ -147,7 +147,6 @@
                     <el-popover
                       popper-class="zpover fsqDelivery"
                       placement="bottom"
-                      width="120"
                       trigger="click"
                       content="仿石漆配送商">
                       <div
@@ -630,7 +629,7 @@ export default {
       },
       {
         passive: false,
-      }
+      },
     );
   },
   methods: {
@@ -967,7 +966,7 @@ export default {
             location.lat,
             location.lon,
             location.lat,
-            location.lon
+            location.lon,
           ).toFixed(2);
           //  直接进入拜访 不校验经纬度
           // localStorage.setItem('startTime', new Date());
@@ -1130,7 +1129,7 @@ export default {
           localStorage.setItem('lat', this.lat);
           localStorage.setItem('lon', this.lon);
           let PointSum = this.twoPointSum(TXisBD.lat, TXisBD.lon, TXisBD.lat, TXisBD.lon).toFixed(
-            2
+            2,
           );
           addVisitsPosition({
             chainId: val.chainId,
@@ -1581,4 +1580,8 @@ export default {
 .yu7Class p {
   margin: 0;
 }
+.myPopover {
+  min-width: 100px;
+  width: auto;
+}
 </style>

+ 3 - 1
src/views/home/visitCollapse.vue

@@ -77,6 +77,8 @@ export default {
         style.background = '#7ecef4';
       } else if (targetName == '粉料片区') {
         style.background = '#f19ec2';
+      } else if (targetName == '片区经销商(36城)') {
+        style.background = '#9ea4f1';
       }
       return style;
     },
@@ -84,7 +86,7 @@ export default {
       if (this.empLevel != 2 && this.empLevel != 3) return;
       store.dispatch(
         'setActivaTypeStore',
-        item1.targetName ? item1.targetName + '经销商' : item.targetName
+        item1.targetName ? item1.targetName + '经销商' : item.targetName,
       );
       if (item2.targetName != '未拜访') return;
       this.$router.push({