| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- import { BasicColumn } from '/@/components/Table';
- export const columns: BasicColumn[] = [
- {
- title: '序号',
- width: 60,
- align: 'center',
- customRender: ({ index }: { index: number }) => `${index + 1}`
- },
- {
- title: '门板最大基准面积(cm²)',
- dataIndex: 'maxAreaBase',
- key: 'maxAreaBase',
- align: 'center',
- ellipsis: true,
- },
- {
- title: '像素面积比',
- dataIndex: 'pixelAreaRatio',
- key: 'pixelAreaRatio',
- align: 'center',
- ellipsis: true,
- },
- {
- title: '面积百分比阈值(%)',
- dataIndex: 'areaPercentThreshold',
- key: 'areaPercentThreshold',
- align: 'center',
- ellipsis: true,
- },
- {
- title: '检测间隔(秒)',
- dataIndex: 'detectInterval',
- key: 'detectInterval',
- align: 'center',
- ellipsis: true,
- },
- {
- title: '持续时间阈值(秒)',
- dataIndex: 'durationThreshold',
- key: 'durationThreshold',
- align: 'center',
- ellipsis: true,
- },
- {
- title: '任务状态',
- dataIndex: 'status',
- key: 'status',
- align: 'center',
- ellipsis: true,
- },
- {
- title: '操作',
- dataIndex: 'actionSp',
- width: 200,
- align: 'center',
- slots: { customRender: 'action' },
- },
- ]
- //任务状态
- export const taskData = [
- { label: '开启', value: '1' },
- { label: '关闭', value: '0' }
- ]
|