From d46e509e426266a2a36fffe171a5ef217a1fb492 Mon Sep 17 00:00:00 2001 From: Hyungi Ahn Date: Wed, 25 Mar 2026 12:59:49 +0900 Subject: [PATCH] =?UTF-8?q?fix(tkuser):=20=EC=97=B0=EC=B0=A8=EC=84=A4?= =?UTF-8?q?=EC=A0=95=20=EC=A0=80=EC=9E=A5=20=EC=8B=9C=20settings=20?= =?UTF-8?q?=EA=B0=9D=EC=B2=B4=E2=86=92=EB=B0=B0=EC=97=B4=20=EB=B3=80?= =?UTF-8?q?=ED=99=98=20=EB=88=84=EB=9D=BD=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 (1M context) --- user-management/web/index.html | 36 +++++++++++++++++-- .../web/static/js/tkuser-vacation-settings.js | 3 +- 2 files changed, 36 insertions(+), 3 deletions(-) diff --git a/user-management/web/index.html b/user-management/web/index.html index 3ba0192..8af4b63 100644 --- a/user-management/web/index.html +++ b/user-management/web/index.html @@ -279,6 +279,22 @@
+ +
+
+
+ + 행정 지원 + tksupport +
+
+ + | + +
+
+
+
@@ -381,6 +397,22 @@
+ +
+
+
+ + 행정 지원 + tksupport +
+
+ + | + +
+
+
+
@@ -2360,14 +2392,14 @@ - + - + diff --git a/user-management/web/static/js/tkuser-vacation-settings.js b/user-management/web/static/js/tkuser-vacation-settings.js index 9606dd7..f036d18 100644 --- a/user-management/web/static/js/tkuser-vacation-settings.js +++ b/user-management/web/static/js/tkuser-vacation-settings.js @@ -150,7 +150,8 @@ async function saveVacationSettings() { if (!Object.keys(changes).length) { showToast('변경된 설정이 없습니다.', 'error'); return; } try { - await api('/vacation-settings', { method: 'PUT', body: JSON.stringify({ settings: changes }) }); + const settingsArr = Object.entries(changes).map(([setting_key, setting_value]) => ({ setting_key, setting_value: String(setting_value) })); + await api('/vacation-settings', { method: 'PUT', body: JSON.stringify({ settings: settingsArr }) }); showToast('설정이 저장되었습니다.'); vacSettingsLoaded = false; await loadVacationSettingsTab();