import React from 'react'; import { Table, Button, DatePicker, Space, Typography, Card, Segmented, Row, Col, } from 'antd'; import { DownloadOutlined, VideoCameraOutlined, CalendarOutlined, SearchOutlined } from '@ant-design/icons'; import { VIDEOS } from '../constants'; const { Text, Title } = Typography; const { RangePicker } = DatePicker; export default function Downloads() { const columns = [ { title: '文件详情', key: 'file', render: (record: any) => (
ROB_{record.id}_RAW.mp4 Cloud-Storage-01
), }, { title: '源设备', dataIndex: 'deviceName', key: 'deviceName', render: (text: string) => {text}, }, { title: '起止时间', key: 'duration', render: (record: any) => ( {record.startTime.split(' ')[1]}
{record.endTime.split(' ')[1]} ), }, { title: '容量', dataIndex: 'size', key: 'size', render: (text: string) => {text}, }, { title: '操作', key: 'action', align: 'right' as const, render: () => ( ), }, ]; return (
视频回放中心
时间跨度 ({ ...v, key: v.id }))} pagination={{ pageSize: 12, size: 'small' }} /> ); }