From 82e4c6863312ee0fc411857cf4f65c590a11307b Mon Sep 17 00:00:00 2001 From: s-choi Date: Thu, 10 Sep 2026 16:03:22 +0900 Subject: [PATCH] =?UTF-8?q?[EDIT]=20=E9=83=A8=E7=BD=B2=E6=A4=9C=E7=B4=A2?= =?UTF-8?q?=E3=83=BB=E7=99=BB=E9=8C=B2=E7=94=BB=E9=9D=A2=E3=81=AE=E3=83=AA?= =?UTF-8?q?=E3=83=B3=E3=82=AF=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/templates/menu.html | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/src/main/resources/templates/menu.html b/src/main/resources/templates/menu.html index 6d0ee4a..c02b861 100644 --- a/src/main/resources/templates/menu.html +++ b/src/main/resources/templates/menu.html @@ -4,9 +4,7 @@ - - メニュー @@ -32,6 +30,15 @@ 社員登録 新規でユーザ追加を行います。 + + 部署検索 + + 登録済みの部署覧表示と
更新、削除を行います。 + + + 部署登録 + 新規で部署追加を行います。 + @@ -42,15 +49,12 @@ form.setAttribute('method', 'post'); form.setAttribute('action', 'selectEmployeeInfo'); - // 動的送信用のHidden - // 動的にFormを作成する場合は何かしら送信しないと、正しく動作しない const inputField = document.createElement("input"); inputField.setAttribute("type", "hidden"); inputField.setAttribute("value", "selectEmployeeInfo"); form.appendChild(inputField); - // フォームをDOMに追加 document.body.appendChild(form); form.submit(); @@ -61,15 +65,12 @@ form.setAttribute('method', 'post'); form.setAttribute('action', 'selectDepartment'); - // 動的送信用のHidden - // 動的にFormを作成する場合は何かしら送信しないと、正しく動作しない const inputField = document.createElement("input"); inputField.setAttribute("type", "hidden"); inputField.setAttribute("value", "selectDepartment"); form.appendChild(inputField); - // フォームをDOMに追加 document.body.appendChild(form); form.submit(); @@ -80,15 +81,12 @@ form.setAttribute('method', 'post'); form.setAttribute('action', 'insertEmployeeInput'); - // 動的送信用のHidden - // 動的にFormを作成する場合は何かしら送信しないと、正しく動作しない const inputField = document.createElement("input"); inputField.setAttribute("type", "hidden"); inputField.setAttribute("value", "insertEmployeeInput"); form.appendChild(inputField); - // フォームをDOMに追加 document.body.appendChild(form); form.submit(); @@ -99,15 +97,12 @@ form.setAttribute('method', 'post'); form.setAttribute('action', 'insertDepartmentInput'); - // 動的送信用のHidden - // 動的にFormを作成する場合は何かしら送信しないと、正しく動作しない const inputField = document.createElement("input"); inputField.setAttribute("type", "hidden"); inputField.setAttribute("value", "insertDepartmentInput"); form.appendChild(inputField); - // フォームをDOMに追加 document.body.appendChild(form); form.submit();