From fc3699c086cb653ec924b773f6e61d4745ff9156 Mon Sep 17 00:00:00 2001 From: kkazuya Date: Thu, 10 Sep 2026 13:42:06 +0900 Subject: [PATCH] =?UTF-8?q?[edit]=20=E3=83=A1=E3=83=8B=E3=83=A5=E3=83=BC?= =?UTF-8?q?=E7=94=BB=E9=9D=A2=E3=82=92=E7=B7=A8=E9=9B=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/templates/menu.html | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/main/resources/templates/menu.html b/src/main/resources/templates/menu.html index 6d0ee4a..b04b252 100644 --- a/src/main/resources/templates/menu.html +++ b/src/main/resources/templates/menu.html @@ -26,11 +26,19 @@ 社員検索 登録済みのユーザ一覧表示と
更新、削除を行います。 + + 部署検索 + + 登録済みの部署一覧表示と
更新、削除を行います。 + 社員登録 新規でユーザ追加を行います。 + + 部署登録 + 新規で部署追加を行います。 @@ -59,13 +67,13 @@ function selectDepartmentSubmit() { const form = document.createElement('form'); form.setAttribute('method', 'post'); - form.setAttribute('action', 'selectDepartment'); + form.setAttribute('action', 'selectDepartmentInfo'); // 動的送信用のHidden // 動的にFormを作成する場合は何かしら送信しないと、正しく動作しない const inputField = document.createElement("input"); inputField.setAttribute("type", "hidden"); - inputField.setAttribute("value", "selectDepartment"); + inputField.setAttribute("value", "selectDepartmentInfo"); form.appendChild(inputField);