wr: type오류수정

This commit is contained in:
2026-05-12 15:04:19 +09:00
parent c35017d05c
commit 8d8b010717
3 changed files with 16 additions and 7 deletions
+6
View File
@@ -0,0 +1,6 @@
module.exports = {
parserOptions: {
tsconfigRootDir: __dirname,
project: "./tsconfig.eslint.json",
},
};
+8 -6
View File
@@ -64,8 +64,8 @@ type comFcltActions = {
updateDemandCompany: (data: DemandCompType) => Promise<string>;
getConstCostFee: (year: string) => void;
getRateFee: (year: string) => void;
getConstCostFeeRtn: (year: string) => conCostFeeType[];
getRateFeeRtn: (year: string) => rateFeeType[];
getRateFeeRtn: (year: string) => Promise<rateFeeType[]>;
getConstCostFeeRtn: (year: string) => Promise<conCostFeeType[]>;
};
export const comFcltSearchAction: (set: any) => comFcltActions = (set: any) => {
@@ -180,6 +180,7 @@ export const comFcltSearchAction: (set: any) => comFcltActions = (set: any) => {
return rateFeeRes;
} catch (e) {
console.log(" error ", e);
return [];
}
},
// 공사금액 (공사비 산정표) 조회 : ONSEMIRO_NEW.EM_STD_COST_REUSE 설치관리표준사업비 재이용시설 공사비
@@ -196,20 +197,21 @@ export const comFcltSearchAction: (set: any) => comFcltActions = (set: any) => {
});
} catch (e) {
console.log('getConstCostFee ', e)
console.log('getConstCostFee ', e);
}
},
// 공사금액 (공사비 산정표) 조회 : ONSEMIRO_NEW.EM_STD_COST_REUSE 설치관리표준사업비 재이용시설 공사비
getConstCostFeeRtn: async (year: string) => {
getConstCostFeeRtn: async (year: string): Promise<conCostFeeType[]> => {
try {
const url = `/prcsFclt/CstRuse/${year}`;
const constCost = await getFetch(fetchType.COMMON, url);
return constCost;
} catch (e) {
console.log('getConstCostFee ', e)
console.log('getConstCostFee ', e);
return [];
}
}
};
};
@@ -432,7 +432,8 @@ export default function ConCostForm({
selectClass="rounded-md"
selectArray={code.sewageOutFclttUse || []}
onSelectValue={field.onChange}
value={field.value}
value={field.value ?? ""}
className=""
/>
) : (
<Input