Initial commit - BNS System
This commit is contained in:
107
WebContent/WEB-INF/view/admin/auth/authAddPopUpLeft.jsp
Normal file
107
WebContent/WEB-INF/view/admin/auth/authAddPopUpLeft.jsp
Normal file
@@ -0,0 +1,107 @@
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
||||
<%@ page import="com.pms.common.utils.*"%>
|
||||
<%@ page import="java.util.*" %>
|
||||
<%@include file= "/init.jsp" %>
|
||||
<%
|
||||
HashMap groupInfoMap = new HashMap();
|
||||
groupInfoMap = (HashMap)request.getAttribute("groupInfo");
|
||||
if(null == groupInfoMap){
|
||||
groupInfoMap = new HashMap();
|
||||
}
|
||||
|
||||
String authGroupObjid = CommonUtils.checkNull(groupInfoMap.get("OBJID"));
|
||||
|
||||
if("".equals(authGroupObjid)){
|
||||
authGroupObjid = CommonUtils.checkNull(request.getParameter("authGroupObjid"));
|
||||
}
|
||||
%>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title><%=Constants.SYSTEM_NAME%></title>
|
||||
<script>
|
||||
$(function(){
|
||||
//체크박스 전체선택/전체해제
|
||||
$("#allCheck").click(function(){
|
||||
if($("#allCheck").prop("checked")) {
|
||||
$("input[type=checkbox]").prop("checked",true);
|
||||
} else {
|
||||
$("input[type=checkbox]").prop("checked",false);
|
||||
}
|
||||
});
|
||||
|
||||
// 부분체크해제
|
||||
$("input[name=addedMember]").click(function(){
|
||||
if($("#allCheck").is(":checked")){
|
||||
$("#allCheck").prop("checked",false);
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
function getGroupInfo(){
|
||||
var authForm = document.authAddLeftForm;
|
||||
authForm.action = "/admin/authAddPopUpLeft.do";
|
||||
authForm.submit();
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<form name="authAddLeftForm" id="authAddLeftForm" method="POST">
|
||||
<h2 class="auth_pop_h2">권한관리</h2>
|
||||
<input type="hidden" name="authGroupObjid" value="<%=authGroupObjid%>">
|
||||
<section id="commonSection">
|
||||
<div id="autho1TableWrap">
|
||||
<div class="authoName">
|
||||
<label for="" class="label">권한명</label>
|
||||
<input type="hidden" name="authGroupName" value="<%=CommonUtils.checkNull(groupInfoMap.get("AUTH_NAME"))%>">
|
||||
<input type="text" value="<%=CommonUtils.checkNull(groupInfoMap.get("AUTH_NAME"))%>" disabled>
|
||||
<label for="" class="label">권한코드</label>
|
||||
<input type="hidden" name="authGroupCode" value="<%=CommonUtils.checkNull(groupInfoMap.get("AUTH_CODE"))%>">
|
||||
<input type="text" value="<%=CommonUtils.checkNull(groupInfoMap.get("AUTH_CODE"))%>" disabled>
|
||||
</div>
|
||||
<table id="autho1Table">
|
||||
<colgroup>
|
||||
<col width="6%" />
|
||||
<col width="31%" />
|
||||
<col width="31%" />
|
||||
<col width="32%" />
|
||||
</colgroup>
|
||||
<tr id="thead" keyName="addedMemberList">
|
||||
<td><input type="checkbox" id="allCheck" class="checkBox"></td>
|
||||
<td>소속</td>
|
||||
<td>팀명</td>
|
||||
<td>이름</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="fs_table">
|
||||
<table class="auto_management_data_table">
|
||||
<colgroup>
|
||||
<col width="6%" />
|
||||
<col width="31%" />
|
||||
<col width="31%" />
|
||||
<col width="32%" />
|
||||
</colgroup>
|
||||
<c:choose>
|
||||
<c:when test="${!empty groupMemberList}">
|
||||
<c:forEach var="addedMember" items="${groupMemberList}">
|
||||
<tr>
|
||||
<td><input type="checkbox" name="addedMember" value="${addedMember.OBJID}"></td>
|
||||
<td>${addedMember.USER_TYPE_NAME}</td>
|
||||
<td>${addedMember.DEPT_NAME}</td>
|
||||
<td>${addedMember.USER_NAME}</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<td align="center" colspan="5">조회된 정보가 없습니다.</td>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user