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.

57 lines
1.0 KiB

import moment from 'moment'
import { left } from 'inquirer/lib/utils/readline'
import type { BasicColumn, FormSchema } from '@/components/Table'
import { DICT_TYPE, getDictOptions } from '@/utils/dict'
export const columns: BasicColumn[] = [
{
title: '编号',
dataIndex: 'modelId',
width: 80,
fixed: 'left',
},
{
title: '机组',
dataIndex: 'unitName',
width: 100,
fixed: 'left',
},
{
title: '模型名称',
dataIndex: 'modelName',
width: 250,
fixed: 'left',
},
{
title: '算法',
dataIndex: 'algorithmName',
width: 120,
},
{
title: '测点个数',
dataIndex: 'pointNumber',
width: 100,
slots: { customRender: 'pointNumber' },
},
{
title: '模型精度',
dataIndex: 'precision',
width: 100,
slots: { customRender: 'precision' },
},
]
export const searchFormSchema: FormSchema[] = [
{
label: '模型名称',
field: 'modelName',
component: 'Input',
defaultValue: '',
colProps: { span: 10 },
},
]