Bladeren bron

客服客户数统计展示客服许可状态

shensong00 3 maanden geleden
bovenliggende
commit
cf7a9c1ba7

+ 1 - 1
index.html

@@ -7,4 +7,4 @@
7 7
         hm.src = "https://hm.baidu.com/hm.js?d61b9e2caf4d46ccda7471b5385e2333";
8 8
         var s = document.getElementsByTagName("script")[0];
9 9
         s.parentNode.insertBefore(hm, s);
10
-      })();</script><link href=./static/css/app.fc8f15fbc09654737f85354fbb8e1145.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.7d3508c7efbbdb6ec1b1.js></script><script type=text/javascript src=./static/js/app.648443914073fe2df74b.js></script></body></html>
10
+      })();</script><link href=./static/css/app.c31dea6e35d7ed56d4a619ca2cd39312.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.bec549926fb6163b6078.js></script><script type=text/javascript src=./static/js/app.01c5358dfd55d0a16cc7.js></script></body></html>

+ 11 - 6
project/src/components/customManage/manage.vue

@@ -201,8 +201,9 @@
201 201
         <div v-if="customerCountStatList&&customerCountStatList.length>0" v-loading="loading">
202 202
         <div class="tbodys">
203 203
           <div class="tbody_item" v-for="l in customerCountStatList" :key="l.user_id">
204
-            <div>{{l.user_name ? l.user_name  : '-'}}</div>
205
-            <div>{{l.count ? l.count : '0'}}</div>
204
+            <div>{{ l.user_name ? l.user_name  : '-' }}</div>
205
+            <div>{{ l.is_active == 1 ? '有' : '无' }}</div>
206
+            <div>{{ l.count ? l.count : '0' }}</div>
206 207
           </div>
207 208
         </div>
208 209
       </div>
@@ -283,8 +284,9 @@ export default {
283 284
       height: '',
284 285
       tips: '',
285 286
       theadList:[
286
-        {name:'客服', width:'50%'},
287
-        {name:'客户数'},
287
+        { name: '客服'},
288
+        { name: "客服许可"},
289
+        { name: '客户数'},
288 290
       ],
289 291
     }
290 292
   },
@@ -790,8 +792,11 @@ export default {
790 792
     },
791 793
     customerCountStatExport() {
792 794
       let list = this.customerCountStatList;
793
-      let tHeader = ['客服', '客户数']
794
-      let filterVal = ['user_name', 'count']
795
+      let tHeader = ['客服', '客服许可', '客户数']
796
+      let filterVal = ['user_name', 'active', 'count']
797
+      list.forEach((item) => {
798
+        item.active = item.is_active == 1 ? '有' : '无'
799
+      })
795 800
       let excelDatas = [
796 801
         {
797 802
           tHeader: tHeader, // sheet表一头部

File diff suppressed because it is too large
+ 1 - 1
static/css/app.fc8f15fbc09654737f85354fbb8e1145.css


File diff suppressed because it is too large
+ 0 - 1
static/js/23.a283f14b6a66bf7318f6.js


File diff suppressed because it is too large
+ 1 - 1
static/js/24.5cb7c0ed2078bf18c896.js


File diff suppressed because it is too large
+ 1 - 1
static/js/25.6f2305cdf967d4285f31.js


File diff suppressed because it is too large
+ 1 - 1
static/js/26.8f99cf0aacd90e60924a.js


File diff suppressed because it is too large
+ 1 - 0
static/js/26.310a5e1e77e6f19b3217.js


File diff suppressed because it is too large
+ 1 - 1
static/js/app.648443914073fe2df74b.js


File diff suppressed because it is too large
+ 1 - 1
static/js/manifest.7d3508c7efbbdb6ec1b1.js