Browse Source

feat: 客户管理 - 去重用户调整

zhengxy 1 year ago
parent
commit
3315217a44
2 changed files with 16 additions and 5 deletions
  1. 10 5
      project/src/components/customManage/manage.vue
  2. 6 0
      project/src/style/list.scss

+ 10 - 5
project/src/components/customManage/manage.vue

@@ -28,19 +28,23 @@
28 28
       <div>
29 29
         <div class="flex">
30 30
           <i class="el-icon-user-solid"></i>
31
-          <div class="totalCustom">共<span>{{otherData&&otherData.count}}</span>个客户</div>
32
-          <div class="smalLine"></div>
33
-          <div class="excludeCustom">排除重复客户
31
+          <div class="totalCustom">共<span>{{otherData&&otherData.total}}</span>个客户</div>
32
+          <div class="miniLine"></div>
33
+          <div class="excludeCustom">去重客户
34 34
             <el-tooltip class="disinblock" content="该数据为去重后的客户数,若客户添加了多个员工只会统计为1个客户" placement="top">
35 35
               <i class="el-icon-question"></i>
36 36
             </el-tooltip>
37
+            <span>{{otherData&&otherData.count}}</span>
38
+          </div>
39
+          <div class="miniLine"></div>
40
+          <div class="excludeCustom">排除重复客户
37 41
             <span>{{otherData&&otherData.exclude_count}}</span>
38 42
           </div>
39
-          <div class="smalLine"></div>
43
+          <div class="miniLine"></div>
40 44
           <div class="excludeCustom">流失客户
41 45
             <span>{{otherData&&otherData.cust_loss_uc}}</span>
42 46
           </div>
43
-          <!-- <div class="smalLine"></div> -->
47
+          <!-- <div class="miniLine"></div> -->
44 48
           <!-- <el-button type="primary" plain size="mini"><i class="el-icon-refresh-right"></i> 更新数据</el-button> -->
45 49
         </div>
46 50
         <div class="selectCustom">已择{{selectTotal}}个客户</div>
@@ -489,6 +493,7 @@ export default {
489 493
           } else {
490 494
             this.tableData = res.rst.data.list;
491 495
             this.otherData = {
496
+              total: res.rst.pageInfo.total,
492 497
               count: res.rst.data.count,
493 498
               exclude_count: res.rst.data.exclude_count,
494 499
               cust_loss_uc: res.rst.data.cust_loss_uc

+ 6 - 0
project/src/style/list.scss

@@ -55,6 +55,12 @@
55 55
     background: #d8d8d8;
56 56
     margin: 0 14px;
57 57
   }
58
+  .miniLine {
59
+    width: 1px;
60
+    height: 19px;
61
+    background: #d8d8d8;
62
+    margin: 0 7px;
63
+  }
58 64
   .excludeCustom {
59 65
     color: #898d92;
60 66
     font-size: 14px;