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 relationTableSchema: BasicColumn[] = [ { title: '描述', width: 150, dataIndex: 'description', }, { title: '点号', width: 150, dataIndex: 'point', }, { title: '单位', width: 150, dataIndex: 'unit', }, { title: '上限 ', width: 150, dataIndex: 'upperlimit', edit: true, }, { title: '下限', width: 150, dataIndex: 'lowerlimit', edit: true, }, ] 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', }, ]