diff --git a/src/main/resources/static/js/common.js b/src/main/resources/static/js/common.js index 7cdfe7b2..b7f890a2 100644 --- a/src/main/resources/static/js/common.js +++ b/src/main/resources/static/js/common.js @@ -1,3 +1,5 @@ +let files = []; + function contentFade(action){ if(action === "in"){ $("#fadeDiv").show() diff --git a/src/main/resources/static/js/fipTarget/partInfo.js b/src/main/resources/static/js/fipTarget/partInfo.js index 0a6ee097..c7d008d6 100644 --- a/src/main/resources/static/js/fipTarget/partInfo.js +++ b/src/main/resources/static/js/fipTarget/partInfo.js @@ -1,4 +1,3 @@ -let files = []; $(document).on('click', '#addPartInfo', function (){ $.ajax({ diff --git a/src/main/resources/static/js/fipTarget/partWork.js b/src/main/resources/static/js/fipTarget/partWork.js index ef5f21da..5903d660 100644 --- a/src/main/resources/static/js/fipTarget/partWork.js +++ b/src/main/resources/static/js/fipTarget/partWork.js @@ -1,4 +1,3 @@ -let files = []; $(document).on('click', '#addPartWork', function (){ $.ajax({ diff --git a/src/main/resources/static/js/fipTarget/vulnerable.js b/src/main/resources/static/js/fipTarget/vulnerable.js index 75c23b1a..bad730f4 100644 --- a/src/main/resources/static/js/fipTarget/vulnerable.js +++ b/src/main/resources/static/js/fipTarget/vulnerable.js @@ -1,4 +1,3 @@ -let files = []; $(document).ready(function(){ $(".table_id").each(function(){ diff --git a/src/main/resources/static/js/igActivities/fpiMgt/affair/affairMgt.js b/src/main/resources/static/js/igActivities/fpiMgt/affair/affairMgt.js index 1f84861e..1c9b57b2 100644 --- a/src/main/resources/static/js/igActivities/fpiMgt/affair/affairMgt.js +++ b/src/main/resources/static/js/igActivities/fpiMgt/affair/affairMgt.js @@ -1,4 +1,3 @@ -let files = []; $(function(){ $("#dateSelectorDiv").datepicker({ @@ -18,8 +17,11 @@ $(document).on('click', '#commitTab', function (){ $(document).on('click', '.affairTr', function (event){ const target = event.target; if(!(target.className === "apprvTd" || $(target).parents(".apprvTd").length>0)){ - $(".trChkBox").prop("checked", false); - $(this).find(".trChkBox").prop("checked", true); + const chkBox = $(this).find(".rowChkBox"); + if(chkBox.length>0){ + $(".trChkBox").prop("checked", false); + chkBox[0].checked = !chkBox[0].checked; + } getAffairViewModal(Number($(this).find(".affairKey").val())); } }) diff --git a/src/main/resources/static/js/igActivities/fpiMgt/plan/planMgt.js b/src/main/resources/static/js/igActivities/fpiMgt/plan/planMgt.js index ae2e8054..e1962ec5 100644 --- a/src/main/resources/static/js/igActivities/fpiMgt/plan/planMgt.js +++ b/src/main/resources/static/js/igActivities/fpiMgt/plan/planMgt.js @@ -1,4 +1,3 @@ -let files = []; $(function(){ $("#dateSelectorDiv").datepicker({ @@ -56,8 +55,11 @@ $(document).on('click', '#saveTempBtn', function (){ }) $(document).on('click', '.planTr', function (){ - $(".trChkBox").prop("checked", false); - $(this).find(".trChkBox").prop("checked", true); + const chkBox = $(this).find(".rowChkBox"); + if(chkBox.length>0){ + $(".trChkBox").prop("checked", false); + chkBox[0].checked = !chkBox[0].checked; + } getPlanViewModal(Number($(this).find(".planKey").val())); }) diff --git a/src/main/resources/static/js/igActivities/fpiMgt/result/resultMgt.js b/src/main/resources/static/js/igActivities/fpiMgt/result/resultMgt.js index 57ce49e5..e7c9fce4 100644 --- a/src/main/resources/static/js/igActivities/fpiMgt/result/resultMgt.js +++ b/src/main/resources/static/js/igActivities/fpiMgt/result/resultMgt.js @@ -1,4 +1,3 @@ -let files = []; $(function(){ $("#dateSelectorDiv").datepicker({ @@ -66,10 +65,6 @@ $(document).on('click', '#affairModalBtn', function (){ }); } }) -$(document).on('click', '.affairTr', function (){ - const chkBox = $(this).find(".rowChkBox"); - chkBox[0].checked = !chkBox[0].checked; -}) $(document).on('click', '#getAffairBtn', function (){ let affairListTbody = ""; $.each($(".rowChkBox:checked"), function (idx, chkBox){ @@ -153,8 +148,11 @@ $(document).on('click', '#saveTempBtn', function (){ }) $(document).on('click', '.resultTr', function (){ - $(".trChkBox").prop("checked", false); - $(this).find(".trChkBox").prop("checked", true); + const chkBox = $(this).find(".rowChkBox"); + if(chkBox.length>0){ + $(".trChkBox").prop("checked", false); + chkBox[0].checked = !chkBox[0].checked; + } getResultViewModal(Number($(this).find(".resultKey").val())); }) diff --git a/src/main/resources/static/js/publicBoard/board.js b/src/main/resources/static/js/publicBoard/board.js index 5ece21b3..817eeb17 100644 --- a/src/main/resources/static/js/publicBoard/board.js +++ b/src/main/resources/static/js/publicBoard/board.js @@ -1,4 +1,3 @@ -let files = []; $(document).on('click', '#addBoardBtn', function (){ getEditModal(null, "PLB002") diff --git a/src/main/resources/static/js/publicBoard/notice.js b/src/main/resources/static/js/publicBoard/notice.js index f7207215..598c7376 100644 --- a/src/main/resources/static/js/publicBoard/notice.js +++ b/src/main/resources/static/js/publicBoard/notice.js @@ -1,4 +1,3 @@ -let files = []; $(function(){ $("#dateSelectorDiv").datepicker({ @@ -11,10 +10,10 @@ $(document).on('click', '#addNoticeBtn', function (){ getEditModal(null, "PLB001") }) -$(document).on('click', '.planTr', function (){ +$(document).on('click', '.noticeTr', function (){ $(".trChkBox").prop("checked", false); $(this).find(".trChkBox").prop("checked", true); - getViewModal(Number($(this).find(".planKey").val()), "PLB001"); + getViewModal(Number($(this).find(".publicKey").val()), "PLB001"); }) $(document).on('click', '#saveBtn', function (){ diff --git a/src/main/resources/static/js/publicBoard/qna.js b/src/main/resources/static/js/publicBoard/qna.js index e5a6a2b3..0d8f68bf 100644 --- a/src/main/resources/static/js/publicBoard/qna.js +++ b/src/main/resources/static/js/publicBoard/qna.js @@ -1,4 +1,3 @@ -let files = []; $(function(){ $("#dateSelectorDiv").datepicker({ diff --git a/src/main/resources/static/js/publicBoard/reference.js b/src/main/resources/static/js/publicBoard/reference.js index b8e24c49..ca54399b 100644 --- a/src/main/resources/static/js/publicBoard/reference.js +++ b/src/main/resources/static/js/publicBoard/reference.js @@ -1,4 +1,3 @@ -let files = []; $(document).on('click', '#addReferenceBtn', function (){ getEditModal(null, "PLB003") diff --git a/src/main/resources/templates/igActivities/fpiMgt/affair/affairMgtDashboard.html b/src/main/resources/templates/igActivities/fpiMgt/affair/affairMgtDashboard.html index f6ab4056..e63d115d 100644 --- a/src/main/resources/templates/igActivities/fpiMgt/affair/affairMgtDashboard.html +++ b/src/main/resources/templates/igActivities/fpiMgt/affair/affairMgtDashboard.html @@ -1,25 +1,36 @@ -
-
-
외사경찰 견문관리
-
+ +
+
+
+
외사경찰 견문관리
+
+
+
+
+ + + + + + + + + + + + + + +
제목작성일시
-
- - - - - - - - - - - - - -
제목작성일시
+ \ No newline at end of file diff --git a/src/main/resources/templates/igActivities/fpiMgt/affairPlan/planMgtDashboard.html b/src/main/resources/templates/igActivities/fpiMgt/affairPlan/planMgtDashboard.html index aaff4bc4..673f16ad 100644 --- a/src/main/resources/templates/igActivities/fpiMgt/affairPlan/planMgtDashboard.html +++ b/src/main/resources/templates/igActivities/fpiMgt/affairPlan/planMgtDashboard.html @@ -1,25 +1,36 @@ -
-
-
월간계획
-
+ +
+
+
+
월간계획
+
+
+
+
+ + + + + + + + + + + + + + +
제목작성일시
-
- - - - - - - - - - - - - -
제목작성일시
+ \ No newline at end of file diff --git a/src/main/resources/templates/igActivities/fpiMgt/affairResult/resultMgtDashboard.html b/src/main/resources/templates/igActivities/fpiMgt/affairResult/resultMgtDashboard.html index 9ff49f15..fba2e6cc 100644 --- a/src/main/resources/templates/igActivities/fpiMgt/affairResult/resultMgtDashboard.html +++ b/src/main/resources/templates/igActivities/fpiMgt/affairResult/resultMgtDashboard.html @@ -1,25 +1,36 @@ -
-
-
청산보고서
-
+ +
+
+
+
청산보고서
+
+
+
+
+ + + + + + + + + + + + + + +
제목작성일시
-
- - - - - - - - - - - - - -
제목작성일시
+ \ No newline at end of file diff --git a/src/main/resources/templates/layout/layout.html b/src/main/resources/templates/layout/layout.html index 85fe8a47..ee7f28d6 100644 --- a/src/main/resources/templates/layout/layout.html +++ b/src/main/resources/templates/layout/layout.html @@ -60,5 +60,6 @@ + \ No newline at end of file diff --git a/src/main/resources/templates/login/dashboard.html b/src/main/resources/templates/login/dashboard.html index 6bff798f..ed77c796 100644 --- a/src/main/resources/templates/login/dashboard.html +++ b/src/main/resources/templates/login/dashboard.html @@ -12,30 +12,12 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
diff --git a/src/main/resources/templates/publicBoard/notice/noticePage.html b/src/main/resources/templates/publicBoard/notice/noticePage.html index 33cddc41..000846c0 100644 --- a/src/main/resources/templates/publicBoard/notice/noticePage.html +++ b/src/main/resources/templates/publicBoard/notice/noticePage.html @@ -70,8 +70,8 @@ - - + + diff --git a/src/main/resources/templates/publicBoard/notice/noticePageDashboard.html b/src/main/resources/templates/publicBoard/notice/noticePageDashboard.html index ce38df36..5e9278eb 100644 --- a/src/main/resources/templates/publicBoard/notice/noticePageDashboard.html +++ b/src/main/resources/templates/publicBoard/notice/noticePageDashboard.html @@ -1,27 +1,39 @@ -
-
-
공지사항
-
+ + +
+
+
+
공지사항
+
+
+
+
+ + + + + + + + + + + + + + + + +
제목작성자작성일시
-
- - - - - - - - - - - - - - - -
제목작성자작성일시
+ \ No newline at end of file diff --git a/src/main/resources/templates/translator/translator.html b/src/main/resources/templates/translator/translator.html index ccbf97af..f9f67b75 100644 --- a/src/main/resources/templates/translator/translator.html +++ b/src/main/resources/templates/translator/translator.html @@ -13,7 +13,7 @@
-
+
@@ -24,73 +24,73 @@
-
+
+ + + +
+ +
- +
-
+
-
-
-
+
- +
+
+ +
+
+ +
+
+ +
+
-
- -
-
- -
-
-
- +
- - + + @@ -112,31 +112,29 @@ - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + +
@@ -167,9 +165,9 @@
- - -
+ + +
@@ -180,7 +178,7 @@
- +
- +
- +
-
+ + + + + +
@@ -268,43 +266,41 @@
+ + + + +
- +
- -
+ +
- +
- +
-
-
- -
- -
+
+
+ +
+
- - +
+ +
-
- - +
+
- - - -
\ No newline at end of file diff --git a/src/main/resources/templates/translator/translatorDashBoard.html b/src/main/resources/templates/translator/translatorDashBoard.html index e6ba0c27..5b064bfc 100644 --- a/src/main/resources/templates/translator/translatorDashBoard.html +++ b/src/main/resources/templates/translator/translatorDashBoard.html @@ -1,31 +1,84 @@ -
-
-
민간통역인현황
-
+ +
+
+
+
민간통역인현황
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + +
관서명언어성명위촉일연락처
-
- - - - - - - - - - - - - - - - - - - -
관서명언어성명위촉일연락처
+ + + + \ No newline at end of file