import { h } from 'vue';

export const columns = [
  {
    title: '序号',
    dataIndex: 'index',
    key: 'index',
    fixed: 'left',
    width: 80,
  },
  {
    title: '会话编号',
    dataIndex: 'tokenId',
    width: 300,
  },
  {
    title: '登录名称',
    dataIndex: 'username',
    width: 100,
  },
  {
    title: '部门名称',
    dataIndex: 'deptName',
    width: 150,
  },
  {
    title: 'IP地址',
    dataIndex: 'ipAddr',
    width: 150,
  },
  {
    title: '登录地点',
    dataIndex: 'loginLocation',
    width: 100,
  },
  {
    title: '浏览器',
    dataIndex: 'browser',
    width: 150,
  },
  {
    title: '操作系统',
    dataIndex: 'os',
    width: 150,
  },
  {
    title: '登录时间',
    dataIndex: 'loginTime',
    width: 180,
  },
  {
    title: '操作',
    fixed: 'right',
    dataIndex: 'action',
    key: 'action',
    width: 100,
  },
];
