wr: 빗물이용시설 엑셀다운 수정
This commit is contained in:
@@ -178,14 +178,14 @@ export const rainSttnActionsExport: (set: any) => rainSttnActions = (
|
|||||||
return {
|
return {
|
||||||
rainSttnInit: async (isExcel: boolean, page: number, total: number, con: string, txt: string, code: Record<string, SelectDataType[]>) => {
|
rainSttnInit: async (isExcel: boolean, page: number, total: number, con: string, txt: string, code: Record<string, SelectDataType[]>) => {
|
||||||
try {
|
try {
|
||||||
await fetchRainSttn(isExcel, page, total, con, txt, code);
|
return await fetchRainSttn(isExcel, page, total, con, txt, code);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.log(e)
|
console.log(e)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
rainSttnSearch: async (isExcel: boolean, page: number, total: number, con: string, txt: string,code: Record<string, SelectDataType[]>) => {
|
rainSttnSearch: async (isExcel: boolean, page: number, total: number, con: string, txt: string,code: Record<string, SelectDataType[]>) => {
|
||||||
try {
|
try {
|
||||||
await fetchRainSttn(isExcel, page, total, con, txt, code);
|
return await fetchRainSttn(isExcel, page, total, con, txt, code);
|
||||||
} catch (erTxt) {
|
} catch (erTxt) {
|
||||||
console.log("error", erTxt);
|
console.log("error", erTxt);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user