Commit 8f3262c7bb7335cf8aff94b520b7a7f1fffbc602

Authored by 张志伟
1 parent 5e45934b

🐹 feat(*): 轨迹回放新增车牌号展示

src/pages/vms/OperationAdministration/components/PlayBackTable/index.tsx
... ... @@ -32,9 +32,9 @@ const columns: ColumnsType<DataType> = [
32 32 width: 100,
33 33 },
34 34 {
35   - title: '轨迹id',
36   - dataIndex: 'trid',
37   - key: 'trid',
  35 + title: '车牌号',
  36 + dataIndex: 'plateNumber',
  37 + key: 'plateNumber',
38 38 width: 100,
39 39 },
40 40 {
... ... @@ -86,7 +86,6 @@ function PlayBackTable(props: any) {
86 86 };
87 87  
88 88 const handlePageChange = (current: number, pageSize: number, keyword?: string) => {
89   - console.log(1);
90 89 setTableData([]);
91 90 setData({ ...data, current, pageSize, keyword });
92 91 };
... ... @@ -98,7 +97,7 @@ function PlayBackTable(props: any) {
98 97 enterButton="查询"
99 98 style={{ marginBottom: 10 }}
100 99 onSearch={(v) => handlePageChange(data.current || 1, data.pageSize || 10, v)}
101   - placeholder="搜索GPS号"
  100 + placeholder="搜索GPS号/车牌号"
102 101 />
103 102 <Table
104 103 dataSource={tableData}
... ...