diff --git a/src/main/webapp/WEB-INF/jsp/base/user/user-info.jsp b/src/main/webapp/WEB-INF/jsp/base/user/user-info.jsp
index e46e5e9..f6b0995 100644
--- a/src/main/webapp/WEB-INF/jsp/base/user/user-info.jsp
+++ b/src/main/webapp/WEB-INF/jsp/base/user/user-info.jsp
@@ -183,9 +183,18 @@ sggDepts.depts.onDatasetChange = obj => {
sggDepts.sggs.setData({sggList: ${sggs}});
sggDepts.depts.setData({deptList: ${depts}});
-infoPrefixCtrl.setData([${userInfo}]);
+var infoPrefixFields = new FormFields("#infoPrefix-form");
+
+
+var info = ${userInfo};
+if (infoPrefixCtrl.dataset.empty)
+ infoPrefixCtrl.dataset.setData({userList: [info]});
+else
+ infoPrefixCtrl.dataset.replace({data: info});
+
infoPrefixCtrl.setInfo = obj => {
+ infoPrefixFields.set(infoPrefixCtrl, obj);
obj = obj || infoPrefixCtrl.dataset.getCurrent("item");
let create = isEmpty(obj.data.USER_ACNT);
$("input[name='account']").prop("readonly", !create);
@@ -234,7 +243,7 @@ function saveinfoPrefix() {
dialog.alert({
content:"현재 prefixName 정보를 저장하시겠습니까?",
onOK:() => {
- infoPrefixCtrl.save(infoPrefixCtrl.toObject());
+ infoPrefixCtrl.save(infoPrefixFields.get());
}
});
}
@@ -264,5 +273,7 @@ function setDepts(instCode) {
sggDepts.getDepts({instCode: instCode});
}
+$(infoPrefixCtrl.selector("[name='birthday']")).datePicker();
+
//# sourceURL=user-info.jsp
diff --git a/src/main/webapp/WEB-INF/jsp/base/user/user-main.jsp b/src/main/webapp/WEB-INF/jsp/base/user/user-main.jsp
index e3efa91..5f2cd2f 100644
--- a/src/main/webapp/WEB-INF/jsp/base/user/user-main.jsp
+++ b/src/main/webapp/WEB-INF/jsp/base/user/user-main.jsp
@@ -7,7 +7,7 @@
-