| | |
| | | AutocompleteInput, |
| | | DeleteButton, |
| | | FunctionField, |
| | | Pagination, |
| | | } from 'react-admin'; |
| | | import { Box, Typography, Card, Chip } from '@mui/material'; |
| | | import { styled } from '@mui/material/styles'; |
| | |
| | | <MyExportButton /> |
| | | </TopToolbar> |
| | | )} |
| | | pagination={<Pagination rowsPerPageOptions={[10, 20, 50, 100]} />} |
| | | perPage={20} |
| | | // aside={<BusListAside />} |
| | | > |
| | |
| | | <NumberField source="id" /> |
| | | <TextField source="uuid" label="table.field.bus.uuid" /> |
| | | <TextField source="busNo" label="table.field.bus.busNo" /> |
| | | <ReferenceField source="busSts" label="table.field.bus.busSts" reference="busSts" link={false} sortable={false}> |
| | | <ReferenceField source="busSts" label="table.field.bus.busSts" reference="busSts" link={false} sortable={true}> |
| | | <FunctionField render={record => ( |
| | | <Chip |
| | | label={record.name} |