| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- import { BasicColumn, FormSchema } from '/@/components/Table';
- export const columns: BasicColumn[] = [
- {
- title: '日志内容',
- dataIndex: 'logContent',
- width: 100,
- align: 'left',
- },
- {
- title: '操作人ID',
- dataIndex: 'userid',
- width: 80,
- },
- {
- title: '操作人',
- dataIndex: 'username',
- width: 80,
- },
- {
- title: 'IP',
- dataIndex: 'ip',
- width: 80,
- },
- {
- title: '耗时(毫秒)',
- dataIndex: 'costTime',
- width: 80,
- },
- {
- title: '创建时间',
- dataIndex: 'createTime',
- sorter: true,
- width: 80,
- },
- {
- title: '结束时间',
- dataIndex: 'endTime',
- sorter: true,
- width: 80,
- },
- ];
- export const searchFormSchema: FormSchema[] = [
- {
- field: 'fieldTime',
- component: 'RangePicker',
- label: '创建时间',
- componentProps: {
- valueType: 'Date',
- },
- colProps: {
- span: 4,
- },
- },
- ];
|