Merge branch 'advc' of http://subsub8729@vcs.iten.co.kr:9999/hylee/offedu into advc
This commit is contained in:
commit
4261c51c1e
File diff suppressed because it is too large
Load Diff
@ -749,6 +749,12 @@ public class CndtnTrgtMngController {
|
||||
comDefaultSexCodeVO.setCodeDc(cndtnTrgtMngVO.getSex());
|
||||
cndtnTrgtMngVO.setSex( egovCmmUseService.selectCmmCodeDetailCode(comDefaultSexCodeVO) );
|
||||
|
||||
// 관할청
|
||||
ComDefaultCodeVO comDefaultCmptntCodeVO = new ComDefaultCodeVO();
|
||||
comDefaultCmptntCodeVO.setCodeId("VEA008");
|
||||
comDefaultCmptntCodeVO.setCodeDc(cndtnTrgtMngVO.getCmptntAthrt());
|
||||
cndtnTrgtMngVO.setCmptntAthrt( egovCmmUseService.selectCmmCodeDetailCode(comDefaultCmptntCodeVO) );
|
||||
|
||||
//암호화
|
||||
cndtnTrgtMngVO = egovCryptoUtil.encryptCndtnTrgtMngVOInfo(cndtnTrgtMngVO);
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -18,6 +18,7 @@
|
||||
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
|
||||
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
|
||||
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
|
||||
<%@ taglib prefix="ve" uri="/WEB-INF/tlds/kcc_tld.tld"%>
|
||||
<%@ taglib prefix="double-submit" uri="http://www.egovframe.go.kr/tags/double-submit/jsp" %>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
@ -73,6 +74,14 @@ $( document ).ready(function(){
|
||||
$("#rank1").attr('disabled', true);
|
||||
$("#rank2").attr('disabled', false);
|
||||
}
|
||||
|
||||
if("${userManageVO.authorCode}" == "ROLE_ADR_JRSDC"){
|
||||
$('#userWork_case1').hide();
|
||||
$('#userWork_case2').show();
|
||||
}else{
|
||||
$('#userWork_case1').show();
|
||||
$('#userWork_case2').hide();
|
||||
}
|
||||
});
|
||||
|
||||
function setOrgDepth_01(){
|
||||
@ -324,6 +333,17 @@ function authorChange(obj) {
|
||||
$("#rank1").attr('disabled', true);
|
||||
$("#rank2").attr('disabled', false);
|
||||
}
|
||||
|
||||
//alert(obj.options[obj.selectedIndex].value);
|
||||
|
||||
if (obj.options[obj.selectedIndex].value=='ROLE_ADR_JRSDC'){
|
||||
$('#userWork_case1').hide();
|
||||
$('#userWork_case2').show();
|
||||
}else{
|
||||
$('#userWork_case1').show();
|
||||
$('#userWork_case2').hide();
|
||||
}
|
||||
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
@ -440,8 +460,14 @@ function authorChange(obj) {
|
||||
<tr>
|
||||
<th>담당업무</th>
|
||||
<td colspan="3">
|
||||
<form:input path="userWork" id="userWork" cssClass="txaIpt" size="50" maxlength="15" placeholder="" />
|
||||
<form:errors path="userWork" cssClass="error" />
|
||||
<div style="display:;" id="userWork_case1">
|
||||
<form:input path="userWork" id="userWork" cssClass="txaIpt" size="50" maxlength="15" placeholder="" />
|
||||
<form:errors path="userWork" cssClass="error" />
|
||||
</div>
|
||||
<div style="display:;" id="userWork_case2">
|
||||
<ve:select codeId="VEA008" name="userWork" id="userWork" styleClass="sel_type1" selectedValue="${userManageVO.userWork}" defaultValue=""/>
|
||||
</div>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
@ -887,7 +887,7 @@
|
||||
</th>
|
||||
<td>
|
||||
<label for="trgtPrsnl" class="label">학생 수 입력</label>
|
||||
<input type="text" name="trgtPrsnl" id="trgtPrsnl" onkeyup="onlyNumber(this);" maxlength="4" value="${info.trgtPrsnl}" size="20"> 명
|
||||
<input type="text" name="trgtPrsnl" id="trgtPrsnl" onkeyup="onlyNumber(this);" onblur="onlyNumber(this);" maxlength="4" value="${info.trgtPrsnl}" size="20"> 명
|
||||
</td>
|
||||
<th scope="row">
|
||||
<p class="req_text"><span>필수입력 항목</span>*</p>
|
||||
@ -922,7 +922,7 @@
|
||||
</th>
|
||||
<td>
|
||||
<label for="needTxtbNum" class="label">필요 교재 수량 입력</label>
|
||||
<input type="text" name="needTxtbNum" id="needTxtbNum" onkeyup="onlyNumber(this);" value="${info.needTxtbNum}" title="필요 교재 수량" size="20" maxlength="4">
|
||||
<input type="text" name="needTxtbNum" id="needTxtbNum" onkeyup="onlyNumber(this);" onblur="onlyNumber(this);" value="${info.needTxtbNum}" title="필요 교재 수량" size="20" maxlength="4">
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user