You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

73 lines
1.8KB

  1. import {
  2. Box,
  3. Button,
  4. Grid,
  5. Table,
  6. TableBody,
  7. TableCell,
  8. TableContainer,
  9. TableHead,
  10. TableRow,
  11. TextField,
  12. Typography,
  13. } from "@mui/material";
  14. import { PageID, TabID } from "codes/page";
  15. import { RHFTextField } from "components/hook-form";
  16. import useDashboard from "hooks/useDashBoard";
  17. import { useEffect } from "react";
  18. export default function UseSummaryList() {
  19. const { setHeaderTitle, setTabs } = useDashboard(
  20. PageID.DASHBOARD_USE_SUMMARY_DETAIL_CUSTOM_HELLO_TECHNO,
  21. TabID.NONE
  22. );
  23. useEffect(() => {
  24. setHeaderTitle("利用実績詳細");
  25. setTabs(null);
  26. }, []);
  27. return (
  28. <>
  29. <Box sx={{ p: 1, m: 1 }}>
  30. <Grid container spacing={2}>
  31. <Grid item>
  32. <Typography>運営会社</Typography>
  33. <Typography>京都</Typography>
  34. </Grid>
  35. <Grid item>
  36. <Typography>対象月</Typography>
  37. <Typography>2023/05</Typography>
  38. </Grid>
  39. <Grid item xs />
  40. <Grid item>
  41. <Button variant="contained">CSVダウンロード</Button>
  42. </Grid>
  43. </Grid>
  44. </Box>
  45. <TableContainer
  46. sx={{
  47. // minWidth: 800,
  48. position: "relative",
  49. }}
  50. >
  51. <Table size="small">
  52. <TableHead>
  53. <TableCell>駐車場名</TableCell>
  54. <TableCell>領収証発行件数</TableCell>
  55. </TableHead>
  56. <TableBody>
  57. <TableRow>
  58. <TableCell>A駐車場</TableCell>
  59. <TableCell>1件</TableCell>
  60. </TableRow>
  61. <TableRow>
  62. <TableCell>B駐車場</TableCell>
  63. <TableCell>3件</TableCell>
  64. </TableRow>
  65. </TableBody>
  66. </Table>
  67. </TableContainer>
  68. </>
  69. );
  70. }