fix: from db 表单调整列宽

This commit is contained in:
xiaoguangbin 2023-11-21 14:45:18 +08:00
parent 76401ab00d
commit a061ac62c1

View File

@ -42,68 +42,71 @@ import { cloneDeep } from 'lodash'
const columns = [ const columns = [
{ {
title: 'SampleID', title: 'SampleID',
align: 'left', align: 'center',
dataIndex: 'sampleId', dataIndex: 'sampleId',
}, },
{ {
title: 'Station', title: 'Station',
align: 'left', align: 'center',
dataIndex: 'stationName', dataIndex: 'stationName',
width: 80,
}, },
{ {
title: 'Detector', title: 'Detector',
align: 'left', align: 'center',
dataIndex: 'detectorsName', dataIndex: 'detectorsName',
width: 130, width: 110,
}, },
{ {
title: 'Sample', title: 'Sample',
align: 'left', align: 'center',
dataIndex: 'sampleType', dataIndex: 'sampleType',
width: 65,
}, },
{ {
title: 'DataType', title: 'DataType',
align: 'left', align: 'center',
dataIndex: 'dataType', dataIndex: 'dataType',
}, },
{ {
title: 'Qualifier', title: 'Qualifier',
align: 'left', align: 'center',
dataIndex: 'spectralQualifie', dataIndex: 'spectralQualifie',
}, },
{ {
title: 'Col.Stop', title: 'Col.Stop',
align: 'left', align: 'center',
dataIndex: 'collectStop', dataIndex: 'collectStop',
sorter: true, sorter: true,
width: 170, width: 170,
}, },
{ {
title: 'Acq.Start', title: 'Acq.Start',
align: 'left', align: 'center',
dataIndex: 'acquisitionStart', dataIndex: 'acquisitionStart',
width: 170, width: 170,
}, },
{ {
title: 'Acq.real', title: 'Acq.real',
align: 'left', align: 'center',
dataIndex: 'acquisitionRealSec', dataIndex: 'acquisitionRealSec',
width: 100, width: 100,
}, },
{ {
title: 'Acq.live', title: 'Acq.live',
align: 'left', align: 'center',
dataIndex: 'acquisitionLiveSec', dataIndex: 'acquisitionLiveSec',
width: 100, width: 100,
}, },
{ {
title: 'Analyst', title: 'Analyst',
align: 'left', align: 'center',
dataIndex: 'analyst', dataIndex: 'analyst',
width: 110,
}, },
{ {
title: 'Status', title: 'Status',
align: 'left', align: 'center',
dataIndex: 'status', dataIndex: 'status',
}, },
] ]