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

main
minuk926 2 years ago
parent fcd1cdca77
commit 6ebe6ce997

@ -561,7 +561,7 @@ Date Author Description
,data: params
,success: (res) => {
cmmImgDownload('#imgList', res.attchFiles, fnPopupBiz.pagePopup, true, '60px');
window.opener.pageNav.reloadNav($('#prev'), $('#next'), $('span#totCnt'))
window.opener.ARR_NAV[window.opener.CUR_TAB_IDX].reloadNav($('#prev'), $('#next'), $('span#totCnt'))
fnPopupBiz.resetDisplay(res.ctznDTO?.cvplRceptNo);
$('#violtDtlsNm').text(res.ctznDTO?.violtDtlsNm);
@ -681,13 +681,13 @@ Date Author Description
});
$('#prev').on('click', () => {
window.opener.pageNav.onClickNavBtn('prev', (gridInfo) => {
window.opener.ARR_NAV[window.opener.CUR_TAB_IDX].onClickNavBtn('prev', (gridInfo) => {
fnPopupBiz.search(gridInfo.curRowData)
});
})
$('#next').on('click', () => {
window.opener.pageNav.onClickNavBtn('next', (gridInfo) => {
window.opener.ARR_NAV[window.opener.CUR_TAB_IDX].onClickNavBtn('next', (gridInfo) => {
fnPopupBiz.search(gridInfo.curRowData);
});
});
@ -860,7 +860,7 @@ Date Author Description
fnPopupBiz.downloadImg();
fnPopupBiz.resetDisplay('${ctznDTO.cvplRceptNo}');
window.opener.pageNav.reloadNav($('#prev'), $('#next'), $('span#totCnt'))
window.opener.ARR_NAV[window.opener.CUR_TAB_IDX].reloadNav($('#prev'), $('#next'), $('span#totCnt'))
});
</script>

@ -26,10 +26,8 @@ Date Author Description
<form id="frmSearch" name="frmSearch">
<div class="search">
<div class="detail_02" style="display: block;">
<fieldset>
<legend>test</legend>
<p class="box_title">상세검색</p>
<ul class="detailGroup_02">
<%-- <p class="box_title">상세검색</p>--%>
<%-- <ul class="detailGroup_02">--%>
<select id="sch_date_opt" name="sch_date_opt" class="selectBox">
<option value="regltDe">단속일자</option>
<option value="registDt">등록일자</option>
@ -46,13 +44,15 @@ Date Author Description
</button>
</span>
<code:select id="regltProcessSttusCode" name="regltProcessSttusCode" codeId="FIM010" defaultSelect="01" title="단속처리상태" cls="selectBoxTotal act_color" alt="단속처리상태" disabled="false"/>
<fieldset>
<legend>시스템구분</legend>
<code:radio codeId="FIM001" id="sysCode" name="sysCode" defaultSelect='${sessionScope.XitLoginSession.orgnztId}' onclick="fnBiz.search()" cls="radioBox" alt="시스템구분"/>
</fieldset>
<fieldset id="fldRegltSeCode">
<legend>단속구분</legend>
<code:radio type="CMM_ETC2" id="regltSeCode" name="regltSeCode" codeId="FIM002" onclick="fnBiz.search()" cls="radioBox" alt="단속구분" />
</fieldset>
<br/>
<label class="title">시스템구분</label>
<code:radio codeId="FIM001" id="sysCode" name="sysCode" defaultSelect='${sessionScope.XitLoginSession.orgnztId}' onclick="fnBiz.search()" cls="radioBox" alt="시스템구분"/>
<br/>
<label class="title">단속구분</label>
<code:radio type="CMM_ETC2" id="regltSeCode" name="regltSeCode" codeId="FIM002" onclick="fnBiz.search()" cls="radioBox" alt="단속구분" />
<!-- 데이타 확인 여부 : 차종분류코드가 있는지 여부로 판별 -->
<!--
<select id="cnfmYn" name="cnfmYn" title="확인여부" class="selectBox">
@ -61,26 +61,25 @@ Date Author Description
<option value="N" selected>미확인</option>
</select>
-->
<br/>
<select id="sch_opt" name="sch_opt" class="selectBox">
<option value="vhcleNo">차량번호</option>
</select>
<input type="text" id="sch_word" name="sch_word" value="">
<%-- <div class="popup_btn">--%>
<span class="flr">
<a href="#" class="btn blue" id="btnSearch" title="연계파일등록">검색</a>
<!-- <button type="button" class="btnSearch" id="btnSearch" name="btnSearch">검색</button>-->
<button type="button" class="btn blue" id="btnSearch" title="검색">검색</button>
<a href="#" class="btn darkgray" id="btnExtrRegist" title="연계파일등록">연계파일처리</a>
</span>
</ul>
</fieldset>
<%-- </div>--%>
</div>
</div>
</form>
<!-- //검색 -->
<div class="page_btn">
<%-- <div class="page_btn">--%>
<span class="fll">
<div class="list clearfix" id="totCnt">전체 ㅣ <span></span></div>
<span class="flr">
@ -88,7 +87,7 @@ Date Author Description
<a href="#" class="btn blue" id="btnAnswer" title="답변처리">답변처리</a>
</span>
</span>
</div>
<%-- </div>--%>
<!-- tab 공통 -->
@ -151,7 +150,7 @@ Date Author Description
,sch_date_to: $('#sch_date_to').val()
,[$('#sch_opt').val()]: $('#sch_word').val()
,sysCode: $('input:radio[name=sysCode]:checked').val()
,regltSeCode: $('input:radio[name=regltSeCode]:checked').val()
,regltSeCode: CUR_TAB_IDX === 2 ? '09' : $('input:radio[name=regltSeCode]:checked').val()
,regltProcessSttusCode: CUR_TAB_IDX === 2 ? 'NON-INIT' : $('#regltProcessSttusCode').val()
//,cnfmYn: $('input[name=regltYn]:checked').val()
,cnfmYn: $('#cnfmYn').val()
@ -219,25 +218,34 @@ Date Author Description
$('#btnImpose').hide();
$('#btnAnswer').hide();
$('#regltProcessSttusCode').show();
$('input:radio[name=regltSeCode]').prop('disabled', false);
$('#fldRegltSeCode').show();
break;
case 1:
$('#btnExtrRegist').hide();
$('#btnImpose').show();
$('#btnAnswer').hide();
$('#regltProcessSttusCode').show();
$('input:radio[name=regltSeCode]').prop('disabled', false);
$('#fldRegltSeCode').show();
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);
$('#fldRegltSeCode').hide();
break;
}
}
,setDblClickEvent: function (idx) {
ARR_GRID[idx].on('dblclick', function (props) {
curClickColName = 'vhcleNo';
const rowDatas = ARR_GRID[idx].store.data.rawData.map(d => {
return {regltSeCode: d.regltSeCode, regltId: d.regltId, regltProcessSttusCode: d.regltProcessSttusCode}
})
ARR_NAV[idx] = new PageNavigation(ARR_GRID[idx], rowDatas, props.rowKey);
fnBiz.pagePopup('total', ARR_NAV[idx].gridInfo.curRowData);
});
}
};
const fnTab0Biz = {
@ -341,19 +349,19 @@ Date Author Description
minWidth: 100,
sortable: false,
align: 'center',
renderer: {
type: CustomButtonRenderer,
options: {
formatter: (props)=>{
return {
formatter: props.grid.getRow(props.rowKey).vhcleNo
,element: "text"
}
}
,eventFunction: fnBiz.onClickGrid
,eventType: "click"
}
}
// renderer: {
// type: CustomButtonRenderer,
// options: {
// formatter: (props)=>{
// return {
// formatter: props.grid.getRow(props.rowKey).vhcleNo
// ,element: "text"
// }
// }
// ,eventFunction: fnBiz.onClickGrid
// ,eventType: "dblclick"
// }
// }
},
{
header: '신고자',
@ -479,7 +487,7 @@ Date Author Description
frozenCount: 5
}
,pageOptions: {
perPage: 1000
perPage: 2
}
};
@ -508,11 +516,15 @@ Date Author Description
else fnBiz.pagePopup('detail', ARR_NAV[idx].gridInfo.curRowData);
})
}
fnBiz.setDblClickEvent(idx);
}
const initGrid = () => {
ARR_GRID[0] = TuiGrid.of(gridOptions, gridDatasource, (res) => gridResposeSet(res, 0))
ARR_GRID[1] = TuiGrid.of({...gridOptions, el: 'grid_t1', rowHeaders: ['checkbox','rowNum']}, gridDatasource, (res) => gridResposeSet(res, 1))
ARR_GRID[2] = TuiGrid.of({...gridOptions, el: 'grid_t2', rowHeaders: ['checkbox','rowNum']}, gridDatasource, (res) => gridResposeSet(res, 2))
ARR_GRID[0] = TuiGrid.of(gridOptions, gridDatasource, (res) => gridResposeSet(res, 0));
const options = $.extend(gridOptions, gridOptions.columns[1].renderer = null, true);
//const options = {...gridOptions}
//options.columns[1].renderer = null;
ARR_GRID[1] = TuiGrid.of({...options, el: 'grid_t1', rowHeaders: ['checkbox','rowNum']}, gridDatasource, (res) => gridResposeSet(res, 1))
ARR_GRID[2] = TuiGrid.of({...options, el: 'grid_t2', rowHeaders: ['checkbox','rowNum']}, gridDatasource, (res) => gridResposeSet(res, 2))
};
/**************************************************************************

@ -1385,12 +1385,12 @@ fieldset {
display: block;
margin-inline-start: 2px;
margin-inline-end: 2px;
padding-block-start: 0.35em;
/*padding-block-start: 0.01em;*/
padding-inline-start: 0.75em;
padding-inline-end: 0.75em;
padding-block-end: 0.625em;
padding-block-end: 0.5em;
min-inline-size: min-content;
border-width: 2px;
border-width: 1px;
border-style: groove;
border-color: rgb(192, 192, 192);
border-image: initial;
@ -1401,6 +1401,7 @@ legend {
padding: 3px 6px;
position: inherit;
font-size: 12px;
font-weight: bold;
letter-spacing: -0.6px;
}
/*단속현황관리- 메인폼 (시스템구분,단속구분) 디자인 추가*/

Loading…
Cancel
Save