complete excel export

This commit is contained in:
2024-01-23 15:46:37 +03:30
parent 52d4582f41
commit 2e4631c6df
3 changed files with 4 additions and 4 deletions

View File

@@ -34,9 +34,9 @@ const ExcelExport = () => {
mb: 2,
borderBottom: 2,
borderBottomColor: "divider",
backgroundColor: "#f1f1f1"
backgroundColor: "#f1f1f1",
}} expanded={false}>
<AccordionSummary>
<AccordionSummary sx={{cursor: "unset !important"}}>
<Box sx={{width: "100%", display: "flex", alignItems: "center", justifyContent: "space-between"}}>
<Box sx={{display: "flex", alignItems: "center", gap: 0.5}}>
<AssignmentIcon sx={{color: "primary.main"}}/>

View File

@@ -225,7 +225,7 @@ export const GET_PERMISSIONS_LIST =
// reports
export const GET_EXPORT = BASE_URL + "/dashboard/exports/navgan"
export const GET_EXCEL_EXPORT = BASE_URL + ""
export const GET_EXCEL_EXPORT = BASE_URL + "/dashboard/exports/navgan/expert_progress"
export const GET_PROVINCE_PROGRESS = BASE_URL + "/dashboard/reports/navgan/province_progress"
export const GET_LOAN_DISTRIBUTION = BASE_URL + "/dashboard/reports/navgan/loan_distribution"
export const GET_LOAN_EXPERTPROGRESS = BASE_URL + "/dashboard/reports/navgan/expert_progress"

View File

@@ -8,7 +8,7 @@ const useProvince = () => {
//swr config
const fetcher = (...args) => {
return requestServer(args, 'get').then(({data}) => {
return data;
return data.data;
}).catch(() => {
})
};