지도사용요청 관정 disabled
parent
3d12db75d8
commit
d349479585
|
|
@ -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":
|
||||||
|
|
|
||||||
|
|
@ -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);
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
|
||||||
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue