From cd1e4df4ebb6262f5e7c0643e620fe45119bf8f0 Mon Sep 17 00:00:00 2001 From: yangsh Date: Mon, 29 Dec 2025 13:57:27 +0900 Subject: [PATCH] =?UTF-8?q?select=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Views/pages/article/detail.php | 6 ++-- app/Views/pages/article/lists.php | 57 ++++++++++++++++-------------- app/Views/pages/article/lists2.php | 1 - 3 files changed, 33 insertions(+), 31 deletions(-) diff --git a/app/Views/pages/article/detail.php b/app/Views/pages/article/detail.php index 3ea0812..e653295 100644 --- a/app/Views/pages/article/detail.php +++ b/app/Views/pages/article/detail.php @@ -140,7 +140,7 @@ 관할본부 - @@ -166,7 +166,7 @@ 담당자 - diff --git a/app/Views/pages/article/lists.php b/app/Views/pages/article/lists.php index ec87d6c..7dee47d 100644 --- a/app/Views/pages/article/lists.php +++ b/app/Views/pages/article/lists.php @@ -73,19 +73,6 @@
- -
- - -
- - -
- - -
-
@@ -111,10 +98,24 @@
+ + +
+ + +
+ + +
+ + +
+
-
@@ -160,7 +161,7 @@
- @@ -168,12 +169,12 @@
-
-
@@ -286,18 +287,18 @@
- - - @@ -309,7 +310,7 @@ 영상대상 - @@ -637,7 +638,7 @@ // { 'className': 'text-center', 'targets': [0, 2, 3, 4] }, ], columns: [ - { data: null, render: fn_chk_render, width: "50px" }, + { data: null, render: fn_chk_render, width: "50px", className: "dt-no-rowclick" }, { data: 'apt_step', render: fn_stat_render, width: "80px" }, { data: 'hscp_no', width: "50px" }, @@ -651,9 +652,9 @@ { data: 'usr_nm', width: "50px" }, { data: 'write_complete_yn', width: "50px" }, { data: 'vdo_up_ynx', render: fn_vdo_ynx_render, width: "50px" }, - { data: null, render: fn_select_render, width: "80px" }, - { data: null, render: fn_memo_render, width: "80px" }, - { data: null, render: fn_btn_render, width: "80px" }, + { data: null, render: fn_select_render, width: "80px", className: "dt-no-rowclick" }, + { data: null, render: fn_memo_render, width: "80px", className: "dt-no-rowclick" }, + { data: null, render: fn_btn_render, width: "80px", className: "dt-no-rowclick" }, ], // 옵션들 예시 paging: true, @@ -662,7 +663,9 @@ serverSide: true, }); - $('#resultList tbody').on('click', 'tr', function () { + $('#resultList tbody').on('click', 'tr', function (e) { + if ($(e.target).closest('td.dt-no-rowclick').length) return; + const rowData = table.row(this).data(); if (!rowData) return; @@ -1002,7 +1005,7 @@ const video = extractCode('VIDEO_TARGET'); const rowIndex = meta.row; - var str = ``; str += ``; for (var i = 0; i < video.length; i++) { if (video[i].cd == row.video_target) { diff --git a/app/Views/pages/article/lists2.php b/app/Views/pages/article/lists2.php index a09aa97..f2de5df 100644 --- a/app/Views/pages/article/lists2.php +++ b/app/Views/pages/article/lists2.php @@ -676,7 +676,6 @@ if (!rowData) return; - const rcpt_no = rowData.rcpt_no; const hscp_no = rowData.hscp_no; location.href = "/" + rcpt_no + "/" + hscp_no;