민원 검색조건 jsp 수정.

main
jjh 5 months ago
parent a2da85fb48
commit 080e3b75e5

@ -36,6 +36,8 @@ public class CrdnQuery extends CmmnQuery {
private String aplcnYmd; private String aplcnYmd;
private String schCvlcptRcptYmdFrom; private String schCvlcptRcptYmdFrom;
private String schCvlcptRcptYmdTo; private String schCvlcptRcptYmdTo;
private String schCvlcptPrcsPrnmntDtFrom;
private String schCvlcptPrcsPrnmntDtTo;
private String schRductYmdFrom; private String schRductYmdFrom;
private String schRductYmdTo; private String schRductYmdTo;
private String crdnYmd; private String crdnYmd;
@ -198,6 +200,24 @@ public class CrdnQuery extends CmmnQuery {
return self(); return self();
} }
public String getSchCvlcptPrcsPrnmntDtFrom() {
return ifEmpty(schCvlcptPrcsPrnmntDtFrom, () -> null);
}
public <T extends CrdnQuery> T setSchCvlcptPrcsPrnmntDtFrom(String schCvlcptPrcsPrnmntDtFrom) {
this.schCvlcptPrcsPrnmntDtFrom = schCvlcptPrcsPrnmntDtFrom;
return self();
}
public String getSchCvlcptPrcsPrnmntDtTo() {
return ifEmpty(schCvlcptPrcsPrnmntDtTo, () -> null);
}
public <T extends CrdnQuery> T setSchCvlcptPrcsPrnmntDtTo(String schCvlcptPrcsPrnmntDtTo) {
this.schCvlcptPrcsPrnmntDtTo = schCvlcptPrcsPrnmntDtTo;
return self();
}
public String getSchRductYmdFrom() { public String getSchRductYmdFrom() {
return ifEmpty(schRductYmdFrom, () -> null); return ifEmpty(schRductYmdFrom, () -> null);
} }

@ -26,6 +26,7 @@ import cokr.xit.fims.crdn.CrdnQuery;
import cokr.xit.fims.crdn.service.CrdnService; import cokr.xit.fims.crdn.service.CrdnService;
import cokr.xit.fims.cvlc.service.CrdnCvlcptService; import cokr.xit.fims.cvlc.service.CrdnCvlcptService;
import cokr.xit.fims.task.Task; import cokr.xit.fims.task.Task;
import cokr.xit.foundation.UserInfo;
import cokr.xit.foundation.data.DataObject; import cokr.xit.foundation.data.DataObject;
/** .<br /> /** .<br />
@ -70,6 +71,8 @@ public class Cvlc03Controller extends ApplicationController {
mav.addObject("FIM054List", commonCodes.get("FIM054")); mav.addObject("FIM054List", commonCodes.get("FIM054"));
mav.addObject("TaskListForSgg", stngBean.filterTaskSectionCodeForSgg(commonCodes.get("FIM054"))); mav.addObject("TaskListForSgg", stngBean.filterTaskSectionCodeForSgg(commonCodes.get("FIM054")));
addCodes(commonCodes, mav, "FIM022", "FIM026"); addCodes(commonCodes, mav, "FIM022", "FIM026");
mav.addObject("currentUserName", UserInfo.current().getName());
return mav; return mav;
} }

@ -174,14 +174,18 @@ WHERE C.DEL_YN = 'N'
<if test="cvlcptPrcsPicNm != null"> <if test="cvlcptPrcsPicNm != null">
AND CC.CVLCPT_PRCS_PIC_NM = #{cvlcptPrcsPicNm} AND CC.CVLCPT_PRCS_PIC_NM = #{cvlcptPrcsPicNm}
</if> </if>
<if test="schDateFrom != null or schDateTo != null"> <if test="schCvlcptPrcsPrnmntDtFrom != null or schCvlcptPrcsPrnmntDtTo != null">
<if test="schDateOpt == 'regDt'"> <if test="schCvlcptPrcsPrnmntDtFrom != null">AND CC.CVLCPT_PRCS_PRNMNT_DT <![CDATA[ >= ]]> #{schCvlcptPrcsPrnmntDtFrom} </if>
<if test="schDateFrom != null">AND SUBSTR(C.REG_DT,1,8) <![CDATA[ >= ]]> #{schDateFrom} </if> <if test="schCvlcptPrcsPrnmntDtTo != null">AND CC.CVLCPT_PRCS_PRNMNT_DT <![CDATA[ <= ]]> #{schCvlcptPrcsPrnmntDtTo} </if>
<if test="schDateTo != null">AND SUBSTR(C.REG_DT,1,8) <![CDATA[ <= ]]> #{schDateTo} </if> </if>
<if test="schRegDateFrom != null or schRegDateTo != null">
<if test="schRegDateOpt == 'regDt'">
<if test="schRegDateFrom != null">AND SUBSTR(C.REG_DT,1,8) <![CDATA[ >= ]]> #{schRegDateFrom} </if>
<if test="schRegDateTo != null">AND SUBSTR(C.REG_DT,1,8) <![CDATA[ <= ]]> #{schRegDateTo} </if>
</if> </if>
<if test="schDateOpt == 'mdfcnDt'"> <if test="schRegDateOpt == 'mdfcnDt'">
<if test="schDateFrom != null">AND SUBSTR(C.MDFCN_DT,1,8) <![CDATA[ >= ]]> #{schDateFrom} </if> <if test="schRegDateFrom != null">AND SUBSTR(C.MDFCN_DT,1,8) <![CDATA[ >= ]]> #{schRegDateFrom} </if>
<if test="schDateTo != null">AND SUBSTR(C.MDFCN_DT,1,8) <![CDATA[ <= ]]> #{schDateTo} </if> <if test="schRegDateTo != null">AND SUBSTR(C.MDFCN_DT,1,8) <![CDATA[ <= ]]> #{schRegDateTo} </if>
</if> </if>
</if> </if>
<if test="by != null and by != '' and term != null"> <if test="by != null and by != '' and term != null">
@ -255,14 +259,18 @@ SELECT C.CRDN_ID <!-- 단속 ID -->
<if test="cvlcptPrcsPicNm != null"> <if test="cvlcptPrcsPicNm != null">
AND CC.CVLCPT_PRCS_PIC_NM = #{cvlcptPrcsPicNm} AND CC.CVLCPT_PRCS_PIC_NM = #{cvlcptPrcsPicNm}
</if> </if>
<if test="schDateFrom != null or schDateTo != null"> <if test="schCvlcptPrcsPrnmntDtFrom != null or schCvlcptPrcsPrnmntDtTo != null">
<if test="schDateOpt == 'regDt'"> <if test="schCvlcptPrcsPrnmntDtFrom != null">AND CC.CVLCPT_PRCS_PRNMNT_DT <![CDATA[ >= ]]> #{schCvlcptPrcsPrnmntDtFrom} </if>
<if test="schDateFrom != null">AND SUBSTR(C.REG_DT,1,8) <![CDATA[ >= ]]> #{schDateFrom} </if> <if test="schCvlcptPrcsPrnmntDtTo != null">AND CC.CVLCPT_PRCS_PRNMNT_DT <![CDATA[ <= ]]> #{schCvlcptPrcsPrnmntDtTo} </if>
<if test="schDateTo != null">AND SUBSTR(C.REG_DT,1,8) <![CDATA[ <= ]]> #{schDateTo} </if> </if>
<if test="schRegDateFrom != null or schRegDateTo != null">
<if test="schRegDateOpt == 'regDt'">
<if test="schRegDateFrom != null">AND SUBSTR(C.REG_DT,1,8) <![CDATA[ >= ]]> #{schRegDateFrom} </if>
<if test="schRegDateTo != null">AND SUBSTR(C.REG_DT,1,8) <![CDATA[ <= ]]> #{schRegDateTo} </if>
</if> </if>
<if test="schDateOpt == 'mdfcnDt'"> <if test="schRegDateOpt == 'mdfcnDt'">
<if test="schDateFrom != null">AND SUBSTR(C.MDFCN_DT,1,8) <![CDATA[ >= ]]> #{schDateFrom} </if> <if test="schRegDateFrom != null">AND SUBSTR(C.MDFCN_DT,1,8) <![CDATA[ >= ]]> #{schRegDateFrom} </if>
<if test="schDateTo != null">AND SUBSTR(C.MDFCN_DT,1,8) <![CDATA[ <= ]]> #{schDateTo} </if> <if test="schRegDateTo != null">AND SUBSTR(C.MDFCN_DT,1,8) <![CDATA[ <= ]]> #{schRegDateTo} </if>
</if> </if>
</if> </if>
<if test="by != null and by != '' and term != null"> <if test="by != null and by != '' and term != null">
@ -450,14 +458,18 @@ SELECT C.CRDN_ID <!-- 단속 ID -->
<if test="schCvlcptRcptYmdTo != null">AND CC.CVLCPT_RCPT_YMD <![CDATA[ <= ]]> #{schCvlcptRcptYmdTo} </if> <if test="schCvlcptRcptYmdTo != null">AND CC.CVLCPT_RCPT_YMD <![CDATA[ <= ]]> #{schCvlcptRcptYmdTo} </if>
</if> </if>
<if test="cvlcptPrcsCd != null">AND CC.CVLCPT_PRCS_CD = #{cvlcptPrcsCd}</if> <if test="cvlcptPrcsCd != null">AND CC.CVLCPT_PRCS_CD = #{cvlcptPrcsCd}</if>
<if test="schDateFrom != null or schDateTo != null"> <if test="schCvlcptPrcsPrnmntDtFrom != null or schCvlcptPrcsPrnmntDtTo != null">
<if test="schDateOpt == 'regDt'"> <if test="schCvlcptPrcsPrnmntDtFrom != null">AND CC.CVLCPT_PRCS_PRNMNT_DT <![CDATA[ >= ]]> #{schCvlcptPrcsPrnmntDtFrom} </if>
<if test="schDateFrom != null">AND SUBSTR(C.REG_DT,1,8) <![CDATA[ >= ]]> #{schDateFrom} </if> <if test="schCvlcptPrcsPrnmntDtTo != null">AND CC.CVLCPT_PRCS_PRNMNT_DT <![CDATA[ <= ]]> #{schCvlcptPrcsPrnmntDtTo} </if>
<if test="schDateTo != null">AND SUBSTR(C.REG_DT,1,8) <![CDATA[ <= ]]> #{schDateTo} </if> </if>
<if test="schRegDateFrom != null or schRegDateTo != null">
<if test="schRegDateOpt == 'regDt'">
<if test="schRegDateFrom != null">AND SUBSTR(C.REG_DT,1,8) <![CDATA[ >= ]]> #{schRegDateFrom} </if>
<if test="schRegDateTo != null">AND SUBSTR(C.REG_DT,1,8) <![CDATA[ <= ]]> #{schRegDateTo} </if>
</if> </if>
<if test="schDateOpt == 'mdfcnDt'"> <if test="schRegDateOpt == 'mdfcnDt'">
<if test="schDateFrom != null">AND SUBSTR(C.MDFCN_DT,1,8) <![CDATA[ >= ]]> #{schDateFrom} </if> <if test="schRegDateFrom != null">AND SUBSTR(C.MDFCN_DT,1,8) <![CDATA[ >= ]]> #{schRegDateFrom} </if>
<if test="schDateTo != null">AND SUBSTR(C.MDFCN_DT,1,8) <![CDATA[ <= ]]> #{schDateTo} </if> <if test="schRegDateTo != null">AND SUBSTR(C.MDFCN_DT,1,8) <![CDATA[ <= ]]> #{schRegDateTo} </if>
</if> </if>
</if> </if>
<if test="by != null and by != '' and term != null"> <if test="by != null and by != '' and term != null">

@ -22,8 +22,8 @@
<form id="frmSearch--${pageName}" name="frmSearch"> <form id="frmSearch--${pageName}" name="frmSearch">
<div class="container-search"> <div class="container-search">
<div class="row g-1"> <div class="row g-1">
<div class="col-6"> <div class="col-12">
<span class="form-label fw-bold form-search-title">업무구분</span> <span class="form-label fw-bold form-search-title w-px-120 text-end">업무구분</span>
<span class="form-search-linebox"> <span class="form-search-linebox">
<c:forEach items="${TaskListForSgg}" var="item"> <c:forEach items="${TaskListForSgg}" var="item">
<label> <label>
@ -36,7 +36,7 @@
</span> </span>
</div> </div>
<div class="col-6"> <div class="col-6">
<span class="form-label fw-bold form-search-title">접수일자</span> <label class="form-label fw-bold form-search-title w-px-120 text-end" for="schCvlcptRcptYmdFrom--${pageName}">접수일자</label>
<span class="form-search-linebox"> <span class="form-search-linebox">
<input type="text" id="schCvlcptRcptYmdFrom--${pageName}" name="schCvlcptRcptYmdFrom" <input type="text" id="schCvlcptRcptYmdFrom--${pageName}" name="schCvlcptRcptYmdFrom"
class="form-control form-date" class="form-control form-date"
@ -50,22 +50,35 @@
</span> </span>
</div> </div>
<div class="col-6"> <div class="col-6">
<button type="button" <button type="button" class="w-px-120" onclick="$('#cvlcptPrcsPicNm--${pageName}').val('${currentUserName}');">
onclick="$('#cvlcptPrcsPicNm--${pageName}').val('${currentUserName}');">
담당자명 지정 담당자명 지정
</button> </button>
<input type="text" id="cvlcptPrcsPicNm--${pageName}" name="cvlcptPrcsPicNm" <input type="text" id="cvlcptPrcsPicNm--${pageName}" name="cvlcptPrcsPicNm"
class="form-control" /> class="form-control" />
</div> </div>
<div class="col-6">
<label class="form-label fw-bold form-search-title w-px-120 text-end" for="schCvlcptPrcsPrnmntDtFrom--${pageName}">처리기한</label>
<span class="form-search-linebox">
<input type="text" id="schCvlcptPrcsPrnmntDtFrom--${pageName}" name="schCvlcptPrcsPrnmntDtFrom"
class="form-control form-date"
data-fmt-type="day" title="시작 날짜 선택" />
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
~
<input type="text" id="schCvlcptPrcsPrnmntDtTo--${pageName}" name="schCvlcptPrcsPrnmntDtTo"
class="form-control form-date"
data-fmt-type="day" title="종료 날짜 선택">
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
</span>
</div>
<div class="col-6"> <div class="col-6">
<input type="hidden" id="by--${pageName}" name="by" /> <input type="hidden" id="by--${pageName}" name="by" />
<input type="text" id="byOutput--${pageName}" class="form-control" readonly value="동적 검색" /> <input type="text" class="form-control fw-bold w-px-120 text-end" id="byOutput--${pageName}" value="동적 검색" readonly />
<input type="hidden" id="mainOption--${pageName}" name="mainOption" /> <input type="hidden" id="mainOption--${pageName}" name="mainOption" />
<input type="hidden" id="subOption--${pageName}" name="subOption" /> <input type="hidden" id="subOption--${pageName}" name="subOption" />
<input type="text" id="term--${pageName}" name="term" class="form-control" /> <input type="text" class="form-control w-px-400" id="term--${pageName}" name="term" autocomplete="off" />
<!-- 상세 검색조건 버튼 -->
<span class="flr"> <span class="flr">
<button type="button" class="btn btn-open-detail" <button type="button" class="btn btn-open-detail" data-bs-toggle="collapse" data-bs-target="#searchDetail--${pageName}">
data-bs-toggle="collapse" data-bs-target="#searchDetail--${pageName}">
<i class="bx bx-chevron-down"></i> <i class="bx bx-chevron-down"></i>
상세검색 상세검색
</button> </button>
@ -76,18 +89,16 @@
<div id="searchDetail--${pageName}" class="container-search container-search-detail collapse"> <div id="searchDetail--${pageName}" class="container-search container-search-detail collapse">
<div class="row"> <div class="row">
<div class="col-6"> <div class="col-6">
<select id="schDateOpt--${pageName}" name="schDateOpt" class="form-select"> <select class="form-select w-px-120 text-center" id="schRegDateOpt--${pageName}" name="schRegDateOpt">
<option value="regDt">등록일자</option> <option value="regDt">등록일자</option>
<option value="mdfcnDt">수정일자</option> <option value="mdfcnDt">수정일자</option>
</select> </select>
<span class="form-search-linebox"> <span class="form-search-linebox">
<input type="text" id="schDateFrom--${pageName}" name="schDateFrom" <input type="text" class="form-control form-date" id="schRegDateFrom--${pageName}" name="schRegDateFrom"
class="form-control form-date"
data-fmt-type="day" title="시작 날짜 선택" /> data-fmt-type="day" title="시작 날짜 선택" />
<button type="button" class="bx bx-sm bx-calendar bg-white"></button> <button type="button" class="bx bx-sm bx-calendar bg-white"></button>
~ ~
<input type="text" id="schDateTo--${pageName}" name="schDateTo" <input type="text" class="form-control form-date" id="schRegDateTo--${pageName}" name="schRegDateTo"
class="form-control form-date"
data-fmt-type="day" title="종료 날짜 선택"> data-fmt-type="day" title="종료 날짜 선택">
<button type="button" class="bx bx-sm bx-calendar bg-white"></button> <button type="button" class="bx bx-sm bx-calendar bg-white"></button>
</span> </span>
@ -118,7 +129,7 @@
<div class="card-datatable text-nowrap"> <div class="card-datatable text-nowrap">
<div id="DataTables_Table_0_wrapper--${pageName}" class="dataTables_wrapper dt-bootstrap5 no-footer"> <div id="DataTables_Table_0_wrapper--${pageName}" class="dataTables_wrapper dt-bootstrap5 no-footer">
<div id="table-responsive--${pageName}" class="table-responsive ox-scroll oy-scroll h-px-550"> <div id="table-responsive--${pageName}" class="table-responsive ox-scroll oy-scroll h-px-500">
<table id="DataTables_Table_0--${pageName}" <table id="DataTables_Table_0--${pageName}"
class="table-layout-fixed datatables-ajax table table-bordered dataTable no-footer"> class="table-layout-fixed datatables-ajax table table-bordered dataTable no-footer">
<thead id="crdnThead--${pageName}" class="sticky-thead"> <thead id="crdnThead--${pageName}" class="sticky-thead">
@ -303,6 +314,7 @@ $(document).ready(function(){
searchForm.find("select").each(function(){ $(this).find("option:eq(0)").prop("selected", true); }); searchForm.find("select").each(function(){ $(this).find("option:eq(0)").prop("selected", true); });
$("#byOutput--${pageName}").val("동적 검색"); $("#byOutput--${pageName}").val("동적 검색");
$("#schRgtrNm--${pageName}").prop("readonly", true); // 사용자 이름
$('#schCvlcptRcptYmdFrom--${pageName}').datepicker('setDate', DateUtil.getDateDay(-5475).date); $('#schCvlcptRcptYmdFrom--${pageName}').datepicker('setDate', DateUtil.getDateDay(-5475).date);
$('#schCvlcptRcptYmdTo--${pageName}').datepicker('setDate', TODAY()); $('#schCvlcptRcptYmdTo--${pageName}').datepicker('setDate', TODAY());
@ -664,7 +676,6 @@ $(document).ready(function(){
}, },
}; };
/************************************************************************** /**************************************************************************
* element.on * element.on
**************************************************************************/ **************************************************************************/

@ -25,8 +25,8 @@
<form id="frmSearch--${pageName}" name="frmSearch"> <form id="frmSearch--${pageName}" name="frmSearch">
<div class="container-search"> <div class="container-search">
<div class="row g-1"> <div class="row g-1">
<div class="col-6"> <div class="col-12">
<span class="form-label fw-bold form-search-title">업무구분</span> <span class="form-label fw-bold form-search-title w-px-120 text-end">업무구분</span>
<span class="form-search-linebox"> <span class="form-search-linebox">
<c:forEach items="${TaskListForSgg}" var="item"> <c:forEach items="${TaskListForSgg}" var="item">
<label> <label>
@ -39,7 +39,7 @@
</span> </span>
</div> </div>
<div class="col-6"> <div class="col-6">
<span class="form-label fw-bold form-search-title">접수일자</span> <label class="form-label fw-bold form-search-title w-px-120 text-end" for="schCvlcptRcptYmdFrom--${pageName}">접수일자</label>
<span class="form-search-linebox"> <span class="form-search-linebox">
<input type="text" id="schCvlcptRcptYmdFrom--${pageName}" name="schCvlcptRcptYmdFrom" <input type="text" id="schCvlcptRcptYmdFrom--${pageName}" name="schCvlcptRcptYmdFrom"
class="form-control form-date" class="form-control form-date"
@ -53,8 +53,8 @@
</span> </span>
</div> </div>
<div class="col-6"> <div class="col-6">
<label class="form-label fw-bold form-search-title" for="cvlcptPrcsCd--${pageName}">처리구분</label> <label class="form-label fw-bold form-search-title w-px-120 text-end" for="cvlcptPrcsCd--${pageName}">처리구분</label>
<select id="cvlcptPrcsCd--${pageName}" name="cvlcptPrcsCd" class="form-select"> <select id="cvlcptPrcsCd--${pageName}" name="cvlcptPrcsCd" class="form-select w-px-160">
<option value="">전체</option> <option value="">전체</option>
<c:forEach items="${FIM017List}" var="item"> <c:forEach items="${FIM017List}" var="item">
<c:if test="${item.code == '02' or item.code == '03' or item.code == '04'}"> <c:if test="${item.code == '02' or item.code == '03' or item.code == '04'}">
@ -63,15 +63,29 @@
</c:forEach> </c:forEach>
</select> </select>
</div> </div>
<div class="col-6">
<label class="form-label fw-bold form-search-title w-px-120 text-end" for="schCvlcptPrcsPrnmntDtFrom--${pageName}">처리기한</label>
<span class="form-search-linebox">
<input type="text" id="schCvlcptPrcsPrnmntDtFrom--${pageName}" name="schCvlcptPrcsPrnmntDtFrom"
class="form-control form-date"
data-fmt-type="day" title="시작 날짜 선택" />
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
~
<input type="text" id="schCvlcptPrcsPrnmntDtTo--${pageName}" name="schCvlcptPrcsPrnmntDtTo"
class="form-control form-date"
data-fmt-type="day" title="종료 날짜 선택">
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
</span>
</div>
<div class="col-6"> <div class="col-6">
<input type="hidden" id="by--${pageName}" name="by" /> <input type="hidden" id="by--${pageName}" name="by" />
<input type="text" id="byOutput--${pageName}" class="form-control" readonly value="동적 검색" /> <input type="text" class="form-control fw-bold w-px-120 text-end" id="byOutput--${pageName}" value="동적 검색" readonly />
<input type="hidden" id="mainOption--${pageName}" name="mainOption" /> <input type="hidden" id="mainOption--${pageName}" name="mainOption" />
<input type="hidden" id="subOption--${pageName}" name="subOption" /> <input type="hidden" id="subOption--${pageName}" name="subOption" />
<input type="text" id="term--${pageName}" name="term" class="form-control" /> <input type="text" class="form-control w-px-400" id="term--${pageName}" name="term" autocomplete="off" />
<!-- 상세 검색조건 버튼 -->
<span class="flr"> <span class="flr">
<button type="button" class="btn btn-open-detail" <button type="button" class="btn btn-open-detail" data-bs-toggle="collapse" data-bs-target="#searchDetail--${pageName}">
data-bs-toggle="collapse" data-bs-target="#searchDetail--${pageName}">
<i class="bx bx-chevron-down"></i> <i class="bx bx-chevron-down"></i>
상세검색 상세검색
</button> </button>
@ -82,18 +96,16 @@
<div id="searchDetail--${pageName}" class="container-search container-search-detail collapse"> <div id="searchDetail--${pageName}" class="container-search container-search-detail collapse">
<div class="row"> <div class="row">
<div class="col-6"> <div class="col-6">
<select id="schDateOpt--${pageName}" name="schDateOpt" class="form-select"> <select class="form-select w-px-120 text-center" id="schRegDateOpt--${pageName}" name="schRegDateOpt">
<option value="regDt">등록일자</option> <option value="regDt">등록일자</option>
<option value="mdfcnDt">수정일자</option> <option value="mdfcnDt">수정일자</option>
</select> </select>
<span class="form-search-linebox"> <span class="form-search-linebox">
<input type="text" id="schDateFrom--${pageName}" name="schDateFrom" <input type="text" class="form-control form-date" id="schRegDateFrom--${pageName}" name="schRegDateFrom"
class="form-control form-date"
data-fmt-type="day" title="시작 날짜 선택" /> data-fmt-type="day" title="시작 날짜 선택" />
<button type="button" class="bx bx-sm bx-calendar bg-white"></button> <button type="button" class="bx bx-sm bx-calendar bg-white"></button>
~ ~
<input type="text" id="schDateTo--${pageName}" name="schDateTo" <input type="text" class="form-control form-date" id="schRegDateTo--${pageName}" name="schRegDateTo"
class="form-control form-date"
data-fmt-type="day" title="종료 날짜 선택"> data-fmt-type="day" title="종료 날짜 선택">
<button type="button" class="bx bx-sm bx-calendar bg-white"></button> <button type="button" class="bx bx-sm bx-calendar bg-white"></button>
</span> </span>
@ -136,7 +148,7 @@
<div class="card-datatable text-nowrap"> <div class="card-datatable text-nowrap">
<div id="DataTables_Table_0_wrapper--${pageName}" class="dataTables_wrapper dt-bootstrap5 no-footer"> <div id="DataTables_Table_0_wrapper--${pageName}" class="dataTables_wrapper dt-bootstrap5 no-footer">
<div id="table-responsive--${pageName}" class="table-responsive ox-scroll oy-scroll h-px-550"> <div id="table-responsive--${pageName}" class="table-responsive ox-scroll oy-scroll h-px-500">
<table id="DataTables_Table_0--${pageName}" <table id="DataTables_Table_0--${pageName}"
class="table-layout-fixed datatables-ajax table table-bordered dataTable no-footer"> class="table-layout-fixed datatables-ajax table table-bordered dataTable no-footer">
<thead id="crdnThead--${pageName}" class="sticky-thead"> <thead id="crdnThead--${pageName}" class="sticky-thead">

@ -22,8 +22,8 @@
<form id="frmSearch--${pageName}" name="frmSearch"> <form id="frmSearch--${pageName}" name="frmSearch">
<div class="container-search"> <div class="container-search">
<div class="row g-1"> <div class="row g-1">
<div class="col-6"> <div class="col-12">
<span class="form-label fw-bold form-search-title">업무구분</span> <span class="form-label fw-bold form-search-title w-px-120 text-end">업무구분</span>
<span class="form-search-linebox"> <span class="form-search-linebox">
<c:forEach items="${TaskListForSgg}" var="item"> <c:forEach items="${TaskListForSgg}" var="item">
<label> <label>
@ -36,7 +36,7 @@
</span> </span>
</div> </div>
<div class="col-6"> <div class="col-6">
<span class="form-label fw-bold form-search-title">접수일자</span> <label class="form-label fw-bold form-search-title w-px-120 text-end" for="schCvlcptRcptYmdFrom--${pageName}">접수일자</label>
<span class="form-search-linebox"> <span class="form-search-linebox">
<input type="text" id="schCvlcptRcptYmdFrom--${pageName}" name="schCvlcptRcptYmdFrom" <input type="text" id="schCvlcptRcptYmdFrom--${pageName}" name="schCvlcptRcptYmdFrom"
class="form-control form-date" class="form-control form-date"
@ -50,22 +50,35 @@
</span> </span>
</div> </div>
<div class="col-6"> <div class="col-6">
<button type="button" <button type="button" class="w-px-120" onclick="$('#cvlcptPrcsPicNm--${pageName}').val('${currentUserName}');">
onclick="$('#cvlcptPrcsPicNm--${pageName}').val('${currentUserName}');">
담당자명 지정 담당자명 지정
</button> </button>
<input type="text" id="cvlcptPrcsPicNm--${pageName}" name="cvlcptPrcsPicNm" <input type="text" id="cvlcptPrcsPicNm--${pageName}" name="cvlcptPrcsPicNm"
class="form-control"/> class="form-control" />
</div>
<div class="col-6">
<label class="form-label fw-bold form-search-title w-px-120 text-end" for="schCvlcptPrcsPrnmntDtFrom--${pageName}">처리기한</label>
<span class="form-search-linebox">
<input type="text" id="schCvlcptPrcsPrnmntDtFrom--${pageName}" name="schCvlcptPrcsPrnmntDtFrom"
class="form-control form-date"
data-fmt-type="day" title="시작 날짜 선택" />
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
~
<input type="text" id="schCvlcptPrcsPrnmntDtTo--${pageName}" name="schCvlcptPrcsPrnmntDtTo"
class="form-control form-date"
data-fmt-type="day" title="종료 날짜 선택">
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
</span>
</div> </div>
<div class="col-6"> <div class="col-6">
<input type="hidden" id="by--${pageName}" name="by" /> <input type="hidden" id="by--${pageName}" name="by" />
<input type="text" id="byOutput--${pageName}" class="form-control" readonly value="동적 검색" /> <input type="text" class="form-control fw-bold w-px-120 text-end" id="byOutput--${pageName}" value="동적 검색" readonly />
<input type="hidden" id="mainOption--${pageName}" name="mainOption" /> <input type="hidden" id="mainOption--${pageName}" name="mainOption" />
<input type="hidden" id="subOption--${pageName}" name="subOption" /> <input type="hidden" id="subOption--${pageName}" name="subOption" />
<input type="text" id="term--${pageName}" name="term" class="form-control" /> <input type="text" class="form-control w-px-400" id="term--${pageName}" name="term" autocomplete="off" />
<!-- 상세 검색조건 버튼 -->
<span class="flr"> <span class="flr">
<button type="button" class="btn btn-open-detail" <button type="button" class="btn btn-open-detail" data-bs-toggle="collapse" data-bs-target="#searchDetail--${pageName}">
data-bs-toggle="collapse" data-bs-target="#searchDetail--${pageName}">
<i class="bx bx-chevron-down"></i> <i class="bx bx-chevron-down"></i>
상세검색 상세검색
</button> </button>
@ -76,18 +89,16 @@
<div id="searchDetail--${pageName}" class="container-search container-search-detail collapse"> <div id="searchDetail--${pageName}" class="container-search container-search-detail collapse">
<div class="row"> <div class="row">
<div class="col-6"> <div class="col-6">
<select id="schDateOpt--${pageName}" name="schDateOpt" class="form-select"> <select class="form-select w-px-120 text-center" id="schRegDateOpt--${pageName}" name="schRegDateOpt">
<option value="regDt">등록일자</option> <option value="regDt">등록일자</option>
<option value="mdfcnDt">수정일자</option> <option value="mdfcnDt">수정일자</option>
</select> </select>
<span class="form-search-linebox"> <span class="form-search-linebox">
<input type="text" id="schDateFrom--${pageName}" name="schDateFrom" <input type="text" class="form-control form-date" id="schRegDateFrom--${pageName}" name="schRegDateFrom"
class="form-control form-date"
data-fmt-type="day" title="시작 날짜 선택" /> data-fmt-type="day" title="시작 날짜 선택" />
<button type="button" class="bx bx-sm bx-calendar bg-white"></button> <button type="button" class="bx bx-sm bx-calendar bg-white"></button>
~ ~
<input type="text" id="schDateTo--${pageName}" name="schDateTo" <input type="text" class="form-control form-date" id="schRegDateTo--${pageName}" name="schRegDateTo"
class="form-control form-date"
data-fmt-type="day" title="종료 날짜 선택"> data-fmt-type="day" title="종료 날짜 선택">
<button type="button" class="bx bx-sm bx-calendar bg-white"></button> <button type="button" class="bx bx-sm bx-calendar bg-white"></button>
</span> </span>
@ -115,7 +126,7 @@
<div class="card-datatable text-nowrap"> <div class="card-datatable text-nowrap">
<div id="DataTables_Table_0_wrapper--${pageName}" class="dataTables_wrapper dt-bootstrap5 no-footer"> <div id="DataTables_Table_0_wrapper--${pageName}" class="dataTables_wrapper dt-bootstrap5 no-footer">
<div id="table-responsive--${pageName}" class="table-responsive ox-scroll oy-scroll h-px-550"> <div id="table-responsive--${pageName}" class="table-responsive ox-scroll oy-scroll h-px-500">
<table id="DataTables_Table_0--${pageName}" <table id="DataTables_Table_0--${pageName}"
class="table-layout-fixed datatables-ajax table table-bordered dataTable no-footer"> class="table-layout-fixed datatables-ajax table table-bordered dataTable no-footer">
<thead id="crdnThead--${pageName}" class="sticky-thead"> <thead id="crdnThead--${pageName}" class="sticky-thead">

@ -19,8 +19,8 @@
<form id="frmSearch--${pageName}" name="frmSearch"> <form id="frmSearch--${pageName}" name="frmSearch">
<div class="container-search"> <div class="container-search">
<div class="row g-1"> <div class="row g-1">
<div class="col-6"> <div class="col-12">
<span class="form-label fw-bold form-search-title">업무구분</span> <span class="form-label fw-bold form-search-title w-px-120 text-end">업무구분</span>
<span class="form-search-linebox"> <span class="form-search-linebox">
<c:forEach items="${TaskListForSgg}" var="item"> <c:forEach items="${TaskListForSgg}" var="item">
<label> <label>
@ -33,7 +33,7 @@
</span> </span>
</div> </div>
<div class="col-6"> <div class="col-6">
<span class="form-label fw-bold form-search-title">요청일자</span> <label class="form-label fw-bold form-search-title w-px-120 text-end" for="schDmndYmdFrom--${pageName}">요청일자</label>
<span class="form-search-linebox"> <span class="form-search-linebox">
<input type="text" id="schDmndYmdFrom--${pageName}" name="schDmndYmdFrom" <input type="text" id="schDmndYmdFrom--${pageName}" name="schDmndYmdFrom"
class="form-control form-date" class="form-control form-date"
@ -117,13 +117,9 @@
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<div class="content-backdrop fade"></div> <div class="content-backdrop fade"></div>
</div> </div>

@ -9,7 +9,7 @@
<div class="container-search"> <div class="container-search">
<div class="row g-1"> <div class="row g-1">
<div class="col-12"> <div class="col-12">
<span class="form-label fw-bold form-search-title">업무구분</span> <span class="form-label fw-bold form-search-title w-px-120 text-end">업무구분</span>
<span class="form-search-linebox"> <span class="form-search-linebox">
<c:forEach items="${TaskListForSgg}" var="item"> <c:forEach items="${TaskListForSgg}" var="item">
<label> <label>
@ -252,7 +252,6 @@
</span> </span>
</div> </div>
<!-- 매크로 삽입 버튼 영역 --> <!-- 매크로 삽입 버튼 영역 -->
<div class="mt-4 d-flex flex-row justify-content-center align-items-center"> <div class="mt-4 d-flex flex-row justify-content-center align-items-center">
<div class="card ps-3 py-3 w-px-1300"> <div class="card ps-3 py-3 w-px-1300">
@ -278,12 +277,9 @@
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<div class="content-backdrop fade"></div> <div class="content-backdrop fade"></div>
</div> </div>

@ -9,7 +9,7 @@
<div class="container-search"> <div class="container-search">
<div class="row g-1"> <div class="row g-1">
<div class="col-12"> <div class="col-12">
<span class="form-label fw-bold form-search-title">업무구분</span> <span class="form-label fw-bold form-search-title w-px-120 text-end">업무구분</span>
<span class="form-search-linebox"> <span class="form-search-linebox">
<c:forEach items="${TaskListForSgg}" var="item"> <c:forEach items="${TaskListForSgg}" var="item">
<label> <label>
@ -112,14 +112,9 @@
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<div class="content-backdrop fade"></div> <div class="content-backdrop fade"></div>
</div> </div>

Loading…
Cancel
Save