지도사용요청 관정 disabled
parent
3d12db75d8
commit
d349479585
|
|
@ -44,9 +44,9 @@ public class LoginSuccessHandler implements AuthenticationSuccessHandler{
|
|||
loginSuccessHandler.roleName = authority.getAuthority();
|
||||
});
|
||||
|
||||
LogVO logVO = new LogVO();
|
||||
/*LogVO logVO = new LogVO();
|
||||
logVO.setLog(user.getUserid(), LogActions.LOGIN.getValue(), null, LocalDateTime.now());
|
||||
logService.insertLog(logVO);
|
||||
logService.insertLog(logVO);*/
|
||||
|
||||
switch (loginSuccessHandler.roleName) {
|
||||
case "ROLE_USER":
|
||||
|
|
|
|||
|
|
@ -27,9 +27,9 @@ public class LogoutSuccessHandler extends SimpleUrlLogoutSuccessHandler{
|
|||
|
||||
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());
|
||||
logService.insertLog(logVO);
|
||||
logService.insertLog(logVO);*/
|
||||
|
||||
setDefaultTargetUrl(successUrl);
|
||||
super.onLogoutSuccess(request, response, authentication);
|
||||
|
|
|
|||
|
|
@ -100,8 +100,10 @@
|
|||
<c:forEach var="item" items="${layersVO}" varStatus="status">
|
||||
<c:if test="${item.code eq 'ground'}">
|
||||
<label class="layer-label" style="display: inline-block">
|
||||
<input type="checkbox" name="${item.code}" id="${item.code}" value="${item.layer}"
|
||||
${fn:contains(useRequestVO.layers, item.layer)?'checked':''}/> <c:out value='${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':''}/> <c:out value='${item.name}'/>
|
||||
</label>
|
||||
</c:if>
|
||||
</c:forEach>
|
||||
|
|
|
|||
|
|
@ -103,8 +103,12 @@
|
|||
<td>
|
||||
<c:forEach var="item" items="${layersVO}" varStatus="status">
|
||||
<c:if test="${item.code eq 'ground'}">
|
||||
<label class="layer-label"><input type="checkbox" name="${item.code}" id="${item.code}" value="${item.layer}"
|
||||
${fn:contains(useRequestVO.layers, item.layer)?'checked':''}/>${item.name}
|
||||
<label class="layer-label">
|
||||
<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>
|
||||
</c:if>
|
||||
</c:forEach>
|
||||
|
|
@ -222,8 +226,10 @@
|
|||
<c:forEach var="item" items="${layersVO}" varStatus="status">
|
||||
<c:if test="${item.code eq 'ground'}">
|
||||
<label class="layer-label">
|
||||
<input type="checkbox" name="${item.code}" id="${item.code}" value="${item.layer}"
|
||||
${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>
|
||||
</c:if>
|
||||
</c:forEach>
|
||||
|
|
|
|||
|
|
@ -82,7 +82,11 @@
|
|||
<td>
|
||||
<c:forEach var="item" items="${layersVO}" varStatus="status">
|
||||
<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:forEach>
|
||||
</td>
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ $(document).on('click', '.userInfoModalBtn', function () {
|
|||
|
||||
function fn_link_page(pageNo) {
|
||||
document.searchForm.pageIndex.value = pageNo;
|
||||
document.searchForm.action = "/admin/userInfo";
|
||||
document.searchForm.action = "/admin/userInfo`";
|
||||
document.searchForm.submit();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue