새올관련 변수명 변경

main
이범준 2 months ago
parent 58dd69a4f3
commit 5f709be67f

@ -119,7 +119,7 @@
<div class="content-backdrop fade"></div>
<template name="seallDmndDialogTemplate">
<template name="saeolDmndDialogTemplate">
<form name="frmEdit">
<div class="card">
<div class="row g-1">
@ -369,18 +369,18 @@ $(document).ready(function(){
//요청 등록 팝업 호출
$P.fnOpenDmndPop = () => {
let dialogName = "seallDmndDialog";
let dialogName = "saeolDmndDialog";
let dialogId = dialogName+"-"+uuid();
dialog.open({
id : dialogId,
title : "새올 접수 요청",
content : $P.findn("seallDmndDialogTemplate").innerHTML,
content : $P.findn("saeolDmndDialogTemplate").innerHTML,
size : "lg",
init : () => {
$("#"+dialogId).attr("name", dialogName);
$("#"+dialogId).attr("data-ref-doctx","${pageName}");
let refDlgId = $P.refDlgId("seallDmndDialog");
let refDlgId = $P.refDlgId("saeolDmndDialog");
AppSupport.initDatepicker(document.getElementById(refDlgId));
$("#"+refDlgId).find("[name='rcptYmd']").datepicker('setDate', TODAY());
$("#"+refDlgId).find("[name='btnCreate']").on("click", () => $P.fnCreateDmnd());
@ -392,9 +392,9 @@ $(document).ready(function(){
//요청 등록
$P.fnCreateDmnd = () => {
if(!AppSupport.customValidate($("#"+$P.refDlgId("seallDmndDialog")).find("[name='frmEdit']").find("input"))) return;
if(!AppSupport.customValidate($("#"+$P.refDlgId("saeolDmndDialog")).find("[name='frmEdit']").find("input"))) return;
let selectorStr = "#"+$P.refDlgId("seallDmndDialog")+" "+"form[name='frmEdit']";
let selectorStr = "#"+$P.refDlgId("saeolDmndDialog")+" "+"form[name='frmEdit']";
let ff = new FimsFormFields(selectorStr);
var info = ff.get();
info.taskSeCd = $P.$findn("frmSearch").find("input[name='taskSeCd']:checked").val();
@ -404,7 +404,7 @@ $(document).ready(function(){
data : info,
success : (resp) => {
if(resp.saved){
dialog.close($P.refDlgId("seallDmndDialog"));
dialog.close($P.refDlgId("saeolDmndDialog"));
$P.$findn("toastText").html("등록 되었습니다.");
$P.toast.show();

Loading…
Cancel
Save