373 lines
12 KiB
Plaintext
373 lines
12 KiB
Plaintext
<%--
|
|
Class Name : SelectLogMethodList.jsp
|
|
Description : 로그인 로그 정보목록 화면
|
|
Modification Information
|
|
|
|
수정일 수정자 수정내용
|
|
------- -------- ---------------------------
|
|
2009.03.11 이삼섭 최초 생성
|
|
2011.08.31 JJY 경량환경 버전 생성
|
|
|
|
author : 공통서비스 개발팀 이삼섭
|
|
since : 2009.03.11
|
|
--%>
|
|
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
|
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
|
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
|
|
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
|
|
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Language" content="ko" >
|
|
<script type="text/javascript" src="<c:url value='/js/EgovCalPopup.js'/>" ></script>
|
|
<script type="text/javascript">
|
|
$( document ).ready(function(){
|
|
var tempSearchBgnDe = "${searchVO.searchBgnDe}" ;
|
|
var tempSearchEndDe = "${searchVO.searchEndDe}" ;
|
|
if(""!=tempSearchBgnDe && tempSearchBgnDe.length==8){
|
|
$('#searchBgnDe').val(tempSearchBgnDe.substring(0,4)+"-"+tempSearchBgnDe.substring(4,6)+"-"+tempSearchBgnDe.substring(6,8));
|
|
}
|
|
|
|
if(""!=tempSearchEndDe && tempSearchEndDe.length==8){
|
|
$('#searchEndDe').val(tempSearchEndDe.substring(0,4)+"-"+tempSearchEndDe.substring(4,6)+"-"+tempSearchEndDe.substring(6,8));
|
|
}
|
|
});
|
|
|
|
/* ********************************************************
|
|
* PROTOTYPE JS FUNCTION
|
|
******************************************************** */
|
|
String.prototype.trim = function(){
|
|
return this.replace(/^\s+|\s+$/g, "");
|
|
}
|
|
|
|
String.prototype.replaceAll = function(src, repl){
|
|
var str = this;
|
|
if(src == repl){return str;}
|
|
while(str.indexOf(src) != -1) {
|
|
str = str.replace(src, repl);
|
|
}
|
|
return str;
|
|
}
|
|
|
|
function fn_select(pageNo){
|
|
<%--<c:if test="${!empty loginId}">
|
|
if(""!= document.frm.searchKeyword.value){
|
|
updateRecentSearch();//최근검색어 등록
|
|
}
|
|
</c:if>--%>
|
|
linkPage(1);
|
|
}
|
|
|
|
function fn_egov_select_loginLog(pageNo){
|
|
linkPage(1);
|
|
}
|
|
|
|
function fn_egov_inqire_loginLog(logId){
|
|
var url = "<c:url value ='/sym/log/clg/InqireLoginLog.do?logId='/>" + logId;
|
|
|
|
var openParam = "scrollbars=yes,toolbar=0,location=no,resizable=0,status=0,menubar=0,width=640,height=320,left=0,top=0";
|
|
window.open(url,"p_loginLogInqire", openParam);
|
|
}
|
|
|
|
function linkPage(pageNo){
|
|
var frm = document.frm;
|
|
frm.pageIndex.value = pageNo;
|
|
frm.action = "<c:url value='/sym/log/clg/SelectLogMethodList.do'/>";
|
|
frm.submit();
|
|
}
|
|
|
|
//엑셀 다운로드
|
|
function logListExcelDownload(){
|
|
document.frm.method = "post";
|
|
document.frm.action = "<c:url value='/sym/log/clg/roleListExcelDownload.do'/>";
|
|
document.frm.submit();
|
|
}
|
|
|
|
/* 등록 */
|
|
function fn_insert(){
|
|
var frm = document.frm;
|
|
frm.pageType.value="Insert" ;
|
|
frm.action = "<c:url value='/sym/log/clg/ViewLogMethod.do'/>";
|
|
frm.submit();
|
|
}
|
|
|
|
/* 수정 */
|
|
function fn_modify(id){
|
|
var frm = document.frm;
|
|
frm.pageType.value="Insert" ;
|
|
frm.admotId.value = id;
|
|
frm.pageType.value = "Modify";
|
|
//frm.action = "<c:url value='/uss/ion/cnf/metaTagModifyView.do'/>";
|
|
frm.action = "<c:url value='/sym/log/clg/ViewLogMethod.do'/>";
|
|
frm.submit();
|
|
}
|
|
|
|
/* 삭제 */
|
|
function fn_delete(){
|
|
if($("input:checkbox[name='del']").is(":checked")==true){
|
|
if(confirm("삭제하시겠습니까?")) {
|
|
document.frm.action = "<c:url value='/sym/log/clg/DeleteLogMethod.do'/>";
|
|
document.frm.submit();
|
|
}
|
|
}else{
|
|
alert("선택된 항목이 없습니다.");
|
|
return false;
|
|
}
|
|
}
|
|
function fnCheckAll(){
|
|
if( $("#checkAll").is(':checked') ){
|
|
$("input[name=del]").prop("checked", true);
|
|
}else{
|
|
$("input[name=del]").prop("checked", false);
|
|
}
|
|
}
|
|
|
|
|
|
/* pagination 페이지 링크 function */
|
|
function goList(){
|
|
document.searchForm.submit();
|
|
//location.href = "<c:url value='/sym/log/clg/SelectLogMethodList.do'/>";
|
|
}
|
|
|
|
/* 등록시 값 확인 */
|
|
function fn_checkForm() {
|
|
frm = document.writeForm;
|
|
if(frm.menuNm.value.trim()=="") {
|
|
alert("메뉴명을 입력해 주십시오");
|
|
frm.menuNm.focus();
|
|
return false;
|
|
}
|
|
if(frm.methodNm.value.trim()=="") {
|
|
alert("메소드명을 입력해 주십시오");
|
|
frm.methodNm.focus();
|
|
return false;
|
|
}
|
|
|
|
if(frm.param.value.trim()=="") {
|
|
alert("파라미터를 입력해 주십시오");
|
|
frm.param.focus();
|
|
return false;
|
|
}
|
|
|
|
if(frm.approNm.value.trim()=="") {
|
|
alert("기능명을 입력해 주십시오");
|
|
frm.approNm.focus();
|
|
return false;
|
|
}
|
|
|
|
return true;
|
|
}
|
|
|
|
/* 글 등록 function */
|
|
function fn_insert() {
|
|
if(fn_checkForm()){
|
|
frm = document.writeForm;
|
|
frm.action = "<c:url value='/sym/log/clg/InsertLogMethod.do'/>";
|
|
frm.submit();
|
|
}
|
|
}
|
|
|
|
/* 글 등록 function */
|
|
function fn_update() {
|
|
frm = document.writeForm;
|
|
frm.action = "<c:url value='/sym/log/clg/UpdateLogMethod.do'/>";
|
|
if(fn_checkForm(1)){
|
|
frm.submit();
|
|
}
|
|
}
|
|
|
|
|
|
/* 삭제 function */
|
|
function fn_delete() {
|
|
var msg;
|
|
msg = "해당 첨부파일을 삭제하시겠습니까?";
|
|
|
|
if (confirm(msg)) {
|
|
frm = document.writeForm;
|
|
frm.action = "<c:url value='/sym/log/clg/DeleteLogMethod.do'/>";
|
|
frm.submit();
|
|
}
|
|
|
|
}
|
|
|
|
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<noscript>자바스크립트를 지원하지 않는 브라우저에서는 일부 기능을 사용하실 수 없습니다.</noscript>
|
|
<form name="writeForm" method="post">
|
|
<input type="hidden" name="del" value="${loginLog.admotId}" />
|
|
<input type="hidden" name="admotId" value="${loginLog.admotId}" />
|
|
|
|
<input name="searchCondition" type="hidden" value="<c:out value="${searchFr.searchCondition}" />" />
|
|
<input name="searchKeyword" type="hidden" value="<c:out value="${searchFr.searchKeyword}" />"/>
|
|
|
|
|
|
<div class="cont_wrap">
|
|
<div class="box">
|
|
<!-- cont_tit -->
|
|
<div class="cont_tit">
|
|
<h2>관리자로그설정관리상세</h2>
|
|
|
|
<ul class="cont_nav">
|
|
<li class="home"><a href="/"><i></i></a></li>
|
|
<li>
|
|
<p>운영관리</p>
|
|
</li>
|
|
<li><span>관리자로그설정관리</span></li>
|
|
<li><span class="cur_nav">상세화면</span></li>
|
|
</ul>
|
|
</div>
|
|
<!-- //cont_tit -->
|
|
|
|
<div class="cont">
|
|
|
|
|
|
|
|
|
|
<!-- list -->
|
|
<div class="search_detail">
|
|
|
|
|
|
<table>
|
|
<colgroup>
|
|
<col style="width: 20%">
|
|
<col style="width: 80%">
|
|
</colgroup>
|
|
<tbody>
|
|
<tr>
|
|
<th><span class="reqArea">메뉴명</span></th>
|
|
<td style="text-align:left;">
|
|
<input type="text" size="100" name="menuNm" value="${loginLog.menuNm}" title="menuNm" maxlength="100" />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th><span class="reqArea">메소드명</span></th>
|
|
<td style="text-align:left;">
|
|
<input type="text" size="100" name="methodNm" value="${loginLog.methodNm}" title="methodNm" maxlength="100" />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th><span class="reqArea">기능명</span></th>
|
|
<td style="text-align:left;">
|
|
<input type="text" size="100" name="approNm" value="${loginLog.approNm}" title="approNm" maxlength="100" />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th><span class="reqArea">파라미터</span></th>
|
|
<td style="text-align:left;">
|
|
<input type="text" size="100" name="param" value="${empty loginLog.admotId ? 'N' : loginLog.param }" title="param" maxlength="100" />
|
|
<br><span class="cfText">*기본값은 N 입니다.</span> <span class="cfText c_ed4555">*N이 아닌 값을 사용할 경우는 url에 'logParam=파라미터값' 형식을 추가해야 적용됩니다.</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th><span class="reqArea">privacy</span></th>
|
|
<td style="text-align:left;">
|
|
<input type="text" size="100" name="privacy" value="${empty loginLog.admotId ? 'N' : loginLog.privacy }" title="privacy" maxlength="100" />
|
|
<br><span class="cfText">*기본값은 N 입니다.</span> <span class="cfText c_ed4555">N / Y *개인정보 포함 여부를 표시합니다.</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th><span class="reqArea">사용자구분</span></th>
|
|
<td style="text-align:left;">
|
|
<input type="text" size="100" name="dateType" value="${empty loginLog.admotId ? 'N' : loginLog.dateType }" title="dateType" maxlength="100" />
|
|
${loginLog.dateType} - <span class="cfText c_ed4555">U(사용자) / A(관리자)</span>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th><span class="reqArea">통계노출여부</span></th>
|
|
<td colspan="3" style="text-align:left;">
|
|
<select name="useYn" id="useYn" class="sel_type1">
|
|
<option value="N" <c:if test="${loginLog.useYn == 'N'}">selected</c:if>>미사용</option>
|
|
<option value="Y" <c:if test="${loginLog.useYn == 'Y'}">selected</c:if>>사용</option>
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th><span class="reqArea">통계순서</span></th>
|
|
<td colspan="3" style="text-align:left;">
|
|
<input type="text" size="10" name="sortNum" value="${loginLog.sortNum}" title="sortNum" maxlength="10" />
|
|
</td>
|
|
</tr>
|
|
|
|
<c:if test="${!empty loginLog.admotId }">
|
|
<tr>
|
|
<th><span class="reqArea">등록일자</span></th>
|
|
<td colspan="3" style="text-align:left;">
|
|
${loginLog.creatDt}
|
|
<%-- <input name="creatDt" value="${loginLog.creatDt}" title="creatDt" maxlength="100" readonly /> --%>
|
|
</td>
|
|
</tr>
|
|
</c:if>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="search_detail">
|
|
<ul class="search_ul">
|
|
|
|
<li>
|
|
<button type="button" class="btn btn_36 blue_border btn-page-sch" onclick="goList(); return false;">목록</button>
|
|
</li>
|
|
<c:if test="${!empty loginLog.admotId }">
|
|
<li>
|
|
<button type="button" class="btn btn_36 blue_border btn-page-sch" onclick="fn_delete(); return false;">삭제</button>
|
|
</li>
|
|
<li>
|
|
<button type="button" class="btn btn_36 blue_border btn-page-sch" onclick="fn_update(); return false;">수정</button>
|
|
</li>
|
|
</c:if>
|
|
<c:if test="${empty loginLog.admotId }">
|
|
<li>
|
|
<button type="button" class="btn btn_36 blue_border btn-page-sch" onclick="fn_insert(); return false;">저장</button>
|
|
</li>
|
|
</c:if>
|
|
|
|
</ul>
|
|
|
|
|
|
</div>
|
|
<!-- //list -->
|
|
|
|
<!-- btn_wrap -->
|
|
|
|
<!-- btn_wrap -->
|
|
<!--
|
|
<div class="btn_wrap btn_layout01">
|
|
<div class="area_right">
|
|
<button type="button" class="btnType02" onclick="fncDeleteGroupPolicy(); return false;">삭제</button>
|
|
</div>
|
|
<div class="area_right">
|
|
<button type="button" class="btnType02" onclick="fncInsertLoginGroupPolicy(); return false;">등록</button>
|
|
</div>
|
|
</div>
|
|
-->
|
|
<!-- //btn_wrap -->
|
|
|
|
<!-- 페이지 네비게이션 시작 -->
|
|
<c:if test="${!empty logMethodList}">
|
|
<div class="page">
|
|
<ul class="inline">
|
|
<ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
|
|
</ul>
|
|
</div>
|
|
</c:if>
|
|
<!-- //페이지 네비게이션 끝 -->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- //cont -->
|
|
|
|
</form>
|
|
|
|
<form name="searchForm" method="post" action="<c:url value='/sym/log/clg/SelectLogMethodList.do'/>">
|
|
<input name="pageIndex" type="hidden" value="1" />
|
|
<input name="searchCondition" type="hidden" value="<c:out value="${searchFr.searchCondition}" />" />
|
|
<input name="searchKeyword" type="hidden" value="<c:out value="${searchFr.searchKeyword}" />"/>
|
|
<input name="searchConditionSite" type="hidden" />
|
|
</form>
|
|
|
|
</body>
|
|
</html> |