From 04b8082f049293121aef5d95d51d1d88b5715760 Mon Sep 17 00:00:00 2001 From: ljpark Date: Fri, 19 Jun 2026 16:15:48 +0900 Subject: [PATCH] =?UTF-8?q?wr:=20width=20=EA=B3=A0=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ruseFcltMng/fcltReg/htdflReg/page.tsx | 1 + .../ruseFcltMng/fcltReg/pbnstReg/page.tsx | 1 + .../ruseFcltMng/fcltReg/rainReg/page.tsx | 1 + .../ruseFcltMng/fcltReg/rswtReg/page.tsx | 1 + .../ruseFcltMng/fcltReg/htdflReg/headList.tsx | 12 ++++++------ .../ruseFcltMng/fcltReg/pbnstReg/headList.tsx | 16 ++++++++-------- .../ruseFcltMng/fcltReg/rainReg/index.tsx | 18 +++++++++--------- .../ruseFcltMng/fcltReg/rswtReg/index.tsx | 17 +++++++++++++++-- 8 files changed, 42 insertions(+), 25 deletions(-) diff --git a/apps/wr/app/(with-layout)/ruseFcltMng/fcltReg/htdflReg/page.tsx b/apps/wr/app/(with-layout)/ruseFcltMng/fcltReg/htdflReg/page.tsx index cc892b6d1..84f6ad87e 100644 --- a/apps/wr/app/(with-layout)/ruseFcltMng/fcltReg/htdflReg/page.tsx +++ b/apps/wr/app/(with-layout)/ruseFcltMng/fcltReg/htdflReg/page.tsx @@ -154,6 +154,7 @@ export default function Home() { onPageChange={setPageNation} index={htdfTableIndex} resetPageNo={resetPageNo} + widthFixed={true} > diff --git a/apps/wr/app/(with-layout)/ruseFcltMng/fcltReg/pbnstReg/page.tsx b/apps/wr/app/(with-layout)/ruseFcltMng/fcltReg/pbnstReg/page.tsx index 90a3d8185..349e8be98 100644 --- a/apps/wr/app/(with-layout)/ruseFcltMng/fcltReg/pbnstReg/page.tsx +++ b/apps/wr/app/(with-layout)/ruseFcltMng/fcltReg/pbnstReg/page.tsx @@ -376,6 +376,7 @@ export default function PublicReuseFaciltyInsert() { resetSelection={resetSelection} index={selectedRowIndex} curPage={pageNation} + widthFixed={true} /> diff --git a/apps/wr/app/(with-layout)/ruseFcltMng/fcltReg/rainReg/page.tsx b/apps/wr/app/(with-layout)/ruseFcltMng/fcltReg/rainReg/page.tsx index 45fb636c6..cdbee61c3 100644 --- a/apps/wr/app/(with-layout)/ruseFcltMng/fcltReg/rainReg/page.tsx +++ b/apps/wr/app/(with-layout)/ruseFcltMng/fcltReg/rainReg/page.tsx @@ -167,6 +167,7 @@ export default function Home() { onPageChange={setPageNation} index={rainTableIndex} resetPageNo={resetPageNo} + widthFixed={true} > diff --git a/apps/wr/app/(with-layout)/ruseFcltMng/fcltReg/rswtReg/page.tsx b/apps/wr/app/(with-layout)/ruseFcltMng/fcltReg/rswtReg/page.tsx index a4fa9b97b..b8e7e7727 100644 --- a/apps/wr/app/(with-layout)/ruseFcltMng/fcltReg/rswtReg/page.tsx +++ b/apps/wr/app/(with-layout)/ruseFcltMng/fcltReg/rswtReg/page.tsx @@ -171,6 +171,7 @@ export default function Home() { onPageChange={setPageNation} index={rswtTableIndex} resetPageNo={resetPageNo} + widthFixed={true} > diff --git a/apps/wr/app/store/ruseFcltMng/fcltReg/htdflReg/headList.tsx b/apps/wr/app/store/ruseFcltMng/fcltReg/htdflReg/headList.tsx index 4d0c228be..044ddd5c1 100644 --- a/apps/wr/app/store/ruseFcltMng/fcltReg/htdflReg/headList.tsx +++ b/apps/wr/app/store/ruseFcltMng/fcltReg/htdflReg/headList.tsx @@ -1,10 +1,10 @@ import type { TableUpperProps } from "@/app/store/common/type/header"; export const htdTableHeadList: TableUpperProps[] = [ - { id: "cityText", title: "시도" }, - { id: "sggText", title: "시군구" }, - { id: "bdstNm", title: "시설명" }, - { id: "daddr", title: "위치" }, - { id: "frstArchPrmsnDt", title: "준공년도" }, - { id: "archArea", title: "건축면적(㎡)" }, + { id: "cityText", title: "시도", widthPercent: 10 }, + { id: "sggText", title: "시군구", widthPercent: 10 }, + { id: "bdstNm", title: "시설명", widthPercent: 20 }, + { id: "daddr", title: "위치", widthPercent: 30 }, + { id: "frstArchPrmsnDt", title: "준공년도", widthPercent: 15 }, + { id: "archArea", title: "건축면적(㎡)", widthPercent: 15 }, ]; diff --git a/apps/wr/app/store/ruseFcltMng/fcltReg/pbnstReg/headList.tsx b/apps/wr/app/store/ruseFcltMng/fcltReg/pbnstReg/headList.tsx index 1c50b63e1..e1e4adf44 100644 --- a/apps/wr/app/store/ruseFcltMng/fcltReg/pbnstReg/headList.tsx +++ b/apps/wr/app/store/ruseFcltMng/fcltReg/pbnstReg/headList.tsx @@ -3,14 +3,14 @@ import type { TableUpperProps } from "@/app/store/common/type/header"; import type { chHeadType } from "@/app/store/prfmncReg/chkgdnReg/rainChkgdn/headList"; export const pubFacHeadListExport: TableUpperProps[] = [ - { id: "sido", title: "시도" }, - { id: "gugun", title: "시군구" }, - { id: "bscFctNm", title: "시설명" }, - { id: "addr", title: "위치" }, - { id: "efflWqltStndrdNm", title: "지역구분" }, - { id: "fctCpc", title: "시설용량(m³/일)" }, - { id: "ruse", title: "재이용여부" }, - { id: "rswtrYn", title: "등록여부" }, + { id: "sido", title: "시도", widthPercent: 8 }, + { id: "gugun", title: "시군구", widthPercent: 8 }, + { id: "bscFctNm", title: "시설명", widthPercent: 18 }, + { id: "addr", title: "위치", widthPercent: 24 }, + { id: "efflWqltStndrdNm", title: "지역구분", widthPercent: 15 }, + { id: "fctCpc", title: "시설용량(m³/일)", widthPercent: 12 }, + { id: "ruse", title: "재이용\n여부", widthPercent: 8 }, + { id: "rswtrYn", title: "등록\n여부", widthPercent: 6 }, ]; export const pbnstMngUpHeadListExport: TableUpperProps[] = [ diff --git a/apps/wr/app/store/ruseFcltMng/fcltReg/rainReg/index.tsx b/apps/wr/app/store/ruseFcltMng/fcltReg/rainReg/index.tsx index ce6da6334..ad6b0f9a3 100644 --- a/apps/wr/app/store/ruseFcltMng/fcltReg/rainReg/index.tsx +++ b/apps/wr/app/store/ruseFcltMng/fcltReg/rainReg/index.tsx @@ -69,15 +69,15 @@ export type chgBuilding = { export type customRainBdst = z.infer; export const upHeadList: TableUpperProps[] = [ - { id: "cityText", title: "시도" }, - { id: "sggText", title: "시군구" }, - { id: "bdstNm", title: "시설명" }, - { id: "daddr", title: "위치" }, - { id: "bdsgUsgText", title: "건축물용도" }, - { id: "frstArchPrmsnDt", title: "최초건축허가일" }, - { id: "archArea", title: "건축면적(㎡)" }, - { id: "lawTrgtYn", title: "법적의무대상여부" }, - { id: "bdstChgYn", title: "건축물변경여부" }, + { id: "cityText", title: "시도", widthPercent: 8 }, + { id: "sggText", title: "시군구", widthPercent: 8 }, + { id: "bdstNm", title: "시설명", widthPercent: 14 }, + { id: "daddr", title: "위치", widthPercent: 22 }, + { id: "bdsgUsgText", title: "건축물용도", widthPercent: 12 }, + { id: "frstArchPrmsnDt", title: "최초건축허가일", widthPercent: 12 }, + { id: "archArea", title: "건축면적(㎡)", widthPercent: 9 }, + { id: "lawTrgtYn", title: "법적의무대상여부", widthPercent: 8 }, + { id: "bdstChgYn", title: "건축물변경여부", widthPercent: 7 }, ]; const rainRes: customRainBdst[] = []; diff --git a/apps/wr/app/store/ruseFcltMng/fcltReg/rswtReg/index.tsx b/apps/wr/app/store/ruseFcltMng/fcltReg/rswtReg/index.tsx index 816d6ab52..988b97243 100644 --- a/apps/wr/app/store/ruseFcltMng/fcltReg/rswtReg/index.tsx +++ b/apps/wr/app/store/ruseFcltMng/fcltReg/rswtReg/index.tsx @@ -1,5 +1,5 @@ import { deleteFectch, getFetchWithCount, postFectch, putFectch } from "@/components/lib/api"; -import { upHeadList, type chgBuilding } from "../rainReg"; +import { type chgBuilding } from "../rainReg"; import { DEFAULT_LIST_SIZE } from "@/src/shared/config"; import type { TableUpperProps } from "@/app/store/common/type/header"; @@ -57,6 +57,19 @@ export type customRswtBdst = z.infer; const rswtRes: customRswtBdst[] = []; +export const rswtUpHeadList: TableUpperProps[] = [ + { id: "cityText", title: "시도", widthPercent: 7 }, + { id: "sggText", title: "시군구", widthPercent: 7 }, + { id: "bdstNm", title: "건축물명", widthPercent: 13 }, + { id: "daddr", title: "위치", widthPercent: 20 }, + { id: "bdstUsgText", title: "건축물용도", widthPercent: 11 }, + { id: "frstArchPrmsnDt", title: "최초건축허가일", widthPercent: 11 }, + { id: "archArea", title: "건축면적(㎡)", widthPercent: 8 }, + { id: "lawTrgtYn", title: "법적의무대상여부", widthPercent: 8 }, + { id: "chBuildingYn", title: "증축/개축/재축여부", widthPercent: 8 }, + { id: "instlCmptnDt", title: "설치완료일시", widthPercent: 7 }, +]; + export type rswtFacState = { rswt: { upHeadList: TableUpperProps[]; @@ -83,7 +96,7 @@ export type rswtFacType = rswtFacState & rswtFacSActions; export const rswtFacStateExport: rswtFacState = { rswt: { - upHeadList: upHeadList, + upHeadList: rswtUpHeadList, rswtRes: rswtRes, rswtResCount: 1, },