feat : 팝업(개별총정보) 공통화 구상중.

pull/2/head
Kurt92 5 months ago
parent 9d17f4c2dd
commit f6d448ecf3

@ -0,0 +1,17 @@
package go.kr.project.biz.totalInfo.controller;
import egovframework.constant.TilesConstants;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
@Controller
@RequiredArgsConstructor
public class TotalInfoController {
@GetMapping("/total/info.do")
public String totalInfoViewPopup(){
return "biz/totalInfo/totalInfo_popup" + TilesConstants.POPUP;
}
}

@ -275,16 +275,22 @@
$("#totalPages").text(responseObj.data.pagination.totalPages);
});
// 행 클릭 이벤트 - 게시물 상세 페이지로 이동
// 행 더블클릭 이벤트 - 게시물 상세 페이지로 이동
this.instance.on('dblclick', function(ev) {
if (ev.rowKey !== undefined && ev.columnName !== '_number') {
var rowData = self.instance.getRow(ev.rowKey);
if (rowData && rowData.noticeId) {
// 새로운 함수를 사용하여 URL 생성 및 페이지 이동
window.location.href = buildUrlWithParamCondAndId(SEARCH_COND, "noticeId", rowData.noticeId, "<c:url value="/template/noticeSample/view.do"/>");
}
}
var popUrl = '${pageContext.request.contextPath}/total/info.do';
var popTitle = "비밀번호 변경";
var popOption = "width=800px, height=455px, resizable=yes, scrollbars=yes, location=no, top=100px, left=100px";
window.open(popUrl, popTitle, popOption);
<%--if (ev.rowKey !== undefined && ev.columnName !== '_number') {--%>
<%-- var rowData = self.instance.getRow(ev.rowKey);--%>
<%-- if (rowData && rowData.noticeId) {--%>
<%-- // 새로운 함수를 사용하여 URL 생성 및 페이지 이동--%>
<%-- window.location.href = "<c:url value="/minwon/init/init.do"/>";--%>
<%-- console.log("asd11`11")--%>
<%-- }--%>
<%--}--%>
});
}
},

@ -0,0 +1,16 @@
<%--
Created by IntelliJ IDEA.
User: kurt
Date: 2025. 7. 31.
Time: 오후 5:34
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
<title>개별총정보</title>
</head>
<body>
요거슨 개별총정보
</body>
</html>

@ -60,6 +60,8 @@ ol {
.sidebar {
background: linear-gradient(to top left, #202342, #25284b);
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
}
.sidebar .logo {
@ -74,7 +76,8 @@ ol {
}
.simplebar-content-wrapper {
background-image: url(../img/news/sidebar_bg1.png);
/*background-image: url(../img/news/sidebar_bg1.png);*/
background-position: right bottom;
background-repeat: no-repeat;
background-size: 240px auto;

Loading…
Cancel
Save