refactor: 처리구역 값 없을 때 '-'로 표시

This commit is contained in:
swcho
2025-08-12 09:20:20 +09:00
parent a91b2d2c36
commit 6d768432f8
2 changed files with 3 additions and 1 deletions
@@ -33,6 +33,7 @@ export const MsSwagePplCol2 = [
{ id: 'instMngNo', title: '기관\n관리번호' },
{ id: 'ctpvNm', title: '시도' },
{ id: 'sggNm', title: '시군구' },
{ id: "swtrmt_zone_nm", title: "처리구역" },
{ id: 'instlYmd', title: '설치일자' },
// { id: 'mapshtNo', title: '도엽번호' },
{ id: 'usgCd', title: '용도' },
@@ -660,7 +661,7 @@ export const dateFields = [
// 🎯 camelCase 버전 추가
'instlYmd', 'lastDrdgnYmd', 'cmcnYmd', 'oprtngStrtYmd', 'clsgYmd',
'mesureBeginDt', 'mesureEndDt', 'qltwtrBeginDt', 'qltwtrEndDt',
'rainBeginDt', 'rainEndDt',
'rainBeginDt', 'rainEndDt',
'flfmtBgngYmd', 'flfmtEndYmd', 'flfmtYr'
];
@@ -228,6 +228,7 @@ const SearchModal: React.FC<SearchModalProps> = ({
usgCd: usgCdObj ? usgCdObj.text : item.usgCd,
ctpvNm,
sggNm,
swtrmt_zone_nm: item.swtrmtZoneNm || item.swtrmt_zone_nm || '-',
};
});