2025-09-16 16:20 관리자 navi 모듈화 작업
This commit is contained in:
parent
5311bb680e
commit
5827606d0b
149
src/main/java/kcc/com/cmm/web/UserContNavController.java
Normal file
149
src/main/java/kcc/com/cmm/web/UserContNavController.java
Normal file
@ -0,0 +1,149 @@
|
||||
package kcc.com.cmm.web;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.ui.ModelMap;
|
||||
import org.springframework.web.bind.annotation.ModelAttribute;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
|
||||
import kcc.com.cmm.ComDefaultVO;
|
||||
import kcc.com.cmm.service.FileVO;
|
||||
import kcc.let.sym.mnu.mpm.service.EgovMenuManageService;
|
||||
import kcc.let.sym.mnu.mpm.service.MenuManageVO;
|
||||
import kcc.let.sym.prm.service.EgovProgrmManageService;
|
||||
import kcc.let.sym.prm.service.ProgrmManageVO;
|
||||
|
||||
/**
|
||||
* 파일 조회, 삭제, 다운로드 처리를 위한 컨트롤러 클래스
|
||||
* @author 공통서비스개발팀 이삼섭
|
||||
* @since 2009.06.01
|
||||
* @version 1.0
|
||||
* @see
|
||||
*
|
||||
* <pre>
|
||||
* << 개정이력(Modification Information) >>
|
||||
*
|
||||
* 수정일 수정자 수정내용
|
||||
* ------- -------- ---------------------------
|
||||
* 2009.03.25 이삼섭 최초 생성
|
||||
* 2011.08.31 JJY 경량환경 템플릿 커스터마이징버전 생성
|
||||
*
|
||||
* </pre>
|
||||
*/
|
||||
/**
|
||||
* @author User
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* @author User
|
||||
*
|
||||
*/
|
||||
@Controller
|
||||
public class UserContNavController {
|
||||
|
||||
/** EgovProgrmManageService */
|
||||
@Resource(name = "progrmManageService")
|
||||
private EgovProgrmManageService progrmManageService;
|
||||
|
||||
/** EgovMenuManageService */
|
||||
@Resource(name = "meunManageService")
|
||||
private EgovMenuManageService menuManageService;
|
||||
|
||||
/**
|
||||
* 관리자 cont nav 를 생성한다.
|
||||
*
|
||||
* @param fileVO
|
||||
* @param atchFileId
|
||||
* @param sessionVO
|
||||
* @param model
|
||||
* @return
|
||||
* @throws Exception
|
||||
*/
|
||||
@RequestMapping("/cmm/navi/adminContNav.do")
|
||||
public String selectImageFileInfs(@ModelAttribute("searchVO") FileVO fileVO, @RequestParam Map<String, Object> commandMap, ModelMap model) throws Exception {
|
||||
|
||||
//step1.url의 메뉴 코드를 가져온다.
|
||||
String tempUrl = (String) commandMap.get("url");
|
||||
ComDefaultVO searchVO = new ComDefaultVO();
|
||||
searchVO.setSearchKeyword(tempUrl);
|
||||
ProgrmManageVO progrmManageVO = progrmManageService.selectProgrmUrl(searchVO);
|
||||
|
||||
//결과값을 저장하는 list
|
||||
List<ProgrmManageVO> result = new ArrayList<ProgrmManageVO>();
|
||||
|
||||
if (progrmManageVO == null) {
|
||||
|
||||
}else {
|
||||
//step2.해당 메뉴 정보를 가져온다.
|
||||
//list에 담는다.
|
||||
MenuManageVO tempMenuManageVO = new MenuManageVO();
|
||||
tempMenuManageVO.setSearchKeyword(progrmManageVO.getProgrmFileNm());
|
||||
MenuManageVO resultVO = menuManageService.selectMenuManage(tempMenuManageVO) ;
|
||||
|
||||
if (resultVO != null) {
|
||||
//loop
|
||||
//step3.상위가 0 보다 크면 상위 메뉴 정보를 가져온다.
|
||||
//list에 담는다.do{
|
||||
ProgrmManageVO tprogrmManageVO = new ProgrmManageVO();
|
||||
tprogrmManageVO.setProgrmFileNm(resultVO.getMenuNm());
|
||||
result.add(tprogrmManageVO);
|
||||
|
||||
while(resultVO.getMenuNo()>0) {
|
||||
tempMenuManageVO.setSearchKeyword(Integer.toString(resultVO.getUpperMenuId()));
|
||||
resultVO = menuManageService.selectMenuManage(tempMenuManageVO) ;
|
||||
|
||||
if (resultVO.getMenuNo()>0) {
|
||||
ProgrmManageVO ttprogrmManageVO = new ProgrmManageVO();
|
||||
ttprogrmManageVO.setProgrmFileNm(resultVO.getMenuNm());
|
||||
result.add(ttprogrmManageVO);
|
||||
}
|
||||
|
||||
}
|
||||
//step4.상위가 0 이면 리스트를 넘긴다.
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
//수동 이름을 표시한다.
|
||||
String name1 = (String) commandMap.get("name1");
|
||||
String name2 = (String) commandMap.get("name2");
|
||||
String name3 = (String) commandMap.get("name3");
|
||||
|
||||
if (!"".equals(name1)) {
|
||||
ProgrmManageVO ttprogrmManageVO = new ProgrmManageVO();
|
||||
ttprogrmManageVO.setProgrmFileNm(name1);
|
||||
result.add(0, ttprogrmManageVO);
|
||||
}
|
||||
|
||||
if (!"".equals(name2)) {
|
||||
ProgrmManageVO ttprogrmManageVO = new ProgrmManageVO();
|
||||
ttprogrmManageVO.setProgrmFileNm(name2);
|
||||
result.add(0, ttprogrmManageVO);
|
||||
}
|
||||
|
||||
if (!"".equals(name3)) {
|
||||
ProgrmManageVO ttprogrmManageVO = new ProgrmManageVO();
|
||||
ttprogrmManageVO.setProgrmFileNm(name3);
|
||||
result.add(0, ttprogrmManageVO);
|
||||
}
|
||||
|
||||
Collections.reverse(result);
|
||||
|
||||
model.addAttribute("fileList", result);
|
||||
|
||||
System.out.println("result.size()");
|
||||
System.out.println(result.size());
|
||||
System.out.println(result.size());
|
||||
System.out.println(result.size());
|
||||
|
||||
return "cmm/navi/adminContNav";
|
||||
}
|
||||
}
|
||||
44
src/main/webapp/WEB-INF/jsp/cmm/navi/adminContNav.jsp
Normal file
44
src/main/webapp/WEB-INF/jsp/cmm/navi/adminContNav.jsp
Normal file
@ -0,0 +1,44 @@
|
||||
<%@ 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"%>
|
||||
<%
|
||||
/**
|
||||
* @Class Name : EgovImgFileList.jsp
|
||||
* @Description : 이미지 파일 조회화면
|
||||
* @Modification Information
|
||||
* @
|
||||
* @ 수정일 수정자 수정내용
|
||||
* @ ------- -------- ---------------------------
|
||||
* @ 2009.03.31 이삼섭 최초 생성
|
||||
*
|
||||
* @author 공통서비스 개발팀 이삼섭
|
||||
* @since 2009.03.31
|
||||
* @version 1.0
|
||||
* @see
|
||||
*
|
||||
*/
|
||||
%>
|
||||
|
||||
|
||||
<!-- cont_tit -->
|
||||
<div class="cont_tit">
|
||||
<h2>${fileList[fn:length(fileList)-1].progrmFileNm}</h2>
|
||||
<ul class="cont_nav">
|
||||
<li class="home"><a href="/"><i></i></a></li>
|
||||
|
||||
<c:forEach var="fileVO" items="${fileList}" varStatus="status">
|
||||
<c:if test="${fn:length(fileList) <= status.count }">
|
||||
<li><span class="cur_nav">${fileVO.progrmFileNm}</span></li>
|
||||
</c:if>
|
||||
<c:if test="${fn:length(fileList) > status.count }">
|
||||
<li>
|
||||
<p>${fileVO.progrmFileNm}</p>
|
||||
</li>
|
||||
</c:if>
|
||||
</c:forEach>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
<!-- //cont_tit -->
|
||||
@ -208,6 +208,18 @@
|
||||
<div class="box">
|
||||
|
||||
<!-- cont_tit -->
|
||||
<!-- 메뉴에 등록된 URL을 넣으면 해당 메뉴명까지 자동 노출 해줌 -->
|
||||
<!-- 메뉴에 등록되지 않은 메뉴를 마지막에 넣을떄 1 -->
|
||||
<!-- 메뉴에 등록되지 않은 메뉴를 마지막에 넣을떄 2 -->
|
||||
<!-- 메뉴에 등록되지 않은 메뉴를 마지막에 넣을떄 3 -->
|
||||
<c:import url="/cmm/navi/adminContNav.do">
|
||||
<c:param name="url" value="/kccadr/oprtn/cmdTrgt/cndtnEduPrcsMngList.do"/>
|
||||
<c:param name="name1" value="확정과정관리"/>
|
||||
<c:param name="name2" value=""/>
|
||||
<c:param name="name3" value=""/>
|
||||
</c:import>
|
||||
|
||||
<!-- cont_tit
|
||||
<div class="cont_tit">
|
||||
<h2>확정과정관리</h2>
|
||||
<ul class="cont_nav">
|
||||
|
||||
@ -220,6 +220,19 @@
|
||||
<div class="box">
|
||||
|
||||
<!-- cont_tit -->
|
||||
<!-- 메뉴에 등록된 URL을 넣으면 해당 메뉴명까지 자동 노출 해줌 -->
|
||||
<!-- 메뉴에 등록되지 않은 메뉴를 마지막에 넣을떄 1 -->
|
||||
<!-- 메뉴에 등록되지 않은 메뉴를 마지막에 넣을떄 2 -->
|
||||
<!-- 메뉴에 등록되지 않은 메뉴를 마지막에 넣을떄 3 -->
|
||||
<c:import url="/cmm/navi/adminContNav.do">
|
||||
<c:param name="url" value="/kccadr/oprtn/cmdTrgt/cndtnEduPrcsMngList.do"/>
|
||||
<c:param name="name1" value="과정신청기간관리"/>
|
||||
<c:param name="name2" value=""/>
|
||||
<c:param name="name3" value=""/>
|
||||
</c:import>
|
||||
|
||||
<!-- cont_tit -->
|
||||
<!--
|
||||
<div class="cont_tit">
|
||||
<h2>과정신청기간관리</h2>
|
||||
<ul class="cont_nav">
|
||||
@ -229,7 +242,7 @@
|
||||
</li>
|
||||
<li><span class="cur_nav">과정신청기간관리</span></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- //cont_tit -->
|
||||
|
||||
<div class="cont">
|
||||
|
||||
@ -0,0 +1,411 @@
|
||||
<!DOCTYPE html>
|
||||
<%@ 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"%>
|
||||
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
|
||||
<%@ taglib prefix="ve" uri="/WEB-INF/tlds/kcc_tld.tld"%>
|
||||
<%@ taglib prefix="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
|
||||
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
|
||||
<%
|
||||
/**
|
||||
* @Class Name : cndtnEduPrcsAplctPrdMngReg.jsp
|
||||
* @Description : 기반강화연수 과정 신청기간 등록
|
||||
* @Modification Information
|
||||
* @
|
||||
* @ 수정일 수정자 수정내용
|
||||
* @ ------- -------- ---------------------------
|
||||
* @ 2021.12.16 조용준 최초 생성
|
||||
* @author 조용주
|
||||
* @since 2021.12.16
|
||||
* @version 1.0
|
||||
* @see
|
||||
*
|
||||
*/
|
||||
%>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<title>교육과정관리</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<script type="text/javascript">
|
||||
|
||||
$(document).ready(function(){
|
||||
$('#prcsOrd').change(function(){
|
||||
fnSelectDivAndCn($(this).val());
|
||||
});
|
||||
|
||||
$('#nos').on('input', function() {
|
||||
// 숫자만 허용
|
||||
$(this).val($(this).val().replace(/[^0-9]/g, ''));
|
||||
|
||||
// 값이 0으로 시작하면 제거
|
||||
if ($(this).val().charAt(0) == '0') {
|
||||
$(this).val($(this).val().substring(1));
|
||||
}
|
||||
});
|
||||
|
||||
var prcsDiv = "<c:out value='${prcsDiv }' />";
|
||||
prcsDivChk(prcsDiv);
|
||||
|
||||
|
||||
$(".btn_type01").on('click', function(){
|
||||
$("#file_temp").click();
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* prcsDivChk
|
||||
* 10:대면 20:비대면
|
||||
* 10:대면 20:비대면
|
||||
* */
|
||||
function prcsDivChk(prcsDiv){
|
||||
if(prcsDiv==10){
|
||||
$('#tr_eduPlace #thId').text('교육장소');
|
||||
}else{
|
||||
$('#tr_eduPlace #thId').text('관련URL');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
function fncSave(){
|
||||
|
||||
if ($('#prcsCn').val().length>1000){
|
||||
alert("상세교육과정은 1000자 까지만 저장가능합니다.");
|
||||
return;
|
||||
}
|
||||
|
||||
var data = new FormData(document.getElementById("createForm"));
|
||||
|
||||
//첨부파일 등록 처리-step2
|
||||
_fileForm2.forEach(function(obj, idx) {
|
||||
if (obj) data.append("file"+idx, obj.fileObj);
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
if(confirm("저장하시겠습니까?")){
|
||||
var url = "${pageContext.request.contextPath}/kccadr/oprtn/cmdTrgt/cndtnEduPrcsAplctPrdMngRegAjax.do";
|
||||
$.ajax({
|
||||
type:"POST",
|
||||
enctype: 'multipart/form-data',
|
||||
url: url,
|
||||
data: data,
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: false,
|
||||
cache: false,
|
||||
success:function(returnData){
|
||||
if(returnData.result == "success"){
|
||||
alert("저장되었습니다.");
|
||||
fncGoList();
|
||||
}
|
||||
},
|
||||
error:function(request , status, error){
|
||||
alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// div codeNm 가져오는 function
|
||||
function fnSelectDivAndCn(prcsOrdVal){
|
||||
|
||||
var url = "${pageContext.request.contextPath}/kccadr/oprtn/cmdTrgt/cndtnEduPrcsAplctSelectDivAndCnAjax.do";
|
||||
$.ajax({
|
||||
type:"POST",
|
||||
url: url,
|
||||
data:{ "prcsOrd" : prcsOrdVal},
|
||||
dataType:'json',
|
||||
async: false,
|
||||
success:function(returnData){
|
||||
if(returnData.result == "success"){
|
||||
// 대면인지 비대면인지
|
||||
var prcsDiv = returnData.prcsDivCd;
|
||||
prcsDivChk(prcsDiv);
|
||||
$('#prcsDiv').val(returnData.prcsDiv);
|
||||
$('#prcsCn').val(returnData.prcsCn);
|
||||
}
|
||||
},
|
||||
error:function(request , status, error){
|
||||
alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function fncGoList(){
|
||||
var listForm = document.listForm ;
|
||||
listForm.action = "<c:url value='/kccadr/oprtn/cmdTrgt/cndtnEduPrcsAplctPrdMngList.do'/>";
|
||||
listForm.submit();
|
||||
}
|
||||
|
||||
/* 파일등록 */
|
||||
var _fileIdx = 0;
|
||||
var _fileForm2 = new Array();
|
||||
function handleFileUpload(files,obj) //업로드 function
|
||||
{
|
||||
console.log('files', files);
|
||||
var limitsize = 20*1024*1024; //파일 제한 체크(1개, 20MB)
|
||||
for (var i = 0; i < files.length; i++){
|
||||
if(files[i].size > limitsize){
|
||||
alert(files[i].name+"파일 사이즈가"+getStrFileSize(files[i].size)+"로 20MB이하만 업로드 가능합니다.");
|
||||
return ;
|
||||
}
|
||||
}
|
||||
|
||||
for (var i = 0; i < files.length; i++)
|
||||
{
|
||||
var fd = new FormData();
|
||||
fd.append('file', files[i]);
|
||||
var tmpObj = new Object();
|
||||
tmpObj.name = "file_" + _fileIdx;
|
||||
tmpObj.fileObj = files[i];
|
||||
|
||||
_fileForm2.push(tmpObj);
|
||||
sendFileToServer(fd, obj, files[i], _fileIdx);
|
||||
_fileIdx++;
|
||||
|
||||
var totalfileSize = 0;
|
||||
$('.totalfileCount').text($('.item_file_size').length) ;
|
||||
$('.item_file_size').each(function(){
|
||||
totalfileSize += $(this).val()*1 ;
|
||||
});
|
||||
$('.totalfileSize').text(getStrFileSize(totalfileSize)) ;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<form:form id="listForm" name="listForm" commandName="vEPrcsDetailVO" method="post">
|
||||
</form:form>
|
||||
<form:form id="createForm" name="createForm" commandName="adjustDeptManageVO" method="post">
|
||||
<!-- cont -->
|
||||
<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 class="cur_nav"> 과정 신청기간 등록</span></li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- //cont_tit -->
|
||||
|
||||
<div class="cont">
|
||||
<!-- list_상세 -->
|
||||
<div class="tb_tit01">
|
||||
<p>과정 신청기간 등록</p>
|
||||
</div>
|
||||
<div class="tb_type02">
|
||||
<table>
|
||||
<colgroup>
|
||||
<col style="width: 210px;">
|
||||
<col style="width: auto;">
|
||||
<col style="width: 210px;">
|
||||
<col style="width: auto;">
|
||||
</colgroup>
|
||||
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">대면구분</th>
|
||||
<td>
|
||||
<input type="text" name="prcsDiv" id="prcsDiv" readonly="readonly" value="${prcsDivNm }"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">교육과정</th>
|
||||
<td>
|
||||
<%-- <ve:select codeId="VE0015" name="prcsDiv" id="prcsDiv" css="class='sel_type1'" selectedValue="<c:out value='${info.prcsDiv}'/>" defaultValue='10'/> --%>
|
||||
|
||||
<select name="prcsOrd" id="prcsOrd" class="sel_type1">
|
||||
<c:forEach var="listPrcs" items="${listPrcs}" varStatus="status">
|
||||
<option value='<c:out value="${listPrcs.prcsOrd}"/>'><c:out value="${listPrcs.prcsOrd}"/>_<c:out value="${listPrcs.prcsNm}"/></option>
|
||||
</c:forEach>
|
||||
</select>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th scope="row">과정명</th>
|
||||
<td class="addPro_wrap">
|
||||
<input type="text" name="title" id="title" value="${vEEduAplctVO.title}" style="width:500px;" maxLength="30">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th scope="row">교육기간</th>
|
||||
<td>
|
||||
<div class="calendar_wrap">
|
||||
<input type="text" class="calendar" title="교육일 선택" id="eduStrtPnttm" name="eduStrtPnttm" />
|
||||
</div>
|
||||
<%-- ~
|
||||
<div class="calendar_wrap">
|
||||
<input type="text" class="calendar" title="종료일 선택" id="endPnttm" name="endPnttm" value="${vEEduAplctVO.endPnttm}">
|
||||
</div> --%>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="tr_eduPlace">
|
||||
<th scope="row" id="thId">교육장소</th>
|
||||
<td class="addPro_wrap">
|
||||
<input type="text" name="eduPlace" id="eduPlace" value="${vEEduAplctVO.eduPlace}" style="width:800px;" maxlength="80">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">신청기간</th>
|
||||
<td>
|
||||
<div class="calendar_wrap">
|
||||
<input type="text" class="calendar" title="시작일 선택" id="strtPnttm" name="strtPnttm" value="${vEEduAplctVO.eduStrtPnttm}">
|
||||
</div>
|
||||
~
|
||||
<div class="calendar_wrap">
|
||||
<input type="text" class="calendar" title="종료일 선택" id="endPnttm" name="endPnttm" value="${vEEduAplctVO.eduDdlnPnttm}">
|
||||
</div>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">상세교육과정</th>
|
||||
<td>
|
||||
<textarea name="prcsCn" id="prcsCn" class="memo" class="inputLight" style="height: 200px;"><c:out value="${prcsCn }" /></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">정원</th>
|
||||
<td class="addPro_wrap">
|
||||
<input type="text" name="nos" id="nos" value="${vEEduAplctVO.nos}" style="width:100px;" maxLength="6">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">
|
||||
<p>상태</p>
|
||||
</th>
|
||||
<td>
|
||||
<kc:select codeId="VEA004" name="ddlnCd" id="ddlnCd" defaultText="전체" defaultValue="" css="class='sel_type1'" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th scope="row">
|
||||
<p class="req_text"><span>필수입력 항목</span>*</p>
|
||||
<p>첨부파일</p>
|
||||
</th>
|
||||
<td class="upload_area" colspan="3">
|
||||
<!-- <input type="text" id="fileNm" size="30" class="file_input" readonly> --><!-- <button type="button" class="btnType01 btn_add_file">파일 첨부하기</button> -->
|
||||
<div class="file_top">
|
||||
<div class="left_area">
|
||||
<input type="file" id="file_temp" name="file_temp" class="uploadFile" style="display:none"/>
|
||||
<button type="button" id="filebutton" class="btn_type01 btn line blue md">파일 첨부하기</button>
|
||||
</div>
|
||||
|
||||
<p class="cf_text2" style="padding-left:30px;">첨부파일 가능 용량은 20MB입니다. </p><!-- <p style="color:red;font-weight:500">업로드 순서는 1.신청서 2.안내문 입니다.</p> -->
|
||||
</div>
|
||||
|
||||
<div class="file_wrap file_upload_box no_img_box">
|
||||
<table class="tbType02">
|
||||
<caption>첨부파일 리스트 : 파일명, 종류, 크기, 삭제</caption>
|
||||
<colgroup>
|
||||
<col style="width: 60%;">
|
||||
<col style="width: auto;">
|
||||
<col style="width: 20%;">
|
||||
<col style="width: 10%;">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<!-- <th>
|
||||
<input type="checkbox" id="all_check"><label for="all_check"></label>
|
||||
</th> -->
|
||||
<th scope="col">파일 명</th>
|
||||
<th scope="col">종류</th>
|
||||
<th scope="col">크기</th>
|
||||
<th scope="col">삭제</th>
|
||||
</thead>
|
||||
<tbody class="tb_file_before">
|
||||
<tr>
|
||||
<td colspan="4">
|
||||
<p>첨부하실 파일을 <span>마우스로 끌어서</span> 넣어주세요.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="file_wrap fileAfter file_list_div">
|
||||
<table class="tbType02">
|
||||
<caption>첨부파일 리스트 : 파일명, 종류, 크기, 삭제</caption>
|
||||
<colgroup>
|
||||
<col style="width: 60%">
|
||||
<col style="width: 10%">
|
||||
<col style="width: 20%">
|
||||
<col style="width: 10%">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<!-- <th>
|
||||
<input type="checkbox" id="all_check"><label for="all_check"></label>
|
||||
</th> -->
|
||||
<th scope="col">파일 명</th>
|
||||
<th scope="col">종류</th>
|
||||
<th scope="col">크기</th>
|
||||
<th scope="col">삭제</th>
|
||||
</thead>
|
||||
<tbody id="tbody_fiielist" class="tb_file_after">
|
||||
<c:forEach var="fileList" items="${fileList}" varStatus="status">
|
||||
<tr class="item_<c:out value='${fileList.atchFileId}' />_<c:out value='${fileList.fileSn}' /> uploaded_obj">
|
||||
<input type="hidden" name="fileSize" class="item_file_size" value="${fileList.fileSize}">
|
||||
<td class="td_filename">
|
||||
<!-- <img src="/direct/img/upload_hwp_img.png" alt="" /> -->
|
||||
<span class="file_name_text"><c:out value='${fileList.orignlFileNm}' /></span>
|
||||
</td>
|
||||
<td class="td_filesort">
|
||||
<span class="file_filesort_text" value="<c:out value="${fileList.fileExtsn}"/>"><c:out value="${fileList.fileExtsn}"/></span>
|
||||
</td>
|
||||
<td class="td_filesize">
|
||||
<span class="file_size_text" value="<c:out value="${fileList.fileMg}"/>"><c:out value="${fileList.fileMg}"/></span>
|
||||
</td>
|
||||
<td>
|
||||
<button type="button" class="btn_del" onclick="delAtchFile('<c:out value='${fileList.atchFileId}' />', '<c:out value='${fileList.fileSn}' />'); return false;" title="파일삭제"><i></i></button>
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- //list_상세 -->
|
||||
|
||||
<!-- btn_wrap -->
|
||||
<div class="btn_wrap btn_layout01">
|
||||
<div class="btn_left">
|
||||
</div>
|
||||
<div class="btn_center">
|
||||
</div>
|
||||
<div class="btn_right">
|
||||
<button type="button" class="btn_type01" onclick="fncSave(); return false;">저장</button>
|
||||
<button type="button" class="btn_type03" onclick="fncGoList(); return false;">목록</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form:form>
|
||||
<!-- //cont -->
|
||||
</body>
|
||||
</html>
|
||||
@ -52,8 +52,8 @@
|
||||
var listForm = document.listForm ;
|
||||
listForm.pageIndex.value = pageNo ;
|
||||
listForm.searchKeyword.value = $('#searchKeyword').val();
|
||||
listForm.action = "<c:url value='/kccadr/oprtn/cmdTrgt/cndtnEduPrcsMngList.do'/>";
|
||||
listForm.action = "<c:url value='/kccadr/oprtn/cmdTrgt/cndtnEduPrcsAplctPrdMngList.do'/>";
|
||||
listForm.action = "<c:url value='/kccadr/oprtn/cmdTrgt/cndtnEduPrcsMngList.do'/>";
|
||||
//listForm.action = "<c:url value='/kccadr/oprtn/cmdTrgt/cndtnEduPrcsAplctPrdMngList.do'/>";
|
||||
listForm.submit();
|
||||
}
|
||||
|
||||
@ -187,6 +187,19 @@
|
||||
<div class="box">
|
||||
|
||||
<!-- cont_tit -->
|
||||
<!-- 메뉴에 등록된 URL을 넣으면 해당 메뉴명까지 자동 노출 해줌 -->
|
||||
<!-- 메뉴에 등록되지 않은 메뉴를 마지막에 넣을떄 1 -->
|
||||
<!-- 메뉴에 등록되지 않은 메뉴를 마지막에 넣을떄 2 -->
|
||||
<!-- 메뉴에 등록되지 않은 메뉴를 마지막에 넣을떄 3 -->
|
||||
<c:import url="/cmm/navi/adminContNav.do">
|
||||
<c:param name="url" value="/kccadr/oprtn/cmdTrgt/cndtnEduPrcsMngList.do"/>
|
||||
<c:param name="name1" value="과정관리"/>
|
||||
<c:param name="name2" value=""/>
|
||||
<c:param name="name3" value=""/>
|
||||
</c:import>
|
||||
|
||||
<!-- cont_tit -->
|
||||
<!--
|
||||
<div class="cont_tit">
|
||||
<h2>과정관리</h2>
|
||||
<ul class="cont_nav">
|
||||
@ -197,6 +210,7 @@
|
||||
<li><span class="cur_nav">과정관리</span></li>
|
||||
</ul>
|
||||
</div>
|
||||
-->
|
||||
<!-- //cont_tit -->
|
||||
|
||||
<div class="cont">
|
||||
|
||||
@ -558,6 +558,18 @@
|
||||
<div class="box">
|
||||
|
||||
<!-- cont_tit -->
|
||||
<!-- 메뉴에 등록된 URL을 넣으면 해당 메뉴명까지 자동 노출 해줌 -->
|
||||
<!-- 메뉴에 등록되지 않은 메뉴를 마지막에 넣을떄 1 -->
|
||||
<!-- 메뉴에 등록되지 않은 메뉴를 마지막에 넣을떄 2 -->
|
||||
<!-- 메뉴에 등록되지 않은 메뉴를 마지막에 넣을떄 3 -->
|
||||
<c:import url="/cmm/navi/adminContNav.do">
|
||||
<c:param name="url" value="/kccadr/oprtn/cmdTrgt/trgtList.do"/>
|
||||
<c:param name="name1" value=""/>
|
||||
<c:param name="name2" value=""/>
|
||||
<c:param name="name3" value=""/>
|
||||
</c:import>
|
||||
|
||||
<!-- cont_tit
|
||||
<div class="cont_tit">
|
||||
<h2>대상자 목록(시정명령)</h2>
|
||||
<ul class="cont_nav">
|
||||
|
||||
@ -208,6 +208,18 @@
|
||||
<div class="box">
|
||||
|
||||
<!-- cont_tit -->
|
||||
<!-- 메뉴에 등록된 URL을 넣으면 해당 메뉴명까지 자동 노출 해줌 -->
|
||||
<!-- 메뉴에 등록되지 않은 메뉴를 마지막에 넣을떄 1 -->
|
||||
<!-- 메뉴에 등록되지 않은 메뉴를 마지막에 넣을떄 2 -->
|
||||
<!-- 메뉴에 등록되지 않은 메뉴를 마지막에 넣을떄 3 -->
|
||||
<c:import url="/cmm/navi/adminContNav.do">
|
||||
<c:param name="url" value="/kccadr/oprtn/cndtnSspnIdtmt/cndtnEduPrcsMngList.do"/>
|
||||
<c:param name="name1" value="확정과정관리"/>
|
||||
<c:param name="name2" value=""/>
|
||||
<c:param name="name3" value=""/>
|
||||
</c:import>
|
||||
|
||||
<!-- cont_tit
|
||||
<div class="cont_tit">
|
||||
<h2>확정과정관리</h2>
|
||||
<ul class="cont_nav">
|
||||
|
||||
@ -220,6 +220,18 @@
|
||||
<div class="box">
|
||||
|
||||
<!-- cont_tit -->
|
||||
<!-- 메뉴에 등록된 URL을 넣으면 해당 메뉴명까지 자동 노출 해줌 -->
|
||||
<!-- 메뉴에 등록되지 않은 메뉴를 마지막에 넣을떄 1 -->
|
||||
<!-- 메뉴에 등록되지 않은 메뉴를 마지막에 넣을떄 2 -->
|
||||
<!-- 메뉴에 등록되지 않은 메뉴를 마지막에 넣을떄 3 -->
|
||||
<c:import url="/cmm/navi/adminContNav.do">
|
||||
<c:param name="url" value="/kccadr/oprtn/cndtnSspnIdtmt/cndtnEduPrcsMngList.do"/>
|
||||
<c:param name="name1" value="과정신청기간관리"/>
|
||||
<c:param name="name2" value=""/>
|
||||
<c:param name="name3" value=""/>
|
||||
</c:import>
|
||||
|
||||
<!-- cont_tit
|
||||
<div class="cont_tit">
|
||||
<h2>과정신청기간관리</h2>
|
||||
<ul class="cont_nav">
|
||||
|
||||
@ -187,6 +187,18 @@
|
||||
<div class="box">
|
||||
|
||||
<!-- cont_tit -->
|
||||
<!-- 메뉴에 등록된 URL을 넣으면 해당 메뉴명까지 자동 노출 해줌 -->
|
||||
<!-- 메뉴에 등록되지 않은 메뉴를 마지막에 넣을떄 1 -->
|
||||
<!-- 메뉴에 등록되지 않은 메뉴를 마지막에 넣을떄 2 -->
|
||||
<!-- 메뉴에 등록되지 않은 메뉴를 마지막에 넣을떄 3 -->
|
||||
<c:import url="/cmm/navi/adminContNav.do">
|
||||
<c:param name="url" value="/kccadr/oprtn/cndtnSspnIdtmt/cndtnEduPrcsMngList.do"/>
|
||||
<c:param name="name1" value="과정관리"/>
|
||||
<c:param name="name2" value=""/>
|
||||
<c:param name="name3" value=""/>
|
||||
</c:import>
|
||||
|
||||
<!-- cont_tit
|
||||
<div class="cont_tit">
|
||||
<h2>과정관리</h2>
|
||||
<ul class="cont_nav">
|
||||
|
||||
@ -558,6 +558,18 @@
|
||||
<div class="box">
|
||||
|
||||
<!-- cont_tit -->
|
||||
<!-- 메뉴에 등록된 URL을 넣으면 해당 메뉴명까지 자동 노출 해줌 -->
|
||||
<!-- 메뉴에 등록되지 않은 메뉴를 마지막에 넣을떄 1 -->
|
||||
<!-- 메뉴에 등록되지 않은 메뉴를 마지막에 넣을떄 2 -->
|
||||
<!-- 메뉴에 등록되지 않은 메뉴를 마지막에 넣을떄 3 -->
|
||||
<c:import url="/cmm/navi/adminContNav.do">
|
||||
<c:param name="url" value="/kccadr/oprtn/cndtnSspnIdtmt/trgtList.do"/>
|
||||
<c:param name="name1" value=""/>
|
||||
<c:param name="name2" value=""/>
|
||||
<c:param name="name3" value=""/>
|
||||
</c:import>
|
||||
|
||||
<!-- cont_tit
|
||||
<div class="cont_tit">
|
||||
<h2>대상자 목록</h2>
|
||||
<ul class="cont_nav">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user