Merge branch 'iipbs/sn/dev' of https://www.onasys.co.kr:3000/ONAANDALL/frontend into iipbs/sn/dev
This commit is contained in:
@@ -19,9 +19,7 @@ type LayerContentMap = {
|
||||
// 레이어 이름과 컴포넌트를 매핑
|
||||
// 레이어 선택시 변경되는 팝업 컨텐츠 동적으로 변경하도록 작업
|
||||
const layerContentMap: LayerContentMap = {
|
||||
// TODO: gis데이터 추가되면 추가 작업 필요
|
||||
//"하수처리시설": { component: SwtrmtFclt, },
|
||||
"하수처리시설": { component: MsSwagePpl, },
|
||||
"하수처리시설": { component: SwtrmtFclt, },
|
||||
"하수처리구역": {},
|
||||
"우수토실": { component: Ssc, },
|
||||
"중점우수토실": { component: Ssc, }, // 중점우수토실 여부 설정
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
// 하수관로
|
||||
export const MsSwagePplCol = [
|
||||
{ id: 'avgGrdn', title: '평균구배' },
|
||||
{ id: 'clarFvlc', title: '맑음유속' },
|
||||
{ id: 'drtwMltvArea', title: '오수배수면적' },
|
||||
{ id: 'exclnMltvArea', title: '우수배수면적' },
|
||||
{ id: 'fcltMngNo', title: '시설관리번호' },
|
||||
// { id: 'fcltyShpCd', title: '시설물형태코드' },
|
||||
{ id: 'avg_grdn', title: '평균구배' },
|
||||
{ id: 'clar_fvlc', title: '맑음유속' },
|
||||
{ id: 'drtw_mltv_area', title: '오수배수면적' },
|
||||
{ id: 'excln_mltv_area', title: '우수배수면적' },
|
||||
{ id: 'fclt_mng_no', title: '시설관리번호' },
|
||||
// { id: 'fclty_shp_cd', title: '시설물형태코드' },
|
||||
// { id: 'fid', title: 'FID' },
|
||||
// { id: 'ftreSmbolCd', title: '지형지물부호코드' },
|
||||
{ id: 'instMngNo', title: '기관관리번호' },
|
||||
{ id: 'instlYmd', title: '설치일자' },
|
||||
{ id: 'mapshtNo', title: '도엽번호' },
|
||||
// { id: 'mngInstCd', title: '관리기관코드' },
|
||||
// { id: 'mqltCd', title: '재질코드' },
|
||||
// { id: 'pbadmsEmdCd', title: '행정읍면동코드' },
|
||||
// { id: 'ftre_smbol_cd', title: '지형지물부호코드' },
|
||||
{ id: 'inst_mng_no', title: '기관관리번호' },
|
||||
{ id: 'instl_ymd', title: '설치일자' },
|
||||
{ id: 'mapsht_no', title: '도엽번호' },
|
||||
// { id: 'mng_inst_cd', title: '관리기관코드' },
|
||||
// { id: 'mqlt_cd', title: '재질코드' },
|
||||
// { id: 'pbadms_emd_cd', title: '행정읍면동코드' },
|
||||
{ id: 'pdmt', title: '관경' },
|
||||
{ id: 'prlg', title: '연장' },
|
||||
{ id: 'rnyssnFvlc', title: '우기유속' },
|
||||
{ id: 'scendDpth', title: '종점깊이' },
|
||||
{ id: 'scendMhlMngNo', title: '종점맨홀관리번호' },
|
||||
{ id: 'tmptDpth', title: '시점깊이' },
|
||||
{ id: 'tmptMhlMngNo', title: '시점맨홀관리번호' },
|
||||
{ id: 'trflnCnt', title: '차선수' },
|
||||
// { id: 'usgCd', title: '용도코드' },
|
||||
{ id: 'vrtcLen', title: '세로길이' },
|
||||
{ id: 'wdthLen', title: '가로길이' },
|
||||
{ id: 'rnyssn_fvlc', title: '우기유속' },
|
||||
{ id: 'scend_dpth', title: '종점깊이' },
|
||||
{ id: 'scend_mhl_mng_no', title: '종점맨홀관리번호' },
|
||||
{ id: 'tmpt_dpth', title: '시점깊이' },
|
||||
{ id: 'tmpt_mhl_mng_no', title: '시점맨홀관리번호' },
|
||||
{ id: 'trfln_cnt', title: '차선수' },
|
||||
// { id: 'usg_cd', title: '용도코드' },
|
||||
{ id: 'vrtc_len', title: '세로길이' },
|
||||
{ id: 'wdth_len', title: '가로길이' },
|
||||
// { id: 'lyrTypeNm', title: '레이어타입명' },
|
||||
]
|
||||
|
||||
@@ -108,21 +108,21 @@ export const SewagePump = [
|
||||
// { id: 'fid', title: 'FID' },
|
||||
// { id: 'geom', title: 'geometry' },
|
||||
// { id: 'ftreSmbolCd', title: '지형지물부호코드' },
|
||||
{ id: 'fcltMngNo', title: '시설관리번호' },
|
||||
{ id: 'fclt_mng_no', title: '시설관리번호' },
|
||||
// { id: 'pbadmsEmdCd', title: '행정읍면동코드' },
|
||||
{ id: 'mapshtNo', title: '도엽번호' },
|
||||
{ id: 'mapsht_no', title: '도엽번호' },
|
||||
// { id: 'mngInstCd', title: '관리기관코드' },
|
||||
{ id: 'instlYmd', title: '설치일자' },
|
||||
{ id: 'swagePmstnNm', title: '하수펌프장명' },
|
||||
{ id: 'pllnArea', title: '부지면적' },
|
||||
{ id: 'instl_ymd', title: '설치일자' },
|
||||
{ id: 'swage_pmstn_nm', title: '하수펌프장명' },
|
||||
{ id: 'plln_area', title: '부지면적' },
|
||||
// { id: 'opngSttsCd', title: '개통상태코드' },
|
||||
// { id: 'usgCd', title: '용도코드' },
|
||||
{ id: 'dailyPrcsCpct', title: '일일처리용량' },
|
||||
{ id: 'maxImpndCpct', title: '최대저수용량' },
|
||||
{ id: 'altdVl', title: '표고' },
|
||||
{ id: 'wtlvVl', title: '수위' },
|
||||
{ id: 'exclnWpmpAblt', title: '우수양수능력' },
|
||||
{ id: 'instMngNo', title: '기관관리번호' },
|
||||
{ id: 'daily_prcs_cpct', title: '일일처리용량' },
|
||||
{ id: 'max_impnd_cpct', title: '최대저수용량' },
|
||||
{ id: 'altd_vl', title: '표고' },
|
||||
{ id: 'wtlv_vl', title: '수위' },
|
||||
{ id: 'excln_wpmp_ablt', title: '우수양수능력' },
|
||||
// { id: 'instMngNo', title: '기관관리번호' },
|
||||
]
|
||||
|
||||
// 중점우수토실 측정지점
|
||||
|
||||
@@ -68,7 +68,10 @@ const FeatureClickEventPopup = ({ onClose, featureData }: { onClose: () => void,
|
||||
const selectedLayerName = getSelectedLayers(); // 레이어 이름 가져오기
|
||||
setLayerNm(selectedLayerName); // 상태 업데이트
|
||||
const layerId = featureId.split('.')[0]
|
||||
let data = await getData(`v1/fclts/${featureId}?lyrTypeNm=${layerId}`);
|
||||
console.log('gis data', featureData.values_);
|
||||
// let data = await getData(`v1/fclts/${featureId}?lyrTypeNm=${layerId}`);
|
||||
let data = featureData.values_;
|
||||
console.log('api data', data)
|
||||
setfetchData(data)
|
||||
switch (selectedLayerName) {
|
||||
case '하수처리시설':
|
||||
|
||||
Reference in New Issue
Block a user