/**
 * 今日运行
 */
import React from 'react';
import VMTable from '../../../vm-table';

export default function TodayRunLJSY(props: any) {
    window.console.log(props);
    const columns = [
        {
            title: '收集点',
            dataIndex: 'type',
            key: 'type',
            width: 100,
            ellipsis: true,
        },
        {
            title: '收集次数',
            dataIndex: 'time',
            key: 'time',
            width: 120,
            ellipsis: true,
        },
        {
            title: '收集桶数',
            dataIndex: 'alarmContent',
            key: 'alarmContent',
            ellipsis: true,
        },
        {
            title: '收集重量',
            dataIndex: 'weight',
            key: 'weight',
            ellipsis: true,
        },
    ];
    const tableProps = {
        height: 220,
        paganitation: false,
        dataSource: [
            { type: '超速', time: '213' },
            { type: '超速2', time: '213' },
            { type: '超速2', time: '213' },
        ],
    };

    return <VMTable columns={columns} isIndex={false} rowKey="index" {...tableProps} />;
}
