feat: 부과, 답변 화면단 개발 진행

main
minuk926 2 years ago
parent 05265303b1
commit fcd1cdca77

@ -17,8 +17,8 @@ Date Author Description
<div id="tabs">
<ul>
<li><a href="#tabs_0" id="0">단속초기자료</a></li>
<li><a href="#tabs_1" id="1">부과</a></li>
<li><a href="#tabs_2" id="2">답변</a></li>
<li><a href="#tabs_1" id="1">부과처리</a></li>
<li><a href="#tabs_2" id="2">답변처리</a></li>
<%-- <li><a href="#tabs_3" id="3">현황조회</a></li>--%>
</ul>
@ -84,7 +84,8 @@ Date Author Description
<span class="fll">
<div class="list clearfix" id="totCnt">전체 ㅣ <span></span></div>
<span class="flr">
<a href="#" class="btn blue" id="btnImpose" title="부과(세올연계)">부과</a>
<a href="#" class="btn blue" id="btnImpose" title="부과(세올연계)">부과처리</a>
<a href="#" class="btn blue" id="btnAnswer" title="답변처리">답변처리</a>
</span>
</span>
</div>
@ -215,16 +216,22 @@ Date Author Description
switch(CUR_TAB_IDX){
case 0:
$('#btnExtrRegist').show();
$('#btnImpose').hide();
$('#btnAnswer').hide();
$('#regltProcessSttusCode').show();
$('input:radio[name=regltSeCode]').prop('disabled', false);
break;
case 1:
$('#btnExtrRegist').hide();
$('#btnImpose').show();
$('#btnAnswer').hide();
$('#regltProcessSttusCode').show();
$('input:radio[name=regltSeCode]').prop('disabled', false);
break;
case 2:
$('#btnExtrRegist').hide();
$('#btnImpose').hide();
$('#btnAnswer').show();
$('#regltProcessSttusCode').hide();
$('input:radio[name=regltSeCode]').val('09').prop('checked', true);
$('input:radio[name=regltSeCode]').prop('disabled', true);
@ -271,6 +278,21 @@ Date Author Description
})
fnBiz.pagePopup('impose');
});
$('#btnAnswer').on('click', () => {
const arrChecks = ARR_GRID[CUR_TAB_IDX].getCheckedRows();
if(arrChecks.length === 0){
alert('답변 처리할 대상을 먼저 선택해 주세요');
return false;
}
IMPOSE_DATA = arrChecks.map((row) => {
return {
regltId: row.regltId
,cvplRceptNo: row.cvplRceptNo
}
})
//fnBiz.pagePopup('impose');
});
});
/* *******************************
@ -500,7 +522,7 @@ Date Author Description
$('#sch_date_from').datepicker('setDate', DateUtil.getDateDay(-5475).date);
$('#sch_date_to').datepicker('setDate', new Date());
CUR_TAB_IDX = 0;
$('#btnImpose').hide();
fnBiz.resetBtn();
$("#tabs").tabs({active : CUR_TAB_IDX});
initGrid();
});

Loading…
Cancel
Save