1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
| import { BasicColumn } from '/@/components/Table';
| import { FormSchema } from '/@/components/Table';
| import { h } from 'vue';
| import { Switch } from 'ant-design-vue';
| import { useMessage } from '/@/hooks/web/useMessage';
|
| export const columns: BasicColumn[] = [
| {
| title: '登录用户',
| dataIndex: 'USER_ID',
| width: 80,
| },
| {
| title: '登录来源',
| dataIndex: 'LOGIN_FROM',
| width: 300,
| },
| {
| title: '登录时间',
| dataIndex: 'LOGIN_TIME',
| width: 80,
| },
| {
| title: '注销时间',
| dataIndex: 'LOGOUT_TIME',
| width: 80,
| },
| ];
|
| export const searchFormSchema: FormSchema[] = [
| {
| field: 'LOGIN_FROM',
| label: '登录来源',
| component: 'Input',
| colProps: { span: 8 },
| },
| {
| field: 'LOGIN_TIME',
| label: '登录时间',
| component: 'RangePicker',
| colProps: { span: 8 },
| },
| ];
|
|