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