wr: 시설부대경비 요율 수정
This commit is contained in:
@@ -210,8 +210,8 @@ export default function CoMatRvw() {
|
||||
*/
|
||||
const constCostSimulation = () => {
|
||||
const url = `/constCostSimulation`;
|
||||
const width = Math.floor(window.screen.availWidth * 0.8);
|
||||
const height = Math.floor(window.screen.availHeight * 0.8);
|
||||
const width = Math.floor(window.screen.availWidth * 0.6);
|
||||
const height = Math.floor(window.screen.availHeight * 0.6);
|
||||
const left = Math.floor(window.screenX + (window.outerWidth - width) / 2);
|
||||
const top = Math.floor(window.screenY + (window.outerHeight - height) / 2);
|
||||
const popupOptions = `width=${width},height=${height},left=${left},top=${top},resizable=yes,scrollbars=yes`;
|
||||
@@ -334,10 +334,9 @@ export default function CoMatRvw() {
|
||||
getSearch(val, Number(fromDate), Number(toDate), con, dmdCoNm);
|
||||
}}
|
||||
></UiTable>
|
||||
<div ref={bottomRef} />
|
||||
<div ref={bottomRef} className="scroll-mt-[45px]"/>
|
||||
</ListDiv>
|
||||
<br /><hr />
|
||||
<br />
|
||||
<hr className="my-4"/>
|
||||
{/* <ScrollArea className="h-[49vh]"> */}
|
||||
<ListDiv>
|
||||
<div className="card-header flex items-center justify-between">
|
||||
|
||||
@@ -57,13 +57,15 @@ export type comFcltState = {
|
||||
rateFeeRes:rateFeeType[],
|
||||
|
||||
};
|
||||
type comFcltActions = {
|
||||
type comFcltActions = {
|
||||
getSwtrmtFcltNm: (searchNm: string) => void;
|
||||
getDemandCompList: (searchNm: string, cnt: number) => void;
|
||||
regDemandCompany: (data: DemandCompType) => Promise<string>;
|
||||
updateDemandCompany: (data: DemandCompType) => Promise<string>;
|
||||
getConstCostFee: (year: string) => void;
|
||||
getRateFee: (year: string) => void;
|
||||
getConstCostFeeRtn: (year: string) => conCostFeeType[];
|
||||
getRateFeeRtn: (year: string) => rateFeeType[];
|
||||
};
|
||||
|
||||
export const comFcltSearchAction: (set: any) => comFcltActions = (set: any) => {
|
||||
@@ -168,6 +170,18 @@ export const comFcltSearchAction: (set: any) => comFcltActions = (set: any) => {
|
||||
console.log(" error ", e);
|
||||
}
|
||||
},
|
||||
// 요율정보 조회 : ONSEMIRO_NEW.EM_STD_COST_INC_EXP_RT 설치관리표준사업비 부대경비요율
|
||||
// 팝업에서 연도 변경하여 볼 수 있도록 데이터를 return한다.
|
||||
getRateFeeRtn: async (year: string) => {
|
||||
try {
|
||||
const url = `/prcsFclt/CstRt/${year}`;
|
||||
const rateFeeRes = await getFetch(fetchType.COMMON, url);
|
||||
|
||||
return rateFeeRes;
|
||||
} catch (e) {
|
||||
console.log(" error ", e);
|
||||
}
|
||||
},
|
||||
// 공사금액 (공사비 산정표) 조회 : ONSEMIRO_NEW.EM_STD_COST_REUSE 설치관리표준사업비 재이용시설 공사비
|
||||
getConstCostFee: async (year: string) => {
|
||||
try {
|
||||
@@ -185,6 +199,17 @@ export const comFcltSearchAction: (set: any) => comFcltActions = (set: any) => {
|
||||
console.log('getConstCostFee ', e)
|
||||
}
|
||||
|
||||
},
|
||||
// 공사금액 (공사비 산정표) 조회 : ONSEMIRO_NEW.EM_STD_COST_REUSE 설치관리표준사업비 재이용시설 공사비
|
||||
getConstCostFeeRtn: async (year: string) => {
|
||||
try {
|
||||
const url = `/prcsFclt/CstRuse/${year}`;
|
||||
const constCost = await getFetch(fetchType.COMMON, url);
|
||||
return constCost;
|
||||
} catch (e) {
|
||||
console.log('getConstCostFee ', e)
|
||||
}
|
||||
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user