관리자 기소유예 설문
This commit is contained in:
parent
fb2b41597f
commit
04c89ddf9f
@ -167,8 +167,6 @@ public class VEPrcsDetailVO extends ComDefaultVO implements Serializable {
|
||||
|
||||
private String lctrPlanRsltAtchFileId; //강의계획서 첨부파일 아이디
|
||||
|
||||
private String qustnrTmplatId;
|
||||
|
||||
|
||||
|
||||
|
||||
@ -812,12 +810,6 @@ public class VEPrcsDetailVO extends ComDefaultVO implements Serializable {
|
||||
public void setInstrNm(String instrNm) {
|
||||
this.instrNm = instrNm;
|
||||
}
|
||||
public String getQustnrTmplatId() {
|
||||
return qustnrTmplatId;
|
||||
}
|
||||
public void setQustnrTmplatId(String qustnrTmplatId) {
|
||||
this.qustnrTmplatId = qustnrTmplatId;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -1461,6 +1461,26 @@ public class MainController {
|
||||
System.out.println("auth");
|
||||
System.out.println(auth);
|
||||
|
||||
//청소년, 성인 메뉴 구분을 위한 권한 및 강사 구분 값
|
||||
model.addAttribute("naviAuth", auth);
|
||||
if("ROLE_USER_MANAGER".equals(menuManageVO.getAuthorCode())) {
|
||||
VEInstrDetailVO vEInstrDetailVO = new VEInstrDetailVO();
|
||||
vEInstrDetailVO.setUserId(loginVO.getUniqId());
|
||||
vEInstrDetailVO = vEInstrService.selectDetail(vEInstrDetailVO);
|
||||
String instrDiv = "";
|
||||
|
||||
if("Y".equals(vEInstrDetailVO.getTngrInstrYn())){
|
||||
instrDiv = "tngrInstrDiv";
|
||||
}
|
||||
if("Y".equals(vEInstrDetailVO.getAdultInstrYn())) {
|
||||
instrDiv = "adultInstrDiv";
|
||||
}
|
||||
if("Y".equals(vEInstrDetailVO.getTngrInstrYn()) && "Y".equals(vEInstrDetailVO.getAdultInstrYn())){
|
||||
instrDiv = "doubleInstrDiv";
|
||||
}
|
||||
model.addAttribute("naviInstrDiv", instrDiv);
|
||||
}
|
||||
|
||||
//현재 로그인한 권한으로 셋팅해준다.
|
||||
//menuManageVO.setAuthorCode(auth);
|
||||
|
||||
@ -1501,7 +1521,7 @@ public class MainController {
|
||||
System.out.println(session.getId());
|
||||
System.out.println(menuManageVO.getMenuNo());
|
||||
System.out.println(session.getAttribute("menuNo"));
|
||||
System.out.println(session.getAttribute("menuNo").toString());
|
||||
//System.out.println(session.getAttribute("menuNo").toString());
|
||||
|
||||
}catch(Exception ex) {
|
||||
ex.printStackTrace();
|
||||
@ -1510,7 +1530,7 @@ public class MainController {
|
||||
try {
|
||||
System.out.println("session.getAttribute(aaaaaa).toString()-naviWrap-step1");
|
||||
System.out.println(session.getAttribute("aaaaaa"));
|
||||
System.out.println(session.getAttribute("aaaaaa").toString());
|
||||
//System.out.println(session.getAttribute("aaaaaa").toString());
|
||||
|
||||
}catch(Exception ex) {
|
||||
ex.printStackTrace();
|
||||
|
||||
@ -93,7 +93,7 @@
|
||||
, mber_sttus AS emplyrSttusCode
|
||||
, mbtlnum AS membCelnum
|
||||
, birth_day AS membBirth
|
||||
|
||||
, '' AS userWork
|
||||
FROM lettngnrlmber a
|
||||
WHERE mber_seq = #id#
|
||||
<isEmpty property="statusAll">
|
||||
@ -468,7 +468,7 @@
|
||||
, mber_sttus AS emplyrSttusCode
|
||||
, mbtlnum AS membCelnum
|
||||
, birth_day AS membBirth
|
||||
|
||||
, '' AS userWork
|
||||
FROM lettngnrlmber a
|
||||
WHERE mber_id = #id#
|
||||
AND PASSWORD = #password#
|
||||
|
||||
@ -216,26 +216,10 @@
|
||||
|
||||
}
|
||||
|
||||
//설문조사 결과
|
||||
function fncInstrCostInfo(eduId, userId) { //메뉴생성 화면 호출
|
||||
var form = document.popupForm;
|
||||
|
||||
form.eduAplctOrd.value = eduId;
|
||||
form.respondId.value = userId;
|
||||
// form.prcsAplctPrdOrd.value = prcsAplctPrdOrd;
|
||||
|
||||
form.action = "<c:url value='/kccadr/oprtn/fndthEnhanceTrn/popup/lctrEvalPopup.do'/>";
|
||||
openPopupAndSubmitForm('popupForm', 'popupForm', 900, 1200);
|
||||
}
|
||||
</script>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<form id="popupForm" name="popupForm" method="post">
|
||||
<input type="hidden" name="prcsAplctPrdOrd" id="prcsAplctPrdOrd" value="<c:out value='${vEPrcsDetailVO.prcsAplctPrdOrd}' />"/>
|
||||
<input type="hidden" name="eduAplctOrd" id="eduAplctOrd"/>
|
||||
<input type="hidden" name="respondId" id="respondId"/>
|
||||
</form>
|
||||
<form id="instrForm" name="instrForm" method="post">
|
||||
<input type="hidden" name="prcsAplctPrdOrd" id="prcsAplctPrdOrd" value="<c:out value='${vEPrcsDetailVO.prcsAplctPrdOrd}' />"/>
|
||||
<input type="hidden" name="userId" id="userId"/>
|
||||
@ -458,8 +442,6 @@
|
||||
<col style="width: 210px;">
|
||||
<col style="width: 210px;">
|
||||
<col style="width: 210px;">
|
||||
<col style="width: 180px;">
|
||||
<col style="width: 210px;">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
@ -469,8 +451,6 @@
|
||||
<th>연락처</th>
|
||||
<th>교육이수여부</th>
|
||||
<th>교육이수상태변경</th>
|
||||
<th>설문조사</th>
|
||||
<th>이수증</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@ -498,27 +478,6 @@
|
||||
<button type="button" class="btn_type04" onclick="fn_statusChg('20', '<c:out value="${list.eduAplctOrd }" />', '<c:out value="${list.sspnIdtmtTrgtOrd }"/>')">이수</button>
|
||||
<button type="button" class="btn_type05" onclick="fn_statusChg('10', '<c:out value="${list.eduAplctOrd }" />', '<c:out value="${list.sspnIdtmtTrgtOrd }"/>')">미이수</button>
|
||||
</td>
|
||||
<td>
|
||||
<c:choose>
|
||||
<c:when test="${list.qestRsltExists }">
|
||||
<%-- <button type="button" class="btn_type04" onclick="fncInstrCostInfo('<c:out value="${list.qestnrId }"/>');">설문결과</button> --%>
|
||||
<button type="button" class="btn_type04" onclick="fncInstrCostInfo('${list.eduAplctOrd }', '${list.userId }');">설문결과</button>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
미입력
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</td>
|
||||
<td>
|
||||
<c:choose>
|
||||
<c:when test="${list.qestRsltExists }">
|
||||
<button type="button" title="이수증" class="btn_type04" onclick="fncCmpltCrtfc('<c:out value="${info.prcsAplctPrdOrd}"/>', '<c:out value="${list.eduAplctOrd}"/>');">이수증</button>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
-
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</c:when>
|
||||
|
||||
@ -180,7 +180,7 @@
|
||||
<ul class="cont_nav">
|
||||
<li class="home"><a href="/"><i></i></a></li>
|
||||
<li>
|
||||
<p>실무자역량강화(기반강화연수관리)</p>
|
||||
<p>기반강화연수관리</p>
|
||||
</li>
|
||||
<li><span class="cur_nav">기반강화연수 과정 신청기간 등록</span></li>
|
||||
</ul>
|
||||
|
||||
@ -184,7 +184,7 @@
|
||||
<ul class="cont_nav">
|
||||
<li class="home"><a href="/"><i></i></a></li>
|
||||
<li>
|
||||
<p>실무자역량강화(기반강화연수관리)</p>
|
||||
<p>기반강화연수관리</p>
|
||||
</li>
|
||||
<li><span class="cur_nav">교육확정관리목록</span></li>
|
||||
</ul>
|
||||
|
||||
@ -252,7 +252,7 @@
|
||||
<ul class="cont_nav">
|
||||
<li class="home"><a href="/"><i></i></a></li>
|
||||
<li>
|
||||
<p>실무자역량강화(기반강화연수관리)</p>
|
||||
<p>기반강화연수관리</p>
|
||||
</li>
|
||||
<li><span class="cur_nav">과정신청기간관리 신청기간 상세</span></li>
|
||||
</ul>
|
||||
|
||||
@ -192,7 +192,7 @@
|
||||
<ul class="cont_nav">
|
||||
<li class="home"><a href="/"><i></i></a></li>
|
||||
<li>
|
||||
<p>실무자역량강화(기반강화연수관리)</p>
|
||||
<p>기반강화연수관리</p>
|
||||
</li>
|
||||
<li><span class="cur_nav">과정신청기간관리목록</span></li>
|
||||
</ul>
|
||||
|
||||
@ -205,7 +205,7 @@
|
||||
<ul class="cont_nav">
|
||||
<li class="home"><a href="/"><i></i></a></li>
|
||||
<li>
|
||||
<p>실무자역량강화(기반강화연수관리)</p>
|
||||
<p>기반강화연수관리</p>
|
||||
</li>
|
||||
<li><span class="cur_nav">강사별관리목록</span></li>
|
||||
</ul>
|
||||
|
||||
@ -45,9 +45,7 @@
|
||||
if(mode == "D"){
|
||||
$("input[type=checkbox],textarea").not("textarea[name=rejtReson]").attr("disabled" , true);
|
||||
}
|
||||
$("input:text[numberOnly]").on("keyup", function() {
|
||||
$(this).val($(this).val().replace(/[^0-9]/g,""));
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
function fncAprooval(){
|
||||
@ -161,25 +159,6 @@
|
||||
|
||||
//회차관리 변경
|
||||
function fncRndsSave(thisObj){
|
||||
|
||||
// 기존 회차와 비교하여 값이 있으면 return false
|
||||
var valChk = false;
|
||||
$(".psblTmQnttyTemp").each(function() {
|
||||
|
||||
var ordVal = $('#ord').val();
|
||||
var currentValue = $(this).val();
|
||||
if(currentValue == ordVal){
|
||||
valChk = true;
|
||||
}
|
||||
|
||||
});
|
||||
if(valChk){
|
||||
alert("기존에 있는 회차와 같습니다. 다시 작성해주세요");
|
||||
return false;
|
||||
}
|
||||
// //기존 회차와 비교하여 값이 있으면 return false
|
||||
|
||||
|
||||
//alert($("#ord_1").val());
|
||||
//alert($(thisObj).closest("td"));
|
||||
//alert($(thisObj).closest("td").find("input[name=ord_1]").length);
|
||||
@ -201,7 +180,7 @@
|
||||
//alert(p_areaCd);
|
||||
|
||||
//if(p_psblTmQntty != "") {
|
||||
/* if(true) {
|
||||
if(true) {
|
||||
|
||||
$.ajax({
|
||||
type:"POST",
|
||||
@ -228,7 +207,7 @@
|
||||
});
|
||||
}else{
|
||||
alert("교육가능시수를 입력해주세요.");
|
||||
} */
|
||||
}
|
||||
}
|
||||
|
||||
function fncGoList(){
|
||||
@ -408,7 +387,7 @@
|
||||
|
||||
<input type="text" id="ord" name="ord" class="search_input"
|
||||
style="width:100px;" maxlength="3"
|
||||
placeholder="숫자만" value="" numberOnly>회차
|
||||
placeholder="숫자만" value='' onkeyDown="press(event);">회차
|
||||
</td>
|
||||
<td>
|
||||
<div class="util_right">
|
||||
@ -523,10 +502,6 @@
|
||||
<input type="text" id="psblTmQntty" name="psblTmQntty" class="search_input"
|
||||
style="width:100px;"
|
||||
placeholder="회차" value='<c:out value="${list.ord}"/>' onkeyDown="press(event);">회차
|
||||
|
||||
|
||||
<input type="hidden" class="psblTmQnttyTemp" value='<c:out value="${list.ord}"/>'/>
|
||||
|
||||
</td>
|
||||
<td>
|
||||
<div class="util_right">
|
||||
|
||||
@ -6,7 +6,6 @@
|
||||
<c:set var="URI" value="${pageContext.request.requestURI}" />
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function (){
|
||||
|
||||
$("#snb_1depth li a").each(function(idx) {
|
||||
var ahref = $("nav#menu ul.depth01 li.depth01_li:eq("+idx+") a").attr("href");
|
||||
//console.log($("nav#menu ul.depth01 li.depth01_li:eq("+idx+") a").attr("href")); // 요기. 최종마지막 부터 해야함
|
||||
@ -30,6 +29,15 @@ $(document).ready(function (){
|
||||
}
|
||||
});
|
||||
|
||||
if("${naviAuth}" == 'ROLE_USER_MANAGER'){
|
||||
if("${naviInstrDiv}" == 'tngrInstrDiv'){
|
||||
$("#navi_depth_1_9991000").hide();
|
||||
$("#navi_depth_1_99912000").hide();
|
||||
$("#navi_depth_1_99913000").hide();
|
||||
}else if("${naviInstrDiv}" == 'adultInstrDiv'){
|
||||
$("#navi_depth_1_99923000").hide();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
/* function snsShare(snsName, link, title) { */
|
||||
@ -91,7 +99,7 @@ function snsShare(snsName) {
|
||||
<ul class="navi_depth" id="navi_depth_1">
|
||||
<c:forEach var="resultListOne" items="${menuResultList}" varStatus="status">
|
||||
<c:if test="${resultListOne.depths eq '1' }">
|
||||
<li>
|
||||
<li id="navi_depth_1_${resultListOne.menuNo}">
|
||||
<a href="${pageContext.request.contextPath}${empty resultListOne.url ? '#' : resultListOne.url }" ${resultListOne.menuType eq 'O' ? 'target="_blank"' : ""} >
|
||||
<c:out value="${resultListOne.menuNm}" escapeXml="false" />
|
||||
</a>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user