FormFields 클래스명 수정

dev
이범준 5 months ago
parent 86f35c61d1
commit 2d0c7207f4

@ -85,7 +85,7 @@
let $P = pageObject["${pageName}"];
// FormFields
$P.formFields = new FimsFormFields("#frmSearch--${pageName}");
$P.formFields = new AddsFormFields("#frmSearch--${pageName}");
/**************************************************************************
* DatasetControl
@ -219,7 +219,7 @@
content: "현재 " + $P.control.prefixName + " 정보를 선택 하시겠습니까?"
, init: () => { setDialogZindex(); }
, onOK: () => {
let openPage = new FimsFormFields("#${openPage}");
let openPage = new AddsFormFields("#${openPage}");
openPage.set (null,$P.control.getCurrent()); // formFields
dialog.close("bsshPopupDialog");
}

@ -149,7 +149,7 @@
let $P = pageObject["${pageName}"];
// FormFields
$P.formFields = new FimsFormFields("#frmSearch--${pageName}");
$P.formFields = new AddsFormFields("#frmSearch--${pageName}");
/**************************************************************************
* DatasetControl

@ -180,7 +180,7 @@
let $P = pageObject["${pageName}"];
// FormFields
$P.formFields = new FimsFormFields("#frmEdit--${pageName}");
$P.formFields = new AddsFormFields("#frmEdit--${pageName}");
/**************************************************************************
* DatasetControl

@ -225,8 +225,8 @@
let $P = pageObject["${pageName}"];
// FormFields
$P.bsshFormFields = new FimsFormFields("#bssh--${pageName}");
$P.productFormFields = new FimsFormFields("#product--${pageName}");
$P.bsshFormFields = new AddsFormFields("#bssh--${pageName}");
$P.productFormFields = new AddsFormFields("#product--${pageName}");
/**************************************************************************
* DatasetControl

@ -189,7 +189,7 @@
let $P = pageObject["${pageName}"];
// FormFields
$P.formFields = new FimsFormFields("#frmSearch--${pageName}");
$P.formFields = new AddsFormFields("#frmSearch--${pageName}");
/**************************************************************************
* DatasetControl

@ -173,8 +173,8 @@
let $P = pageObject["${pageName}"];
// FormFields
$P.bsshFormFields = new FimsFormFields("#bssh--${pageName}");
$P.productFormFields = new FimsFormFields("#product--${pageName}");
$P.bsshFormFields = new AddsFormFields("#bssh--${pageName}");
$P.productFormFields = new AddsFormFields("#product--${pageName}");
/**************************************************************************
* DatasetControl

@ -189,7 +189,7 @@
let $P = pageObject["${pageName}"];
// FormFields
$P.formFields = new FimsFormFields("#frmSearch--${pageName}");
$P.formFields = new AddsFormFields("#frmSearch--${pageName}");
/**************************************************************************
* DatasetControl

@ -140,7 +140,7 @@
$P.fileArr = [];
// FormFields
$P.formFields = new FimsFormFields("#frmEdit--${pageName}");
$P.formFields = new AddsFormFields("#frmEdit--${pageName}");
/**************************************************************************
* DatasetControl

@ -189,7 +189,7 @@
let $P = pageObject["${pageName}"];
// FormFields
$P.formFields = new FimsFormFields("#frmSearch--${pageName}");
$P.formFields = new AddsFormFields("#frmSearch--${pageName}");
/**************************************************************************
* DatasetControl

@ -92,7 +92,7 @@
let $P = pageObject["${pageName}"];
// FormFields
$P.formFields = new FimsFormFields("#frmSearch--${pageName}");
$P.formFields = new AddsFormFields("#frmSearch--${pageName}");
/**************************************************************************
* DatasetControl
@ -240,7 +240,7 @@
content: "현재 " + $P.control.prefixName + " 정보를 선택 하시겠습니까?"
, init: () => { setDialogZindex(); }
, onOK: () => {
let openPage = new FimsFormFields("#${openPage}");
let openPage = new AddsFormFields("#${openPage}");
openPage.set (null,$P.control.getCurrent()); // formFields
dialog.close("productMainDialog");
}

@ -35,7 +35,7 @@
<script src="<c:url value="/webjars/3rd-party/sneat/libs/block-ui/block-ui.js"/>"></script>
<script src="<c:url value="/webjars/3rd-party/sneat/libs/sortablejs/sortable.js"/>"></script>
<script src="<c:url value="/resources/js/base/fimsFormFields.js?${ver}"/>"></script>
<script src="<c:url value="/resources/js/base/addsFormFields.js?${ver}"/>"></script>
<!-- 공통 유틸 -->
<script src="<c:url value="/webjars/applib/js/cmmnUtil.js?${ver}"/>"></script>

@ -1,7 +1,7 @@
/**************************************************************************
* FimsFormFields
* AddsFormFields
**************************************************************************/
class FimsFormFields extends FormFields {
class AddsFormFields extends FormFields {
/**
* form json data set
@ -66,12 +66,6 @@ class FimsFormFields extends FormFields {
} else {
input.value = value;
}
//보안모드 마스킹 항목
if(input.tagName === 'INPUT' && input.id && input.classList.contains("privacy")){
let maskVal = value.replace(/./g, "*");
document.getElementById("mask-"+input.id).value = maskVal;
}
}
}
Loading…
Cancel
Save