first commit
This commit is contained in:
44
src/main/webapp/WEB-INF/jsp/dms/dmsPrj/DmsPrjDetail.jsp
Normal file
44
src/main/webapp/WEB-INF/jsp/dms/dmsPrj/DmsPrjDetail.jsp
Normal file
@@ -0,0 +1,44 @@
|
||||
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
|
||||
%><%@ include file="/common/taglib.jsp"
|
||||
%><%
|
||||
/**
|
||||
* @Class Name : DmsPrjDetail.jsp
|
||||
* @Description : DmsPrj Detail 화면
|
||||
* @Modification Information
|
||||
*
|
||||
* @author 한돈희
|
||||
* @since 2017-06-15
|
||||
* @version 1.0
|
||||
* @see
|
||||
*
|
||||
* Copyright (C) All right reserved.
|
||||
*/
|
||||
%><script type="text/javascript" src="/js/dms/dmsPrj.js"></script>
|
||||
<form:form commandName="searchVO" id="detailForm" action="${searchVO.parentUrl}">
|
||||
<form:hidden path="bmode" />
|
||||
<form:hidden path="pageIndex" />
|
||||
<form:hidden path="prjSeq" />
|
||||
<form:hidden path="searchCondition" />
|
||||
<form:hidden path="searchKeyword" />
|
||||
</form:form>
|
||||
|
||||
<%--
|
||||
<dl class="dl-horizontal">
|
||||
<dt></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
--%>
|
||||
dmsPrjVO
|
||||
<div class="text-right">
|
||||
<c:if test="${checkWriteAuth}">
|
||||
<a href="#modify" class="btn btn-default btn-sm" role="button" onclick="return fn_egov_updateView();">수정</a>
|
||||
<a href="#delete" class="btn btn-default btn-sm" role="button" onclick="return fn_egov_delete('${searchVO.parentUrl}');">삭제</a>
|
||||
</c:if>
|
||||
<a href="#list" class="btn btn-default btn-sm" role="button" onclick="return fn_egov_selectList();">목록</a>
|
||||
</div>
|
||||
<%--
|
||||
// 첨부파일보기
|
||||
<c:import url="/common/fms/selectFileInfs.do" charEncoding="utf-8"
|
||||
><c:param name="param_atchFileId" value="${dmsPrjVO.attachFileId}"
|
||||
/></c:import>
|
||||
--%>
|
||||
91
src/main/webapp/WEB-INF/jsp/dms/dmsPrj/DmsPrjList.jsp
Normal file
91
src/main/webapp/WEB-INF/jsp/dms/dmsPrj/DmsPrjList.jsp
Normal file
@@ -0,0 +1,91 @@
|
||||
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
|
||||
%><%@ include file="/common/taglib.jsp"
|
||||
%><%
|
||||
/**
|
||||
* @Class Name : DmsPrjList.jsp
|
||||
* @Description : DmsPrj List 화면
|
||||
* @Modification Information
|
||||
*
|
||||
* @author 한돈희
|
||||
* @since 2017-06-15
|
||||
* @version 1.0
|
||||
* @see
|
||||
*
|
||||
* Copyright (C) All right reserved.
|
||||
*/
|
||||
%><script type="text/javascript" src="/js/dms/dmsPrj.js"></script>
|
||||
<h3></h3>
|
||||
<div class="row">
|
||||
<div class="col-md-3 text-left">
|
||||
Total:${paginationInfo.totalRecordCount} | Page:<span class="fb ftc_red">${paginationInfo.currentPageNo}</span>/${paginationInfo.totalPageCount}
|
||||
</div>
|
||||
<div class="col-md-9 text-right">
|
||||
<form:form commandName="searchVO" id="searchForm" action="${searchVO.parentUrl}" cssClass="form-inline" onsubmit="return fn_egov_searchSelectList('search', true);">
|
||||
<form:hidden path="bmode" />
|
||||
<form:hidden path="pageIndex" />
|
||||
<form:hidden path="prjSeq" />
|
||||
<div class="form-group form-group-sm">
|
||||
<label class="sr-only" for="searchCondition">검색조건</label>
|
||||
<form:select path="searchCondition" cssClass="form-control">
|
||||
<form:option value="1">제목</form:option>
|
||||
</form:select>
|
||||
</div>
|
||||
<div class="form-group form-group-sm">
|
||||
<label class="sr-only" for="searchKeyword">검색어</label>
|
||||
<form:input path="searchKeyword" cssClass="form-control" placeholder="검색어를 입력하세요." />
|
||||
</div>
|
||||
<div class="form-group form-group-sm">
|
||||
<label class="sr-only" for="searchKeyword">검색버튼</label>
|
||||
<input type="button" class="btn btn-default form-control" onclick="return fn_egov_searchSelectList('search', false);" value="검색" />
|
||||
</div>
|
||||
</form:form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped table-hover table-bordered table-condensed" width="100%" summary="">
|
||||
<caption></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>번호</th>
|
||||
<th>프로젝트명</th>
|
||||
<th>담당관리자</th>
|
||||
<th>담당작업자</th>
|
||||
<th>등록일</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<c:if test="${empty resultList && empty searchVO.searchKeyword}">
|
||||
<tr>
|
||||
<td colspan="5" class="text-center">조회된 내용이 없습니다.</td>
|
||||
</tr>
|
||||
</c:if>
|
||||
<c:if test="${empty resultList && !empty searchVO.searchKeyword}">
|
||||
<tr>
|
||||
<td colspan="5" class="text-center"><mark>'${searchVO.searchKeyword }'</mark>으로 조회된 내용이 없습니다.</td>
|
||||
</tr>
|
||||
</c:if>
|
||||
<c:set var="number" value="${paginationInfo.totalRecordCount - ((paginationInfo.currentPageNo-1) * paginationInfo.recordCountPerPage)}" />
|
||||
<c:forEach var="list" items="${resultList}" varStatus="status">
|
||||
<tr>
|
||||
<td>${number - status.index}</td>
|
||||
<td><a href="#view" onclick="return fn_egov_select('${list.prjSeq}')">${list.prjNm}</a></td>
|
||||
<td>한돈희</td>
|
||||
<td>한돈희</td>
|
||||
<td>${list.createDate}</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="box_page">
|
||||
<ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="fn_egov_link_page" />
|
||||
</div>
|
||||
|
||||
<div class="text-right">
|
||||
<a href="#add" class="btn btn-default btn-sm" role="button" onclick="return fn_egov_addView();">등록</a>
|
||||
<c:if test="${!empty searchVO.searchKeyword}">
|
||||
<a href="#list" class="btn btn-info btn-sm" role="button" onclick="return fn_egov_searchSelectList('init', false);">목록</a>
|
||||
</c:if>
|
||||
</div>
|
||||
78
src/main/webapp/WEB-INF/jsp/dms/dmsPrj/DmsPrjRegister.jsp
Normal file
78
src/main/webapp/WEB-INF/jsp/dms/dmsPrj/DmsPrjRegister.jsp
Normal file
@@ -0,0 +1,78 @@
|
||||
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
|
||||
%><%@ include file="/common/taglib.jsp"
|
||||
%><%
|
||||
/**
|
||||
* @Class Name : DmsPrjRegist.jsp
|
||||
* @Description : DmsPrj Regist 화면
|
||||
* @Modification Information
|
||||
*
|
||||
* @author 한돈희
|
||||
* @since 2017-06-15
|
||||
* @version 1.0
|
||||
* @see
|
||||
*
|
||||
* Copyright (C) All right reserved.
|
||||
*/
|
||||
%><script type="text/javascript" src="/js/dms/dmsPrj.js"></script>
|
||||
<form:form commandName="dmsPrjVO" id="detailForm" action="${searchVO.parentUrl}" enctype="multipart/form-data" class="form-horizontal">
|
||||
<input type="hidden" name="bmode" value="${searchVO.bmode}" />
|
||||
<input type="hidden" name="searchCondition" value="${searchVO.searchCondition}" />
|
||||
<input type="hidden" name="searchKeyword" value="${searchVO.searchKeyword}" />
|
||||
<input type="hidden" name="pageIndex" value="${searchVO.pageIndex}" />
|
||||
<h3></h3>
|
||||
<%--
|
||||
<div class="form-group">
|
||||
<label for="" class="col-sm-2 control-label"></label>
|
||||
<div class="col-sm-10">
|
||||
<form:input path="" cssClass="form-control" />
|
||||
</div>
|
||||
</div>
|
||||
--%>
|
||||
<div class="form-group">
|
||||
<div class="col-sm-offset-2 col-sm-10 text-right">
|
||||
<c:if test="${empty dmsPrjVO.prjSeq}">
|
||||
<a href="#add" onclick="return fn_egov_add('${searchVO.parentUrl}');" role="button" class="btn btn-primary btn-sm">저장</a>
|
||||
</c:if>
|
||||
<c:if test="${!empty dmsPrjVO.prjSeq}">
|
||||
<a href="#modify" onclick="return fn_egov_update('${searchVO.parentUrl}');" role="button" class="btn btn-success btn-sm">저장</a>
|
||||
</c:if>
|
||||
<a href="#list" onclick="return fn_egov_selectList();" role="button" class="btn btn-default btn-sm">목록</a>
|
||||
</div>
|
||||
</div>
|
||||
</form:form>
|
||||
|
||||
<%--
|
||||
// 첨부파일
|
||||
<script type="text/javascript" src="/js/common/EgovMultiFile.js"></script>
|
||||
<c:import url="/common/fms/selectFileInfsForUpdate.do" charEncoding="utf-8">
|
||||
<c:param name="param_atchFileId" value="${dmsPrjVO.attachFileId }"/>
|
||||
</c:import>
|
||||
<div><input name="file_" id="egovComFileUploader" type="file" /></div>
|
||||
<div id="egovComFileList"></div>
|
||||
|
||||
<script type="text/javascript">
|
||||
var maxFileNum = 100;
|
||||
var multi_selector = new MultiSelector( document.getElementById( 'egovComFileList' ), maxFileNum );
|
||||
multi_selector.addElement( document.getElementById( 'egovComFileUploader' ) );
|
||||
</script>
|
||||
|
||||
// 팝업달력
|
||||
<script type="text/javascript" src="/js/common/calendar/jquery-ui.js"></script>
|
||||
<script type="text/javascript" src="/js/common/calendar/jquery.ui.datepicker-ko.js"></script>
|
||||
<link type="text/css" href="/css/common/calendar/smoothness/jquery-ui.css" rel="stylesheet" />
|
||||
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
// 팝업달력 설정
|
||||
$("#createDate").datepicker({
|
||||
showOn: "button",
|
||||
buttonImage: "/images/contents/btn_calendar.gif",
|
||||
buttonImageOnly: true,
|
||||
changeMonth: true,
|
||||
changeYear: true,
|
||||
showOtherMonths: true,
|
||||
pageDirectLink: true,
|
||||
selectOtherMonths: true
|
||||
});
|
||||
</script>
|
||||
--%>
|
||||
Reference in New Issue
Block a user