From 9145bd2f6a85c46b726c1c6dc80c39dac8c4404a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9C=A0=EC=A7=80=EC=9D=B8?= Date: Tue, 21 Oct 2025 14:15:19 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B0=9C=EC=A3=BC=EA=B8=B0=EA=B4=80=20>=20?= =?UTF-8?q?=EA=B1=B4=EC=84=A4=ED=98=84=EC=9E=A5=20=EC=A1=B0=ED=9A=8C=20?= =?UTF-8?q?=EB=AA=A9=EB=A1=9D=ED=99=94=EB=A9=B4=20tr=20=EC=9D=84=20?= =?UTF-8?q?=EB=93=9C=EB=9E=98=EA=B7=B8=ED=95=98=EC=97=AC=20=ED=85=8D?= =?UTF-8?q?=EC=8A=A4=ED=8A=B8=EB=A5=BC=20=EA=B8=81=EC=9D=84=EB=95=8C?= =?UTF-8?q?=EB=8A=94=20=EC=83=81=EC=84=B8=ED=99=94=EB=A9=B4=EC=9C=BC?= =?UTF-8?q?=EB=A1=9C=20=EC=9D=B4=EB=8F=99=ED=95=98=EC=A7=80=20=EC=95=8A?= =?UTF-8?q?=EB=8F=84=EB=A1=9D=20=EC=B2=98=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/drilling/inquiry/drilling_inquiry.jsp | 3 ++- .../webapp/com/js/drilling/drilling-common.js | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/src/main/webapp/WEB-INF/views/drilling/inquiry/drilling_inquiry.jsp b/src/main/webapp/WEB-INF/views/drilling/inquiry/drilling_inquiry.jsp index 4d77ce3a..965dae5d 100644 --- a/src/main/webapp/WEB-INF/views/drilling/inquiry/drilling_inquiry.jsp +++ b/src/main/webapp/WEB-INF/views/drilling/inquiry/drilling_inquiry.jsp @@ -189,7 +189,8 @@ if (request.getSession().getAttribute("CLS") == null || "2".equals(request.getSe const constCompanyAdmin = obj.datas[idx].constCompanyAdmin == null ? '-' : obj.datas[idx].constCompanyAdmin; const constCompanyTel = obj.datas[idx].constCompanyTel == null ? '-' : obj.datas[idx].constCompanyTel; - content += ''; +// content += ''; + content += ''; content += '' + (obj.count - idx - (nCount * (nPage - 1))) + ''; content += '' + obj.datas[idx].constName + ''; content += '' + obj.datas[idx].projectStateCodeName + ''; diff --git a/src/main/webapp/com/js/drilling/drilling-common.js b/src/main/webapp/com/js/drilling/drilling-common.js index 6cf236e7..29b368ca 100644 --- a/src/main/webapp/com/js/drilling/drilling-common.js +++ b/src/main/webapp/com/js/drilling/drilling-common.js @@ -111,3 +111,20 @@ function toggleClass(element, className) { document.addEventListener("DOMContentLoaded", function(event) { departments(); }); + +/** + * 발주기관 목록화면 tr 드래그 시 상세화면 이동 방지처리 + * 드래그 이벤트와 클릭이벤트를 구분하여 감지한다. + */ +let isDragging = false; +function handleMouseDown() { + isDragging = false; +} +function handleMouseMove() { + isDragging = true; +} +function handleRowClick(CID) { + if (!isDragging) { + window.location.href = 'modify.do?CID=' + CID; + } +}