| @@ -493,6 +493,29 @@ export default function ReportPage() { | |||||
| setLoading={setLoading} | setLoading={setLoading} | ||||
| reportTitle={currentReport.title} | reportTitle={currentReport.title} | ||||
| /> | /> | ||||
| ) : currentReport.id === 'rep-013' ? ( | |||||
| <> | |||||
| <Button | |||||
| variant="contained" | |||||
| size="large" | |||||
| startIcon={<DownloadIcon />} | |||||
| onClick={handlePrint} | |||||
| disabled={loading} | |||||
| sx={{ px: 4 }} | |||||
| > | |||||
| {loading ? "生成 PDF..." : "下載報告 (PDF)"} | |||||
| </Button> | |||||
| <Button | |||||
| variant="outlined" | |||||
| size="large" | |||||
| startIcon={<DownloadIcon />} | |||||
| onClick={handleExcelPrint} | |||||
| disabled={loading} | |||||
| sx={{ px: 4 }} | |||||
| > | |||||
| {loading ? "生成 Excel..." : "下載報告 (Excel)"} | |||||
| </Button> | |||||
| </> | |||||
| ) : currentReport.id === 'rep-006' ? ( | ) : currentReport.id === 'rep-006' ? ( | ||||
| <> | <> | ||||
| <Button | <Button | ||||