diff --git a/apps/st/src/components/statistics/input/ExcretaTreatmentFacilityInp.tsx b/apps/st/src/components/statistics/input/ExcretaTreatmentFacilityInp.tsx index b2f137c85..312ddcc07 100644 --- a/apps/st/src/components/statistics/input/ExcretaTreatmentFacilityInp.tsx +++ b/apps/st/src/components/statistics/input/ExcretaTreatmentFacilityInp.tsx @@ -7,6 +7,7 @@ import LastYearDataButton from "@/components/button/LastYearDataButton"; import SubmitExceptionButton from "@/components/button/SubmitExceptionButton"; import AddArticleButton from "@/components/button/AddArticleButton"; import DeleteArticleButton from "@/components/button/DeleteArticleButton"; +import NotApplicableCheckButton from "@/components/button/NotApplicableCheckButton"; import { ExcretaTreatmentFacilityInpColumn } from "@/components/util/column/input/ExcretaTreatmentFacilityInpColumn" @@ -42,8 +43,9 @@ const ExcretaTreatmentFacilityInp = () => { console.log('save'); // 항목 제외 로직 }; - + const [rowData, setRowData] = useState[]>([]); + const [isNotApplicable, setIsNotApplicable] = useState(false); return ( <> @@ -58,6 +60,7 @@ const ExcretaTreatmentFacilityInp = () => {
+
diff --git a/apps/st/src/components/statistics/input/PrivateSewageFacilityInp.tsx b/apps/st/src/components/statistics/input/PrivateSewageFacilityInp.tsx index 81ec612c1..f5e7d4b82 100644 --- a/apps/st/src/components/statistics/input/PrivateSewageFacilityInp.tsx +++ b/apps/st/src/components/statistics/input/PrivateSewageFacilityInp.tsx @@ -21,23 +21,19 @@ const PrivateSewageFacilityInp = () => { ]; const submitExceptionFunc = () => { - // TODO: 예외 제출 로직 구현 - console.log('예외 제출 로직 실행'); + // 예외 제출 로직 }; const lastYearDataFunc = () => { - // TODO: 지난연도 데이터 가져오기 로직 구현 - console.log('지난연도 데이터 가져오기 로직 실행'); + // 지난연도 데이터 가져오기 로직 }; const submitFunc = () => { - // TODO: 제출 로직 구현 - console.log('제출 로직 실행'); + // 제출 로직 }; const saveFunc = () => { - // TODO: 저장 로직 구현 - console.log('저장 로직 실행'); + // 저장 로직 }; const [rowDataMap, setRowDataMap] = useState[]>>(new Map()); diff --git a/apps/st/src/components/statistics/input/PublicSewageFacilityInp.tsx b/apps/st/src/components/statistics/input/PublicSewageFacilityInp.tsx index f2b66cac4..9017e9a77 100644 --- a/apps/st/src/components/statistics/input/PublicSewageFacilityInp.tsx +++ b/apps/st/src/components/statistics/input/PublicSewageFacilityInp.tsx @@ -5,6 +5,8 @@ import SubmitButton from '@/components/button/SumitButton'; import SaveButton from '@/components/button/SaveButton'; import SubmitExceptionButton from '@/components/button/SubmitExceptionButton'; import OperateDataButton from '@/components/button/OperateDataButton'; +import UpdateOperateDataButton from "@/components/button/UpdateOperateDataButton" +import NotApplicableCheckButton from "@/components/button/NotApplicableCheckButton"; import { PublicSewageFacilityInpColumn } from '@/components/util/column/input/PublicSewageFacilityInpColumn'; @@ -31,7 +33,13 @@ const PublicSewageFacilityInp = () => { // 운영 데이터 가져오기 }; + const updateOperateDataButtonFunc = () => { + console.log('updatedOperateData'); + // 운영 데이터 업데이트 로직 + }; + const [rowData, setRowData] = useState[]>([]); + const [isNotApplicable, setIsNotApplicable] = useState(false); return ( <> @@ -45,6 +53,8 @@ const PublicSewageFacilityInp = () => {
+ +
diff --git a/apps/st/src/components/statistics/input/PumpingStationInp.tsx b/apps/st/src/components/statistics/input/PumpingStationInp.tsx index e6fe99e31..efc962b02 100644 --- a/apps/st/src/components/statistics/input/PumpingStationInp.tsx +++ b/apps/st/src/components/statistics/input/PumpingStationInp.tsx @@ -7,6 +7,7 @@ import LastYearDataButton from "@/components/button/LastYearDataButton"; import SubmitExceptionButton from "@/components/button/SubmitExceptionButton"; import AddArticleButton from "@/components/button/AddArticleButton"; import DeleteArticleButton from "@/components/button/DeleteArticleButton"; +import NotApplicableCheckButton from "@/components/button/NotApplicableCheckButton"; import { PumpingStationInpColumn } from "@/components/util/column/input/PumpingStationInpColumn" @@ -44,6 +45,7 @@ const PumpingStationInp = () => { }; const [rowData, setRowData] = useState[]>([]); + const [isNotApplicable, setIsNotApplicable] = useState(false); return ( <> @@ -58,6 +60,7 @@ const PumpingStationInp = () => {
+
diff --git a/apps/st/src/components/statistics/input/SewageExcretaRelatedInp.tsx b/apps/st/src/components/statistics/input/SewageExcretaRelatedInp.tsx index d59d6e2ec..1b3612a00 100644 --- a/apps/st/src/components/statistics/input/SewageExcretaRelatedInp.tsx +++ b/apps/st/src/components/statistics/input/SewageExcretaRelatedInp.tsx @@ -25,27 +25,22 @@ const SewageExcretaRelatedInp = () => { ]; const submitExceptionFunc = () => { - // TODO: 예외 제출 로직 구현 - console.log('예외 제출 로직 실행'); + // 예외 제출 로직 }; const lastYearDataFunc = () => { - // TODO: 지난연도 데이터 가져오기 로직 구현 - console.log('지난연도 데이터 가져오기 로직 실행'); + // 지난연도 데이터 가져오기 로직 }; const submitFunc = () => { - // TODO: 제출 로직 구현 - console.log('제출 로직 실행'); + // 제출 로직 }; const saveFunc = () => { - // TODO: 저장 로직 구현 - console.log('저장 로직 실행'); + // 저장 로직 }; const addArticleFunc = () => { - console.log('save'); // 항목 추가 로직 }; diff --git a/apps/st/src/components/statistics/input/SewageExcretaSlurgeInp.tsx b/apps/st/src/components/statistics/input/SewageExcretaSlurgeInp.tsx index b34e6a7c0..5f8fcf2b6 100644 --- a/apps/st/src/components/statistics/input/SewageExcretaSlurgeInp.tsx +++ b/apps/st/src/components/statistics/input/SewageExcretaSlurgeInp.tsx @@ -7,6 +7,7 @@ import SubmitExceptionButton from "@/components/button/SubmitExceptionButton"; import LastYearDataButton from "@/components/button/LastYearDataButton"; import AddArticleButton from "@/components/button/AddArticleButton"; import DeleteArticleButton from "@/components/button/DeleteArticleButton"; +import NotApplicableCheckButton from "@/components/button/NotApplicableCheckButton"; import { SlurgeProcessingFacStatusInpColumn } from "@/components/util/column/input/sewageExcretaSlurge/SlurgeProcessingFacStatusInpColumn"; import { DigestorOperatingStatusInpColumn } from "@/components/util/column/input/sewageExcretaSlurge/DigestorOperatingStatusInpColumn"; @@ -26,36 +27,31 @@ const SewageExcretaSlurgeInp = () => { ]; const submitExceptionFunc = () => { - // TODO: 예외 제출 로직 구현 - console.log('예외 제출 로직 실행'); + // 예외 제출 로직 }; const lastYearDataFunc = () => { - // TODO: 지난연도 데이터 가져오기 로직 구현 - console.log('지난연도 데이터 가져오기 로직 실행'); + // 지난연도 데이터 가져오기 로직 }; const submitFunc = () => { - // TODO: 제출 로직 구현 - console.log('제출 로직 실행'); + // 제출 로직 }; const saveFunc = () => { - // TODO: 저장 로직 구현 - console.log('저장 로직 실행'); + // 저장 로직 }; const addArticleFunc = () => { - console.log('save'); // 항목 추가 로직 }; const deleteArticleFunc = () => { - console.log('save'); // 항목 제외 로직 }; const [rowDataMap, setRowDataMap] = useState[]>>(new Map()); + const [isNotApplicable, setIsNotApplicable] = useState(false); return ( <> @@ -70,6 +66,7 @@ const SewageExcretaSlurgeInp = () => {
+
diff --git a/apps/st/src/components/statistics/input/SewagePipeInp.tsx b/apps/st/src/components/statistics/input/SewagePipeInp.tsx index c1a0cd79d..0bd1a7cdf 100644 --- a/apps/st/src/components/statistics/input/SewagePipeInp.tsx +++ b/apps/st/src/components/statistics/input/SewagePipeInp.tsx @@ -39,7 +39,7 @@ const SewagePipeInp = () => { const getLastYearDataFunc = () => { console.log('get last year data'); - // 지난연도 데이터 가져오기 + // 지난연도 데이터 가져오기 로직 }; const submitFunc = () => { diff --git a/apps/st/src/components/statistics/input/SewagePipeMaintainInp.tsx b/apps/st/src/components/statistics/input/SewagePipeMaintainInp.tsx index 83574284d..222f90f52 100644 --- a/apps/st/src/components/statistics/input/SewagePipeMaintainInp.tsx +++ b/apps/st/src/components/statistics/input/SewagePipeMaintainInp.tsx @@ -25,7 +25,7 @@ const SewagePipeMaintainInp = () => { const getLastYearDataFunc = () => { console.log('get last year data'); - // 지난연도 데이터 가져오기 + // 지난연도 데이터 가져오기 로직 }; const submitFunc = () => { diff --git a/apps/st/src/components/statistics/input/SewageReservoirPumpInp.tsx b/apps/st/src/components/statistics/input/SewageReservoirPumpInp.tsx index abe2dfabc..c59f35d95 100644 --- a/apps/st/src/components/statistics/input/SewageReservoirPumpInp.tsx +++ b/apps/st/src/components/statistics/input/SewageReservoirPumpInp.tsx @@ -7,6 +7,7 @@ import LastYearDataButton from "@/components/button/LastYearDataButton"; import SubmitExceptionButton from "@/components/button/SubmitExceptionButton"; import AddArticleButton from "@/components/button/AddArticleButton"; import DeleteArticleButton from "@/components/button/DeleteArticleButton"; +import NotApplicableCheckButton from "@/components/button/NotApplicableCheckButton"; import { SewageReservoirInpColumn } from "@/components/util/column/input/sewageReservoirPump/SewageReservoirInpColumn"; import { RainfallPumpStationInpColumn } from "@/components/util/column/input/sewageReservoirPump/RainfallPumpStationInpColumn"; @@ -51,6 +52,7 @@ const SewageReservoirPumpInp = () => { }; const [rowDataMap, setRowDataMap] = useState[]>>(new Map()); + const [isNotApplicable, setIsNotApplicable] = useState(false); return ( <> @@ -65,6 +67,7 @@ const SewageReservoirPumpInp = () => {
+
diff --git a/apps/st/src/components/statistics/input/SewerageFinanceInp.tsx b/apps/st/src/components/statistics/input/SewerageFinanceInp.tsx index 3b24da2ed..b97d3deea 100644 --- a/apps/st/src/components/statistics/input/SewerageFinanceInp.tsx +++ b/apps/st/src/components/statistics/input/SewerageFinanceInp.tsx @@ -23,23 +23,19 @@ const SewerageFinanceInp = () => { ]; const submitExceptionFunc = () => { - // TODO: 예외 제출 로직 구현 - console.log('예외 제출 로직 실행'); + // 예외 제출 로직 }; const lastYearDataFunc = () => { - // TODO: 지난연도 데이터 가져오기 로직 구현 - console.log('지난연도 데이터 가져오기 로직 실행'); + // 지난연도 데이터 가져오기 로직 }; const submitFunc = () => { - // TODO: 제출 로직 구현 - console.log('제출 로직 실행'); + // 제출 로직 }; const saveFunc = () => { - // TODO: 저장 로직 구현 - console.log('저장 로직 실행'); + // 저장 로직 }; const [rowDataMap, setRowDataMap] = useState[]>>(new Map()); diff --git a/apps/st/src/components/statistics/input/SeweragePenetrationRateInp.tsx b/apps/st/src/components/statistics/input/SeweragePenetrationRateInp.tsx index 68f2ae952..47e122751 100644 --- a/apps/st/src/components/statistics/input/SeweragePenetrationRateInp.tsx +++ b/apps/st/src/components/statistics/input/SeweragePenetrationRateInp.tsx @@ -13,22 +13,18 @@ import { SeweragePenetrationRateInpColumn } from "@/components/util/column/input const SeweragePenetrationRateInp = () => { const SubmitExceptionFunc = () => { - console.log('submit exception'); // 예외 제출 로직 }; const getLastYearDataFunc = () => { - console.log('get last year data'); // 지난연도 데이터 가져오기 }; const submitFunc = () => { - console.log('submit'); // 제출 로직 }; const saveFunc = () => { - console.log('save'); // 저장 로직 }; diff --git a/apps/st/src/components/statistics/input/SewerageServiceLevelInp.tsx b/apps/st/src/components/statistics/input/SewerageServiceLevelInp.tsx index 6ae7ae672..b07b27443 100644 --- a/apps/st/src/components/statistics/input/SewerageServiceLevelInp.tsx +++ b/apps/st/src/components/statistics/input/SewerageServiceLevelInp.tsx @@ -5,13 +5,13 @@ import SubmitButton from "@/components/button/SumitButton"; import SaveButton from "@/components/button/SaveButton"; import LastYearDataButton from "@/components/button/LastYearDataButton"; import SubmitExceptionButton from "@/components/button/SubmitExceptionButton"; +import NotApplicableCheckButton from "@/components/button/NotApplicableCheckButton"; import { ComplaintInpColumn } from "@/components/util/column/input/sewerageServiceLevel/ComplaintInpColumn"; import { ResidentFriendlyFacilityInpColumn } from "@/components/util/column/input/sewerageServiceLevel/ResidentFriendlyFacilityInpColumn"; // 하수도 통계 관리 > 13. 하수도 서비스 수준 const SewerageServiceLevelInp = () => { - const [rowDataMap, setRowDataMap] = useState[]>>(new Map()); // tab List const SewerageServiceLevelInpTabList = [ @@ -20,25 +20,24 @@ const SewerageServiceLevelInp = () => { ]; const submitExceptionFunc = () => { - console.log('submit exception'); // 예외 제출 로직 }; const getLastYearDataFunc = () => { - console.log('get last year data'); // 지난연도 데이터 가져오기 로직 }; const submitFunc = () => { - console.log('submit'); // 제출 로직 }; const saveFunc = () => { - console.log('save'); // 저장 로직 }; + const [rowDataMap, setRowDataMap] = useState[]>>(new Map()); + const [isNotApplicable, setIsNotApplicable] = useState(false); + return ( <> @@ -50,6 +49,11 @@ const SewerageServiceLevelInp = () => {
+
+
+ +
+
{ const rejectFunc = () => { - console.log('reject'); // 보완 요청 로직 }; const approveFunc = () => { - console.log('appoved'); // 승인 요청 로직 }; diff --git a/apps/st/src/components/statistics/input/WaterReuseInp.tsx b/apps/st/src/components/statistics/input/WaterReuseInp.tsx index ea199c371..be9330563 100644 --- a/apps/st/src/components/statistics/input/WaterReuseInp.tsx +++ b/apps/st/src/components/statistics/input/WaterReuseInp.tsx @@ -28,27 +28,22 @@ const WaterReuseInp = () => { TreatmentWaterReuseBussinessApprovalStatusInpColumn ]; const SubmitExceptionFunc = () => { - console.log('submit exception'); // 예외 제출 로직 }; const getLastYearDataFunc = () => { - console.log('get last year data'); - // 전연도 데이터 가져오기 + // 전연도 데이터 가져오기 로직 }; const submitFunc = () => { - console.log('submit'); // 제출 로직 }; const saveFunc = () => { - console.log('save'); // 저장 로직 }; const updateOperateDataButtonFunc = () => { - console.log('updatedOperateData'); // 운영 데이터 업데이트 로직 - tab1. 공공하수처리수 재이용 }; @@ -63,6 +58,7 @@ const WaterReuseInp = () => { }; const [rowDataMap, setRowDataMap] = useState[]>>(new Map()); + const [isNotApplicable, setIsNotApplicable] = useState(false); return ( <> @@ -77,6 +73,7 @@ const WaterReuseInp = () => {
+