import { BasicColumn, FormSchema } from '/@/components/Table'; // import { listDictModel } from '/@/api/common'; export const columns: BasicColumn[] = [ { title: '会话ID', dataIndex: 'sessionId', width: 280, }, { title: '用户名', dataIndex: 'username', width: 150, }, { title: '登录IP地址', dataIndex: 'lastLoginIp', width: 120, }, { title: '登录地点', dataIndex: 'lastLoginLocation', width: 150, }, { title: '浏览器类型', dataIndex: 'browser', width: 150, }, { title: '操作系统', dataIndex: 'os', }, { title: '登录时间', dataIndex: 'lastLoginTime', width: 160, }, ]; export const searchFormSchema: FormSchema[] = [ { field: 'username', label: '用户名', component: 'Input', componentProps: { placeholder: '请输入用户名', }, }, ]; export const tokenColumns: BasicColumn[] = [ { title: '登录设备', dataIndex: 'loginDevice', }, { title: '有效期', dataIndex: 'indate', }, { title: '令牌', dataIndex: 'tokenValues', }, ];