wjx 1 năm trước cách đây
mục cha
commit
2b4f3e657f

+ 8 - 7
src/pages/gameDataStatistics/player/role/tableConfig.tsx

@@ -35,19 +35,20 @@ function columns12() {
                 { title: '战力', dataIndex: 'rolePower', label: '玩家列表', align: 'center', width: 85, default: 16, render: (a: string, b: any) => (<WidthEllipsis value={a} />) },
                 { title: '角色VIP', dataIndex: 'roleVipLevel', label: '玩家列表', align: 'center', width: 60, default: 17, render: (a: string, b: any) => (<WidthEllipsis value={a} />) },
                 { title: '操作系统', dataIndex: 'os', label: '玩家列表', align: 'center', width: 65, default: 18, render: (a: string, b: any) => (<WidthEllipsis value={a} />) },
-                { title: '充值金额', dataIndex: 'rechargeMoney', label: '玩家列表', align: 'center', width: 80, default: 19, render: (a: string, b: any) => (<Statistic value={a || 0} />) },
-                { title: '充值次数', dataIndex: 'rechargeCount', label: '玩家列表', align: 'center', width: 60, default: 20, render: (a: string, b: any) => (<Statistic value={a || 0} />) },
-                { title: '游戏角色创建时间', dataIndex: 'createTime', label: '玩家列表', align: 'center', width: 140, default: 21, render: (a: string, b: any) => (<WidthEllipsis value={a} />) },
-                { title: '最近登录时间', dataIndex: 'lastLoginTime', label: '玩家列表', align: 'center', width: 140, default: 22, render: (a: string, b: any) => (<WidthEllipsis value={a} />) },
-                { title: '游戏角色更新时间', dataIndex: 'updateTime', label: '玩家列表', align: 'center', width: 140, default: 23, render: (a: string, b: any) => (<WidthEllipsis value={a} />) },
-                { title: '最近充值时间', dataIndex: 'lastRechargeTime', label: '玩家列表', align: 'center', width: 140, default: 24, render: (a: string, b: any) => (<WidthEllipsis value={a} />) },
+                { title: '国家', dataIndex: 'country', label: '玩家列表', align: 'center', width: 70, default: 19, render: (a: string, b: any) => (<WidthEllipsis value={a} />) },
+                { title: '充值金额', dataIndex: 'rechargeMoney', label: '玩家列表', align: 'center', width: 80, default: 20, render: (a: string, b: any) => (<Statistic value={a || 0} />) },
+                { title: '充值次数', dataIndex: 'rechargeCount', label: '玩家列表', align: 'center', width: 60, default: 21, render: (a: string, b: any) => (<Statistic value={a || 0} />) },
+                { title: '游戏角色创建时间', dataIndex: 'createTime', label: '玩家列表', align: 'center', width: 140, default: 22, render: (a: string, b: any) => (<WidthEllipsis value={a} />) },
+                { title: '最近登录时间', dataIndex: 'lastLoginTime', label: '玩家列表', align: 'center', width: 140, default: 23, render: (a: string, b: any) => (<WidthEllipsis value={a} />) },
+                { title: '游戏角色更新时间', dataIndex: 'updateTime', label: '玩家列表', align: 'center', width: 140, default: 24, render: (a: string, b: any) => (<WidthEllipsis value={a} />) },
+                { title: '最近充值时间', dataIndex: 'lastRechargeTime', label: '玩家列表', align: 'center', width: 140, default: 25, render: (a: string, b: any) => (<WidthEllipsis value={a} />) },
                 {
                     title: '注册充值时间差',
                     dataIndex: 'regPayTimeDiff',
                     align: 'center',
                     label: '玩家列表',
                     width: 140,
-                    default: 25,
+                    default: 26,
                     render: (a: string, b: any) => {
                         function secondsToDhms(seconds: any) {
                             const days = Math.floor(seconds / (3600 * 24));

+ 17 - 0
src/pages/gameDataStatistics/roleOperate/roleFightingRanking/tableConfig.tsx

@@ -262,6 +262,23 @@ function columns12() {
                                 </div>
                             }
                         },
+                        {
+                            title: '国家',
+                            dataIndex: 'country',
+                            key: 'country',
+                            width: 70,
+                            align: 'center',
+                            className: "h5BiomassClass green2ColorClass",
+                            render: (a: any, b: any) => {
+                                return <div className='h5BiomassTable'>
+                                    {b?.role_rank_date?.map((item: any, index: number) => {
+                                        return <div key={'cc' + index}>
+                                            <div><WidthEllipsis value={item.country} /></div>
+                                        </div>
+                                    })}
+                                </div>
+                            }
+                        },
                         {
                             title: '角色攻击力',
                             dataIndex: 'combat_num',

+ 1 - 0
src/pages/gameDataStatistics/roleOperate/roleRechargeRanking/tableConfig.tsx

@@ -32,6 +32,7 @@ function columns12(
                 { title: '角色VIP等级', dataIndex: 'vip_level', label: '角色信息', align: 'center', width: 60, default: 3, render: (a: string, b: any) => (<WidthEllipsis value={a} />) },
                 { title: '角色等级', dataIndex: 'role_level', label: '角色信息', align: 'center', width: 65, render: (a: string, b: any) => (<WidthEllipsis value={a} />) },
                 { title: '角色攻击力', dataIndex: 'combat_num', label: '角色信息', width: 95, align: 'right', sorter: true, render: (a: string, b: any) => (<Statistic value={a || 0} />) },
+                { title: '国家', dataIndex: 'country', label: '角色信息', align: 'center', width: 70, render: (a: string, b: any) => (<WidthEllipsis value={a} />) },
             ],
         },
         {