ith5 hai 5 meses
pai
achega
3eaeb02f75

+ 179 - 37
src/views/v1/gameLog/active/index.vue

@@ -69,48 +69,190 @@ const options = reactive({
   pk: 'id',
   rowSelection: { showCheckedAll: true },
   showSort: false,
-
+  showSummary: true,
   operationColumn: false,
+  summary: [
+    {
+      action: 'totalRow',
+      dataIndex: 'reg',
+    },
+    {
+      action: 'totalRow',
+      dataIndex: 'd1',
+    },
+    {
+      action: 'totalRow',
+      dataIndex: 'd2',
+    },
+    {
+      action: 'totalRow',
+      dataIndex: 'd3',
+    },
+    {
+      action: 'totalRow',
+      dataIndex: 'd4',
+    },
+    {
+      action: 'totalRow',
+      dataIndex: 'd5',
+    },
+    {
+      action: 'totalRow',
+      dataIndex: 'd6',
+    },
+    {
+      action: 'totalRow',
+      dataIndex: 'd7',
+    },
+    {
+      action: 'totalRow',
+      dataIndex: 'd8',
+    },
+    {
+      action: 'totalRow',
+      dataIndex: 'd9',
+    },
+    {
+      action: 'totalRow',
+      dataIndex: 'd10',
+    },
+    {
+      action: 'totalRow',
+      dataIndex: 'd11',
+    },
+    {
+      action: 'totalRow',
+      dataIndex: 'd12',
+    },
+    {
+      action: 'totalRow',
+      dataIndex: 'd13',
+    },
+    {
+      action: 'totalRow',
+      dataIndex: 'd14',
+    },
+    {
+      action: 'totalRow',
+      dataIndex: 'd15',
+    },
+    {
+      action: 'totalRow',
+      dataIndex: 'd16',
+    },
+    {
+      action: 'totalRow',
+      dataIndex: 'd17',
+    },
+    {
+      action: 'totalRow',
+      dataIndex: 'd18',
+    },
+    {
+      action: 'totalRow',
+      dataIndex: 'd19',
+    },
+    {
+      action: 'totalRow',
+      dataIndex: 'd20',
+    },
+    {
+      action: 'totalRow',
+      dataIndex: 'd21',
+    },
+    {
+      action: 'totalRow',
+      dataIndex: 'd22',
+    },
+    {
+      action: 'totalRow',
+      dataIndex: 'd23',
+    },
+    {
+      action: 'totalRow',
+      dataIndex: 'd24',
+    },
+    {
+      action: 'totalRow',
+      dataIndex: 'd25',
+    },
+    {
+      action: 'totalRow',
+      dataIndex: 'd26',
+    },
+    {
+      action: 'totalRow',
+      dataIndex: 'd27',
+    },
+    {
+      action: 'totalRow',
+      dataIndex: 'd28',
+    },
+    {
+      action: 'totalRow',
+      dataIndex: 'd29',
+    },
+    {
+      action: 'totalRow',
+      dataIndex: 'd30',
+    },
+    {
+      action: 'totalRow',
+      dataIndex: 'd45',
+    },
+    {
+      action: 'totalRow',
+      dataIndex: 'd60',
+    },
+    {
+      action: 'totalRow',
+      dataIndex: 'd90',
+    },
+    {
+      action: 'totalRow',
+      dataIndex: 'd120',
+    },
+  ],
 })
 
 // SaTable 列配置
 const columns = reactive([
-  { title: '日期', dataIndex: 'tdate', width: 120, fixed: 'left' },
-  { title: '注册数', dataIndex: 'reg', width: 120, fixed: 'left' },
-  { title: '1', dataIndex: 'd1', width: 120 },
-  { title: '2', dataIndex: 'd2', width: 120 },
-  { title: '3', dataIndex: 'd3', width: 120 },
-  { title: '4', dataIndex: 'd4', width: 120 },
-  { title: '5', dataIndex: 'd5', width: 120 },
-  { title: '6', dataIndex: 'd6', width: 120 },
-  { title: '7', dataIndex: 'd7', width: 120 },
-  { title: '8', dataIndex: 'd8', width: 120 },
-  { title: '9', dataIndex: 'd9', width: 120 },
-  { title: '10', dataIndex: 'd10', width: 120 },
-  { title: '11', dataIndex: 'd11', width: 120 },
-  { title: '12', dataIndex: 'd12', width: 120 },
-  { title: '13', dataIndex: 'd13', width: 120 },
-  { title: '14', dataIndex: 'd14', width: 120 },
-  { title: '15', dataIndex: 'd15', width: 120 },
-  { title: '16', dataIndex: 'd16', width: 120 },
-  { title: '17', dataIndex: 'd17', width: 120 },
-  { title: '18', dataIndex: 'd18', width: 120 },
-  { title: '19', dataIndex: 'd19', width: 120 },
-  { title: '20', dataIndex: 'd20', width: 120 },
-  { title: '21', dataIndex: 'd21', width: 120 },
-  { title: '22', dataIndex: 'd22', width: 120 },
-  { title: '23', dataIndex: 'd23', width: 120 },
-  { title: '24', dataIndex: 'd24', width: 120 },
-  { title: '25', dataIndex: 'd25', width: 120 },
-  { title: '26', dataIndex: 'd26', width: 120 },
-  { title: '27', dataIndex: 'd27', width: 120 },
-  { title: '28', dataIndex: 'd28', width: 120 },
-  { title: '29', dataIndex: 'd29', width: 120 },
-  { title: '30', dataIndex: 'd30', width: 120 },
-  { title: '45', dataIndex: 'd45', width: 120 },
-  { title: '60', dataIndex: 'd60', width: 120 },
-  { title: '90', dataIndex: 'd90', width: 120 },
-  { title: '120', dataIndex: 'd120', width: 120 },
+  { title: '日期', dataIndex: 'tdate', width: 80, fixed: 'left' },
+  { title: '注册数', dataIndex: 'reg', width: 80, fixed: 'left' },
+  { title: '1', dataIndex: 'd1', width: 80 },
+  { title: '2', dataIndex: 'd2', width: 80 },
+  { title: '3', dataIndex: 'd3', width: 80 },
+  { title: '4', dataIndex: 'd4', width: 80 },
+  { title: '5', dataIndex: 'd5', width: 80 },
+  { title: '6', dataIndex: 'd6', width: 80 },
+  { title: '7', dataIndex: 'd7', width: 80 },
+  { title: '8', dataIndex: 'd8', width: 80 },
+  { title: '9', dataIndex: 'd9', width: 80 },
+  { title: '10', dataIndex: 'd10', width: 80 },
+  { title: '11', dataIndex: 'd11', width: 80 },
+  { title: '12', dataIndex: 'd12', width: 80 },
+  { title: '13', dataIndex: 'd13', width: 80 },
+  { title: '14', dataIndex: 'd14', width: 80 },
+  { title: '15', dataIndex: 'd15', width: 80 },
+  { title: '16', dataIndex: 'd16', width: 80 },
+  { title: '17', dataIndex: 'd17', width: 80 },
+  { title: '18', dataIndex: 'd18', width: 80 },
+  { title: '19', dataIndex: 'd19', width: 80 },
+  { title: '20', dataIndex: 'd20', width: 80 },
+  { title: '21', dataIndex: 'd21', width: 80 },
+  { title: '22', dataIndex: 'd22', width: 80 },
+  { title: '23', dataIndex: 'd23', width: 80 },
+  { title: '24', dataIndex: 'd24', width: 80 },
+  { title: '25', dataIndex: 'd25', width: 80 },
+  { title: '26', dataIndex: 'd26', width: 80 },
+  { title: '27', dataIndex: 'd27', width: 80 },
+  { title: '28', dataIndex: 'd28', width: 80 },
+  { title: '29', dataIndex: 'd29', width: 80 },
+  { title: '30', dataIndex: 'd30', width: 80 },
+  { title: '45', dataIndex: 'd45', width: 80 },
+  { title: '60', dataIndex: 'd60', width: 80 },
+  { title: '90', dataIndex: 'd90', width: 80 },
+  { title: '120', dataIndex: 'd120', width: 80 },
 ])
 
 // 页面数据初始化

+ 15 - 15
src/views/v1/gameLog/payRemain/index.vue

@@ -75,7 +75,7 @@ const options = reactive({
   summary: [
     {
       action: 'totalRow',
-      dataIndex: 'tdate',
+      dataIndex: 'reg_date',
     },
     {
       action: 'totalRow',
@@ -134,67 +134,67 @@ const options = reactive({
 
 // SaTable 列配置
 const columns = reactive([
-  { title: '注册日期', dataIndex: 'tdate', width: 120, fixed: 'left' },
-  { title: '付费人数', dataIndex: 'reg_pay_num', width: 120 },
+  { title: '注册日期', dataIndex: 'reg_date', width: 120, fixed: 'left' },
+  { title: '付费人数', dataIndex: 'reg_pay_num', width: 60 },
   {
     title: '次留',
     dataIndex: 'remain_2',
-    width: 60,
+    width: 50,
   },
   {
     title: '3留',
     dataIndex: 'remain_3',
-    width: 60,
+    width: 50,
   },
   {
     title: '4留',
     dataIndex: 'remain_4',
-    width: 60,
+    width: 50,
   },
   {
     title: '5留',
     dataIndex: 'remain_5',
-    width: 60,
+    width: 50,
   },
   {
     title: '6留',
     dataIndex: 'remain_6',
-    width: 60,
+    width: 50,
   },
   {
     title: '7留',
     dataIndex: 'remain_7',
-    width: 60,
+    width: 50,
   },
   {
     title: '15留',
     dataIndex: 'remain_15',
-    width: 60,
+    width: 50,
   },
   {
     title: '30留',
     dataIndex: 'remain_30',
-    width: 60,
+    width: 50,
   },
   {
     title: '35留',
     dataIndex: 'remain_35',
-    width: 60,
+    width: 50,
   },
   {
     title: '40留',
     dataIndex: 'remain_40',
-    width: 60,
+    width: 50,
   },
   {
     title: '55留',
     dataIndex: 'remain_55',
-    width: 60,
+    width: 50,
   },
   {
     title: '60留',
     dataIndex: 'remain_60',
-    width: 60,
+    width: 50,
   },
 ])
 

+ 3 - 2
src/views/v1/gameLog/roleData/index.vue

@@ -99,13 +99,14 @@ const options = reactive({
 
 // SaTable 列配置
 const columns = reactive([
+  { title: '注册时间', dataIndex: 'create_time', width: 180 },
+  { title: '角色信息', width: 180, dataIndex: 'roles' },
   { title: '用户名', dataIndex: 'user_name', width: 120 },
   { title: '游戏名', dataIndex: 'game_name', width: 120 },
   { title: '渠道id', dataIndex: 'agent_id', width: 100 },
   { title: '广告位id', dataIndex: 'site_id', width: 100 },
   { title: '注册IP', dataIndex: 'ip', width: 180 },
-  { title: '注册时间', dataIndex: 'create_time', width: 180 },
-  { title: '角色信息', width: 180, dataIndex: 'roles' },
+
   { title: '渠道名', dataIndex: 'agent_name', width: 120 },
   { title: '负责人', dataIndex: 'auth_name', width: 120 },
 ])

+ 1 - 1
src/views/v1/gameLog/sdkLoginLog/index.vue

@@ -112,7 +112,7 @@ const options = reactive({
 
 // SaTable 列配置
 const columns = reactive([
-  { title: '用户名', dataIndex: 'user_name', width: 80 },
+  { title: '用户名', dataIndex: 'user_name', width: 120 },
   { title: '游戏', dataIndex: 'game_name', width: 120 },
   { title: '媒体ID', dataIndex: 'media_id', width: 80 },
   { title: '广告位id', dataIndex: 'site_id', width: 100 },