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.

153 lines
2.4 KiB

import type { BasicColumn } from '@/components/Table/src/types/table'
export const targetTableSchema: BasicColumn[] = [
{
title: '描述',
width: 150,
dataIndex: 'description',
edit: true,
},
{
title: '点号',
width: 150,
dataIndex: 'targetPoint',
},
{
title: '单位',
width: 150,
dataIndex: 'unit',
edit: true,
},
{
title: '上限 ',
width: 150,
dataIndex: 'upperlimit',
edit: true,
},
{
title: '下限',
width: 150,
dataIndex: 'lowerlimit',
edit: true,
},
{
title: '时实值',
width: 150,
dataIndex: 'realTimeValue',
},
]
export const boundaryTableSchema: BasicColumn[] = [
{
title: '描述',
width: 150,
dataIndex: 'description',
edit: true,
},
{
title: '点号',
width: 150,
dataIndex: 'targetPoint',
},
{
title: '单位',
width: 150,
dataIndex: 'unit',
edit: true,
},
{
title: '上限 ',
width: 150,
dataIndex: 'upperlimit',
edit: true,
},
{
title: '下限',
width: 150,
dataIndex: 'lowerlimit',
edit: true,
},
{
title: '网格数',
width: 150,
dataIndex: 'gridNumber',
edit: true,
},
]
export const pointTableSchema: BasicColumn[] = [
{
title: '描述',
width: 150,
dataIndex: 'description',
},
{
title: '点号',
width: 150,
dataIndex: 'pointId',
},
{
title: '单位',
width: 150,
dataIndex: 'unit',
},
{
title: '上限 ',
width: 150,
dataIndex: 'Upper',
edit: true,
},
{
title: '下限',
width: 150,
dataIndex: 'Lower',
edit: true,
},
{
title: '编辑',
width: 100,
dataIndex: 'action',
slots: { customRender: 'action' },
},
]
export const sampleInfoTableSchema: BasicColumn[] = [
{
title: '开始时间',
width: 180,
dataIndex: 'st',
},
{
title: '结束时间',
width: 180,
dataIndex: 'et',
},
{
title: '时长(秒)',
width: 120,
dataIndex: 'duration',
},
{
title: '采样数量',
width: 120,
dataIndex: 'number',
},
{
title: '清洗样本数',
width: 120,
dataIndex: 'filter',
},
{
title: '有效样本数',
width: 120,
dataIndex: 'mode',
},
{
title: '操作',
width: 100,
dataIndex: 'action',
slots: { customRender: 'action' },
fixed: 'right',
},
]