wjx 1 år sedan
förälder
incheckning
77c517bed7

+ 1 - 1
src/components/RightContent/index.tsx

@@ -91,7 +91,7 @@ const GlobalHeaderRight: React.FC<{}> = () => {
         </Space>
         <Space onClick={() => window.open(`https://bi.aliyun.com/product/view.htm?module=dashboard&productId=396f5cf7-9d50-4dde-9aaa-eb20e2590518&menuId=74f4c115-db5a-457c-b25b-94bdafc172fe`)}>
           <span role="img" aria-label="fund-view" className="anticon anticon-fund-view"><BiSvg /></span>
-          <span style={{ color: 'rgba(255, 255, 255, 0.65)' }}>BI</span>
+          <span style={{ color: 'rgba(255, 255, 255, 0.65)' }}>BI商业分析</span>
         </Space>
       </div>
 

+ 2 - 3
src/pages/gameDataStatistics/gameData/everyday/tableConfig.tsx

@@ -362,14 +362,13 @@ function columnsNature12(rechargeTrendHandle: (data: any) => void): { label: str
                     dataIndex: 'cz',
                     label: '操作',
                     default: 45,
-                    align: 'center',
-                    width: 75,
+                    width: 80,
                     render: (a: number, b: any) => {
                         if (b?.costDate === '总计') {
                             return <UserInfo data={b.userDetails} sourceSystem={b.sourceSystem} />
                         }
                         
-                        return <Space wrap size={2}>
+                        return <Space direction="vertical" size={2}>
                             {b?.gameId ? <a style={{ fontSize: 12 }} onClick={() => rechargeTrendHandle(b)}>复充趋势</a> : '--'}
                             <UserInfo data={b.userDetails} sourceSystem={b.sourceSystem} />
                         </Space>

+ 1 - 1
src/pages/gameDataStatistics/pitcher/everyDay/index.tsx

@@ -64,7 +64,7 @@ const EvertDay: React.FC = () => {
             totalData={totalData}
             scroll={{ x: 1000, y: 600 }}
             ajax={getPitcherDayList}
-            fixed={{ left: 2, right: 1 }}
+            fixed={{ left: 2, right: 2 }}
             dataSource={getPitcherDayList?.data?.records?.map((item: any, index: number) => ({ ...item, id: Number(queryForm.pageNum.toString() + index.toString()) }))}
             total={getPitcherDayList?.data?.total}
             page={queryForm.pageNum}

+ 16 - 0
src/pages/gameDataStatistics/pitcher/everyDay/tableConfig.tsx

@@ -4,6 +4,7 @@ import React from "react"
 import { version } from "../../components/TableData"
 import moment from "moment"
 import style from '../../extensionData/everyday/index.less'
+import UserInfo from "../../gameData/everyday/userInfo"
 
 function columns12(): { label: string, fieldSHow?: { label: string, saveField: string, defaultValue: any[], data: any[] }, data: any[] }[] {
 
@@ -404,6 +405,21 @@ function columns12(): { label: string, fieldSHow?: { label: string, saveField: s
                 ...zC,
                 ...Mc
             ]
+        },
+        {
+            label: '操作',
+            data: [
+                {
+                    title: '操作',
+                    dataIndex: 'cz',
+                    label: '操作',
+                    default: 115,
+                    width: 80,
+                    render: (_: number, b: any) => {
+                        return <UserInfo data={{ ...b?.userDetails, pitcherId: b?.pitcherId || null }} sourceSystem={b.sourceSystem} />
+                    },
+                }
+            ]
         }
     ]
 }

+ 4 - 0
src/pages/gameDataStatistics/player/list/tableConfig.tsx

@@ -54,6 +54,10 @@ function columns12(lookHandle: (data: any) => void, exportH5: (data: any) => voi
                         return { '3': <Badge status="error" text="冻结" />, '2': <Badge status="success" text="正常" />, '1': <Badge status="warning" text="试玩" /> }[a]
                     }
                 },
+                { title: '玩家最新染色时间', dataIndex: 'userLastRegTime', label: '玩家列表', align: 'center', width: 140, render: (a: string) => (<WidthEllipsis value={a} />) },
+                { title: '玩家最新染色渠道ID', dataIndex: 'userLastRegAgentId', label: '玩家列表', align: 'center', width: 75 },
+                { title: '玩家最新染色渠道名字', dataIndex: 'userLastAgentName', label: '玩家列表', align: 'center', width: 110, render: (a: string) => (<WidthEllipsis value={a} />) },
+                { title: '玩家最新染色归因投手', dataIndex: 'userLastPitcherName', label: '玩家列表', align: 'center', width: 80, render: (a: string) => (<WidthEllipsis value={a} />) },
             ]
         },
         {