import WidthEllipsis from "@/components/widthEllipsis"
import React from "react"

function columns12() {

    let newArr: { label: string, data: any[] }[] = [
        {
            label: '玩家登录日志列表',
            data: [
                { title: '时间', dataIndex: 'dt', label: '玩家登录日志列表', align: 'center', default: 1, width: 135, render: (a: string, b: any) => (<WidthEllipsis value={a} />) },
                { title: '玩家ID', dataIndex: 'user_id', label: '玩家登录日志列表', align: 'center', default: 2, width: 55 },
                { title: '玩家账号', dataIndex: 'username', label: '玩家登录日志列表', align: 'center', width: 120, default: 3, render: (a: string, b: any) => (<WidthEllipsis isCopy value={a} />) },
                { title: '登陆游戏名', dataIndex: 'game_name', label: '玩家登录日志列表', align: 'center', width: 90, default: 4, render: (a: string, b: any) => (<WidthEllipsis isCopy value={a} />) },
                { title: '登陆游戏ID', dataIndex: 'game_id', label: '玩家登录日志列表', align: 'center', width: 55, default: 5, render: (a: string, b: any) => (<WidthEllipsis value={a} />) },
                { title: '游戏类型', dataIndex: 'classify', label: '玩家登录日志列表', align: 'center', width: 80, default: 6, render: (a: string, b: any) => (<WidthEllipsis value={a} />) },
                { title: '父游戏名', dataIndex: 'parent_game_name', label: '玩家登录日志列表', align: 'center', width: 80, default: 7, render: (a: string, b: any) => (<WidthEllipsis value={a} />) },
                { title: '父游戏ID', dataIndex: 'parent_game_id', label: '玩家登录日志列表', align: 'center', width: 55, default: 8, render: (a: string, b: any) => (<WidthEllipsis value={a} />) },
                { title: '超父游戏ID', dataIndex: 'super_game_id', label: '玩家登录日志列表', align: 'center', width: 55, default: 9, render: (a: string, b: any) => (<WidthEllipsis value={a} />) },
                { title: '角色名', dataIndex: 'role_name', label: '玩家登录日志列表', align: 'center', width: 75, default: 10, render: (a: string, b: any) => (<WidthEllipsis value={a} />) },
                { title: '角色ID', dataIndex: 'role_id', label: '玩家登录日志列表', align: 'center', width: 80, default: 11, render: (a: string, b: any) => (<WidthEllipsis isCopy value={a} />) },
                { title: '区服名', dataIndex: 'server_name', label: '玩家登录日志列表', align: 'center', width: 80, default: 12, render: (a: string, b: any) => (<WidthEllipsis value={a} />) },
                { title: '区服ID', dataIndex: 'server_id', label: '玩家登录日志列表', align: 'center', width: 75, default: 13, render: (a: string, b: any) => (<WidthEllipsis value={a} />) },
                { title: '原始区服名', dataIndex: 'source_server_name', label: '玩家登录日志列表', align: 'center', width: 90, default: 14, render: (a: string, b: any) => (<WidthEllipsis value={a} />) },
                { title: '操作系统', dataIndex: 'os', label: '玩家登录日志列表', align: 'center', width: 90, default: 15, render: (a: string, b: any) => (<WidthEllipsis value={a} />) },
                { title: '登陆IP', dataIndex: 'ip', label: '玩家登录日志列表', align: 'center', width: 100, default: 16, render: (a: string, b: any) => (<WidthEllipsis isCopy value={a} />) },
                { title: '客户端类型', dataIndex: 'device_type', label: '玩家登录日志列表', align: 'center', width: 75, default: 17, render: (a: string, b: any) => (<WidthEllipsis value={a} />) },
                { title: '登陆类型', dataIndex: 'log_type', label: '玩家登录日志列表', align: 'center', width: 60, default: 18, render: (a: string, b: any) => (<WidthEllipsis value={a} />) }
            ]
        },

    ]

    return newArr
}

export default columns12