diff --git a/src/main/webapp/WEB-INF/jsp/fims/biz/cmm/cmmCarCrackdownCntPopup.jsp b/src/main/webapp/WEB-INF/jsp/fims/biz/cmm/cmmCarCrackdownCntPopup.jsp
index 33687a84..9a317fc3 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/biz/cmm/cmmCarCrackdownCntPopup.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/biz/cmm/cmmCarCrackdownCntPopup.jsp
@@ -82,7 +82,7 @@ Date Author Description
sortable: false,
align: 'center',
formatter({value}) {
- return setDateTimeFmt(value); //
+ return StrDateTimeFormat.format(value); //
}
},
{
@@ -129,7 +129,7 @@ Date Author Description
sortable: true,
align: 'center',
formatter({value}) {
- return setDateTimeFmt(value);
+ return StrDateTimeFormat.format(value);
}
}
];
diff --git a/src/main/webapp/WEB-INF/jsp/fims/biz/cmm/cmmCrackdownRcvFilePopup.jsp b/src/main/webapp/WEB-INF/jsp/fims/biz/cmm/cmmCrackdownRcvFilePopup.jsp
index 8e4fb7b8..33f0b424 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/biz/cmm/cmmCrackdownRcvFilePopup.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/biz/cmm/cmmCrackdownRcvFilePopup.jsp
@@ -276,7 +276,7 @@ Date Author Description
sortable: true,
align: 'center',
formatter({value}){
- //return setDateTimeFmt(value);
+ //return StrDateTimeFormat.format(value);
return value;
}
}
diff --git a/src/main/webapp/WEB-INF/jsp/fims/biz/cmm/cmmCtznComplaintHistPopup.jsp b/src/main/webapp/WEB-INF/jsp/fims/biz/cmm/cmmCtznComplaintHistPopup.jsp
index d8b0014d..7a062c8a 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/biz/cmm/cmmCtznComplaintHistPopup.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/biz/cmm/cmmCtznComplaintHistPopup.jsp
@@ -140,7 +140,7 @@ Date Author Description
sortable: true,
align: 'center',
formatter({value}) {
- return setDateTimeFmt(value);
+ return StrDateTimeFormat.format(value);
}
},
diff --git a/src/main/webapp/WEB-INF/jsp/fims/biz/cmm/cmmFimsCrackdownTotMgtPopup.jsp b/src/main/webapp/WEB-INF/jsp/fims/biz/cmm/cmmFimsCrackdownTotMgtPopup.jsp
index 21541097..9895df3a 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/biz/cmm/cmmFimsCrackdownTotMgtPopup.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/biz/cmm/cmmFimsCrackdownTotMgtPopup.jsp
@@ -940,7 +940,7 @@ Date Author Description
sortable: true,
align: 'center',
formatter({value}) {
- return setDateTimeFmt(value);
+ return StrDateTimeFormat.format(value);
}
// filter: {
// type: 'text',
@@ -1174,7 +1174,7 @@ Date Author Description
sortable: true,
align: 'center',
formatter({value}) {
- return setDateTimeFmt(value);
+ return StrDateTimeFormat.format(value);
}
},
diff --git a/src/main/webapp/WEB-INF/jsp/fims/biz/cmm/cmmIntegratedSearchForm.jsp b/src/main/webapp/WEB-INF/jsp/fims/biz/cmm/cmmIntegratedSearchForm.jsp
index dfa7e02b..b997fe2b 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/biz/cmm/cmmIntegratedSearchForm.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/biz/cmm/cmmIntegratedSearchForm.jsp
@@ -574,7 +574,7 @@ Date Author Description
sortable: false,
align: 'center',
formatter({value}) {
- return setDateFmt(value); //
+ return StrDateFormat.format(value); //
}
},
{
@@ -584,7 +584,7 @@ Date Author Description
sortable: false,
align: 'center',
formatter({value}) {
- return setDateFmt(value); //
+ return StrDateFormat.format(value); //
}
},
{
@@ -594,7 +594,7 @@ Date Author Description
sortable: false,
align: 'center',
formatter({value}) {
- return setDateTimeFmt(value); //
+ return StrDateTimeFormat.format(value); //
}
},
{
diff --git a/src/main/webapp/WEB-INF/jsp/fims/biz/ec/ecCctvCrackdownFileSelPopup.jsp b/src/main/webapp/WEB-INF/jsp/fims/biz/ec/ecCctvCrackdownFileSelPopup.jsp
index af83cca1..9dfc5e49 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/biz/ec/ecCctvCrackdownFileSelPopup.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/biz/ec/ecCctvCrackdownFileSelPopup.jsp
@@ -243,7 +243,7 @@
sortable: true,
align: 'center',
formatter({value}){
- //return setDateTimeFmt(value);
+ //return StrDateTimeFormat.format(value);
return value;
}
}
diff --git a/src/main/webapp/WEB-INF/jsp/fims/biz/ec/ecCctvCrackdownMgtForm.jsp b/src/main/webapp/WEB-INF/jsp/fims/biz/ec/ecCctvCrackdownMgtForm.jsp
index 9f9d0cb9..ab99a0d0 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/biz/ec/ecCctvCrackdownMgtForm.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/biz/ec/ecCctvCrackdownMgtForm.jsp
@@ -158,7 +158,7 @@
sortable: false,
align: 'center',
formatter({value}){
- return setDateFmt(value);
+ return StrDateFormat.format(value);
}
},
{
@@ -168,7 +168,7 @@
sortable: false,
align: 'center',
formatter({value}){
- return setDateTimeFmt(value);
+ return StrDateTimeFormat.format(value);
}
},
{
diff --git a/src/main/webapp/WEB-INF/jsp/fims/biz/ec/ecCtznSttemntMgtForm.jsp b/src/main/webapp/WEB-INF/jsp/fims/biz/ec/ecCtznSttemntMgtForm.jsp
index 3f78abf6..107ae183 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/biz/ec/ecCtznSttemntMgtForm.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/biz/ec/ecCtznSttemntMgtForm.jsp
@@ -232,7 +232,7 @@
sortable: false,
align: 'center',
formatter({value}){
- return setDateTimeFmt(value);
+ return StrDateTimeFormat.format(value);
}
},
{
@@ -388,7 +388,7 @@
sortable: false,
align: 'center',
formatter({value}){
- return setDateTimeFmt(value);
+ return StrDateTimeFormat.format(value);
}
}
];
diff --git a/src/main/webapp/WEB-INF/jsp/fims/biz/ec/ecNatlNewspaperFileSelPopup.jsp b/src/main/webapp/WEB-INF/jsp/fims/biz/ec/ecNatlNewspaperFileSelPopup.jsp
index 38d8eb36..34bff78a 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/biz/ec/ecNatlNewspaperFileSelPopup.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/biz/ec/ecNatlNewspaperFileSelPopup.jsp
@@ -155,7 +155,7 @@
sortable: true,
align: 'center',
formatter({value}){
- return setDateTimeFmt(value);
+ return StrDateTimeFormat.format(value);
}
}
];
diff --git a/src/main/webapp/WEB-INF/jsp/fims/biz/ec/ecNatlNewspaperMgtForm.jsp b/src/main/webapp/WEB-INF/jsp/fims/biz/ec/ecNatlNewspaperMgtForm.jsp
index ccfc412f..84238502 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/biz/ec/ecNatlNewspaperMgtForm.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/biz/ec/ecNatlNewspaperMgtForm.jsp
@@ -172,7 +172,7 @@
sortable: false,
align: 'center',
formatter({value}){
- return setDateTimeFmt(value);
+ return StrDateTimeFormat.format(value);
}
}
];
diff --git a/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rt0200MgtForm.jsp b/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rt0200MgtForm.jsp
index 47e8ebd5..c6895b7d 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rt0200MgtForm.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rt0200MgtForm.jsp
@@ -162,7 +162,7 @@
sortable: false,
align: 'center',
formatter({value}) {
- return setDateFmt(value); //
+ return StrDateFormat.format(value); //
}
},
{
@@ -172,7 +172,7 @@
sortable: false,
align: 'center',
formatter({value}) {
- return setDateFmt(value); //
+ return StrDateFormat.format(value); //
}
},
{
@@ -182,7 +182,7 @@
sortable: false,
align: 'center',
formatter({value}) {
- return setDateTimeFmt(value);
+ return StrDateTimeFormat.format(value);
}
}
];
diff --git a/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rtCrackdownMgtMainForm.jsp b/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rtCrackdownMgtMainForm.jsp
index 2c04ac33..1c3abd48 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rtCrackdownMgtMainForm.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rtCrackdownMgtMainForm.jsp
@@ -557,7 +557,7 @@ Date Author Description
sortable: false,
align: 'center',
formatter({value}) {
- return setDateFmt(value); //
+ return StrDateFormat.format(value); //
}
},
{
@@ -567,7 +567,7 @@ Date Author Description
sortable: false,
align: 'center',
formatter({value}) {
- return setDateFmt(value); //
+ return StrDateFormat.format(value); //
}
},
{
@@ -577,7 +577,7 @@ Date Author Description
sortable: false,
align: 'center',
formatter({value}) {
- return setDateTimeFmt(value); //
+ return StrDateTimeFormat.format(value); //
}
},
{
diff --git a/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rtInitialDataForm.jsp b/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rtInitialDataForm.jsp
index 91815192..de49688f 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rtInitialDataForm.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rtInitialDataForm.jsp
@@ -450,6 +450,7 @@ Date Author Description
});
});
+
/* *******************************
* Grid
******************************* */
@@ -460,13 +461,8 @@ Date Author Description
minWidth: 50,
sortable: false,
align: 'center',
- formatter: 'listItemText',
- disabled: true,
- editor: {
- type: "select",
- options: {
- listItems: ComboCodeData.registSeCode
- }
+ formatter({value}) {
+ return (new CodeFormat(ComboCodeData.registSeCode)).format(value);
}
},
{
@@ -587,7 +583,7 @@ Date Author Description
sortable: false,
align: 'center',
formatter({value}) {
- return setDateFmt(value); //
+ return StrDateFormat.format(value); //
}
},
{
@@ -597,7 +593,7 @@ Date Author Description
sortable: false,
align: 'center',
formatter({value}) {
- return setDateFmt(value); //
+ return StrDateFormat.format(value); //
}
},
{
@@ -607,7 +603,7 @@ Date Author Description
sortable: false,
align: 'center',
formatter({value}) {
- return setDateTimeFmt(value); //
+ return StrDateTimeFormat.format(value); //
}
},
{
diff --git a/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rtRegltMgtForm.jsp b/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rtRegltMgtForm.jsp
index dd22563a..fd4800b6 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rtRegltMgtForm.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rtRegltMgtForm.jsp
@@ -132,7 +132,7 @@
sortable: false,
align: 'center',
formatter({value}) {
- return setDateFmt(value); //
+ return StrDateFormat.format(value); //
}
},
{
@@ -142,8 +142,6 @@
sortable: false,
align: 'center',
formatter: 'listItemText',
- //TODO: 편집불가인 경우 disabled: true???
- //editable: false,
disabled: true,
editor: {
type: "select",
@@ -159,7 +157,7 @@
sortable: false,
align: 'center',
formatter({value}) {
- return setTimeFmt(value); //
+ return StrTimeFormat.format(value); //
}
},
{
@@ -241,7 +239,7 @@
sortable: false,
align: 'center',
formatter({value}) {
- return setDateTimeFmt(value); //
+ return StrDateTimeFormat.format(value); //
}
},
{
@@ -251,7 +249,7 @@
sortable: false,
align: 'center',
formatter({value}) {
- return setDateTimeFmt(value);
+ return StrDateTimeFormat.format(value);
}
}
];
diff --git a/src/main/webapp/WEB-INF/jsp/fims/framework/biz/cmm/answer/cmmAnsTmplForm.jsp b/src/main/webapp/WEB-INF/jsp/fims/framework/biz/cmm/answer/cmmAnsTmplForm.jsp
index deb1b8dd..6eb3b4d3 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/framework/biz/cmm/answer/cmmAnsTmplForm.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/framework/biz/cmm/answer/cmmAnsTmplForm.jsp
@@ -220,7 +220,7 @@
sortable: false,
align: 'center',
formatter({value}){
- return setDateTimeFmt(value);
+ return StrDateTimeFormat.format(value);
}
}
];
diff --git a/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/auth/mngAuthAuthorMgtForm.jsp b/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/auth/mngAuthAuthorMgtForm.jsp
index 7ad4d876..48743aba 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/auth/mngAuthAuthorMgtForm.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/auth/mngAuthAuthorMgtForm.jsp
@@ -164,7 +164,7 @@
sortable: false,
align: 'center',
formatter({value}) {
- return setDateTimeFmt(value); //
+ return StrDateTimeFormat.format(value); //
}
},
{
diff --git a/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/auth/mngAuthAuthorMgtPopup.jsp b/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/auth/mngAuthAuthorMgtPopup.jsp
index d4e4342b..b99d7b74 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/auth/mngAuthAuthorMgtPopup.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/auth/mngAuthAuthorMgtPopup.jsp
@@ -143,7 +143,7 @@
* initialize
**************************************************************************/
$(document).ready(function () {
- $('#authorCreatDe').val(setDateTimeFmt(''));
+ $('#authorCreatDe').val(StrDateTimeFormat.format(''));
orgData = $('form').serialize();
});
diff --git a/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/auth/mngAuthGrpMgtForm.jsp b/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/auth/mngAuthGrpMgtForm.jsp
index 66b7c5cc..27a0ef4f 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/auth/mngAuthGrpMgtForm.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/auth/mngAuthGrpMgtForm.jsp
@@ -163,7 +163,7 @@
sortable: false,
align: 'center',
formatter({value}) {
- return setDateTimeFmt(value); //
+ return StrDateTimeFormat.format(value); //
}
}
];
diff --git a/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/auth/mngAuthGrpMgtPopup.jsp b/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/auth/mngAuthGrpMgtPopup.jsp
index 54f8296c..3f4bf45e 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/auth/mngAuthGrpMgtPopup.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/auth/mngAuthGrpMgtPopup.jsp
@@ -136,7 +136,7 @@
* initialize
**************************************************************************/
$(document).ready(function(){
- $('#groupCreatDe').val(setDateTimeFmt(''));
+ $('#groupCreatDe').val(StrDateTimeFormat.format(''));
orgData = $('form').serialize();
});
diff --git a/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/auth/mngAuthRoleGrantMgtPopup.jsp b/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/auth/mngAuthRoleGrantMgtPopup.jsp
index 6224f01e..9af0861a 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/auth/mngAuthRoleGrantMgtPopup.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/auth/mngAuthRoleGrantMgtPopup.jsp
@@ -207,7 +207,7 @@
align: 'center',
sortable: true,
formatter({value}){
- return setDateTimeFmt(value);
+ return StrDateTimeFormat.format(value);
}
}
];
diff --git a/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/auth/mngAuthRoleMgtForm.jsp b/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/auth/mngAuthRoleMgtForm.jsp
index eb47dc02..cacc4840 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/auth/mngAuthRoleMgtForm.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/auth/mngAuthRoleMgtForm.jsp
@@ -163,7 +163,7 @@
sortable: false,
align: 'center',
formatter({value}) {
- return setDateTimeFmt(value); //
+ return StrDateTimeFormat.format(value); //
}
}
];
diff --git a/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/auth/mngAuthRoleMgtPopup.jsp b/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/auth/mngAuthRoleMgtPopup.jsp
index ea618a4b..414da592 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/auth/mngAuthRoleMgtPopup.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/auth/mngAuthRoleMgtPopup.jsp
@@ -170,7 +170,7 @@
* initialize
**************************************************************************/
$(document).ready(function(){
- $('#roleCreatDe').val(setDateTimeFmt(''));
+ $('#roleCreatDe').val(StrDateTimeFormat.format(''));
orgData = $('form').serialize();
});
diff --git a/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/bbs/mngBoardBasicMgtForm.jsp b/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/bbs/mngBoardBasicMgtForm.jsp
index e15e1f08..abf0c783 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/bbs/mngBoardBasicMgtForm.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/bbs/mngBoardBasicMgtForm.jsp
@@ -180,7 +180,7 @@
sortable: false,
align: 'center',
formatter({value}){
- return setDateTimeFmt(value.substring(0,10));
+ return StrDateTimeFormat.format(value.substring(0,10));
}
},
{
diff --git a/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/bbs/mngBoardCreateMgtForm.jsp b/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/bbs/mngBoardCreateMgtForm.jsp
index fd86b970..5a46a2aa 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/bbs/mngBoardCreateMgtForm.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/bbs/mngBoardCreateMgtForm.jsp
@@ -168,7 +168,7 @@
sortable: false,
align: 'center',
formatter({value}){
- return setDateTimeFmt(value);
+ return StrDateTimeFormat.format(value);
}
},
{
diff --git a/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/bbs/mngBoardCreateSchPopup.jsp b/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/bbs/mngBoardCreateSchPopup.jsp
index 6c721a2a..f7176fa9 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/bbs/mngBoardCreateSchPopup.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/bbs/mngBoardCreateSchPopup.jsp
@@ -150,7 +150,7 @@
sortable: false,
align: 'center',
formatter({value}){
- return setDateTimeFmt(value);
+ return StrDateTimeFormat.format(value);
}
}
];
diff --git a/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/bbs/mngBoardTmplMgtForm.jsp b/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/bbs/mngBoardTmplMgtForm.jsp
index fec5fce0..b66b1b75 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/bbs/mngBoardTmplMgtForm.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/bbs/mngBoardTmplMgtForm.jsp
@@ -186,7 +186,7 @@
sortable: false,
align: 'center',
formatter({value}){
- return setDateTimeFmt(value);
+ return StrDateTimeFormat.format(value);
}
}
];
diff --git a/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/bbs/mngBoardUseMgtForm.jsp b/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/bbs/mngBoardUseMgtForm.jsp
index 8ea5d189..b0ce4cd0 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/bbs/mngBoardUseMgtForm.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/bbs/mngBoardUseMgtForm.jsp
@@ -166,7 +166,7 @@
sortable: false,
align: 'center',
formatter({value}){
- return setDateTimeFmt(value);
+ return StrDateTimeFormat.format(value);
}
},
{
diff --git a/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/usr/mngUserMgtForm.jsp b/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/usr/mngUserMgtForm.jsp
index 021cfe6d..8a1c088e 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/usr/mngUserMgtForm.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/usr/mngUserMgtForm.jsp
@@ -174,7 +174,7 @@
sortable: false,
align: 'center',
formatter({value}) {
- return setDateTimeFmt(value); //
+ return StrDateTimeFormat.format(value); //
}
},
{
diff --git a/src/main/webapp/resources/js/fims/framework/cmm/cmmUtil.js b/src/main/webapp/resources/js/fims/framework/cmm/cmmUtil.js
index a1d10cc9..7c1fb116 100644
--- a/src/main/webapp/resources/js/fims/framework/cmm/cmmUtil.js
+++ b/src/main/webapp/resources/js/fims/framework/cmm/cmmUtil.js
@@ -413,13 +413,15 @@ String.prototype.isEmail = function() {
/**
* 숫자를 콤마 포멧으로 변환
**/
-function setComma(n) {
- var reg = /(^[+-]?\d+)(\d{3})/;
- n += '';
- while (reg.test(n))
- n = n.replace(reg, '$1' + ',' + '$2');
-
- return n;
+const CommaNumberFormat = {
+ format(value){
+ var reg = /(^[+-]?\d+)(\d{3})/;
+ value += '';
+ while (reg.test(value))
+ value = value.replace(reg, '$1' + ',' + '$2');
+
+ return value;
+ }
}
/**
@@ -429,59 +431,63 @@ function setComma(n) {
* @param {string} delimiter
* @returns {string|*}
*/
-function setDateTimeFmt(srcDateStr, delimiter = '-') {
- if(srcDateStr == null || srcDateStr.isBlank()) return srcDateStr;
-
- let srcDate = srcDateStr.replace(/\-|\s|\:|\.|T|Z/g,'');
- if(srcDate.length == 8) {
- return srcDate.substring(0, 4)+delimiter+srcDate.substring(4, 6)+delimiter+srcDate.substring(6, 8);
- }else if(srcDate.length >= 14){
- return srcDate.substring(0, 4)+delimiter+srcDate.substring(4, 6)+delimiter+srcDate.substring(6, 8)
- + ' ' + srcDate.substring(8, 10) + ':' + srcDate.substring(10, 12) + ':' + srcDate.substring(12, 14);
- }else{
- return srcDate;
+const StrDateTimeFormat = {
+ format(value){
+ if(value == null || value.isBlank()) return value;
+
+ let srcDate = value.replace(/\-|\s|\:|\.|T|Z/g,'');
+ if(srcDate.length == 8) {
+ return srcDate.substring(0, 4)+"-"+srcDate.substring(4, 6)+"-"+srcDate.substring(6, 8);
+ }else if(srcDate.length >= 14){
+ return srcDate.substring(0, 4)+"-"+srcDate.substring(4, 6)+"-"+srcDate.substring(6, 8)
+ + ' ' + srcDate.substring(8, 10) + ':' + srcDate.substring(10, 12) + ':' + srcDate.substring(12, 14);
+ }else{
+ return srcDate;
+ }
}
+
}
-function setDateFmt(srcDateStr, delimiter = '-') {
- if(srcDateStr == null || srcDateStr.isBlank()) return srcDateStr;
+const StrDateFormat = {
+ format(value){
+ if(value == null || value.isBlank()) return value;
- let srcDate = srcDateStr.replace(/\-|\s|\:|\./g,'');
- if(srcDate.length >= 8) {
- return srcDate.substring(0, 4)+delimiter+srcDate.substring(4, 6)+delimiter+srcDate.substring(6, 8);
- }else{
- return srcDate;
+ let srcDate = value.replace(/\-|\s|\:|\./g,'');
+ if(srcDate.length >= 8) {
+ return srcDate.substring(0, 4)+"-"+srcDate.substring(4, 6)+"-"+srcDate.substring(6, 8);
+ }else{
+ return srcDate;
+ }
}
}
-function setTimeFmt(srcDateStr, delimiter = ':') {
- if(srcDateStr == null || srcDateStr.isBlank()) return srcDateStr;
+const StrTimeFormat= {
+ format(value){
+ if(value == null || value.isBlank()) return value;
- let srcDate = srcDateStr.replace(/\-|\s|\:|\./g,'');
- if(srcDate.length >= 6) {
- return srcDate.substring(0, 2)+delimiter+srcDate.substring(2, 4)+delimiter+srcDate.substring(4, 6);
- }else{
- return srcDate;
+ let srcDate = value.replace(/\-|\s|\:|\./g,'');
+ if(srcDate.length >= 6) {
+ return srcDate.substring(0, 2)+delimiter+srcDate.substring(2, 4)+delimiter+srcDate.substring(4, 6);
+ }else{
+ return srcDate;
+ }
}
}
-/**
- * yyyy-MM-ddTHH24:mi:ss.xxxxxxZ
- * @param {string} srcDateStr
- * @param {string} delimiter
- * @returns {string|*}
- */
-function setDateTimeFmt2(srcDateStr, delimiter = '-') {
- if(srcDateStr == null || srcDateStr.isBlank()) return srcDateStr;
-
- let srcDate = srcDateStr.replace(/\-|\s|\:|\.|T|Z/g,'');
- if(srcDate.length == 8) {
- return srcDate.substring(0, 4)+delimiter+srcDate.substring(4, 6)+delimiter+srcDate.substring(6, 8);
- }else if(srcDate.length >= 14){
- return srcDate.substring(0, 4)+delimiter+srcDate.substring(4, 6)+delimiter+srcDate.substring(6, 8)
- + ' ' + srcDate.substring(8, 10) + ':' + srcDate.substring(10, 12) + ':' + srcDate.substring(12, 14);
- }else{
- return srcDate;
+class CodeFormat {
+ _codeList;
+ constructor(codeList) {
+ this._codeList = codeList;
+ }
+
+ format(value) {
+ let txt = "";
+ for (let i=0; i