Merge branch 'master' of http://docs.nculture.org:30000/nculture/iams.nlib
This commit is contained in:
commit
8e1109ade7
@ -77,6 +77,7 @@ $( document ).ready(function() {
|
|||||||
|
|
||||||
$("#btnApp").val(BTN_APP_PREFIX + " (" + selNum + ")");
|
$("#btnApp").val(BTN_APP_PREFIX + " (" + selNum + ")");
|
||||||
$("#appCnt").text("(" + selNum + ")");
|
$("#appCnt").text("(" + selNum + ")");
|
||||||
|
$("#appCntMo").text(selNum);
|
||||||
});
|
});
|
||||||
|
|
||||||
$("[id^=selMngOrgCd]").filter(":first").prop("checked", true);
|
$("[id^=selMngOrgCd]").filter(":first").prop("checked", true);
|
||||||
@ -220,8 +221,7 @@ $(document).ready(function() {
|
|||||||
g.preventDefault();
|
g.preventDefault();
|
||||||
});
|
});
|
||||||
|
|
||||||
if("${message}" != "") alert("${message}");
|
gfn_showMessage("${message}");
|
||||||
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -280,16 +280,22 @@ $(document).ready(function() {
|
|||||||
|
|
||||||
<c:set var="mngOrgCdCnt" value="0" />
|
<c:set var="mngOrgCdCnt" value="0" />
|
||||||
<!-- 문화원 시작 -->
|
<!-- 문화원 시작 -->
|
||||||
<h3><label for="selMngOrgCd_${cart.mngOrgCd}"><input type="radio" id="selMngOrgCd_${cart.mngOrgCd}" name="selMngOrgCd" value="${cart.mngOrgCd}"><span id="_${cart.mngOrgCd}_nm">${cart.mngOrgNm }</span> (<span class="count" id="_${cart.mngOrgCd}_cnt"></span>)</label></h3>
|
<h3><label for="selMngOrgCd_${cart.mngOrgCd}">
|
||||||
|
<input type="radio" id="selMngOrgCd_${cart.mngOrgCd}" name="selMngOrgCd" value="${cart.mngOrgCd}">
|
||||||
|
<span id="_${cart.mngOrgCd}_nm">${cart.mngOrgNm }</span> (<span class="count" id="_${cart.mngOrgCd}_cnt"></span>)</label></h3>
|
||||||
<div class="list-cart">
|
<div class="list-cart">
|
||||||
<div class="list t-tit-line">
|
<div class="list t-tit-line">
|
||||||
<div class="t-chk"><input type="checkbox" id="chk_all_${cart.mngOrgCd }" name="chk_all_${cart.mngOrgCd }" onclick="fn_selectAll('${cart.mngOrgCd}')"><label for="chk_all_${cart.mngOrgCd }" style="display:none">전체자료선택</label><span class="mo-ver"><strong>전체선택</strong> (3/3)</span></div>
|
<div class="t-chk">
|
||||||
|
<input type="checkbox" id="chk_all_${cart.mngOrgCd }" name="chk_all_${cart.mngOrgCd }" onclick="fn_selectAll('${cart.mngOrgCd}')">
|
||||||
|
<label for="chk_all_${cart.mngOrgCd }" style="display:none">전체자료선택</label>
|
||||||
|
<span class="mo-ver"><strong>전체선택</strong> (<span id="appCntMo" class="count">0</span>/<span class="count" id="_${cart.mngOrgCd}_cntMo">0</span>)
|
||||||
|
</div>
|
||||||
<div class="t-data t-mo">자료정보</div>
|
<div class="t-data t-mo">자료정보</div>
|
||||||
<div class="t-state t-mo">이용상태</div>
|
<div class="t-state t-mo">이용상태</div>
|
||||||
<div class="t-date t-mo">반납예정일</div>
|
<div class="t-date t-mo">반납예정일</div>
|
||||||
<div class="t-loan t-mo">대출</div>
|
<div class="t-loan t-mo">대출</div>
|
||||||
<div class="t-visit t-mo">방문열람</div>
|
<div class="t-visit t-mo">방문열람</div>
|
||||||
<div class="t-delete mo-ver">선택삭제</div>
|
<div class="t-delete mo-ver" onclick="fn_deleteCartItems()">선택삭제</div>
|
||||||
</div>
|
</div>
|
||||||
<c:set var="preMngOrgCd" value="${cart.mngOrgCd}" />
|
<c:set var="preMngOrgCd" value="${cart.mngOrgCd}" />
|
||||||
</c:if>
|
</c:if>
|
||||||
@ -346,6 +352,7 @@ $(document).ready(function() {
|
|||||||
</div>
|
</div>
|
||||||
<script>
|
<script>
|
||||||
$("#_${preMngOrgCd}_cnt").text("${mngOrgCdCnt }");
|
$("#_${preMngOrgCd}_cnt").text("${mngOrgCdCnt }");
|
||||||
|
$("#_${preMngOrgCd}_cntMo").text("${mngOrgCdCnt }");
|
||||||
</script>
|
</script>
|
||||||
</c:if>
|
</c:if>
|
||||||
|
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
|
<%
|
||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* @Class Name : insertReadItems.jsp
|
* @Class Name : insertReadItems.jsp
|
||||||
|
|||||||
@ -589,3 +589,14 @@ function gfn_reserveReadItem(mngOrgCd, masterId) {
|
|||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function gfn_showMessage(msg) {
|
||||||
|
if(fn_isEmpty(msg)) return;
|
||||||
|
else {
|
||||||
|
// 딜레이 준 후, 표출
|
||||||
|
setTimeout(function() {
|
||||||
|
alert(msg);
|
||||||
|
}, 500);
|
||||||
|
}
|
||||||
|
return;
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user