import { useEffect, useMemo, useState } from 'react'; import { Download, Eye, FileUp, Search } from 'lucide-react'; import { adminApi, type ReportTask } from '@/api/adminApi'; import { Breadcrumb, Button, DateRangeInput, Input, Modal, Table, Tag, Textarea, type DateRangeValue, type TableColumn } from '@/components/ui'; const statusMeta: Record = { pending: { label: '待处理', tone: 'neutral' }, ready: { label: '待导出', tone: 'info' }, exported: { label: '已导出', tone: 'warning' }, reporting: { label: '报备中', tone: 'warning' }, partial: { label: '部分完成', tone: 'info' }, completed: { label: '已完成', tone: 'success' }, failed: { label: '有失败', tone: 'danger' }, }; function ReceiptImportModal({ onClose, onSubmit }: { onClose: () => void; onSubmit: (fileName: string, remark: string) => void }) { const [fileName, setFileName] = useState(''); const [remark, setRemark] = useState(''); return ( } onClose={onClose} open size="xl" title={

导入报备回执

上传运营商回执并记录状态。

} >