|
|
|
@ -78,8 +78,15 @@
|
|
|
|
|
<input type="checkbox" name="schOnlyUnpay" class="form-check-input" />
|
|
|
|
|
미납만조회
|
|
|
|
|
</label>
|
|
|
|
|
<span class="slot-search" data-slot-index="0">
|
|
|
|
|
|
|
|
|
|
<span slot="search">
|
|
|
|
|
<template class="pvs">
|
|
|
|
|
<slot>
|
|
|
|
|
<label class="area-photoinspection">
|
|
|
|
|
<input type="checkbox" name="schExclTimeout" class="form-check-input" />
|
|
|
|
|
2시간초과제외
|
|
|
|
|
</label>
|
|
|
|
|
</slot>
|
|
|
|
|
</template>
|
|
|
|
|
</span>
|
|
|
|
|
<span class="flr">
|
|
|
|
|
<button type="button" class="btn btn-open-detail"
|
|
|
|
@ -125,16 +132,6 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
<!-- 업무별 조회조건 -->
|
|
|
|
|
<template id="taskSearchOption--${pageName}">
|
|
|
|
|
<span class="pvs slot-search" data-slot-index="0">
|
|
|
|
|
<label class="area-photoinspection">
|
|
|
|
|
<input type="checkbox" name="schExclTimeout" class="form-check-input" />
|
|
|
|
|
2시간초과제외
|
|
|
|
|
</label>
|
|
|
|
|
</span>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div id="gridbuttonArea--${pageName}" class="container-page-btn">
|
|
|
|
|
<div class="d-flex flex-row justify-content-between">
|
|
|
|
@ -151,21 +148,16 @@
|
|
|
|
|
</div>
|
|
|
|
|
<span class="container-window-btn-right">
|
|
|
|
|
<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 slot="button">
|
|
|
|
|
<template class="pvs">
|
|
|
|
|
<slot>
|
|
|
|
|
<button class="btn btn-primary" id="btnInstTimeout--${pageName}" title="2시간초과 등록">2시간초과 등록</button>
|
|
|
|
|
</slot>
|
|
|
|
|
</template>
|
|
|
|
|
</span>
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- 업무별 버튼 -->
|
|
|
|
|
<template id="taskButton--${pageName}">
|
|
|
|
|
<span class="pvs slot-button" data-slot-index="0">
|
|
|
|
|
<a href="#" id="btnInstTimeout--${pageName}" class="btn btn-blue" title="2시간초과 등록"
|
|
|
|
|
onclick="">2시간초과 등록</a>
|
|
|
|
|
</span>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<div class="card-datatable text-nowrap area-photoinspection">
|
|
|
|
|
<div id="photoInspection_Table_0_wrapper--${pageName}" class="dataTables_wrapper dt-bootstrap5 no-footer">
|
|
|
|
|
<div id="photoInspection-responsive--${pageName}" class="table-responsive"
|
|
|
|
@ -445,31 +437,41 @@ $(document).ready(function(){
|
|
|
|
|
|
|
|
|
|
var clsForTask = taskSeCd.toLowerCase();
|
|
|
|
|
//업무별 조회조건
|
|
|
|
|
var searchOptionContent = document.getElementById("taskSearchOption--${pageName}").content;
|
|
|
|
|
var searchOptions = $(searchOptionContent).find("."+clsForTask);
|
|
|
|
|
var searchSlotAreas = $("#frmSearch--${pageName}").find(".slot-search");
|
|
|
|
|
var searchSlotAreas = $("#frmSearch--${pageName}").find("[slot='search']");
|
|
|
|
|
searchSlotAreas.each(function(){
|
|
|
|
|
var searchOption = searchOptions.filter("[data-slot-index='"+this.dataset.slotIndex+"']");
|
|
|
|
|
if(searchOption.length > 0){
|
|
|
|
|
this.replaceWith(searchOption[0].cloneNode(true));
|
|
|
|
|
} else {
|
|
|
|
|
this.classList.remove("pvs","bpv","dpv","eca");
|
|
|
|
|
this.innerHTML = "";
|
|
|
|
|
|
|
|
|
|
var tempHtml = "";
|
|
|
|
|
$(this).find("template").each(function(){
|
|
|
|
|
tempHtml += this.cloneNode(true).outerHTML;
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
var taskTemplate = $(this).find("template."+clsForTask);
|
|
|
|
|
if(taskTemplate.length < 1){
|
|
|
|
|
this.innerHTML = tempHtml;
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var inHtml = $(taskTemplate[0].content).find("slot")[0].innerHTML;
|
|
|
|
|
this.innerHTML = tempHtml + inHtml;
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
//업무별 버튼
|
|
|
|
|
var buttonContent = document.getElementById("taskButton--${pageName}").content
|
|
|
|
|
var buttons = $(buttonContent).find("."+clsForTask);
|
|
|
|
|
var buttonSlotAreas = $("#gridbuttonArea--${pageName}").find(".slot-button");
|
|
|
|
|
var buttonSlotAreas = $("#gridbuttonArea--${pageName}").find("[slot='button']");
|
|
|
|
|
buttonSlotAreas.each(function(){
|
|
|
|
|
var button = buttons.filter("[data-slot-index='"+this.dataset.slotIndex+"']");
|
|
|
|
|
if(button.length > 0){
|
|
|
|
|
this.replaceWith(button[0].cloneNode(true));
|
|
|
|
|
} else {
|
|
|
|
|
this.className = "slot-button";
|
|
|
|
|
this.innerHTML = "";
|
|
|
|
|
|
|
|
|
|
var tempHtml = "";
|
|
|
|
|
$(this).find("template").each(function(){
|
|
|
|
|
tempHtml += this.cloneNode(true).outerHTML;
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
var taskTemplate = $(this).find("template."+clsForTask);
|
|
|
|
|
if(taskTemplate.length < 1){
|
|
|
|
|
this.innerHTML = tempHtml;
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var inHtml = $(taskTemplate[0].content).find("slot")[0].innerHTML;
|
|
|
|
|
this.innerHTML = tempHtml + inHtml;
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$('#btnPhotoInspection--${pageName}').trigger("click");
|
|
|
|
|