|
|
|
@ -150,7 +150,8 @@
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<span class="container-window-btn-right">
|
|
|
|
|
<a href="#" id="btnInstLevyExcl--${pageName}" class="btn btn-blue" title="비부과 등록">비부과 등록</a>
|
|
|
|
|
<button class="btn btn-primary" id="btnInstLevyExcl--${pageName}" title="비부과 등록">비부과 등록</button>
|
|
|
|
|
<%-- <a href="#" id="btnInstLevyExcl--${pageName}" class="btn btn-blue" title="비부과 등록">비부과 등록</a> --%>
|
|
|
|
|
<span class="slot-button" data-slot-index="0">
|
|
|
|
|
|
|
|
|
|
</span>
|
|
|
|
@ -587,8 +588,35 @@ $(document).ready(function(){
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$P.openLevyExclPop = () => {
|
|
|
|
|
$P.openLevyExclPop = (levyExclSeCd) => {
|
|
|
|
|
let info = $P.photoInspectionControl.dataset.getCurrent("item");
|
|
|
|
|
|
|
|
|
|
// info 가 없다면.. return
|
|
|
|
|
if (info == undefined || info == "") {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
let params = {
|
|
|
|
|
crdnId : info.data.CRDN_ID
|
|
|
|
|
, levyExclSeCd : levyExclSeCd
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
ajax.get({
|
|
|
|
|
url : wctx.url("/excl/excl01/020/info.do")
|
|
|
|
|
, data : params || {}
|
|
|
|
|
, success : resp => {
|
|
|
|
|
resp = resp.replace(/infoPrefix/g, this.prefix)
|
|
|
|
|
.replace(/prefixName/g, this.prefixName)
|
|
|
|
|
dialog.open({
|
|
|
|
|
id : "levyExcldialog"
|
|
|
|
|
, title : "부과제외 정보"
|
|
|
|
|
, content : resp
|
|
|
|
|
, size : "lg"
|
|
|
|
|
, init : () => $P.photoInspectionControl.setInfo(info)
|
|
|
|
|
, onClose : () => { $P.photoInspectionControl.load(1); } // callback
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
$P.renderInspectionDataList = (total, renderDataType) => {
|
|
|
|
@ -677,7 +705,7 @@ $(document).ready(function(){
|
|
|
|
|
});
|
|
|
|
|
$('#btnSearch--${pageName}').on('click', () => $P.searchInspectionList()); //검색버튼
|
|
|
|
|
|
|
|
|
|
$("#btnInstLevyExcl--${pageName}").on("click", () => $P.openLevyExclPop());
|
|
|
|
|
$("#btnInstLevyExcl--${pageName}").on("click", () => $P.openLevyExclPop("1"));
|
|
|
|
|
|
|
|
|
|
//스크롤 이벤트 추가(동일차량검사)
|
|
|
|
|
$("#photoInspection-responsive--${pageName}").scroll(function(){ $P.scrollEnd(this); });
|
|
|
|
|