|
|
@ -24,17 +24,6 @@ function PlateChangeMgm() { |
|
|
|
const [total, setTotal] = useState(0); |
|
|
|
const columns = [ |
|
|
|
{ |
|
|
|
title: "序号", |
|
|
|
dataIndex: "index", |
|
|
|
key: "index", |
|
|
|
align: "center", |
|
|
|
fixed: "right", |
|
|
|
// render: (text, record, index) => index + 1, |
|
|
|
render: (_, record, index) => { |
|
|
|
return formData.pn ? index + 1 + (formData.pn - 1) * formData.page_size : index + 1 |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "车场名称", |
|
|
|
dataIndex: "road_name", |
|
|
|
key: "road_name", |
|
|
@ -209,6 +198,7 @@ function PlateChangeMgm() { |
|
|
|
return ( |
|
|
|
<> |
|
|
|
<TableModule |
|
|
|
showSerial={true} |
|
|
|
columns={columns} |
|
|
|
tableData={resultData} |
|
|
|
formSearch={formSearch} |
|
|
|