|
|
@ -91,6 +91,7 @@
|
|
|
|
<th class="cmn" style="width: 230.469px;">업체명</th>
|
|
|
|
<th class="cmn" style="width: 230.469px;">업체명</th>
|
|
|
|
<th class="cmn" style="width: 100px;">보고건수</th>
|
|
|
|
<th class="cmn" style="width: 100px;">보고건수</th>
|
|
|
|
<th class="cmn" style="width: 230.469px;">처리상태</th>
|
|
|
|
<th class="cmn" style="width: 230.469px;">처리상태</th>
|
|
|
|
|
|
|
|
<th class="cmn" style="width: 270.469px;">NIMS보고ID</th>
|
|
|
|
<th class="cmn" style="width: 180px;">폐기구분</th>
|
|
|
|
<th class="cmn" style="width: 180px;">폐기구분</th>
|
|
|
|
<th class="cmn" style="width: 230.469px;">폐기사유</th>
|
|
|
|
<th class="cmn" style="width: 230.469px;">폐기사유</th>
|
|
|
|
<th class="cmn" style="width: 180px;">폐기방법</th>
|
|
|
|
<th class="cmn" style="width: 180px;">폐기방법</th>
|
|
|
@ -108,6 +109,9 @@
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{BSSH_NM}</td>
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{BSSH_NM}</td>
|
|
|
|
<td class="cmn text-end" onclick="{onclick}" ondblclick="{ondblclick}">{RND_DTL_RPT_CNT}</td>
|
|
|
|
<td class="cmn text-end" onclick="{onclick}" ondblclick="{ondblclick}">{RND_DTL_RPT_CNT}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{PRGRS_STTS_NM}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{PRGRS_STTS_NM}</td>
|
|
|
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">
|
|
|
|
|
|
|
|
<a href="#">{USR_RPT_ID_NO}</a>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{DSUSE_SE_NM}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{DSUSE_SE_NM}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{DSUSE_PRV_NM}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{DSUSE_PRV_NM}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{DSUSE_MTH_NM}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{DSUSE_MTH_NM}</td>
|
|
|
@ -221,11 +225,7 @@
|
|
|
|
$P.detailControl = new DatasetControl({
|
|
|
|
$P.detailControl = new DatasetControl({
|
|
|
|
urls : {
|
|
|
|
urls : {
|
|
|
|
load : wctx.url("/adds/nims/dsuseMgtDetail-list.do")
|
|
|
|
load : wctx.url("/adds/nims/dsuseMgtDetail-list.do")
|
|
|
|
// FIXME: POST로 변경
|
|
|
|
|
|
|
|
//load : '<c:url value="${apiHost}/api/biz/nims/v1/getDsuseMgts" />'
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// , query.schDscdmngId : $P.control.getValue("DSCDMNG_ID")
|
|
|
|
|
|
|
|
// , data : {"schDscdmngId" : $P.control.getValue("DSCDMNG_ID")}
|
|
|
|
|
|
|
|
, prefix : "dsuseMgtDetail"
|
|
|
|
, prefix : "dsuseMgtDetail"
|
|
|
|
, prefixName : "신청서접수상세"
|
|
|
|
, prefixName : "신청서접수상세"
|
|
|
|
, keymapper : info => info ? info.DSCDMNG_SN : ""
|
|
|
|
, keymapper : info => info ? info.DSCDMNG_SN : ""
|
|
|
@ -285,10 +285,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 맵핑 dialog
|
|
|
|
// 맵핑 dialog
|
|
|
|
$P.control.getInfo = (gdccId) => {
|
|
|
|
$P.control.getInfo = (dscdmngId, isConfirm) => {
|
|
|
|
let dialogTitle = "폐기 보고 확인 등록";
|
|
|
|
let dialogTitle = "NIMS 폐기 보고 확인 등록";
|
|
|
|
let row = $P.control.dataset.getCurrent();
|
|
|
|
let row = $P.control.dataset.getCurrent();
|
|
|
|
if (typeof row == "undefined" || row == null || row == "") return;
|
|
|
|
if (typeof row == "undefined" || row == null || row == "") return;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 그리드 더블클릭시 - NIMS 보고 완료 미 처리된 데이타인 경우
|
|
|
|
|
|
|
|
if(isConfirm){
|
|
|
|
|
|
|
|
$P.control.setCurrent(dscdmngId);
|
|
|
|
|
|
|
|
row = $P.control.dataset.getCurrent();
|
|
|
|
|
|
|
|
if(!row.USR_RPT_ID_NO) return false;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(row.PRGRS_STTS_CD != "99") {
|
|
|
|
|
|
|
|
dialog.alert('NIMS 보고 완료 처리 되지 않은 데이타 입니다');
|
|
|
|
|
|
|
|
return false;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 처리상태가 완료인 경우
|
|
|
|
|
|
|
|
if(row.PRGRS_STTS_CD == "99") {
|
|
|
|
|
|
|
|
dialogTitle = "NIMS 폐기 보고 완료 확인";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// NIMS폐기보고확인 버튼 클릭시 - 보고 완료 처리된 데이타인 경우 매핑 조회 불가
|
|
|
|
|
|
|
|
if(!isConfirm) {
|
|
|
|
|
|
|
|
dialog.alert('NIMS 보고 완료 처리된 데이타 입니다');
|
|
|
|
|
|
|
|
return false;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
let params = {
|
|
|
|
let params = {
|
|
|
|
dscdmngId: row.DSCDMNG_ID,
|
|
|
|
dscdmngId: row.DSCDMNG_ID,
|
|
|
|
bsshNm: row.BSSH_NM,
|
|
|
|
bsshNm: row.BSSH_NM,
|
|
|
@ -302,7 +325,8 @@
|
|
|
|
dsusePrvCd: row.DSUSE_PRV_CD,
|
|
|
|
dsusePrvCd: row.DSUSE_PRV_CD,
|
|
|
|
dsuseSeCd: row.DSUSE_SE_CD,
|
|
|
|
dsuseSeCd: row.DSUSE_SE_CD,
|
|
|
|
dsuseMthCd: row.DSUSE_MTH_CD,
|
|
|
|
dsuseMthCd: row.DSUSE_MTH_CD,
|
|
|
|
dsuseLoc: row.DSUSE_LOC
|
|
|
|
dsuseLoc: row.DSUSE_LOC,
|
|
|
|
|
|
|
|
prgrsSttsCd: row.PRGRS_STTS_CD
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
ajax.get({
|
|
|
|
ajax.get({
|
|
|
@ -374,8 +398,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
//
|
|
|
|
let replacer = (str, dataItem) => str
|
|
|
|
let replacer = (str, dataItem) => str
|
|
|
|
.replace(/{onclick}/gi, "pageObject['${pageName}'].control.setCurrent('" + dataItem.getValue("DSCDMNG_ID") + "');");
|
|
|
|
.replace(/{onclick}/gi, "pageObject['${pageName}'].control.setCurrent('" + dataItem.getValue("DSCDMNG_ID") + "');")
|
|
|
|
// .replace(/{ondblclick}/gi, "pageObject['${pageName}'].getTotalInfo('" + dataItem.getValue("CRDN_ID") + "');");
|
|
|
|
.replace(/{ondblclick}/gi, "pageObject['${pageName}'].control.getInfo('" + dataItem.getValue("DSCDMNG_ID") + "'," + true + ");");
|
|
|
|
|
|
|
|
|
|
|
|
let trs = empty ? [document.getElementById("${infoPrefix}NotFound--${pageName}").content.outerHTML]
|
|
|
|
let trs = empty ? [document.getElementById("${infoPrefix}NotFound--${pageName}").content.outerHTML]
|
|
|
|
: ${infoPrefix}List.inStrings(foundTr.outerHTML, replacer);
|
|
|
|
: ${infoPrefix}List.inStrings(foundTr.outerHTML, replacer);
|
|
|
|