openerPageName 제거

main
이범준 3 months ago
parent 46ed1e23c7
commit 5076170757

@ -899,7 +899,6 @@ $(document).ready(function(){
var params = {
"crdnId" : info.data.CRDN_ID,
"levyExclSeCd" : levyExclSeCd,
"openerPageName" : "${pageName}",
"savedCallbackFuncName" : "pageObject['${pageName}']['popupSavedCallback']",
"callPurpose" : "create"
};
@ -954,7 +953,6 @@ $(document).ready(function(){
var params = {
"crdnId" : info.data.CRDN_ID,
"openerPageName" : "${pageName}",
"savedCallbackFuncName" : "pageObject['${pageName}']['popupSavedCallback']"
};
@ -1010,12 +1008,11 @@ $(document).ready(function(){
// 사용자검색 버튼 클릭 이벤트
$P.fnGetFindUser = () => {
let params = {
openerPageName: "${pageName}"
, callbackFuncName: "pageObject['${pageName}']['callbackFindUser']"
}
callbackFuncName: "pageObject['${pageName}']['callbackFindUser']"
};
ajax.get({
url: wctx.url("/user/user02/010/main.do") + "?openerPageName=${pageName}"
url: wctx.url("/user/user02/010/main.do")
, data: params || {}
, success: resp => {

@ -561,12 +561,11 @@ $(document).ready(function(){
// 사용자검색 버튼 클릭 이벤트
$P.fnGetFindUser = () => {
let params = {
openerPageName: "${pageName}"
, callbackFuncName: "pageObject['${pageName}']['callbackFindUser']"
}
callbackFuncName: "pageObject['${pageName}']['callbackFindUser']"
};
ajax.get({
url: wctx.url("/user/user02/010/main.do") + "?openerPageName=${pageName}"
url: wctx.url("/user/user02/010/main.do")
, data: params || {}
, success: resp => {

@ -260,7 +260,7 @@
// 저장 callback
$P.control.onSave = (resp) => {
let dialogTitle = $("#" + $P.control.prefix + "Dialog--${openerPageName}").find("h5.modal-title").html();
let dialogTitle = $("#" + $P.selfDlgId()).find("h5.modal-title").html();
let showMessage = resp.rtnMsg.replace(/[S]|[F]/g, dialogTitle);
dialog.alert({
@ -272,7 +272,7 @@
});
if (resp.saved) {
dialog.close($P.control.prefix + "Dialog--${openerPageName}");
dialog.close($P.selfDlgId());
}
}

@ -100,7 +100,7 @@
// 저장 callback
$P.control.onSave = (resp) => {
let dialogTitle = $("#" + $P.control.prefix + "Dialog--${openerPageName}").find("h5.modal-title").html();
let dialogTitle = $("#" + $P.selfDlgId()).find("h5.modal-title").html();
let showMessage = resp.rtnMsg.replace(/[S]|[F]/g, dialogTitle);
dialog.alert({
@ -112,7 +112,7 @@
});
if (resp.saved) {
dialog.close($P.control.prefix + "Dialog--${openerPageName}");
dialog.close($P.selfDlgId());
}
}

@ -472,8 +472,7 @@ $(document).ready(function(){
ajax.get({
url : $P.ctrl.urls.getInfo,
data : {
"crdnId" : dataKey,
"openerPageName" : "${pageName}"
"crdnId" : dataKey
},
success : (resp) => {

@ -472,7 +472,6 @@ $(document).ready(function(){
var taskSeCd = $P.$find("taskSeCd").val();
var params = {
"openerPageName" : "${pageName}",
"saveCallbackFuncName" : "pageObject['${pageName}']['exclSaveCallback']",
"callPurpose" : "create",
"crdnId" : crdnId,

@ -195,12 +195,10 @@ $(document).ready(function() {
var cs = $P.parentRes.getCountStatus($P.$find("crdnId").val());
$P.$find("countStauts").val(cs);
let openerPageName = "${openerPageName}";
if (openerPageName == "sprt02020") {
$P.$find("btnSave").hide();
} else {
if($("#"+$P.selfDlgId()).attr("data-ref-doctx") == "cvlc02010") {
$P.$find("btnSave").show();
} else {
$P.$find("btnSave").hide();
}
});

Loading…
Cancel
Save