|
|
|
@ -100,7 +100,7 @@
|
|
|
|
|
<tbody id="tbody--${pageName}">
|
|
|
|
|
</tbody>
|
|
|
|
|
<template id="${infoPrefix}Row--${pageName}">
|
|
|
|
|
<tr data-key="{USR_RPT_ID_NO}">
|
|
|
|
|
<tr data-key="{DSCDMNG_ID}">
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{ROW_NUM}</td>
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{HDR_DE}</td>
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{DSCDMNG_ID}</td>
|
|
|
|
@ -204,7 +204,7 @@
|
|
|
|
|
}
|
|
|
|
|
, prefix: "dsuseMgtReceipt"
|
|
|
|
|
, prefixName: "신청서접수"
|
|
|
|
|
, keymapper: info => info ? info.USR_RPT_ID_NO : ""
|
|
|
|
|
, keymapper: info => info ? info.DSCDMNG_ID : ""
|
|
|
|
|
, dataGetter: obj => obj.${infoPrefix}List
|
|
|
|
|
, appendData: true
|
|
|
|
|
, infoSize: "xl"
|
|
|
|
@ -264,10 +264,9 @@
|
|
|
|
|
$P.control.onCurrentChange = (item) => {
|
|
|
|
|
if (!item) return;
|
|
|
|
|
|
|
|
|
|
let key = item.data.USR_RPT_ID_NO;
|
|
|
|
|
let key = item.data.DSCDMNG_ID;
|
|
|
|
|
$("#tbody--${pageName}").setCurrentRow(key);
|
|
|
|
|
var dscdmngId = item.data.DSCDMNG_ID;
|
|
|
|
|
$P.detailControl.query = { "schDscdmngId" : dscdmngId};
|
|
|
|
|
$P.detailControl.query = { "schDscdmngId" : key};
|
|
|
|
|
$P.detailControl.load(1);
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
@ -321,8 +320,8 @@
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
let replacer = (str, dataItem) => str
|
|
|
|
|
.replace(/{onclick}/gi, "pageObject['${pageName}'].control.setCurrent('" + dataItem.getValue("USR_RPT_ID_NO") + "');");
|
|
|
|
|
// .replace(/{ondblclick}/gi, "pageObject['${pageName}'].getTotalInfo('" + dataItem.getValue("USR_RPT_ID_NO") + "');");
|
|
|
|
|
.replace(/{onclick}/gi, "pageObject['${pageName}'].control.setCurrent('" + dataItem.getValue("DSCDMNG_ID") + "');");
|
|
|
|
|
// .replace(/{ondblclick}/gi, "pageObject['${pageName}'].getTotalInfo('" + dataItem.getValue("DSCDMNG_ID") + "');");
|
|
|
|
|
|
|
|
|
|
let trs = empty ? [document.getElementById("${infoPrefix}NotFound--${pageName}").content.outerHTML]
|
|
|
|
|
: ${infoPrefix}List.inStrings(foundTr.outerHTML, replacer);
|
|
|
|
|