feat: 하수 통계 관리 화면 구현
- 02. 하수관로 - 03. 하수관로 유지관리 - 04. 하수저류시설 - 05. 펌프장 - 06. 공공하수처리시설
This commit is contained in:
@@ -1,9 +1,237 @@
|
||||
import SearchForm from "@/components/module/SearchForm";
|
||||
import SearchForm from '@/components/module/SearchForm';
|
||||
import DataGrid from '@/components/module/DataGrid';
|
||||
import SubmitButton from '@/components/button/SumitButton';
|
||||
import SaveButton from '@/components/button/SaveButton';
|
||||
import LastYearDataButton from '@/components/button/LastYearDataButton';
|
||||
import SubmitExceptionButton from '@/components/button/SubmitExceptionButton';
|
||||
|
||||
// 하수도 통계 관리 > 06. 공공하수처리시설
|
||||
const PublicSewageFacilityMng = () => {
|
||||
const columns = [
|
||||
// 행정구역
|
||||
{ name: 'sidoCd', fieldName: '시도', header: { text: '시도' } },
|
||||
{ name: 'gugun', fieldName: '구군', header: { text: '구군' } },
|
||||
|
||||
// 시설명
|
||||
{ name: 'bscFctNm', fieldName: '시설명', header: { text: '시설명(500m³/일 이상/미만)' } },
|
||||
|
||||
// 소재지
|
||||
{ name: 'addr', fieldName: '소재지', header: { text: '소재지' } },
|
||||
|
||||
// 시설용량
|
||||
{ name: 'fctCpc', fieldName: '시설용량', header: { text: '시설용량(500m³/일 이상/미만)' } },
|
||||
|
||||
// 시설용량 - (m³/일)
|
||||
{ name: 'fctCpc1', fieldName: '물리적(시설용량)', header: { text: '물리적' } },
|
||||
{ name: 'fctCpc2', fieldName: '생물학적(시설용량)', header: { text: '생물학적' } },
|
||||
{ name: 'fctCpc3', fieldName: '고도(시설용량)', header: { text: '고도' } },
|
||||
|
||||
// 유입하수량
|
||||
{ name: 'totInflAmntAve', fieldName: '유입하수량', header: { text: '유입하수량(500m³/일 이상/미만)' } },
|
||||
|
||||
// 유입하수량 - (m³/일)
|
||||
{ name: 'pInflAmntAve', fieldName: '물리적(유입)', header: { text: '물리적' } },
|
||||
{ name: 'oInflAmntAve', fieldName: '생물학적(유입)', header: { text: '생물학적' } },
|
||||
{ name: 'aInflAmntAve', fieldName: '고도(유입)', header: { text: '고도' } },
|
||||
|
||||
// 방류량
|
||||
{ name: 'totTputAve', fieldName: '방류량', header: { text: '방류량(500m³/일 이상/미만)' } },
|
||||
|
||||
// 방류량 - (m³/일)
|
||||
{ name: 'pTputAve', fieldName: '물리적(방류)', header: { text: '물리적' } },
|
||||
{ name: 'oTputAve', fieldName: '생물학적(방류)', header: { text: '생물학적' } },
|
||||
{ name: 'aTputAve', fieldName: '고도(방류)', header: { text: '고도' } },
|
||||
|
||||
// 수질
|
||||
{ name: 'inflAssctBfrWqltBod', fieldName: '유입BOD', header: { text: '유입BOD' } },
|
||||
{ name: 'efflWqltBod', fieldName: '방류BOD', header: { text: '방류BOD' } },
|
||||
{ name: 'inflAssctBfrWqltToc', fieldName: '유입TOC', header: { text: '유입TOC' } },
|
||||
{ name: 'efflWqltToc', fieldName: '방류TOC', header: { text: '방류TOC' } },
|
||||
{ name: 'inflAssctBfrWqltSs', fieldName: '유입SS', header: { text: '유입SS' } },
|
||||
{ name: 'efflWqltSs', fieldName: '방류SS', header: { text: '방류SS' } },
|
||||
{ name: 'inflAssctBfrWqltTn', fieldName: '유입T-N', header: { text: '유입T-N' } },
|
||||
{ name: 'efflWqltTn', fieldName: '방류T-N', header: { text: '방류T-N' } },
|
||||
{ name: 'inflAssctBfrWqltTp', fieldName: '유입T-P', header: { text: '유입T-P' } },
|
||||
{ name: 'efflWqltTp', fieldName: '방류T-P', header: { text: '방류T-P' } },
|
||||
{ name: 'inflAssctBfrWqltClfgrpcnt', fieldName: '유입총대장균군수', header: { text: '유입총대장균군수' } },
|
||||
{ name: 'efflWqltClfgrpcnt', fieldName: '방류총대장균군수', header: { text: '방류총대장균군수' } },
|
||||
|
||||
// 처리특성
|
||||
{ name: 'tmEfficiency', fieldName: '처리효율(%)', header: { text: '처리효율(%)' } },
|
||||
{ name: 'pcLoad', fieldName: '처리부하량', header: { text: '처리부하량(kgBOD/D)' } },
|
||||
{ name: 'trtFrfHanNm', fieldName: '처리방법', header: { text: '처리방법' } },
|
||||
|
||||
// 연계처리량
|
||||
{ name: 'excretionsTot', fieldName: '분뇨', header: { text: '분뇨' } },
|
||||
{ name: 'stkrsngWstwtrTot', fieldName: '축산', header: { text: '축산' } },
|
||||
{ name: 'lchtTot', fieldName: '침출수', header: { text: '침출수' } },
|
||||
{ name: 'etcTot', fieldName: '기타', header: { text: '기타' } },
|
||||
|
||||
// 시설정보
|
||||
{ name: 'tel', fieldName: '전화번호', header: { text: '전화번호' } },
|
||||
{ name: 'rnDt', fieldName: '준공일', header: { text: '준공일' } },
|
||||
{ name: 'compDt', fieldName: '가동개시일', header: { text: '가동개시일' } },
|
||||
{ name: 'tot', fieldName: '사업비', header: { text: '사업비' } },
|
||||
|
||||
// 방류수 소독방법
|
||||
{ name: 'dsfctNm', fieldName: '방류수 소독방법', header: { text: '방류수 소독방법' } },
|
||||
|
||||
// 방류수역
|
||||
{ name: 'wbsnNm', fieldName: '수계', header: { text: '수계' } },
|
||||
{ name: 'rvNm', fieldName: '지류', header: { text: '지류' } },
|
||||
{ name: 'mdmbsn', fieldName: '세부단위구역', header: { text: '세부단위구역' } },
|
||||
{ name: 'efflWqltStndrdNm', fieldName: '지역구분', header: { text: '지역구분' } },
|
||||
{ name: 'lgbsn', fieldName: '중권역', header: { text: '중권역' } },
|
||||
{ name: 'lgbsnBod', fieldName: '목표수질(BOD)', header: { text: '목표수질(BOD)' } },
|
||||
|
||||
// 에너지
|
||||
{ name: 'toeRt', fieldName: '에너지자립률(%)', header: { text: '에너지자립률(%)' } },
|
||||
{ name: 'toeSum', fieldName: '계(TOE)', header: { text: '계(TOE)' } },
|
||||
{ name: 'elcpwAmnt', fieldName: '총 전력사용량', header: { text: '총 전력사용량(kWh)' } },
|
||||
{ name: 'toeQnty', fieldName: '자체 에너지사용량', header: { text: '자체 에너지사용량(TOE)' } },
|
||||
|
||||
// CO2
|
||||
{ name: 'co2Emissions', fieldName: 'CO2배출량', header: { text: '하수처리량당 CO2배출량(kgCO2/m³)' } },
|
||||
|
||||
// 운영정보
|
||||
{ name: 'oprClsNm', fieldName: '운영주체', header: { text: '운영주체(자체/공기업/민간대행)' } },
|
||||
|
||||
// 위탁현황
|
||||
{ name: 'trstOprEtpNm', fieldName: '위탁업체명', header: { text: '위탁업체명' } },
|
||||
{ name: 'yrstpTrstCst', fieldName: '위탁비용', header: { text: '위탁비용(백만원/년)' } },
|
||||
{ name: 'trstOprDt', fieldName: '위탁계약기간', header: { text: '위탁계약기간(yyyy-mm-dd~yyyy-mm-dd)' } },
|
||||
|
||||
// 기타
|
||||
{ name: 'cntrTrtFctNm', fieldName: '중심처리시설', header: { text: '중심처리시설' } },
|
||||
{ name: 'totWtrQrm', fieldName: '직원총수', header: { text: '직원총수(명)' } },
|
||||
{ name: 'safeAcdntCo', fieldName: '안전사고건수', header: { text: '안전사고건수' } },
|
||||
{ name: 'rmk', fieldName: '비고', header: { text: '비고' } },
|
||||
];
|
||||
|
||||
const columnLayout = [
|
||||
{
|
||||
name: 'administrative',
|
||||
hideChildHeaders: false,
|
||||
header: { text: '행정구역' },
|
||||
items: ['sidoCd', 'gugun'],
|
||||
},
|
||||
'bscFctNm',
|
||||
'addr',
|
||||
'fctCpc',
|
||||
{
|
||||
name: 'facilityCapacityDetail',
|
||||
hideChildHeaders: false,
|
||||
header: { text: '(m³/일)' },
|
||||
items: ['fctCpc1', 'fctCpc2', 'fctCpc3'],
|
||||
},
|
||||
'totInflAmntAve',
|
||||
{
|
||||
name: 'influentWaterDetail',
|
||||
hideChildHeaders: false,
|
||||
header: { text: '(m³/일)' },
|
||||
items: ['pInflAmntAve', 'oInflAmntAve', 'aInflAmntAve'],
|
||||
},
|
||||
'totTputAve',
|
||||
{
|
||||
name: 'effluentWaterDetail',
|
||||
hideChildHeaders: false,
|
||||
header: { text: '(m³/일)' },
|
||||
items: ['pTputAve', 'oTputAve', 'aTputAve'],
|
||||
},
|
||||
'inflAssctBfrWqltBod',
|
||||
'efflWqltBod',
|
||||
'inflAssctBfrWqltToc',
|
||||
'efflWqltToc',
|
||||
'inflAssctBfrWqltSs',
|
||||
'efflWqltSs',
|
||||
'inflAssctBfrWqltTn',
|
||||
'efflWqltTn',
|
||||
'inflAssctBfrWqltTp',
|
||||
'efflWqltTp',
|
||||
'inflAssctBfrWqltClfgrpcnt',
|
||||
'efflWqltClfgrpcnt',
|
||||
'tmEfficiency',
|
||||
'pcLoad',
|
||||
'trtFrfHanNm',
|
||||
{
|
||||
name: 'linkedTreatment',
|
||||
hideChildHeaders: false,
|
||||
header: { text: '연계처리량(m³/일) (500m³/일 이상/미만)' },
|
||||
items: ['excretionsTot', 'stkrsngWstwtrTot', 'lchtTot', 'etcTot'],
|
||||
},
|
||||
'tel',
|
||||
'rnDt',
|
||||
'compDt',
|
||||
'tot',
|
||||
'dsfctNm',
|
||||
{
|
||||
name: 'dischargeArea',
|
||||
hideChildHeaders: false,
|
||||
header: { text: '방류수역' },
|
||||
items: [
|
||||
'wbsnNm',
|
||||
'rvNm',
|
||||
'mdmbsn',
|
||||
'efflWqltStndrdNm',
|
||||
{
|
||||
name: 'mediumWatershed',
|
||||
hideChildHeaders: false,
|
||||
header: { text: '중권역' },
|
||||
items: ['lgbsn', 'lgbsnBod'],
|
||||
},
|
||||
],
|
||||
},
|
||||
'toeRt',
|
||||
{
|
||||
name: 'energy',
|
||||
hideChildHeaders: false,
|
||||
header: { text: '연간 총 에너지 사용량(TOE)' },
|
||||
items: ['toeSum', 'elcpwAmnt', 'toeQnty'],
|
||||
},
|
||||
'co2Emissions',
|
||||
'oprClsNm',
|
||||
{
|
||||
name: 'consignmentStatus',
|
||||
hideChildHeaders: false,
|
||||
header: { text: '위탁현황' },
|
||||
items: ['trstOprEtpNm', 'yrstpTrstCst', 'trstOprDt'],
|
||||
},
|
||||
'cntrTrtFctNm',
|
||||
'totWtrQrm',
|
||||
'safeAcdntCo',
|
||||
'rmk',
|
||||
];
|
||||
|
||||
const saveFunc = () => {
|
||||
console.log('save');
|
||||
// 저장 로직: 자동 계산 (합계 필드 계산) 후 저장
|
||||
};
|
||||
|
||||
const submitFunc = () => {
|
||||
console.log('submit');
|
||||
// 제출 로직: 데이터 검증 후 제출 팝업 호출
|
||||
};
|
||||
|
||||
const getLastYearDataFunc = () => {
|
||||
console.log('get last year data');
|
||||
// 지난연도 데이터 가져오기 로직
|
||||
};
|
||||
|
||||
const SubmitExceptionFunc = () => {
|
||||
console.log('submitException');
|
||||
// 예외제출 로직
|
||||
};
|
||||
|
||||
return (
|
||||
<>
|
||||
<SearchForm userMenual={true} />
|
||||
<div className="flex justify-end items-center gap-[0.6rem] m-[0.6rem]">
|
||||
<SubmitButton submitFunc={submitFunc} />
|
||||
<SaveButton saveFunc={saveFunc} />
|
||||
<LastYearDataButton getLastYearDataFunc={getLastYearDataFunc} />
|
||||
<SubmitExceptionButton SubmitExceptionFunc={SubmitExceptionFunc} />
|
||||
</div>
|
||||
<DataGrid columnInfo={{ columns, columnLayout }} rowStartNum={3} fixedColumns={2} />
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -1,9 +1,174 @@
|
||||
import SearchForm from "@/components/module/SearchForm";
|
||||
import DataGrid from "@/components/module/DataGrid";
|
||||
import SubmitButton from "@/components/button/SumitButton";
|
||||
import SaveButton from "@/components/button/SaveButton";
|
||||
import LastYearDataButton from "@/components/button/LastYearDataButton";
|
||||
import SubmitExceptionButton from "@/components/button/SubmitExceptionButton";
|
||||
|
||||
// 하수도 통계 관리 > 05. 펌프장
|
||||
const PumpingStationMng = () => {
|
||||
|
||||
const columns = [
|
||||
// 행정구역
|
||||
{ name: 'sido', fieldName: '시도', header: { text: '시도' } },
|
||||
{ name: 'sgg', fieldName: '시군구', header: { text: '시군구' } },
|
||||
|
||||
// 기본 정보
|
||||
{ name: 'treatmentFacilityName', fieldName: '처리장명', header: { text: '처리장명' } },
|
||||
{ name: 'facilityName', fieldName: '시설명', header: { text: '시설명' } },
|
||||
{ name: 'classification', fieldName: '구분(합류식 분류식)', header: { text: '구분(합류식 분류식)' } },
|
||||
{ name: 'location', fieldName: '위치', header: { text: '위치' } },
|
||||
{ name: 'operationDate', fieldName: '가동 년월일 yyyy-mm-dd', header: { text: '가동 년월일 yyyy-mm-dd' } },
|
||||
|
||||
// 계획 정보
|
||||
{ name: 'planDrainageArea', fieldName: '계획배수면적(㎢)', header: { text: '계획배수면적(㎢)' } },
|
||||
{ name: 'fairWeatherFlow', fieldName: '청천시(A)', header: { text: '청천시(A)' } },
|
||||
{ name: 'rainyWeatherFlow', fieldName: '우천시(B)', header: { text: '우천시(B)' } },
|
||||
{ name: 'rainwaterFlow', fieldName: '우수량(B-A)', header: { text: '우수량(B-A)' } },
|
||||
|
||||
// 배수능력
|
||||
{ name: 'totalPumpCapacity', fieldName: '총양수량(m³/min)', header: { text: '총양수량(m³/min)' } },
|
||||
|
||||
// 배수능력 - 오수펌프(1)
|
||||
{ name: 'sewagePump1Diameter', fieldName: '오수펌프(1) 구경(mm)', header: { text: '구경(mm)' } },
|
||||
{ name: 'sewagePump1Capacity', fieldName: '오수펌프(1) 대당 양수량(m³/min·대)', header: { text: '대당 양수량(m³/min·대)' } },
|
||||
{ name: 'sewagePump1Count', fieldName: '오수펌프(1) 펌프대수', header: { text: '펌프대수' } },
|
||||
{ name: 'sewagePump1Reserve', fieldName: '오수펌프(1) 예비펌프대수', header: { text: '예비펌프대수' } },
|
||||
|
||||
// 배수능력 - 오수펌프(2)
|
||||
{ name: 'sewagePump2Diameter', fieldName: '오수펌프(2) 구경(mm)', header: { text: '구경(mm)' } },
|
||||
{ name: 'sewagePump2Capacity', fieldName: '오수펌프(2) 대당 양수량(m³/min·대)', header: { text: '대당 양수량(m³/min·대)' } },
|
||||
{ name: 'sewagePump2Count', fieldName: '오수펌프(2) 펌프대수', header: { text: '펌프대수' } },
|
||||
{ name: 'sewagePump2Reserve', fieldName: '오수펌프(2) 예비펌프대수', header: { text: '예비펌프대수' } },
|
||||
|
||||
// 배수능력 - 오수펌프(3)
|
||||
{ name: 'sewagePump3Diameter', fieldName: '오수펌프(3) 구경(mm)', header: { text: '구경(mm)' } },
|
||||
{ name: 'sewagePump3Capacity', fieldName: '오수펌프(3) 대당 양수량(m³/min·대)', header: { text: '대당 양수량(m³/min·대)' } },
|
||||
{ name: 'sewagePump3Count', fieldName: '오수펌프(3) 펌프대수', header: { text: '펌프대수' } },
|
||||
{ name: 'sewagePump3Reserve', fieldName: '오수펌프(3) 예비펌프대수', header: { text: '예비펌프대수' } },
|
||||
|
||||
// 배수능력 - 우수펌프(1)
|
||||
{ name: 'rainwaterPump1Diameter', fieldName: '우수펌프(1) 구경(mm)', header: { text: '구경(mm)' } },
|
||||
{ name: 'rainwaterPump1Capacity', fieldName: '우수펌프(1) 대당 양수량(m³/min·대)', header: { text: '대당 양수량(m³/min·대)' } },
|
||||
{ name: 'rainwaterPump1Count', fieldName: '우수펌프(1) 펌프대수', header: { text: '펌프대수' } },
|
||||
{ name: 'rainwaterPump1Reserve', fieldName: '우수펌프(1) 예비펌프대수', header: { text: '예비펌프대수' } },
|
||||
|
||||
// 배수능력 - 우수펌프(2)
|
||||
{ name: 'rainwaterPump2Diameter', fieldName: '우수펌프(2) 구경(mm)', header: { text: '구경(mm)' } },
|
||||
{ name: 'rainwaterPump2Capacity', fieldName: '우수펌프(2) 대당 양수량(m³/min·대)', header: { text: '대당 양수량(m³/min·대)' } },
|
||||
{ name: 'rainwaterPump2Count', fieldName: '우수펌프(2) 펌프대수', header: { text: '펌프대수' } },
|
||||
{ name: 'rainwaterPump2Reserve', fieldName: '우수펌프(2) 예비펌프대수', header: { text: '예비펌프대수' } },
|
||||
|
||||
// 배수능력 - 우수펌프(3)
|
||||
{ name: 'rainwaterPump3Diameter', fieldName: '우수펌프(3) 구경(mm)', header: { text: '구경(mm)' } },
|
||||
{ name: 'rainwaterPump3Capacity', fieldName: '우수펌프(3) 대당 양수량(m³/min·대)', header: { text: '대당 양수량(m³/min·대)' } },
|
||||
{ name: 'rainwaterPump3Count', fieldName: '우수펌프(3) 펌프대수', header: { text: '펌프대수' } },
|
||||
{ name: 'rainwaterPump3Reserve', fieldName: '우수펌프(3) 예비펌프대수', header: { text: '예비펌프대수' } },
|
||||
|
||||
// 기타
|
||||
{ name: 'annualPowerUsage', fieldName: '연간전력사용량(kWh/년)', header: { text: '연간전력사용량(kWh/년)' } },
|
||||
{ name: 'remarks', fieldName: '비고', header: { text: '비고' } },
|
||||
];
|
||||
|
||||
const columnLayout = [
|
||||
{
|
||||
name: 'administrativeArea',
|
||||
hideChildHeaders: false,
|
||||
header: { text: '행정구역' },
|
||||
items: ['sido', 'sgg'],
|
||||
},
|
||||
'treatmentFacilityName',
|
||||
'facilityName',
|
||||
'classification',
|
||||
'location',
|
||||
'operationDate',
|
||||
'planDrainageArea',
|
||||
{
|
||||
name: 'planFlowGroup',
|
||||
hideChildHeaders: false,
|
||||
header: { text: '계획시간대최대배수량(m³/hr)' },
|
||||
items: ['fairWeatherFlow', 'rainyWeatherFlow', 'rainwaterFlow'],
|
||||
},
|
||||
{
|
||||
name: 'drainageCapability',
|
||||
hideChildHeaders: false,
|
||||
header: { text: '배수능력' },
|
||||
items: [
|
||||
'totalPumpCapacity',
|
||||
{
|
||||
name: 'sewagePump1Group',
|
||||
hideChildHeaders: false,
|
||||
header: { text: '오수펌프(1)' },
|
||||
items: ['sewagePump1Diameter', 'sewagePump1Capacity', 'sewagePump1Count', 'sewagePump1Reserve'],
|
||||
},
|
||||
{
|
||||
name: 'sewagePump2Group',
|
||||
hideChildHeaders: false,
|
||||
header: { text: '오수펌프(2)' },
|
||||
items: ['sewagePump2Diameter', 'sewagePump2Capacity', 'sewagePump2Count', 'sewagePump2Reserve'],
|
||||
},
|
||||
{
|
||||
name: 'sewagePump3Group',
|
||||
hideChildHeaders: false,
|
||||
header: { text: '오수펌프(3)' },
|
||||
items: ['sewagePump3Diameter', 'sewagePump3Capacity', 'sewagePump3Count', 'sewagePump3Reserve'],
|
||||
},
|
||||
{
|
||||
name: 'rainwaterPump1Group',
|
||||
hideChildHeaders: false,
|
||||
header: { text: '우수펌프(1)' },
|
||||
items: ['rainwaterPump1Diameter', 'rainwaterPump1Capacity', 'rainwaterPump1Count', 'rainwaterPump1Reserve'],
|
||||
},
|
||||
{
|
||||
name: 'rainwaterPump2Group',
|
||||
hideChildHeaders: false,
|
||||
header: { text: '우수펌프(2)' },
|
||||
items: ['rainwaterPump2Diameter', 'rainwaterPump2Capacity', 'rainwaterPump2Count', 'rainwaterPump2Reserve'],
|
||||
},
|
||||
{
|
||||
name: 'rainwaterPump3Group',
|
||||
hideChildHeaders: false,
|
||||
header: { text: '우수펌프(3)' },
|
||||
items: ['rainwaterPump3Diameter', 'rainwaterPump3Capacity', 'rainwaterPump3Count', 'rainwaterPump3Reserve'],
|
||||
},
|
||||
],
|
||||
},
|
||||
'annualPowerUsage',
|
||||
'remarks',
|
||||
];
|
||||
|
||||
|
||||
|
||||
const submitFunc = () => {
|
||||
console.log('submit');
|
||||
// 제출 로직
|
||||
};
|
||||
|
||||
const saveFunc = () => {
|
||||
console.log('save');
|
||||
// 저장 로직
|
||||
};
|
||||
|
||||
const getLastYearDataFunc = () => {
|
||||
console.log('get last year data');
|
||||
// 지난연도 데이터 가져오기 로직
|
||||
};
|
||||
|
||||
const SubmitExceptionFunc = () => {
|
||||
console.log('submit exception');
|
||||
// 예외 제출 로직
|
||||
};
|
||||
|
||||
return (
|
||||
<>
|
||||
<SearchForm userMenual={true} />
|
||||
<div className="flex justify-end items-center gap-[0.6rem] m-[0.6rem]">
|
||||
<SubmitButton submitFunc={submitFunc} />
|
||||
<SaveButton saveFunc={saveFunc} />
|
||||
<LastYearDataButton getLastYearDataFunc={getLastYearDataFunc} />
|
||||
<SubmitExceptionButton SubmitExceptionFunc={SubmitExceptionFunc} />
|
||||
</div>
|
||||
<DataGrid columnInfo={{columns, columnLayout}} rowStartNum={3} isExcelImport={true} fixedColumns={3} />
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -1,9 +1,45 @@
|
||||
import SearchForm from "@/components/module/SearchForm";
|
||||
import TabDataGrid from "@/components/module/TabDataGrid";
|
||||
import SubmitButton from "@/components/button/SumitButton";
|
||||
import SaveButton from "@/components/button/SaveButton";
|
||||
import ReviewOpinionButton from "@/components/button/ReviewOpinionButton";
|
||||
import ReturnButton from "@/components/button/ReturnButton";
|
||||
|
||||
import { SewagePipeMaintainMngColumnInfoList } from "@/components/util/column/SewagePipeMaintainMngColumn";
|
||||
|
||||
// 하수도 통계 관리 > 03. 하수관로 유지관리
|
||||
const SewagePipeMaintainMng = () => {
|
||||
|
||||
const submitFunc = () => {
|
||||
console.log('제출 로직 실행');
|
||||
// TODO: 제출 API 호출
|
||||
};
|
||||
|
||||
const saveFunc = () => {
|
||||
console.log('저장 로직 실행');
|
||||
// TODO: 저장 API 호출
|
||||
};
|
||||
|
||||
const returnFunc = () => {
|
||||
console.log('반려 로직 실행');
|
||||
};
|
||||
|
||||
const reviewOpinionFunc = () => {
|
||||
console.log('검토의견 작성 로직 실행');
|
||||
};
|
||||
|
||||
return (
|
||||
<>
|
||||
<SearchForm userMenual={true} />
|
||||
|
||||
<div className="flex justify-end items-center gap-[0.6rem] m-[0.6rem]">
|
||||
<ReviewOpinionButton reviewOpinionFunc={reviewOpinionFunc} />
|
||||
<ReturnButton returnFunc={returnFunc} />
|
||||
<SaveButton saveFunc={saveFunc} />
|
||||
<SubmitButton submitFunc={submitFunc} />
|
||||
</div>
|
||||
|
||||
<TabDataGrid columnInfo={SewagePipeMaintainMngColumnInfoList} />
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -3,8 +3,9 @@ import TabDataGrid from "@/components/module/TabDataGrid";
|
||||
import ApproveButton from "@/components/button/ApproveButton";
|
||||
import RejectButton from "@/components/button/RejectButton"
|
||||
|
||||
import { SewagePipeColumnInfoList } from "@/components/util/column/SewagePipeColumn";
|
||||
import { SewagePipeMngColumnInfoList } from "@/components/util/column/SewagePipeMngColumn";
|
||||
|
||||
// 하수도 통계 관리 > 02. 하수관로
|
||||
const SewagePipeMng = () => {
|
||||
|
||||
const approveFunc = () => {
|
||||
@@ -24,7 +25,7 @@ const SewagePipeMng = () => {
|
||||
<RejectButton rejectFunc={rejectFunc} />
|
||||
<ApproveButton approveFunc={approveFunc} />
|
||||
</div>
|
||||
<TabDataGrid columnInfo={SewagePipeColumnInfoList}/>
|
||||
<TabDataGrid columnInfo={SewagePipeMngColumnInfoList}/>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -1,9 +1,44 @@
|
||||
import SearchForm from "@/components/module/SearchForm";
|
||||
import TabDataGrid from "@/components/module/TabDataGrid";
|
||||
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 { SewageReservoirPumpMngColumnInfoList } from "@/components/util/column/SewageReservoirPumpMngColumn";
|
||||
|
||||
// 하수도 통계 관리 > 04. 하수저류 시설 및 빗물 펌프장
|
||||
const SewageReservoirPumpMng = () => {
|
||||
const submitFunc = () => {
|
||||
console.log('submit');
|
||||
// 제출 로직
|
||||
};
|
||||
|
||||
const saveFunc = () => {
|
||||
console.log('save');
|
||||
// 저장 로직
|
||||
};
|
||||
|
||||
const getLastYearDataFunc = () => {
|
||||
console.log('get last year data');
|
||||
// 지난연도 데이터 가져오기 로직
|
||||
};
|
||||
|
||||
const submitExceptionFunc = () => {
|
||||
console.log('submit exception');
|
||||
// 예외 제출 로직
|
||||
};
|
||||
|
||||
return (
|
||||
<>
|
||||
<SearchForm userMenual={true} />
|
||||
<div className="flex justify-end items-center gap-[0.6rem] m-[0.6rem]">
|
||||
<SubmitExceptionButton SubmitExceptionFunc={submitExceptionFunc} />
|
||||
<LastYearDataButton getLastYearDataFunc={getLastYearDataFunc} />
|
||||
<SaveButton saveFunc={saveFunc} />
|
||||
<SubmitButton submitFunc={submitFunc} />
|
||||
</div>
|
||||
<TabDataGrid columnInfo={SewageReservoirPumpMngColumnInfoList}/>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -5,6 +5,7 @@ import SaveButton from "@/components/button/SaveButton";
|
||||
import LastYearDataButton from "@/components/button/LastYearDataButton";
|
||||
import SubmitExceptionButton from "@/components/button/SubmitExceptionButton";
|
||||
|
||||
// 하수도 통계 관리 > 01. 하수도 보급률
|
||||
const SeweragePenetrationRateMng = () => {
|
||||
const columns = [
|
||||
{ name: 'sido', fieldName: '시도', header: { text: '시도' } },
|
||||
|
||||
@@ -5,6 +5,7 @@ import RejectButton from "@/components/button/RejectButton";
|
||||
import ReturnButton from "@/components/button/ReturnButton";
|
||||
import ReviewOpinionButton from "@/components/button/ReviewOpinionButton";
|
||||
|
||||
// 하수도 통계 관리 > 00. 통계 입력 현황
|
||||
const StatsInputSatusMng = () => {
|
||||
const columns = [
|
||||
{ name: 'sido', fieldName: '시도', header: { text: '시도' } },
|
||||
|
||||
Reference in New Issue
Block a user