浏览代码

拜访次数显示

zhujindu 5 月之前
父节点
当前提交
ef08d35d6a

+ 11 - 3
src/views/deviceOutside/index.vue

@@ -78,7 +78,7 @@
                 联系人:{{ item.contactName }}
                 <div style="position: absolute; bottom: 0px; right: 0px">
                   <!-- 金牌店ABC -->
-                  <el-popover
+                  <!-- <el-popover
                     popper-class="zpover"
                     placement="bottom"
                     width="120"
@@ -92,7 +92,7 @@
                       <van-icon :name="require('@/assets/Icon/visitJPNum.png')" size="26" />
                       <div class="JPVisitNum">{{ item.visitNum }}/{{ item.needVisitNum }}</div>
                     </div>
-                  </el-popover>
+                  </el-popover> -->
                   <!-- 凤凰客户 -->
                   <el-popover
                     popper-class="zpover"
@@ -238,7 +238,7 @@
                     :disabled="!item.userVisitTimesMap"
                     trigger="click">
                     <div
-                      v-if="false && item.storeLabels.visitTimes && item.storeLabels.visitTimes > 0"
+                      v-if="item.storeLabels.visitTimes && item.storeLabels.visitTimes > 0"
                       class="visitStoreIco"
                       slot="reference"
                       style="background-color: #fff; position: relative">
@@ -256,6 +256,14 @@
                       </p>
                       <van-icon :name="ordernum" size="26" />
                     </div>
+                    <p style="text-align: center; background: #fff; color: #000; padding: 5px 0">
+                      本店本月己拜访过{{ item.storeLabels.visitTimes }}次
+                    </p>
+                    <p
+                      v-if="item.storeLabels.jpA"
+                      style="text-align: center; background: #fff; color: red; padding: 5px 0">
+                      A级金牌店拜访标准:1月2次
+                    </p>
                     <el-table :data="item.userVisitTimesMap" border max-height="180px">
                       <el-table-column label="业务员" prop="userName" />
                       <el-table-column label="拜访次数" prop="visitTimes" width="110px" />

+ 10 - 3
src/views/deviceOutside/rangeStore.vue

@@ -222,7 +222,7 @@
               联系人:{{ info.contactName }}
               <div style="position: absolute; bottom: 0px; right: 10px; display: inline-block">
                 <!-- 金牌店ABC -->
-                <el-popover
+                <!-- <el-popover
                   popper-class="zpover"
                   placement="bottom"
                   width="120"
@@ -236,7 +236,7 @@
                     <van-icon :name="require('@/assets/Icon/visitJPNum.png')" size="26" />
                     <div class="JPVisitNum">{{ info.visitNum }}/{{ info.needVisitNum }}</div>
                   </div>
-                </el-popover>
+                </el-popover> -->
                 <el-popover
                   popper-class="zpover"
                   placement="bottom"
@@ -407,7 +407,14 @@
                     </p>
                     <van-icon :name="ordernum" size="26" />
                   </div>
-                  <!-- <div class="tipsTitle">本店本月已拜访过{{ item.storeLabels.visitTimes }}次</div> -->
+                  <p style="text-align: center; background: #fff; color: #000; padding: 5px 0">
+                    本店本月己拜访过{{ info.storeLabels.visitTimes }}次
+                  </p>
+                  <p
+                    v-if="info.storeLabels.jpA"
+                    style="text-align: center; background: #fff; color: red; padding: 5px 0">
+                    A级金牌店拜访标准:1月2次
+                  </p>
                   <el-table :data="info.userVisitTimesMap" border max-height="180px">
                     <el-table-column label="业务员" prop="userName" />
                     <el-table-column label="拜访次数" prop="visitTimes" width="90px" />

+ 10 - 5
src/views/deviceOutside/topStore.vue

@@ -117,7 +117,7 @@
                   联系人:{{ item.contactName }}
                   <div style="position: absolute; bottom: 0px; right: 0px">
                     <!-- 金牌店ABC -->
-                    <el-popover
+                    <!-- <el-popover
                       popper-class="zpover"
                       placement="bottom"
                       width="120"
@@ -131,7 +131,7 @@
                         <van-icon :name="require('@/assets/Icon/visitJPNum.png')" size="26" />
                         <div class="JPVisitNum">{{ item.visitNum }}/{{ item.needVisitNum }}</div>
                       </div>
-                    </el-popover>
+                    </el-popover> -->
                     <el-popover
                       popper-class="zpover"
                       placement="bottom"
@@ -283,9 +283,14 @@
                         </p>
                         <van-icon :name="ordernum" size="26" />
                       </div>
-                      <!-- <div class="tipsTitle">
-                        本店本月已拜访过{{ item.storeLabels.visitTimes }}次
-                      </div> -->
+                      <p style="text-align: center; background: #fff; color: #000; padding: 5px 0">
+                        本店本月己拜访过{{ item.storeLabels.visitTimes }}次
+                      </p>
+                      <p
+                        v-if="item.storeLabels.jpA"
+                        style="text-align: center; background: #fff; color: red; padding: 5px 0">
+                        A级金牌店拜访标准:1月2次
+                      </p>
                       <el-table :data="item.userVisitTimesMap" border max-height="180px">
                         <el-table-column label="业务员" prop="userName" />
                         <el-table-column label="拜访次数" prop="visitTimes" width="110px" />

+ 10 - 3
src/views/deviceWithin/index.vue

@@ -106,7 +106,7 @@
               联系人:{{ item.contactName }}
               <div style="position: absolute; bottom: 0; right: 14px">
                 <!-- 金牌店ABC -->
-                <el-popover
+                <!-- <el-popover
                   popper-class="zpover"
                   placement="bottom"
                   width="120"
@@ -120,7 +120,7 @@
                     <van-icon :name="require('@/assets/Icon/visitJPNum.png')" size="26" />
                     <div class="JPVisitNum">{{ item.visitNum }}/{{ item.needVisitNum }}</div>
                   </div>
-                </el-popover>
+                </el-popover> -->
                 <el-popover
                   popper-class="zpover"
                   placement="bottom"
@@ -263,7 +263,14 @@
                     </p>
                     <van-icon :name="ordernum" size="26" />
                   </div>
-                  <!-- <div class="tipsTitle">本店本月已拜访过{{ item.storeLabels.visitTimes }}次</div> -->
+                  <p style="text-align: center; background: #fff; color: #000; padding: 5px 0">
+                    本店本月己拜访过{{ item.storeLabels.visitTimes }}次
+                  </p>
+                  <p
+                    v-if="item.storeLabels.jpA"
+                    style="text-align: center; background: #fff; color: red; padding: 5px 0">
+                    A级金牌店拜访标准:1月2次
+                  </p>
                   <el-table :data="item.userVisitTimesMap" border max-height="180px">
                     <el-table-column label="业务员" prop="userName" />
                     <el-table-column label="拜访次数" prop="visitTimes" width="110px" />

+ 10 - 2
src/views/storeManagement/index.vue

@@ -124,7 +124,7 @@
                 联系人:{{ item.contactName }}
                 <div style="position: absolute; bottom: 0px; right: 0px" v-if="item.storeLabels">
                   <!-- 金牌店ABC -->
-                  <el-popover
+                  <!-- <el-popover
                     popper-class="zpover"
                     placement="bottom"
                     width="120"
@@ -138,7 +138,7 @@
                       <van-icon :name="require('@/assets/Icon/visitJPNum.png')" size="26" />
                       <div class="JPVisitNum">{{ item.visitNum }}/{{ item.needVisitNum }}</div>
                     </div>
-                  </el-popover>
+                  </el-popover> -->
                   <el-popover
                     popper-class="zpover"
                     placement="bottom"
@@ -291,6 +291,14 @@
                       </p>
                       <van-icon :name="ordernum" size="26" />
                     </div>
+                    <p style="text-align: center; background: #fff; color: #000; padding: 5px 0">
+                      本店本月己拜访过{{ item.storeLabels.visitTimes }}次
+                    </p>
+                    <p
+                      v-if="item.storeLabels.jpA"
+                      style="text-align: center; background: #fff; color: red; padding: 5px 0">
+                      A级金牌店拜访标准:1月2次
+                    </p>
                     <el-table :data="item.userVisitTimesMap" border max-height="180px">
                       <el-table-column label="业务员" prop="userName" />
                       <el-table-column label="拜访次数" prop="visitTimes" />