티스토리 뷰
<select name="" id="selectEditLayer">
<option value="">시설물</option>
<option data-layergroup="SBA000" value="10:V_SWL_PIPE_LM:POLYLINE:3:SB001">하수관로(미분류)</option>
<option data-layergroup="SBA001" value="11:V_SWL_PIPE_LM:POLYLINE:4:SB001">하수관로(합류관)</option>
<option data-layergroup="SBA002" value="12:V_SWL_PIPE_LM:POLYLINE:9:SB001">하수관로(차집관)</option>
<option data-layergroup="SBA003" value="13:V_SWL_PIPE_LM:POLYLINE:10:SB001">하수관로(우수관)</option>
<option data-layergroup="SBA004" value="14:V_SWL_PIPE_LM:POLYLINE:11:SB001">하수관로(오수관)</option>
<option data-layergroup="SBA999" value="15:V_SWL_PIPE_LM:POLYLINE:12:SB001">하수관로(기타)</option>
<option data-layergroup="SBA000" value="20:V_SWL_CONN_LS:POLYLINE:13:SB003">연결관(미분류)</option>
<option data-layergroup="SBA002" value="21:V_SWL_CONN_LS:POLYLINE:8:SB003">연결관(차집관)</option>
<option data-layergroup="SBA003" value="22:V_SWL_CONN_LS:POLYLINE:7:SB003">연결관(우수관)</option>
<option data-layergroup="SBA004" value="23:V_SWL_CONN_LS:POLYLINE:5:SB003">연결관(오수관)</option>
<option data-layergroup="SBA900" value="24:V_SWL_CONN_LS:POLYLINE:6:SB003">연결관(기타)</option>
<option data-layergroup="SMU000" value="30:V_SWL_MANH_PS:POINT:14:SB101">하수맨홀(미분류)</option>
<option data-layergroup="SMU001" value="31:V_SWL_MANH_PS:POINT:15:SB101">하수맨홀(우수맨홀)</option>
<option data-layergroup="SMU002" value="32:V_SWL_MANH_PS:POINT:16:SB101">하수맨홀(오수맨홀)</option>
<option data-layergroup="SMU003" value="33:V_SWL_MANH_PS:POINT:17:SB101">하수맨홀(집수맨홀)</option>
<option data-layergroup="SMU004" value="34:V_SWL_MANH_PS:POINT:18:SB101">하수맨홀(합류맨홀)</option>
<option data-layergroup="SMU005" value="35:V_SWL_MANH_PS:POINT:19:SB101">하수맨홀(차집맨홀)</option>
<option data-layergroup="SMU999" value="36:V_SWL_MANH_PS:POINT:20:SB101">하수맨홀(기타)</option>
<option data-layergroup="null" value="40:V_SWL_CLAY_PS:POINT:21:SB103">우수토실</option>
<option data-layergroup="null" value="70:V_SWL_DRAN_PS:POINT:28:SB200">하수처리장</option>
<option data-layergroup="null" value="80:V_SWL_PUMP_PS:POINT:29:SB210">하수펌프장</option>
<option data-layergroup="null" value="50:V_SWL_SPEW_PS:POINT:22:SB104">토구</option>
<option data-layergroup="SBD000" value="60:V_SWL_SPOT_PS:POINT:23:SB102">물받이(미분류)</option>
<option data-layergroup="SBD001" value="61:V_SWL_SPOT_PS:POINT:24:SB102">물받이(우수받이)</option>
<option data-layergroup="SBD002" value="62:V_SWL_SPOT_PS:POINT:25:SB102">물받이(오수받이)</option>
<option data-layergroup="SBD003" value="63:V_SWL_SPOT_PS:POINT:26:SB102">물받이(집수받이)</option>
<option data-layergroup="SBD999" value="64:V_SWL_SPOT_PS:POINT:27:SB102">물받이(기타)</option>
<option data-layergroup="null" value="90:V_WTL_FLOW_PS:POINT:0:SW105">유량계</option>
<option data-layergroup="null" value="5:V_SWL_PIPE_AS:POLYGON:2:null">면형하수관로</option>
<option data-layergroup="null" value="100:V_SWL_AODP_AS:POLYGON:30:null">처리구역</option>
<option data-layergroup="null" value="101:V_SWL_DODP_AS:POLYGON:31:null">처리분구</option>
<option data-layergroup="null" value="103:V_WTL_FLOW_AS:POLYGON:1:null">유량계 유역</option>
</select>
$('#selectEditLayer option').each(function(idx, obj) {
var v = $(obj).val();
var layergroup = $(obj).data("layergroup");
if (v.indexOf(viewNm) > -1) { // view명이 일치하고
if (cde == layergroup) { // 용도코드 일치하면
$('#selectEditLayer').val(v).prop("selected",true);
_commUtils.changeSelectEditLayer();
return;
}
}
});
'Skill > html js css' 카테고리의 다른 글
[javascript] prototype (0) | 2020.09.24 |
---|---|
[javascript] this가 가리키는 것은? (0) | 2020.09.24 |
[js] apply() 사용하기 (0) | 2020.09.22 |
[js] closure 개념 (0) | 2020.09.22 |
Javascript 기반의 압축 라이브러리, jszip (0) | 2020.09.20 |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- setter
- QueryDSL
- springboot
- lombok
- element위치
- 프로젝트명변경
- CSS
- draw.io
- DatePicker
- JQuery
- $.each
- caniuse
- sumifs
- Javascript
- 진열사랑
- Keycode
- oracle
- PostgreSQL
- devtools
- $.extend
- 정규식
- 여러 컬럼 update
- @ExceptionHandler
- excel
- getter
- border-collapse
- spring
- 전후방탐색
- ul li로 테이블
- object key
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
글 보관함