|
|
@ -158,7 +158,7 @@
|
|
|
|
<tbody id="tbody--${pageName}Mapping">
|
|
|
|
<tbody id="tbody--${pageName}Mapping">
|
|
|
|
</tbody>
|
|
|
|
</tbody>
|
|
|
|
<template id="${infoPrefix}Row--${pageName}Mapping">
|
|
|
|
<template id="${infoPrefix}Row--${pageName}Mapping">
|
|
|
|
<tr data-key="{orgUsrRptIdNo}">
|
|
|
|
<tr data-key="{usrRptIdNo}">
|
|
|
|
<td class="text-center">
|
|
|
|
<td class="text-center">
|
|
|
|
<input type="radio" class="form-check-input" name="maapingCheck" value="{dscdmngId}" data-value="{orgUsrRptIdNo}" alt="맵핑체크" onchange="{onchange}">
|
|
|
|
<input type="radio" class="form-check-input" name="maapingCheck" value="{dscdmngId}" data-value="{orgUsrRptIdNo}" alt="맵핑체크" onchange="{onchange}">
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
@ -396,7 +396,7 @@
|
|
|
|
$P.control.save = () => {
|
|
|
|
$P.control.save = () => {
|
|
|
|
// FIXME: 확인
|
|
|
|
// FIXME: 확인
|
|
|
|
//alert("저장 row : "+JSON.stringify($P.mappingControl.dataset.getCurrent()));
|
|
|
|
//alert("저장 row : "+JSON.stringify($P.mappingControl.dataset.getCurrent()));
|
|
|
|
if(!$P.mappingControl.dataset.getCurrent().orgUsrRptIdNo){
|
|
|
|
if(!$P.mappingControl.dataset.getCurrent().usrRptIdNo){
|
|
|
|
dialog.alert("선택된 NIMS 폐기 보고 데이타가 없습니다");
|
|
|
|
dialog.alert("선택된 NIMS 폐기 보고 데이타가 없습니다");
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -458,7 +458,7 @@
|
|
|
|
document.getElementById("${infoPrefix}Row--${pageName}Mapping").innerHTML, <%-- from template#${infoPrefix}Row --%>
|
|
|
|
document.getElementById("${infoPrefix}Row--${pageName}Mapping").innerHTML, <%-- from template#${infoPrefix}Row --%>
|
|
|
|
(str, dataItem) => str
|
|
|
|
(str, dataItem) => str
|
|
|
|
.replace(/{onclick}/gi, "pageObject['${pageName}'].mappingControl.setCurrent('" + dataItem.getValue("usrRptIdNo") + "');")
|
|
|
|
.replace(/{onclick}/gi, "pageObject['${pageName}'].mappingControl.setCurrent('" + dataItem.getValue("usrRptIdNo") + "');")
|
|
|
|
.replace(/{onchange}/gi, "pageObject['${pageName}'].radioClick('" + dataItem.getValue("orgUsrRptIdNo") + "');")
|
|
|
|
.replace(/{onchange}/gi, "pageObject['${pageName}'].radioClick('" + dataItem.getValue("usrRptIdNo") + "');")
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
$("#tbody--${pageName}Mapping").html(trs.join());
|
|
|
|
$("#tbody--${pageName}Mapping").html(trs.join());
|
|
|
|