소속시군구가 없는 최고관리자로 로그인시 시군구관리메뉴에서 시군구를 선택하는 기능 추가
parent
7b59259e3f
commit
ccd647ac0f
@ -1,10 +0,0 @@
|
|||||||
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%>
|
|
||||||
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
|
|
||||||
<c:set var="pageKorName" scope="request">시군구 목록</c:set>
|
|
||||||
<div class="content-wrapper">
|
|
||||||
<div class="container-xxl flex-grow-1 px-0">
|
|
||||||
<div class="card wrapper-list">
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
@ -0,0 +1,36 @@
|
|||||||
|
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%>
|
||||||
|
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
|
||||||
|
<c:set var="pageKorName" scope="request">시군구 목록</c:set>
|
||||||
|
<div class="content-wrapper">
|
||||||
|
<div class="container-xxl flex-grow-1 px-0">
|
||||||
|
<div class="card wrapper-list">
|
||||||
|
<h1>시군구 선택</h1>
|
||||||
|
<div id="btnsGoToEditSgg--${pageName}">
|
||||||
|
<c:forEach items="${sggList}" var="item">
|
||||||
|
<c:if test="${item.SGG_CD ne 'default'}">
|
||||||
|
<button type="button" data-value="${item.SGG_CD}" class="w-px-200"
|
||||||
|
onclick="fnGoToEditSgg('${item.SGG_CD}')">
|
||||||
|
${item.SGG_NM}(${item.SGG_CD})
|
||||||
|
</button>
|
||||||
|
</c:if>
|
||||||
|
</c:forEach>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<script>
|
||||||
|
function fnGoToEditSgg(selected){
|
||||||
|
var sggMainMenuNum = "62";
|
||||||
|
|
||||||
|
var menuUrl = $("#menus").find("li[data-key='"+sggMainMenuNum+"'] a").attr("data-url");
|
||||||
|
|
||||||
|
ajax.get({
|
||||||
|
url: menuUrl,
|
||||||
|
data : { sggCd : selected },
|
||||||
|
success:resp => {
|
||||||
|
$("div[id='innerPage-"+sggMainMenuNum+"']").html(resp);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
}
|
||||||
|
</script>
|
Loading…
Reference in New Issue