From d582293e5fbf5dbbcaa6918d8f67348e7d630357 Mon Sep 17 00:00:00 2001 From: mind-one001 Date: Tue, 11 Aug 2026 11:28:52 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B3=B4=EC=88=98=EC=9D=B4=EB=A0=A5=20?= =?UTF-8?q?=EB=AA=A9=EB=A1=9D=20=EC=A1=B0=ED=9A=8C=20=ED=95=AD=EB=AA=A9=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../repairHistory/RepairHistoryPopupPage.tsx | 41 +++++++++++-------- .../001-fe-SFR-011-006-보수이력-작업카드.md | 4 +- .../001-fe-SFR-011-006-보수이력-구현및검증결과.md | 6 ++- 3 files changed, 29 insertions(+), 22 deletions(-) diff --git a/apps/sn/app/(map-layout)/map/components/repairHistory/RepairHistoryPopupPage.tsx b/apps/sn/app/(map-layout)/map/components/repairHistory/RepairHistoryPopupPage.tsx index 7683ed59b..b9d3b8ddb 100644 --- a/apps/sn/app/(map-layout)/map/components/repairHistory/RepairHistoryPopupPage.tsx +++ b/apps/sn/app/(map-layout)/map/components/repairHistory/RepairHistoryPopupPage.tsx @@ -48,23 +48,27 @@ const resolvePipeUseOptions = (rows: MapLayerSettingRow[]): PipeUseOption[] => r type RepairHistoryTableRow = { fid: string; fcltMngNo: string; + useName: string; repairCount: string; latestRepairYear: string; elapsedYearsSinceRepair: string; materialName: string; + diameter: string; installationYear: string; burialDepth: string; }; /** 부모 업무화면과 동일한 공통 UiTable 헤더·열 정렬 규격이다. */ const REPAIR_HISTORY_HEADLIST: UiHeadProps[] = [ - { id: "fcltMngNo", title: "시설관리번호", align: "center", widthPercent: 22 }, - { id: "repairCount", title: "보수이력(건)", align: "right", widthPercent: 12 }, - { id: "latestRepairYear", title: "최근보수년도", align: "center", widthPercent: 13 }, - { id: "elapsedYearsSinceRepair", title: "보수후 경과년도", align: "right", widthPercent: 14 }, - { id: "materialName", title: "관종", align: "center", widthPercent: 16 }, - { id: "installationYear", title: "설치년도", align: "center", widthPercent: 11 }, - { id: "burialDepth", title: "매설심도(m)", align: "right", widthPercent: 12 }, + { id: "fcltMngNo", title: "시설관리번호", align: "center", widthPercent: 17 }, + { id: "useName", title: "용도", align: "center", widthPercent: 10 }, + { id: "repairCount", title: "보수이력(건)", align: "right", widthPercent: 10 }, + { id: "latestRepairYear", title: "최근보수년도", align: "center", widthPercent: 11 }, + { id: "elapsedYearsSinceRepair", title: "보수후 경과년도", align: "right", widthPercent: 12 }, + { id: "materialName", title: "재질", align: "center", widthPercent: 13 }, + { id: "diameter", title: "관경(mm)", align: "right", widthPercent: 9 }, + { id: "installationYear", title: "설치년도", align: "center", widthPercent: 8 }, + { id: "burialDepth", title: "매설심도(m)", align: "right", widthPercent: 10 }, ]; /** 화면 입력조건은 조회 버튼을 누른 시점의 적용조건과 분리해 다운로드 계약을 고정한다. */ @@ -201,7 +205,7 @@ export default function RepairHistoryPopupPage({ searchParams }: WindowPopupCont }; }, [zoneId]); - /** 화면에서 적용한 조건과 동일한 7개 목록 항목의 XLSX를 내려받는다. */ + /** 화면에서 적용한 조건과 동일한 9개 목록 항목의 XLSX를 내려받는다. */ const handleDownload = async () => { if (!zoneId || rows.length === 0) return; setIsLoading(true); @@ -237,10 +241,12 @@ export default function RepairHistoryPopupPage({ searchParams }: WindowPopupCont () => visibleRows.map((row) => ({ fid: row.fid, fcltMngNo: formatCellValue(row.fcltMngNo), + useName: formatCellValue(row.useNm), repairCount: formatCellValue(row.repairCount), latestRepairYear: formatYear(row.latestRepairYear), elapsedYearsSinceRepair: formatCellValue(row.elapsedYearsSinceRepair), materialName: formatCellValue(row.materialName), + diameter: formatCellValue(row.pdmtVl), installationYear: formatYear(row.installationYear), burialDepth: formatCellValue(row.burialDepth), })), @@ -273,7 +279,7 @@ export default function RepairHistoryPopupPage({ searchParams }: WindowPopupCont - - +