모바일용 건수 처리 기능 추가

This commit is contained in:
KNKIM 2021-12-01 12:04:10 +09:00
parent fc7731e2fd
commit e6d4cda459

View File

@ -61,7 +61,7 @@ $( document ).ready(function() {
} }
$("#mngOrgCd").val(mngOrgCd); $("#mngOrgCd").val(mngOrgCd);
$("#mngOrgNm").val($("#_" + mngOrgCd + "_nm").text()); $("#mngOrgNm").val($("#_" + mngOrgCd + "_nm").text());
$("[id^=appCntMo_]").text("0");
$("[id^=chk_item_" + mngOrgCd + "]").filter(":first").trigger("change"); $("[id^=chk_item_" + mngOrgCd + "]").filter(":first").trigger("change");
}); });
@ -78,7 +78,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); $("#appCntMo_" + mngOrgCd).text(selNum);
}); });
$("[id^=selMngOrgCd]").filter(":first").prop("checked", true); $("[id^=selMngOrgCd]").filter(":first").prop("checked", true);
@ -305,6 +305,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>
@ -318,7 +319,7 @@ $(document).ready(function() {
<div class="t-chk"> <div class="t-chk">
<input type="checkbox" id="chk_all_${cart.mngOrgCd }" name="chk_all_${cart.mngOrgCd }" onclick="fn_selectAll('${cart.mngOrgCd}')"> <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> <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>) <span class="mo-ver"><strong>전체선택</strong> (<span id="appCntMo_${cart.mngOrgCd}" class="count">0</span>/<span class="count" id="_${cart.mngOrgCd}_cntMo">0</span>)
</div> </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>