diff --git a/src/main/resources/mybatisMapper/FipTarget.xml b/src/main/resources/mybatisMapper/FipTarget.xml index 8788aa6d..4c73632e 100644 --- a/src/main/resources/mybatisMapper/FipTarget.xml +++ b/src/main/resources/mybatisMapper/FipTarget.xml @@ -539,7 +539,7 @@ diff --git a/src/main/resources/static/css/common.css b/src/main/resources/static/css/common.css index 467e53e0..fbc20583 100644 --- a/src/main/resources/static/css/common.css +++ b/src/main/resources/static/css/common.css @@ -115,4 +115,7 @@ .statusInput::-webkit-inner-spin-button{ -webkit-appearance: none; margin: 0; +} +.mouse-hover:hover{ + cursor: pointer; } \ No newline at end of file diff --git a/src/main/resources/static/js/authMgt/authMgt.js b/src/main/resources/static/js/authMgt/authMgt.js index 24bc0d4c..304b057e 100644 --- a/src/main/resources/static/js/authMgt/authMgt.js +++ b/src/main/resources/static/js/authMgt/authMgt.js @@ -19,6 +19,15 @@ $(document).on('click', '.userInfoTr', function (){ $(document).on('click', '.radioTd', function (){ $(this).find('input').prop('checked', true); }) +$(document).on('click', '.selectTh', function (){ + const type = $(this).attr("data-type"); + const target = $(this).attr("data-target"); + if(target){ + $("."+type+"Radio"+target).prop("checked", true) + }else{ + $("."+type+"RadioEmpty").prop("checked", true) + } +}) $(document).on('click', '#saveAuthBtn', function (){ if(confirm("저장하시겠습니까?")){ diff --git a/src/main/resources/static/js/equip/equip.js b/src/main/resources/static/js/equip/equip.js index a16247df..f6672223 100644 --- a/src/main/resources/static/js/equip/equip.js +++ b/src/main/resources/static/js/equip/equip.js @@ -294,7 +294,7 @@ $(document).on('click', '#statusExcel', function (){ } }) -$(document).on('click', '#btn-close', function (){ +$(document).on('click', '.modalCloseBtn', function (){ location.reload(); }) diff --git a/src/main/resources/static/js/publicBoard/publicBoard.js b/src/main/resources/static/js/publicBoard/publicBoard.js index 2ca51dd4..be216632 100644 --- a/src/main/resources/static/js/publicBoard/publicBoard.js +++ b/src/main/resources/static/js/publicBoard/publicBoard.js @@ -30,7 +30,7 @@ $(document).on('click', '#commentSaveBtn', function (){ if(!parentComment.val()){ $("#commentDiv").append(html) }else{ - $("#addedCommentHome"+parentComment.val()).append(html); + $("#childComment"+parentComment.val()).append(html); } commentFormReset(); alert("저장되었습니다."); @@ -59,7 +59,7 @@ $(document).on('click', '.deleteCommentBtn', function (){ const commentRow = $(this).parents(".commentRow"); const publicKey = Number(commentRow.find(".publicKey").val()); const commentKey = Number(commentRow.find(".commentKey").val()); - /*$.ajax({ + $.ajax({ type : 'POST', data : JSON.stringify({publicKey: publicKey, commentKey: commentKey}), url : "/publicBoard/deleteComment", @@ -69,6 +69,7 @@ $(document).on('click', '.deleteCommentBtn', function (){ }, success : function(result) { commentRow.remove(); + $("#childComment"+commentKey).remove(); alert("삭제되었습니다."); contentFade("out"); }, @@ -76,7 +77,7 @@ $(document).on('click', '.deleteCommentBtn', function (){ alert("삭제를 실패하였습니다.") contentFade("out"); } - })*/ + }) }) function getEditModal(publicKey, publicType){ diff --git a/src/main/resources/templates/adminPage/authMgt/authEditModal.html b/src/main/resources/templates/adminPage/authMgt/authEditModal.html index e2cc1182..a963f67e 100644 --- a/src/main/resources/templates/adminPage/authMgt/authEditModal.html +++ b/src/main/resources/templates/adminPage/authMgt/authEditModal.html @@ -1,17 +1,17 @@ -
+
- - - - + + + + @@ -35,34 +35,29 @@ + + + - - -
대분류 중분류 소분류관리작성조회해제해제
+ + - - - - - - - +
-
+
- - - - - + + + + @@ -86,20 +81,13 @@ + + + - - - - diff --git a/src/main/resources/templates/adminPage/authMgt/authMgt.html b/src/main/resources/templates/adminPage/authMgt/authMgt.html index 0c79781b..3edc2463 100644 --- a/src/main/resources/templates/adminPage/authMgt/authMgt.html +++ b/src/main/resources/templates/adminPage/authMgt/authMgt.html @@ -151,7 +151,7 @@ - - -
@@ -160,7 +160,7 @@
-
대분류 중분류 소분류해제계장대행계장과장대행과장해제
+ + - - - - - - - - - +
@@ -56,7 +56,7 @@
-