Browse Source

Merge branch 'dev' of http://192.168.0.115:3000/zhangyupeng/zfb_mp into dev

tangning 2 years ago
parent
commit
18b99f60ca
1 changed files with 6 additions and 6 deletions
  1. 6 6
      src/views/dashboard/analysis/index.vue

+ 6 - 6
src/views/dashboard/analysis/index.vue

@@ -102,6 +102,12 @@
       title: '手机号',
       dataIndex: 'userName',
       width: 120,
+      customRender: ({ record }) => {
+        const { userName } = record;
+        let reg = /(\d{3})\d{4}(\d{4})/;
+        const macthUserName = userName.replace(reg, '$1****$2');
+        return macthUserName;
+      },
     },
     {
       title: '房间名称',
@@ -114,12 +120,6 @@
       width: 120,
     },
     {
-      title: '创建时间',
-      dataIndex: 'createTime',
-      slots: { customRender: 'Time' },
-      width: 150,
-    },
-    {
       title: '初次进入房间',
       dataIndex: 'firstEnterRoomTime',
       slots: { customRender: 'Time1' },