@jdlinker/system
Version:
jdLinker 系统模块
50 lines (48 loc) • 849 B
text/typescript
import { BasicColumn, FormSchema } from '@jdlinker/ui';
export const columns: BasicColumn[] = [
{
title: '用户名',
dataIndex: 'username',
width: 150
},
{
title: '用户平台',
dataIndex: 'userPlatform',
width: 120
},
{
title: '登录IP地址',
dataIndex: 'ipAddress',
width: 120
},
{
title: '登录地点',
dataIndex: 'loginLocation',
width: 150
},
{
title: '浏览器类型',
dataIndex: 'browser',
width: 150
},
{
title: '操作系统',
dataIndex: 'os',
width: 150
},
{
title: '登录时间',
dataIndex: 'loginTime',
width: 160
}
];
export const searchFormSchema: FormSchema[] = [
{
field: 'username',
label: '用户名',
component: 'Input',
componentProps: {
placeholder: '请输入用户名'
}
}
];