지도사용요청 관정 disabled

master
강석 최 2022-03-23 10:01:55 +09:00
parent 3d12db75d8
commit d349479585
6 changed files with 24 additions and 12 deletions

View File

@ -44,9 +44,9 @@ public class LoginSuccessHandler implements AuthenticationSuccessHandler{
loginSuccessHandler.roleName = authority.getAuthority(); loginSuccessHandler.roleName = authority.getAuthority();
}); });
LogVO logVO = new LogVO(); /*LogVO logVO = new LogVO();
logVO.setLog(user.getUserid(), LogActions.LOGIN.getValue(), null, LocalDateTime.now()); logVO.setLog(user.getUserid(), LogActions.LOGIN.getValue(), null, LocalDateTime.now());
logService.insertLog(logVO); logService.insertLog(logVO);*/
switch (loginSuccessHandler.roleName) { switch (loginSuccessHandler.roleName) {
case "ROLE_USER": case "ROLE_USER":

View File

@ -27,9 +27,9 @@ public class LogoutSuccessHandler extends SimpleUrlLogoutSuccessHandler{
public void onLogoutSuccess(HttpServletRequest request, HttpServletResponse response, Authentication authentication) throws IOException, ServletException { public void onLogoutSuccess(HttpServletRequest request, HttpServletResponse response, Authentication authentication) throws IOException, ServletException {
LogVO logVO = new LogVO(); /*LogVO logVO = new LogVO();
logVO.setLog(authentication.getName(), LogActions.LOGOUT.getValue(), null, LocalDateTime.now()); logVO.setLog(authentication.getName(), LogActions.LOGOUT.getValue(), null, LocalDateTime.now());
logService.insertLog(logVO); logService.insertLog(logVO);*/
setDefaultTargetUrl(successUrl); setDefaultTargetUrl(successUrl);
super.onLogoutSuccess(request, response, authentication); super.onLogoutSuccess(request, response, authentication);

View File

@ -100,8 +100,10 @@
<c:forEach var="item" items="${layersVO}" varStatus="status"> <c:forEach var="item" items="${layersVO}" varStatus="status">
<c:if test="${item.code eq 'ground'}"> <c:if test="${item.code eq 'ground'}">
<label class="layer-label" style="display: inline-block"> <label class="layer-label" style="display: inline-block">
<input type="checkbox" name="${item.code}" id="${item.code}" value="${item.layer}" <input type="checkbox"
${fn:contains(useRequestVO.layers, item.layer)?'checked':''}/> <c:out value='${item.name}'/> name="${item.code}" id="${item.code}" value="${item.layer}"
${fn:contains(useRequestVO.layers, item.layer)?'checked':''}
${item.layer eq 'GND_WELL'?'disabled':''}/> <c:out value='${item.name}'/>
</label> </label>
</c:if> </c:if>
</c:forEach> </c:forEach>

View File

@ -103,8 +103,12 @@
<td> <td>
<c:forEach var="item" items="${layersVO}" varStatus="status"> <c:forEach var="item" items="${layersVO}" varStatus="status">
<c:if test="${item.code eq 'ground'}"> <c:if test="${item.code eq 'ground'}">
<label class="layer-label"><input type="checkbox" name="${item.code}" id="${item.code}" value="${item.layer}" <label class="layer-label">
${fn:contains(useRequestVO.layers, item.layer)?'checked':''}/>${item.name} <input type="checkbox"
name="${item.code}" id="${item.code}" value="${item.layer}"
${fn:contains(useRequestVO.layers, item.layer)?'checked':''}
${item.layer eq 'GND_WELL'?'disabled':''}
/>${item.name}
</label> </label>
</c:if> </c:if>
</c:forEach> </c:forEach>
@ -222,8 +226,10 @@
<c:forEach var="item" items="${layersVO}" varStatus="status"> <c:forEach var="item" items="${layersVO}" varStatus="status">
<c:if test="${item.code eq 'ground'}"> <c:if test="${item.code eq 'ground'}">
<label class="layer-label"> <label class="layer-label">
<input type="checkbox" name="${item.code}" id="${item.code}" value="${item.layer}" <input type="checkbox"
${fn:contains(useRequestVO.layers, item.layer)?'checked':''}/>${item.name} name="${item.code}" id="${item.code}" value="${item.layer}"
${fn:contains(useRequestVO.layers, item.layer)?'checked':''}
${item.layer eq 'GND_WELL'?'disabled':''}/>${item.name}
</label> </label>
</c:if> </c:if>
</c:forEach> </c:forEach>

View File

@ -82,7 +82,11 @@
<td> <td>
<c:forEach var="item" items="${layersVO}" varStatus="status"> <c:forEach var="item" items="${layersVO}" varStatus="status">
<c:if test="${item.code eq 'ground'}"> <c:if test="${item.code eq 'ground'}">
<label class="layer-label"><input type="checkbox" name="${item.code}" id="${item.code}" value="${item.layer}"/> ${item.name} </label> <label class="layer-label">
<input type="checkbox"
name="${item.code}" id="${item.code}" value="${item.layer}"
${item.layer eq 'GND_WELL'?'disabled':''}/> ${item.name}
</label>
</c:if> </c:if>
</c:forEach> </c:forEach>
</td> </td>

View File

@ -21,7 +21,7 @@ $(document).on('click', '.userInfoModalBtn', function () {
function fn_link_page(pageNo) { function fn_link_page(pageNo) {
document.searchForm.pageIndex.value = pageNo; document.searchForm.pageIndex.value = pageNo;
document.searchForm.action = "/admin/userInfo"; document.searchForm.action = "/admin/userInfo`";
document.searchForm.submit(); document.searchForm.submit();
} }