|
|
|
@ -92,10 +92,10 @@ Date Author Description
|
|
|
|
|
<a href="#" class="btn blue" id="btnImpose" title="부과(세올연계)">부과처리</a>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="divAnswer">
|
|
|
|
|
<a href="#" class="btn blue" id="btnOrgCtznView" title="민원내용원본">민원내용원본</a>
|
|
|
|
|
<%-- <a href="#" class="btn blue" id="btnOrgCtznView" title="민원내용원본">민원내용원본</a>--%>
|
|
|
|
|
<a href="#" class="btn blue" id="btnAnswerPreview" title="답변내용미리보기">답변내용미리보기</a>
|
|
|
|
|
<a href="#" class="btn blue" id="btnAnswer" title="답변등록">선택자료 답변등록</a>
|
|
|
|
|
<a href="#" class="btn blue" id="btnAnswerCplt" title="개별답변완료">개별답변완료로 변경</a>
|
|
|
|
|
<%-- <a href="#" class="btn blue" id="btnAnswerCplt" title="개별답변완료">개별답변완료로 변경</a>--%>
|
|
|
|
|
</div>
|
|
|
|
|
</span>
|
|
|
|
|
</span>
|
|
|
|
@ -206,14 +206,6 @@ Date Author Description
|
|
|
|
|
,onClickGrid: function(props){
|
|
|
|
|
const selColumn = props.columnInfo.name;
|
|
|
|
|
switch (selColumn){
|
|
|
|
|
// case 'vhcleNo':
|
|
|
|
|
// const gridDatas = ARR_GRID[CUR_TAB_IDX].store.data.rawData.map(d => {
|
|
|
|
|
// return {regltSeCode: d.regltSeCode, regltId: d.regltId, regltProcessSttusCode: d.regltProcessSttusCode}
|
|
|
|
|
// })
|
|
|
|
|
// ARR_NAV[CUR_TAB_IDX] = new PageNavigation(ARR_GRID[CUR_TAB_IDX], gridDatas, props.rowKey);
|
|
|
|
|
// fnBiz.pagePopup('total', ARR_NAV[CUR_TAB_IDX].gridInfo.curRowData);
|
|
|
|
|
// break;
|
|
|
|
|
|
|
|
|
|
case 'cvplRceptNo':
|
|
|
|
|
popupDiv = 'edit';
|
|
|
|
|
const rowDatas = ARR_GRID[CUR_TAB_IDX].store.data.rawData.map(d => {
|
|
|
|
@ -224,7 +216,6 @@ Date Author Description
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
default:
|
|
|
|
|
popupDiv = '';
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -288,11 +279,6 @@ Date Author Description
|
|
|
|
|
}
|
|
|
|
|
return answerSeCode;
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
const fnTab0Biz = {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
@ -340,9 +326,6 @@ Date Author Description
|
|
|
|
|
let rowKey;
|
|
|
|
|
if(arrChecks.length > 0){
|
|
|
|
|
rowKey = arrChecks[0].rowKey;
|
|
|
|
|
<%--rowDatas = arrChecks.map(d => {--%>
|
|
|
|
|
<%-- return {tmplatId: '${ctznTmplatId}', answerSeCode: fnBiz.getAnswerSeCode(d.regltProcessSttusCode), resnCode: d.erppSeCode, interfaceSeqN: d.interfaceSeqN, vhcleNo: d.vhcleNo}--%>
|
|
|
|
|
<%--})--%>
|
|
|
|
|
} else {
|
|
|
|
|
rowKey = ARR_GRID[CUR_TAB_IDX].store.data.rawData[0]?.rowKey;
|
|
|
|
|
}
|
|
|
|
@ -367,13 +350,22 @@ Date Author Description
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
// 중복제거
|
|
|
|
|
const datas = arrData.reduce(function(acc, current) {
|
|
|
|
|
if (acc.findIndex(({ interfaceSeqN }) => interfaceSeqN === current.interfaceSeqN) === -1) {
|
|
|
|
|
acc.push(current);
|
|
|
|
|
acc.push(current.interfaceSeqN);
|
|
|
|
|
}
|
|
|
|
|
return acc;
|
|
|
|
|
}, []);
|
|
|
|
|
alert(JSON.stringify(datas))
|
|
|
|
|
|
|
|
|
|
cmmAjax({
|
|
|
|
|
url: fimsApiUrl.ADD_CTZN_ANS_LIST
|
|
|
|
|
,contentType: 'application/json'
|
|
|
|
|
,data: JSON.stringify(datas)
|
|
|
|
|
,success: (res) => {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
@ -612,14 +604,10 @@ Date Author Description
|
|
|
|
|
return {regltId: d.regltId, regltSeCode: d.regltSeCode, regltProcessSttusCode: d.regltProcessSttusCode}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
// const datas = res.data?.contents.map(d => {
|
|
|
|
|
// return {regltId: d.regltId, regltSeCode: d.regltSeCode, regltProcessSttusCode: d.regltProcessSttusCode}
|
|
|
|
|
// });
|
|
|
|
|
|
|
|
|
|
ARR_NAV[idx].resetGrid(res, datas, (pagiNavigation)=>{
|
|
|
|
|
ARR_NAV[idx] = pagiNavigation;
|
|
|
|
|
fnBiz.pagePopup(popupDiv, ARR_NAV[idx].gridInfo.curRowData);
|
|
|
|
|
//if(popupDiv === 'cvplRceptNo') fnBiz.pagePopup('edit', ARR_NAV[idx].gridInfo.curRowData);
|
|
|
|
|
//else fnBiz.pagePopup('total', ARR_NAV[idx].gridInfo.curRowData);
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
fnBiz.setDblClickEvent(idx);
|
|
|
|
|