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();