liyongli hace 2 años
padre
commit
7604194843
Se han modificado 2 ficheros con 48 adiciones y 0 borrados
  1. 45 0
      src/config/tableCol.js
  2. 3 0
      src/views/ReportForm/ReportForm.vue

+ 45 - 0
src/config/tableCol.js

@@ -34,6 +34,21 @@ export default {
         key: "fans",
         type: 'number'
       },
+      {
+        label: "分享量",
+        key: "shareCount",
+        type: "number"
+      },
+      {
+        label: "点赞量",
+        key: "likeCount",
+        type: "number"
+      },
+      {
+        label: "评论量",
+        key: "commentCount",
+        type: "number"
+      },
     ],
     微信: [
       {
@@ -69,6 +84,16 @@ export default {
         key: "fans",
         type: 'number'
       },
+      {
+        label: "分享量",
+        key: "shareCount",
+        type: 'number'
+      },
+      {
+        label: "收藏数",
+        key: "favCount",
+        type: 'number'
+      },
     ],
     头条: [
       {
@@ -129,6 +154,16 @@ export default {
         key: "monthReadCount",
         type: 'number'
       },
+      {
+        label: "分享量",
+        key: "shareCount",
+        type: 'number'
+      },
+      {
+        label: "点赞量",
+        key: "likeCount",
+        type: 'number'
+      },
     //   {
     //     label: "粉丝数",
     //     key: "fans",
@@ -163,6 +198,16 @@ export default {
         key: "monthReadCount",
         type: 'number'
       },
+      {
+        label: "评论量",
+        key: "commentCount",
+        type: 'number'
+      },
+      {
+        label: "点赞量",
+        key: "likeCount",
+        type: 'number'
+      },
     ],
     B站: [
       {

+ 3 - 0
src/views/ReportForm/ReportForm.vue

@@ -399,4 +399,7 @@ export default {
   border-color: #fb7299;
   color: #fff;
 }
+.el-table th>.cell{
+    white-space: nowrap;
+}
 </style>