관리자 - 기록열람 검색기능 추가

This commit is contained in:
hylee 2023-10-31 12:45:45 +09:00
parent 5a6ec6eaf2
commit 156dc6b988
6 changed files with 394 additions and 90 deletions

View File

@ -1,6 +1,7 @@
package kcc.kccadr.advcRecord.service;
import java.io.Serializable;
import java.util.List;
import kcc.com.cmm.ComDefaultVO;
@ -53,8 +54,22 @@ public class AdrRecordReadingVO extends ComDefaultVO implements Serializable {
private String statTxt; //
private String mberNm; //
private String expense; // 발급 비용
private String expense; // 검색조건 발급종류
private List<String> readList; // 검색조건 발급종류
private List<String> ckStsList; // 검색조건 발급상태
private String whereRead; // 검색조건 발급종류
private String readListAll; // 검색조건 발급종류
private String whereCkSts; // 검색조건 발급상태
private String ckStsListAll; // 검색조건 발급상태
public String getRecordReadingSeq() {
@ -255,6 +270,42 @@ public class AdrRecordReadingVO extends ComDefaultVO implements Serializable {
public void setExpense(String expense) {
this.expense = expense;
}
public List<String> getReadList() {
return readList;
}
public void setReadList(List<String> readList) {
this.readList = readList;
}
public List<String> getCkStsList() {
return ckStsList;
}
public void setCkStsList(List<String> ckStsList) {
this.ckStsList = ckStsList;
}
public String getWhereRead() {
return whereRead;
}
public void setWhereRead(String whereRead) {
this.whereRead = whereRead;
}
public String getWhereCkSts() {
return whereCkSts;
}
public void setWhereCkSts(String whereCkSts) {
this.whereCkSts = whereCkSts;
}
public String getReadListAll() {
return readListAll;
}
public void setReadListAll(String readListAll) {
this.readListAll = readListAll;
}
public String getCkStsListAll() {
return ckStsListAll;
}
public void setCkStsListAll(String ckStsListAll) {
this.ckStsListAll = ckStsListAll;
}
}

View File

@ -1,6 +1,7 @@
package kcc.kccadr.viewRecords.web;
import java.util.List;
import java.util.stream.Collectors;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
@ -258,6 +259,41 @@ public class ViewRecordsController {
adrRecordReadingVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage());
adrRecordReadingVO.setFrstRegisterId(user.getId());
// 발급종류 where
List<String> readList = adrRecordReadingVO.getReadList();
String whereRead = "";
if (readList != null && !readList.isEmpty())
{
whereRead = readList.stream()
.map(readStat -> "'" + readStat + "'")
.collect(Collectors.joining(", ", " AND a.docu_ty IN (", ")"));
// 만약 readList가 비어있을 경우에 대한 처리
if (readList.isEmpty()) {
whereRead = ""; //
}
}
adrRecordReadingVO.setWhereRead(whereRead);
// 발급상태 where
List<String> ckStsList = adrRecordReadingVO.getCkStsList();
String whereCkSts = "";
if (ckStsList != null && !ckStsList.isEmpty())
{
whereCkSts = ckStsList.stream()
.map(t -> "'" + t + "'")
.collect(Collectors.joining(", ", " AND a.prcsn_stat_cd IN (", ")"));
// 만약 readList가 비어있을 경우에 대한 처리
if (ckStsList.isEmpty()) {
whereCkSts = ""; //
}
}
adrRecordReadingVO.setWhereCkSts(whereCkSts);
List<AdrRecordReadingVO> list = adrRecordReadingService.selectDocReqList(adrRecordReadingVO);
list.stream().forEach(t->{
@ -467,5 +503,49 @@ public class ViewRecordsController {
}
@RequestMapping(value = "/kccadr/viewRecords/updatePrcsnStatCdjAjax.do")
public ModelAndView updatePrcsnStatCdjAjax(AdrRecordReadingVO adrRecordReadingVO, ModelMap model) throws Exception {
ModelAndView modelAndView = new ModelAndView();
modelAndView.setViewName("jsonView");
LoginVO loginVO = EgovUserDetailsHelper.isAuthenticated() ? (LoginVO) EgovUserDetailsHelper.getAuthenticatedUser() : null;
String userId = loginVO == null ? "" : EgovStringUtil.isNullToString(loginVO.getUniqId());
if (loginVO == null) {
modelAndView.addObject("result", "fail");
modelAndView.addObject("message", "로그인 해주세요.");
return modelAndView;
}
adrRecordReadingVO.setLastUpdusrId(loginVO.getUniqId());
try {
// 기존 mapper 사용하기 위한 생성자
PayVO payVO = new PayVO();
payVO.setLastUpdusrId(userId); // 수정자
payVO.setPrcsnStatCd(adrRecordReadingVO.getPrcsnStatCd());
payVO.setAsctnTablePk1(adrRecordReadingVO.getRecordReadingSeq());
adrRecordReadingService.updatePrcsnStatCd(payVO);
// history 영역
adrRecordReadingVO.setFrstRegisterId(userId);
adrRecordReadingVO.setRecordReadingHstrySeq(recordReadingHstryGnrService.getNextStringId());
adrRecordReadingService.insertRecordReadingHist(adrRecordReadingVO);
modelAndView.addObject("result", "success");
} catch(Exception e) {
modelAndView.addObject("result", "fail");
}
return modelAndView;
}
}

View File

@ -97,14 +97,19 @@
<select id="AdrRecordReadingDAO.selectDetail" parameterClass="AdrRecordReadingVO" resultClass="AdrRecordReadingVO">
/*AdrRecordReadingDAO.selectDetail*/
SELECT
<include refid="AdrRecordReadingDAO.select_column_name"/>
ah.cn
, <include refid="AdrRecordReadingDAO.select_column_name"/>
, b.adr_no as adrNo
FROM
<include refid="AdrRecordReadingDAO.table_name"/> a
LEFT JOIN adr_mgr_master b
ON a.adr_seq = b.adr_seq
left join adr_record_reading_hstry ah on
a.record_reading_seq = ah.record_reading_seq
WHERE
a.record_reading_seq = #recordReadingSeq#
order by ah.record_reading_hstry_seq desc
limit 1
</select>
@ -217,6 +222,12 @@
on a.frst_register_id = lm.mber_id
WHERE
1=1
<isNotEmpty property="whereRead">
$whereRead$
</isNotEmpty>
<isNotEmpty property="whereCkSts">
$whereCkSts$
</isNotEmpty>
<isNotEmpty property="searchKeyword">
<isEqual prepend="AND" property="searchCondition" compareValue="1">
c.ADR_NO LIKE CONCAT('%' , #searchKeyword#, '%')

View File

@ -53,18 +53,57 @@ function rejPopOpen(){
openPopupAndSubmitForm('payPopup', 'popupForm', 500, 380);
}
/*
*
popOpen('/kccadrPb/adm/popup_fee03.html','수수료 등록', '380','300')
openPopupAndSubmitForm(p_name, p_formId, p_width, p_height)
function fn_prcsnStatCdAjax(data){
var form = document.cdUpdateForm ;
form.prcsnStatCd.value=data;
if (!confirm("승인 처리 하시겠습니까?")) return;
var data = new FormData(form);
$.ajax({
type : "POST",
url : "/kccadr/viewRecords/updatePrcsnStatCdjAjax.do",
data : data,
dataType : 'json',
async : false,
processData : false,
contentType : false,
cache : false,
success : function(returnData, status) {
if (returnData.result == 'success') {
alert("완료되었습니다.");
location.reload();
} else {
alert("오류가 발생하였습니다.");
}
},
error : function(e) {
alert("오류가 발생하였습니다.");
console.log("ERROR : ", e);
}
});
}
*/
</script>
<style>
.tbType02 .radio_wrap input[type=radio] + label {margin-right:15px;}
</style>
</head>
<body>
<form id="cdUpdateForm" name="cdUpdateForm" action="<c:url value='' />">
<input type="hidden" id="recordReadingSeq" name="recordReadingSeq" value="${info.recordReadingSeq }" />
<input type="hidden" name="prcsnStatCd" id="prcsnStatCd" value="30"/>
</form>
<form id="popupForm" name="popupForm" action="<c:url value='' />">
<input type="hidden" id="recordReadingSeq" name="recordReadingSeq" value="${info.recordReadingSeq }" />
</form>
@ -149,9 +188,9 @@ function rejPopOpen(){
<td>
<c:set var="year" value="${fn:substring(info.reqDate, 0, 4)}" />
<c:set var="month" value="${fn:substring(info.reqDate, 4, 6)}" />
<c:set var="day" value="${fn:substring(info.reqDate, 6, 8)}" />
<c:set var="day" value="${fn:substring(info.reqDate, 6, 9)}" />
<p>
<c:out value="${year}-${month}-${day}" />, <c:out value="${info.reqHours}"/>:<c:out value="${info.reqMinutes}"/>
<c:out value="${year}-${month}-${day}" />, <c:out value="${info.reqHours}"/>:<c:out value="${formattedMinutes}"/>
</p>
</td>
</tr>
@ -191,24 +230,49 @@ function rejPopOpen(){
<th>발급비용</th>
<td><p><c:out value="${info.expense }" /><c:out value="${not empty info.expense ? '원' : ''}" /></p></td>
</tr>
<!-- 반려일 경우 반려사유 노출 -->
<c:if test="${info.prcsnStatCd eq '40'}">
<tr>
<th>
<p>반려사유</p>
</th>
<td>
<p><c:out value="${info.cn }" /></p>
</td>
</tr>
</c:if>
</tbody>
</table>
</div>
<!-- <div class="tbType02"> -->
<!-- </table> -->
<p class="cfText" style="margin: 10px 0 0 0;">· 기록발급은 신청인만 가능하며, 대리인은 신청이 불가합니다.</p>
<div class="btn_wrap btn_layout01">
<div class="area_left"></div>
<div class="area_right" style="width: auto;">
<c:if test="${info.prcsnStatCd == '10' or info.prcsnStatCd == '20' or info.prcsnStatCd == '30' or info.prcsnStatCd == '40'}"> <!-- 취소일때 -->
<!--
10 신청
20 비용납부
30 승인
40 반려
50 발급완료
90 취소
-->
<c:if test="${info.prcsnStatCd == '10' or info.prcsnStatCd == '20' or info.prcsnStatCd == '30'}"> <!-- 반려 / 발급완료 /취소 일때 -->
<c:if test="${info.recordReadingFlag == '10'}"> <!-- 우편일떄 -->
<button type="button" class="btnType02" onclick="payPopOpen()">비용납부</button>
<button type="button" class="btnType06">승인</button>
<button type="button" class="btnType06" onclick="fn_prcsnStatCdAjax('30')">승인</button>
<button type="button" class="btnType02" onclick="fn_prcsnStatCdAjax('50')">발급완료</button>
</c:if>
<c:if test="${info.recordReadingFlag == '20'}"> <!-- 방문일때 -->
<button type="button" class="btnType02" onclick="payPopOpen()">발급완료</button>
</c:if>
<!-- <button type="button" class="btnType09" onclick="popOpen('/kccadrPb/adm/popup_rej.html','신청반려', '460','320')">반려</button> -->
</c:if>
<c:if test="${info.prcsnStatCd ne '40' and info.prcsnStatCd ne '50' and info.prcsnStatCd ne '90'}">
<button type="button" class="btnType09" onclick="rejPopOpen()">반려</button>
</c:if>
<button type="button" class="btnType04" onclick="fnListPage()">목록</button>

View File

@ -17,10 +17,77 @@
<script type="text/javaScript" language="javascript">
$(document).ready(function() {
// ============== 발급종류 ==============
$('#readListAll').click(function(){
var isChecked = $(this).prop("checked");
// 나머지 체크박스들의 상태를 변경합니다.
$("input[name='readList']").prop("checked", isChecked);
});
$("input[name='readList']").click(function() {
if (!$(this).prop("checked")) {
$("#readListAll").prop("checked", false);
}
});
// ============== 발급상태 ==============
$('#ckStsListAll').click(function(){
var isChecked = $(this).prop("checked");
// 나머지 체크박스들의 상태를 변경합니다.
$("input[name='ckStsList']").prop("checked", isChecked);
});
$("input[name='ckStsList']").click(function() {
if (!$(this).prop("checked")) {
$("#ckStsListAll").prop("checked", false);
}
});
$("input[name=searchMonth]").on("click" , function(){
var value = $(this).val();
if(value == "99"){
$("#sel_date").find("button").prop("disabled" , false);
$("#sel_date").find("input").prop("readonly", false);
}else{
setSearchMonthDate(value);
$("#sel_date").find("button").prop("disabled" , true);
$("#sel_date").find("input").prop("readonly", true);
}
})
if('${adrRecordReadingVO.searchMonth}' != '99'){
setSearchMonthDate('${adrRecordReadingVO.searchMonth}');
}
});
function setSearchMonthDate(month){
if(month == undefined || month == ""){
month = '${adrRecordReadingVO.searchMonth}';
}
//현재날짜
var now = new Date();
var endDt = now.getFullYear()+"-"+ ((now.getMonth()+1) < 10 ? '0'+ (now.getMonth()+1) : (now.getMonth()+1) )+ "-"
+ ((now.getDate()) < 10 ? '0'+ (now.getDate()) : (now.getDate()) );
//month + 날자
month = parseInt(month);
var getMonthDate = new Date(now.setMonth(now.getMonth() - month)); // 한달 후
var startDt = getMonthDate.getFullYear()+"-"+ ((getMonthDate.getMonth()+1) < 10 ? '0'+ (getMonthDate.getMonth()+1) : (getMonthDate.getMonth()+1)) + "-"
+ ((getMonthDate.getDate()) < 10 ? '0'+ (getMonthDate.getDate()) : (getMonthDate.getDate()));
$("input[name=searchStartDt]").val(startDt);
$("input[name=searchEndDt]").val(endDt);
}
function fn_detail(data){
var form = document.detailForm;
@ -29,6 +96,19 @@
form.submit();
}
function linkPage(pageNo){
var listForm = document.listForm ;
listForm.pageIndex.value = pageNo ;
listForm.action = "<c:url value='/kccadr/viewRecords/applyList.do'/>";
listForm.submit();
}
function fncGoList(){
linkPage(1);
}
</script>
</head>
<body>
@ -40,6 +120,7 @@
<input type="hidden" name="searchSortCnd" value="<c:out value="${adrRecordReadingVO.searchSortCnd}" />" />
<input type="hidden" name="searchSortOrd" value="<c:out value="${adrRecordReadingVO.searchSortOrd}" />" />
<input type="hidden" name="searchStatus" value="<c:out value="${adrRecordReadingVO.searchStatus}" />" />
<input type="hidden" name="searchCondition" value="2" />
<input type="hidden" name="adrSeq" />
<input type="hidden" name="adrSn" />
<input type="hidden" name="reqOlCd" />
@ -70,98 +151,84 @@
<div class="detail_search">
<ul>
<li>
<p class="tit_text">구분</p>
<select name="searchCondition" id="searchCondition" title="선택">
<%-- <option value='' <c:if test="${adrRecordReadingVO.searchCondition == ''}">selected</c:if>>전체</option> --%>
<option value='10' <c:if test="${adrRecordReadingVO.searchCondition == '10'}">selected</c:if>>조정번호</option>
<option value='20' <c:if test="${adrRecordReadingVO.searchCondition == '20'}">selected</c:if>>신청인</option>
<option value='30' <c:if test="${adrRecordReadingVO.searchCondition == '30'}">selected</c:if>>신청내용</option>
<option value='40' <c:if test="${adrRecordReadingVO.searchCondition == '40'}">selected</c:if>>조정부</option>
<option value='50' <c:if test="${adrRecordReadingVO.searchCondition == '50'}">selected</c:if>>조정조사관</option>
</select>
<%-- <kc:select codeId="CC005" name="srcDlvSts" id="srcDlvSts" defaultText="전체" defaultValue="" /> --%>
<input type="text" class="search_input" id="searchKeyword" name="searchKeyword" value="<c:out value='${adrRecordReadingVO.searchKeyword}'/>" placeholder="검색어를 입력하세요.">
<button class="btnType07 btn_search" onclick="fncGoList()">검색</button>
</li>
<li>
<kc:radio name="" id="" codeId="" />
<p class="tit_text">조정상태</p>
<%-- <kc:radio name="" id="" codeId="" /> --%>
<p class="tit_text">발급종류</p>
<!-- CC601 -->
<%-- <c:set var="whereRead" value="${fn:join(adrRecordReadingVO.readList, ',') }"/> --%>
<%-- <c:set var="whereRead" value="${fn:join(adrRecordReadingVO.readList, ',') }"/> --%>
<div class="check_wrap">
<span>
<input type="checkbox" id="ckStsListAll" name="ckStsListAll" value="Y">
<input type="checkbox" ${adrRecordReadingVO.readListAll eq 'Y' ? 'checked' : ''} id="readListAll" name="readListAll" value="Y">
<label for="readListAll">전체</label>
</span>
<span>
<input type="checkbox" ${fn:indexOf(adrRecordReadingVO.readList, 10) ne -1 ? 'checked' : ''} id="readList1" name="readList" value="10"/>
<label for="readList1">조정종결통보서</label>
</span>
<span>
<input type="checkbox" ${fn:indexOf(adrRecordReadingVO.readList, 20) ne -1 ? 'checked' : ''} id="readList2" name="readList" value="20" />
<label for="readList2">기일조서</label>
</span>
<span>
<input type="checkbox" ${fn:indexOf(adrRecordReadingVO.readList, 30) ne -1 ? 'checked' : ''} id="readList3" name="readList" value="30" />
<label for="readList3">조정조서</label>
</span>
<span>
<input type="checkbox" ${fn:indexOf(adrRecordReadingVO.readList, 40) ne -1 ? 'checked' : ''} id="readList4" name="readList" value="40" />
<label for="readList4">직권결정문</label>
</span>
<span>
<input type="checkbox" ${fn:indexOf(adrRecordReadingVO.readList, 50) ne -1 ? 'checked' : ''} id="readList5" name="readList" value="50" />
<label for="readList5">직권결정문송달 및 확정증명원</label>
</span>
<span>
<input type="checkbox" ${fn:indexOf(adrRecordReadingVO.readList, 60) ne -1 ? 'checked' : ''} id="readList6" name="readList" value="60" />
<label for="readList6">조정신청서 및 첨부서류(본인 제출서류에 한함)</label>
</span>
</div>
</li>
<li>
<p class="tit_text">발급상태</p>
<!-- CC601 -->
<div class="check_wrap">
<span>
<input type="checkbox" ${adrRecordReadingVO.ckStsListAll eq 'Y' ? 'checked' : ''} id="ckStsListAll" name="ckStsListAll" value="Y">
<label for="ckStsListAll">전체</label>
<!-- onclick="fncCheckAll(this, 'ckStsList')" -->
</span>
<span>
<input type="checkbox" id="ckStsList1" name="ckStsList" value="<c:out value="${KccadrConstants.ADR_PAY_COMP}"/>">
<label for="ckStsList1">입금완료</label>
<input type="checkbox" ${fn:indexOf(adrRecordReadingVO.ckStsList, 10) ne -1 ? 'checked' : ''} id="ckStsList1" name="ckStsList" value="10"/>
<label for="ckStsList1">신청</label>
</span>
<span>
<input type="checkbox" id="ckStsList2" name="ckStsList" value="<c:out value="${KccadrConstants.ADR_RCPT_COMP}"/>">
<label for="ckStsList2">조정접수</label>
<input type="checkbox" ${fn:indexOf(adrRecordReadingVO.ckStsList, 20) ne -1 ? 'checked' : ''} id="ckStsList2" name="ckStsList" value="20" />
<label for="ckStsList2">비용납부</label>
</span>
<span>
<input type="checkbox" id="ckStsList3" name="ckStsList" value="<c:out value="${KccadrConstants.ADR_RCPT_APPR_COMP}"/>">
<label for="ckStsList3">접수결재</label>
<input type="checkbox" ${fn:indexOf(adrRecordReadingVO.ckStsList, 30) ne -1 ? 'checked' : ''} id="ckStsList3" name="ckStsList" value="30" />
<label for="ckStsList3">승인</label>
</span>
<span>
<input type="checkbox" id="ckStsList7" name="ckStsList" value="<c:out value="${KccadrConstants.ADR_DEPT_SLCT_COMP}"/>">
<label for="ckStsList7">조정부지정</label>
</span>
<span>
<input type="checkbox" id="ckStsList5" name="ckStsList" value="adrIng">
<label for="ckStsList5">조정진행</label>
<input type="checkbox" ${fn:indexOf(adrRecordReadingVO.ckStsList, 40) ne -1 ? 'checked' : ''} id="ckStsList4" name="ckStsList" value="40" />
<label for="ckStsList4">반려</label>
</span>
<span>
<input type="checkbox" id="ckStsList6" name="ckStsList" value="adrSucc">
<label for="ckStsList6">조정성립</label>
<input type="checkbox" ${fn:indexOf(adrRecordReadingVO.ckStsList, 50) ne -1 ? 'checked' : ''} id="ckStsList5" name="ckStsList" value="50" />
<label for="ckStsList5">발급완료</label>
</span>
<span>
<input type="checkbox" id="ckStsList4" name="ckStsList" value="<c:out value="${KccadrConstants.ADR_CLOSE_APPR_COMP}"/>">
<label for="ckStsList4">종결결재</label>
<input type="checkbox" ${fn:indexOf(adrRecordReadingVO.ckStsList, 90) ne -1 ? 'checked' : ''} id="ckStsList6" name="ckStsList" value="90" />
<label for="ckStsList6">취소</label>
</span>
</div>
</li>
<%-- <li <c:if test="${adrRecordReadingVO.searchEachAdrAdminBtnYn ne 'Y' }">style="display:none;"</c:if>> --%>
<li>
<p class="tit_text">조정조사관 조회</p>
<%-- <div class="radio_wrap">
<span>
<input ${adrRecordReadingVO.searchEachAdrAdminYn eq 'Y' ? 'checked=\"checked\"' : ''} value="Y" type="radio" name="searchEachAdrAdminYn" id="searchEachAdrAdminYn1">
<label for="searchEachAdrAdminYn1">담당사건만 보기</label>
</span>
<span>
<input ${adrRecordReadingVO.searchEachAdrAdminYn eq 'N' ? 'checked=\"checked\"' : ''} value="N" type="radio" name="searchEachAdrAdminYn" id="searchEachAdrAdminYn2">
<label for="searchEachAdrAdminYn2">전체 보기</label>
</span>
</div> --%>
<%-- <select name="searchLoginId" id="searchLoginId" title="선택" style="width: 250px;">
<option value='all' <c:if test="${adrRecordReadingVO.searchLoginId == 'all'}">selected</c:if>>전체</option>
<c:forEach var="list" items="${adrAdminList}" varStatus="status">
<option value='${list.esntlId}' <c:if test="${adrRecordReadingVO.searchLoginId == list.esntlId}">selected</c:if>><c:out value="${list.userNm}"/></option>
</c:forEach>
</select> --%>
</li>
<li>
<p class="tit_text">신청일자</p>
<div class="radio_wrap">
<span>
<input ${adrRecordReadingVO.searchMonth eq '1' ? 'checked=\"checked\"' : ''} value="1" type="radio" name="searchMonth" id="month1">
<label for="month1">1개월</label>
</span>
<span>
<input ${adrRecordReadingVO.searchMonth eq '3' ? 'checked=\"checked\"' : ''} value="3" type="radio" name="searchMonth" id="month3">
<label for="month3">3개월</label>
</span>
<span>
<input ${adrRecordReadingVO.searchMonth eq '6' ? 'checked=\"checked\"' : ''} value="6" type="radio" name="searchMonth" id="month6">
<label for="month6">6개월</label>
</span>
<span>
<input ${adrRecordReadingVO.searchMonth eq '99' ? 'checked=\"checked\"' : ''} value="99" type="radio" name="searchMonth" id="monthEtc">
<label for="monthEtc">기간지정</label>
</span>
<span><input ${adrRecordReadingVO.searchMonth eq '1' ? 'checked' : ''} value="1" type="radio" name="searchMonth" id="month1" ><label for="month1">1개월</label></span>
<span><input ${adrRecordReadingVO.searchMonth eq '3' ? 'checked' : ''} value="3" type="radio" name="searchMonth" id="month3"><label for="month3">3개월</label></span>
<span><input ${adrRecordReadingVO.searchMonth eq '6' ? 'checked' : ''} value="6" type="radio" name="searchMonth" id="month6"><label for="month6">6개월</label></span>
<span><input ${adrRecordReadingVO.searchMonth eq '99' ? 'checked' : ''} value="99" type="radio" name="searchMonth" id="monthEtc"><label for="monthEtc">기간지정</label></span>
<div id="sel_date" class="sel_date">
<input type="text" class="startDate inp" title="검색시작일" id="startDate01" name="searchStartDt" value="${adrRecordReadingVO.searchStartDt}" data-datecontrol="true" ${adrRecordReadingVO.searchMonth ne '99' ? 'readonly' : ''}>
<div class="calendar_in" id="calendarName_startDate" style="z-index: 9;">
@ -169,17 +236,17 @@
<div id="startDate01-lry" class="calendarPop" style="display: none;">
<iframe id="startDate01-ifrm" name="startDate01-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html" title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
</div>
</div>
~
</div> ~
<input type="text" class="endDate inp" title="검색시작일" id="endDate" name="searchEndDt" value="${adrRecordReadingVO.searchEndDt}" data-datecontrol="true" ${adrRecordReadingVO.searchMonth ne '99' ? 'readonly' : ''}>
<div class="calendar_in" id="calendarName_endDate" style="z-index: 9;">
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('endDate-lry','',this)" class="btn_cal" ${adrRecordReadingVO.searchMonth ne '99' ? 'disabled' : ''}></button>
<div id="endDate-lry" class="calendarPop" style="display: none;">
<iframe id="endDate-ifrm" name="endDate-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html" title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
<iframe id="endDate-ifrm" name="endDate-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html"title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
</div>
</div>
</div>
</div>
<button class="btn_search" onclick="fncGoList(); return false;">검색</button>
</li>
</ul>
</div>
@ -285,7 +352,7 @@
</tr>
</c:forEach>
<c:if test="${empty list}">
<tr><td colspan="6"><spring:message code="common.nodata.msg" /></td></tr>
<tr><td colspan="9"><spring:message code="common.nodata.msg" /></td></tr>
</c:if>
</tbody>
</table>

View File

@ -298,9 +298,15 @@
<th><p>발급상태</p></th>
<td>
<p><kc:code codeId="CC304" code="${info.prcsnStatCd}"/></p>
<c:if test="${info.recordReadingFlag == 10 and info.prcsnStatCd eq 20}">
<c:choose>
<c:when test="${info.recordReadingFlag == 10 and info.prcsnStatCd eq 20}">
<button type="button" class="btnType01" data-tooltip="fee_popup">결제계좌</button>
</c:if>
</c:when>
<c:when test="${info.prcsnStatCd eq 40}">
<!-- <p class="c_e40000 t_bold">반려</p><button type="button" class="btnType01" data-tooltip="return_popup">반려사유</button> -->
<button type="button" class="btnType01" data-tooltip="return_popup">반려사유</button>
</c:when>
</c:choose>
</td>
</tr>
</tbody>
@ -319,7 +325,7 @@
<div class="btn_right">
<!-- <button class="btnType08" onclick="goList();">목록</button> -->
<button class="btnType08" onclick="goList()">목록</button>
<c:if test="${info.prcsnStatCd ne 90}">
<c:if test="${info.prcsnStatCd ne 90 and info.prcsnStatCd ne 40 and info.prcsnStatCd ne 50}">
<button class="btnType07" onclick="fn_prcsnStatCdModify('90')">신청취소</button>
</c:if>
</div>
@ -385,6 +391,31 @@
</div>
<!-- //수수료정보팝업(1개) -->
<!-- 반려사유 팝업 -->
<div class="tooltip-wrap">
<div class="popup_wrap return_popup" tabindex="0" data-tooltip-con="return_popup" data-focus="return_popup" data-focus-prev="return_popup_close">
<div class="popup_tit">
<p>반려사유</p> <button class="btn_popup_close tooltip-close" data-focus="return_popup_close" title="팝업 닫기"><i></i></button>
</div>
<div class="popup_cont">
<table class="popup_tbType01">
<tbody>
<tr>
<th>반려사유</th>
<td>
<textarea name="" id="" cols="30" rows="5" class="read-only" readonly="readonly" title="반려사유"><c:out value="${info.cn }" />
</textarea>
</td>
</tr>
</tbody>
</table>
<div class="btn_wrap">
<button class="btnType01 tooltip-close" data-focus="return_popup_close">닫기</button>
</div>
</div>
</div>
</div>
<!-- //반려사유 -->