You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
863 B
52 lines
863 B
1 year ago
|
import type { BasicColumn, FormSchema } from '@/components/Table'
|
||
|
|
||
|
export const columns: BasicColumn[] = [
|
||
|
{
|
||
|
title: '服务id',
|
||
|
dataIndex: 'serviceId',
|
||
|
},
|
||
|
{
|
||
|
title: '服务host',
|
||
|
dataIndex: 'serverHost',
|
||
|
},
|
||
|
{
|
||
|
title: '服务ip',
|
||
|
dataIndex: 'serverIp',
|
||
|
},
|
||
|
{
|
||
|
title: '软件环境',
|
||
|
dataIndex: 'env',
|
||
|
},
|
||
|
{
|
||
|
title: '日志级别',
|
||
|
dataIndex: 'logLevel',
|
||
|
},
|
||
|
{
|
||
|
title: '日志id',
|
||
|
dataIndex: 'id',
|
||
|
},
|
||
|
{
|
||
|
title: '请求接口',
|
||
|
dataIndex: 'requestUri',
|
||
|
},
|
||
|
{
|
||
|
title: '日志时间',
|
||
|
dataIndex: 'createTime',
|
||
|
},
|
||
|
]
|
||
|
|
||
|
export const searchFormSchema: FormSchema[] = [
|
||
|
{
|
||
|
label: '服务id',
|
||
|
field: 'serviceId',
|
||
|
component: 'Input',
|
||
|
colProps: { span: 5 },
|
||
|
},
|
||
|
{
|
||
|
label: '服务host',
|
||
|
field: 'serverHost',
|
||
|
component: 'Input',
|
||
|
colProps: { span: 5 },
|
||
|
},
|
||
|
]
|