2023-12-08 18:13 강사료 확정 수정
This commit is contained in:
parent
811ce6b206
commit
1171584ce7
@ -19,7 +19,11 @@ import kcc.com.cmm.service.EgovFileMngUtil;
|
||||
import kcc.com.cmm.service.impl.CmmUseDAO;
|
||||
import kcc.com.utl.user.service.CheckLoginUtil;
|
||||
import kcc.let.utl.fcc.service.EgovCryptoUtil;
|
||||
import kcc.ve.cmm.VeInstrFeeMng;
|
||||
import kcc.ve.instr.tngrVisitEdu.asgnmInfo.service.VEInstrFeeAcmdtVO;
|
||||
import kcc.ve.instr.tngrVisitEdu.asgnmInfo.service.VEInstrFeeService;
|
||||
import kcc.ve.instr.tngrVisitEdu.eduInfo.service.VEEduAplctService;
|
||||
import kcc.ve.instr.tngrVisitEdu.eduInfo.service.VEEduAplctVO;
|
||||
import kcc.ve.instr.tngrVisitEdu.eduInfo.service.VEEduChasiService;
|
||||
import kcc.ve.instr.tngrVisitEdu.eduInfo.service.VEEduMIXService;
|
||||
import kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrDetailVO;
|
||||
@ -126,6 +130,11 @@ public class CndtnInstrMngController {
|
||||
//과정신청기간순번
|
||||
@Resource(name="vePrcsAplctPrdEtcGnrService")
|
||||
private EgovIdGnrService vePrcsAplctPrdEtcGnrService;
|
||||
|
||||
// 강사료
|
||||
@Resource(name = "vEInstrFeeService")
|
||||
private VEInstrFeeService vEInstrFeeService;
|
||||
|
||||
/*
|
||||
|
||||
// 교육신청 서비스단
|
||||
@ -242,6 +251,83 @@ public class CndtnInstrMngController {
|
||||
return "oprtn/cndtnSspnIdtmt/cndtnInstrMngList";
|
||||
}
|
||||
|
||||
/**
|
||||
* 강사료 확정 처리 목록 화면
|
||||
*/
|
||||
//@RequestMapping("eduInstrFeeMngList.do")
|
||||
@RequestMapping("/kccadr/oprtn/cndtnSspnIdtmt/eduInstrFeeMngList.do")
|
||||
public String eduInstrFeeMngList(
|
||||
@ModelAttribute("vEEduAplctVO") VEEduAplctVO vEEduAplctVO
|
||||
, ModelMap model
|
||||
) throws Exception {
|
||||
|
||||
//로그인 처리====================================
|
||||
//로그인 정보 가져오기
|
||||
|
||||
//String s_oprtnLoginCheckNInfo = checkLoginUtil.oprtnCheckNInfo(model);
|
||||
//if (!"".equals(s_oprtnLoginCheckNInfo)) return s_oprtnLoginCheckNInfo;
|
||||
|
||||
//로그인 처리====================================
|
||||
|
||||
try {
|
||||
//담당자 검색 시 이름 암호화
|
||||
if("2".equals(vEEduAplctVO.getSearchCondition())) {
|
||||
vEEduAplctVO.setSearchKeyword(egovCryptoUtil.encrypt(vEEduAplctVO.getSearchKeyword()));
|
||||
}
|
||||
model.addAttribute("cryptoUtil", egovCryptoUtil);
|
||||
|
||||
//1.pageing step1
|
||||
PaginationInfo paginationInfo = this.setPagingStep1_vEEduAplctVO(vEEduAplctVO);
|
||||
|
||||
//2. pageing step2
|
||||
vEEduAplctVO = this.setPagingStep2_vEEduAplctVO(vEEduAplctVO, paginationInfo);
|
||||
//vEEduAplctVO.setLctrDivCd("30"); // 저작권 체험교실 코드
|
||||
vEEduAplctVO.setInstrDiv("60"); // 10-청소년, 20-성인, 30-체험, 40-외부, 50-기반, 60-기소
|
||||
vEEduAplctVO.setLctrDivCd("60"); // 10-청소년, 20-성인, 30-체험, 40-외부, 50-기반, 60-기소
|
||||
vEEduAplctVO.setAprvlCd("60");
|
||||
vEEduAplctVO.setAsgnmAprvlCd("30"); //강사배정 교육승인
|
||||
// vEEduAplctVO.setSearchSubmitYn("Y"); //제출에 대한 강사료 확정 여부
|
||||
vEEduAplctVO.setSearchAsgnmAprvlCd("30");
|
||||
vEEduAplctVO.setSearchTableJoin("tngrResult");
|
||||
|
||||
System.out.println("11111111111111113");
|
||||
|
||||
vEEduAplctVO = egovCryptoUtil.encryptVEEduAplctVOInfo(vEEduAplctVO);
|
||||
List<VEEduAplctVO> vEEduAplctVOList = vEEduMIXService.selectTngrFeePagingList(vEEduAplctVO);
|
||||
VEEduAplctVO vo = new VEEduAplctVO();
|
||||
for(int i=0; i < vEEduAplctVOList.size(); i++) {
|
||||
vo = egovCryptoUtil.decryptVEEduAplctVOInfo(vEEduAplctVOList.get(i));
|
||||
System.out.println(" @@@@@@@@@@@@@ "+vo.getChrgNm());
|
||||
vEEduAplctVOList.get(i).setChrgNm(vo.getChrgNm());
|
||||
|
||||
// 강사료 계산
|
||||
VeInstrFeeMng veInstrFeeMng = new VeInstrFeeMng();
|
||||
VEInstrFeeAcmdtVO vEInstrFeeAcmdtVO = veInstrFeeMng.VeInstrFeeMng4Adult(vEInstrFeeService, vEEduAplctVOList.get(i).getEduAplctOrd(), vEEduAplctVOList.get(i).getEduChasiOrd());
|
||||
vEEduAplctVOList.get(i).setInstrFeeSum(Integer.toString(vEInstrFeeAcmdtVO.getInstrFeeSum()));
|
||||
}
|
||||
|
||||
System.out.println("11111111111111112");
|
||||
|
||||
//3.pageing step3
|
||||
paginationInfo = this.setPagingStep3_vEEduAplctVO(vEEduAplctVOList, paginationInfo);
|
||||
|
||||
|
||||
model.addAttribute("paginationInfo", paginationInfo);
|
||||
|
||||
|
||||
//대상 리스트, 페이징 정보 전달
|
||||
model.addAttribute("list", vEEduAplctVOList);
|
||||
|
||||
System.out.println("1111111111111111");
|
||||
|
||||
//대상 리스트, 페이징 정보 전달
|
||||
//model.addAttribute("resultList", vEEduAplctVOList);
|
||||
}catch(Exception ex) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
|
||||
return "oprtn/cndtnSspnIdtmt/eduInstrFeeMngList";
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
@ -314,4 +400,50 @@ public class CndtnInstrMngController {
|
||||
return p_paginationInfo;
|
||||
}
|
||||
|
||||
//페이징을 위한 처리 step1 - 페이징 기본 정보 설정
|
||||
private PaginationInfo setPagingStep1_vEEduAplctVO(
|
||||
VEEduAplctVO p_vEEduAplctVO
|
||||
)throws Exception{
|
||||
// pageing step1
|
||||
PaginationInfo paginationInfo = new PaginationInfo();
|
||||
paginationInfo.setCurrentPageNo(p_vEEduAplctVO.getPageIndex());
|
||||
paginationInfo.setRecordCountPerPage(p_vEEduAplctVO.getPageUnit());
|
||||
paginationInfo.setPageSize(p_vEEduAplctVO.getPageSize());
|
||||
|
||||
return paginationInfo;
|
||||
}
|
||||
|
||||
|
||||
//페이징을 위한 처리 step2 - 게시물 리스트 수량 설정 및 검색 조건 초기화
|
||||
private VEEduAplctVO setPagingStep2_vEEduAplctVO(
|
||||
VEEduAplctVO p_vEEduAplctVO
|
||||
, PaginationInfo p_paginationInfo
|
||||
)throws Exception{
|
||||
// pageing step2
|
||||
p_vEEduAplctVO.setFirstIndex(p_paginationInfo.getFirstRecordIndex());
|
||||
p_vEEduAplctVO.setLastIndex(p_paginationInfo.getLastRecordIndex());
|
||||
p_vEEduAplctVO.setRecordCountPerPage(p_paginationInfo.getRecordCountPerPage());
|
||||
|
||||
if("".equals(p_vEEduAplctVO.getSearchSortCnd())){ //최초조회시 최신것 조회List
|
||||
p_vEEduAplctVO.setSearchSortCnd("prcs_ord");
|
||||
p_vEEduAplctVO.setSearchSortOrd("desc");
|
||||
}
|
||||
|
||||
return p_vEEduAplctVO;
|
||||
}
|
||||
|
||||
|
||||
//페이징을 위한 처리 step3 - 전체 게시물 수량 설정하기
|
||||
private PaginationInfo setPagingStep3_vEEduAplctVO(
|
||||
List<VEEduAplctVO> p_vEEduAplctVOList
|
||||
|
||||
, PaginationInfo p_paginationInfo
|
||||
)throws Exception{
|
||||
// pageing step3
|
||||
int totCnt = 0;
|
||||
if(p_vEEduAplctVOList.size() > 0) totCnt = p_vEEduAplctVOList.get(0).getTotCnt();
|
||||
p_paginationInfo.setTotalRecordCount(totCnt);
|
||||
|
||||
return p_paginationInfo;
|
||||
}
|
||||
}
|
||||
|
||||
@ -19,7 +19,11 @@ import kcc.com.cmm.service.EgovFileMngUtil;
|
||||
import kcc.com.cmm.service.impl.CmmUseDAO;
|
||||
import kcc.com.utl.user.service.CheckLoginUtil;
|
||||
import kcc.let.utl.fcc.service.EgovCryptoUtil;
|
||||
import kcc.ve.cmm.VeInstrFeeMng;
|
||||
import kcc.ve.instr.tngrVisitEdu.asgnmInfo.service.VEInstrFeeAcmdtVO;
|
||||
import kcc.ve.instr.tngrVisitEdu.asgnmInfo.service.VEInstrFeeService;
|
||||
import kcc.ve.instr.tngrVisitEdu.eduInfo.service.VEEduAplctService;
|
||||
import kcc.ve.instr.tngrVisitEdu.eduInfo.service.VEEduAplctVO;
|
||||
import kcc.ve.instr.tngrVisitEdu.eduInfo.service.VEEduChasiService;
|
||||
import kcc.ve.instr.tngrVisitEdu.eduInfo.service.VEEduMIXService;
|
||||
import kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrDetailVO;
|
||||
@ -126,6 +130,11 @@ public class FndthInstrMngController {
|
||||
//과정신청기간순번
|
||||
@Resource(name="vePrcsAplctPrdEtcGnrService")
|
||||
private EgovIdGnrService vePrcsAplctPrdEtcGnrService;
|
||||
|
||||
// 강사료
|
||||
@Resource(name = "vEInstrFeeService")
|
||||
private VEInstrFeeService vEInstrFeeService;
|
||||
|
||||
/*
|
||||
|
||||
// 교육신청 서비스단
|
||||
@ -243,6 +252,84 @@ public class FndthInstrMngController {
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 강사료 확정 처리 목록 화면
|
||||
*/
|
||||
//@RequestMapping("eduInstrFeeMngList.do")
|
||||
@RequestMapping("/kccadr/oprtn/fndthEnhanceTrn/eduInstrFeeMngList.do")
|
||||
public String eduInstrFeeMngList(
|
||||
@ModelAttribute("vEEduAplctVO") VEEduAplctVO vEEduAplctVO
|
||||
, ModelMap model
|
||||
) throws Exception {
|
||||
|
||||
//로그인 처리====================================
|
||||
//로그인 정보 가져오기
|
||||
|
||||
//String s_oprtnLoginCheckNInfo = checkLoginUtil.oprtnCheckNInfo(model);
|
||||
//if (!"".equals(s_oprtnLoginCheckNInfo)) return s_oprtnLoginCheckNInfo;
|
||||
|
||||
//로그인 처리====================================
|
||||
|
||||
try {
|
||||
//담당자 검색 시 이름 암호화
|
||||
if("2".equals(vEEduAplctVO.getSearchCondition())) {
|
||||
vEEduAplctVO.setSearchKeyword(egovCryptoUtil.encrypt(vEEduAplctVO.getSearchKeyword()));
|
||||
}
|
||||
model.addAttribute("cryptoUtil", egovCryptoUtil);
|
||||
|
||||
//1.pageing step1
|
||||
PaginationInfo paginationInfo = this.setPagingStep1_vEEduAplctVO(vEEduAplctVO);
|
||||
|
||||
//2. pageing step2
|
||||
vEEduAplctVO = this.setPagingStep2_vEEduAplctVO(vEEduAplctVO, paginationInfo);
|
||||
//vEEduAplctVO.setLctrDivCd("30"); // 저작권 체험교실 코드
|
||||
vEEduAplctVO.setInstrDiv("50"); // 10-청소년, 20-성인, 30-체험, 40-외부, 50-기반, 60-기소
|
||||
vEEduAplctVO.setLctrDivCd("50"); // 10-청소년, 20-성인, 30-체험, 40-외부, 50-기반, 60-기소
|
||||
vEEduAplctVO.setAprvlCd("60");
|
||||
vEEduAplctVO.setAsgnmAprvlCd("30"); //강사배정 교육승인
|
||||
// vEEduAplctVO.setSearchSubmitYn("Y"); //제출에 대한 강사료 확정 여부
|
||||
vEEduAplctVO.setSearchAsgnmAprvlCd("30");
|
||||
vEEduAplctVO.setSearchTableJoin("tngrResult");
|
||||
|
||||
System.out.println("11111111111111113");
|
||||
|
||||
vEEduAplctVO = egovCryptoUtil.encryptVEEduAplctVOInfo(vEEduAplctVO);
|
||||
List<VEEduAplctVO> vEEduAplctVOList = vEEduMIXService.selectTngrFeePagingList(vEEduAplctVO);
|
||||
VEEduAplctVO vo = new VEEduAplctVO();
|
||||
for(int i=0; i < vEEduAplctVOList.size(); i++) {
|
||||
vo = egovCryptoUtil.decryptVEEduAplctVOInfo(vEEduAplctVOList.get(i));
|
||||
System.out.println(" @@@@@@@@@@@@@ "+vo.getChrgNm());
|
||||
vEEduAplctVOList.get(i).setChrgNm(vo.getChrgNm());
|
||||
|
||||
// 강사료 계산
|
||||
VeInstrFeeMng veInstrFeeMng = new VeInstrFeeMng();
|
||||
VEInstrFeeAcmdtVO vEInstrFeeAcmdtVO = veInstrFeeMng.VeInstrFeeMng4Adult(vEInstrFeeService, vEEduAplctVOList.get(i).getEduAplctOrd(), vEEduAplctVOList.get(i).getEduChasiOrd());
|
||||
vEEduAplctVOList.get(i).setInstrFeeSum(Integer.toString(vEInstrFeeAcmdtVO.getInstrFeeSum()));
|
||||
}
|
||||
|
||||
System.out.println("11111111111111112");
|
||||
|
||||
//3.pageing step3
|
||||
paginationInfo = this.setPagingStep3_vEEduAplctVO(vEEduAplctVOList, paginationInfo);
|
||||
|
||||
|
||||
model.addAttribute("paginationInfo", paginationInfo);
|
||||
|
||||
|
||||
//대상 리스트, 페이징 정보 전달
|
||||
model.addAttribute("list", vEEduAplctVOList);
|
||||
|
||||
System.out.println("1111111111111111");
|
||||
|
||||
//대상 리스트, 페이징 정보 전달
|
||||
//model.addAttribute("resultList", vEEduAplctVOList);
|
||||
}catch(Exception ex) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
|
||||
return "oprtn/fndthEnhanceTrn/eduInstrFeeMngList";
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
//
|
||||
@ -314,4 +401,51 @@ public class FndthInstrMngController {
|
||||
return p_paginationInfo;
|
||||
}
|
||||
|
||||
|
||||
//페이징을 위한 처리 step1 - 페이징 기본 정보 설정
|
||||
private PaginationInfo setPagingStep1_vEEduAplctVO(
|
||||
VEEduAplctVO p_vEEduAplctVO
|
||||
)throws Exception{
|
||||
// pageing step1
|
||||
PaginationInfo paginationInfo = new PaginationInfo();
|
||||
paginationInfo.setCurrentPageNo(p_vEEduAplctVO.getPageIndex());
|
||||
paginationInfo.setRecordCountPerPage(p_vEEduAplctVO.getPageUnit());
|
||||
paginationInfo.setPageSize(p_vEEduAplctVO.getPageSize());
|
||||
|
||||
return paginationInfo;
|
||||
}
|
||||
|
||||
|
||||
//페이징을 위한 처리 step2 - 게시물 리스트 수량 설정 및 검색 조건 초기화
|
||||
private VEEduAplctVO setPagingStep2_vEEduAplctVO(
|
||||
VEEduAplctVO p_vEEduAplctVO
|
||||
, PaginationInfo p_paginationInfo
|
||||
)throws Exception{
|
||||
// pageing step2
|
||||
p_vEEduAplctVO.setFirstIndex(p_paginationInfo.getFirstRecordIndex());
|
||||
p_vEEduAplctVO.setLastIndex(p_paginationInfo.getLastRecordIndex());
|
||||
p_vEEduAplctVO.setRecordCountPerPage(p_paginationInfo.getRecordCountPerPage());
|
||||
|
||||
if("".equals(p_vEEduAplctVO.getSearchSortCnd())){ //최초조회시 최신것 조회List
|
||||
p_vEEduAplctVO.setSearchSortCnd("prcs_ord");
|
||||
p_vEEduAplctVO.setSearchSortOrd("desc");
|
||||
}
|
||||
|
||||
return p_vEEduAplctVO;
|
||||
}
|
||||
|
||||
|
||||
//페이징을 위한 처리 step3 - 전체 게시물 수량 설정하기
|
||||
private PaginationInfo setPagingStep3_vEEduAplctVO(
|
||||
List<VEEduAplctVO> p_vEEduAplctVOList
|
||||
|
||||
, PaginationInfo p_paginationInfo
|
||||
)throws Exception{
|
||||
// pageing step3
|
||||
int totCnt = 0;
|
||||
if(p_vEEduAplctVOList.size() > 0) totCnt = p_vEEduAplctVOList.get(0).getTotCnt();
|
||||
p_paginationInfo.setTotalRecordCount(totCnt);
|
||||
|
||||
return p_paginationInfo;
|
||||
}
|
||||
}
|
||||
|
||||
@ -228,7 +228,7 @@
|
||||
<ul class="cont_nav">
|
||||
<li class="home"><a href="/"><i></i></a></li>
|
||||
<li>
|
||||
<p>청소년 찾아가는 저작권 교육</p>
|
||||
<p>성인 찾아가는 저작권 교육</p>
|
||||
</li>
|
||||
<li><span class="cur_nav">강사료 확정 관리</span></li>
|
||||
</ul>
|
||||
|
||||
@ -0,0 +1,417 @@
|
||||
<!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="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
|
||||
<%@ taglib prefix="ve" uri="/WEB-INF/tlds/kcc_tld.tld"%>
|
||||
<%@ taglib prefix="un" uri="http://jakarta.apache.org/taglibs/unstandard-1.0" %>
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
|
||||
<un:useConstants var="KccadrStatus" className="kcc.kccadr.cmm.KccadrConstants" />
|
||||
<%
|
||||
/**
|
||||
* @Class Name : eduInstrFeeMngList.jsp
|
||||
* @Description : 강사료 확정 관리 > 강사료 확정 목록
|
||||
* @Modification Information
|
||||
* @
|
||||
* @ 수정일 수정자 수정내용
|
||||
* @ ------- -------- ---------------------------
|
||||
* @ 2022.12.7 안주영 최초 생성
|
||||
* @author 안주영
|
||||
* @since 2022.2.7
|
||||
* @version 1.0
|
||||
* @see
|
||||
*
|
||||
*/
|
||||
%>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<style>
|
||||
input:read-only{
|
||||
background-color: #ededed;
|
||||
}
|
||||
</style>
|
||||
<script src="${pageContext.request.contextPath}/js/ve/sendSmsEmailUtil.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
|
||||
});
|
||||
|
||||
function press(event) {
|
||||
if (event.keyCode==13) {
|
||||
fncGoList();
|
||||
}
|
||||
}
|
||||
|
||||
function fncGoList(){
|
||||
linkPage(1);
|
||||
}
|
||||
|
||||
function linkPage(pageNo){
|
||||
var listForm = document.listForm ;
|
||||
listForm.pageIndex.value = pageNo ;
|
||||
listForm.searchCondition.value = $('#searchCondition').val();
|
||||
listForm.searchKeyword.value = $('#searchKeyword').val();
|
||||
listForm.action = "<c:url value='/kccadr/oprtn/cndtnSspnIdtmt/eduInstrFeeMngList.do'/>";
|
||||
listForm.submit();
|
||||
}
|
||||
|
||||
function chkAll(thisObj){
|
||||
$("input[name=chk]").prop("checked" , $(thisObj).is(":checked"));
|
||||
}
|
||||
|
||||
|
||||
//강사료 팝업
|
||||
function fncInstrCostInfo(eduAplctOrd,eduChasiOrd) {
|
||||
document.popForm.eduAplctOrd.value = eduAplctOrd;
|
||||
document.popForm.eduChasiOrd.value = eduChasiOrd;
|
||||
document.popForm.action = "<c:url value='/kccadr/oprtn/adultVisitEdu/popup/instrCostPopup.do'/>";
|
||||
window.open("", "_instrCostPop", "scrollbars = no, top=100px, left=100px, height=750px, width=750px");
|
||||
document.popForm.target = "_instrCostPop";
|
||||
document.popForm.submit();
|
||||
}
|
||||
|
||||
|
||||
// 강사료 확정
|
||||
function fnInstrFeeCnfrm() {
|
||||
var chkLen = $(listForm).find("input[name=chk]:checked").length;
|
||||
|
||||
if(chkLen == 0){
|
||||
alert("선택된 항목이 없습니다.");
|
||||
return;
|
||||
}
|
||||
/*
|
||||
var fnExit = false;
|
||||
$('input:checkbox[name="chk"]:checked').each(function() {
|
||||
if($(this).attr("class") == null || $(this).attr("class") == '') {
|
||||
alert("선택한 목록 중 패널티 등록이 불가능한 건이 있습니다.");
|
||||
fnExit = true;
|
||||
}
|
||||
});
|
||||
//체크한 리스트 중 해당 상태에 실행 불가능한 건이 있는지 체크 후, 존재 시 함수 종료
|
||||
if(fnExit) return false;
|
||||
*/
|
||||
|
||||
$("#sbmtYn").val("Y");
|
||||
|
||||
var data1 = new FormData(document.getElementById("listForm"));
|
||||
if(confirm("선택한 목록의 강사료를 확정하시겠습니까?")){
|
||||
$.ajax({
|
||||
type:"POST",
|
||||
url: "${pageContext.request.contextPath}/kccadr/oprtn/adultVisitEdu/eduInstrFeeCnfrmAjax.do",
|
||||
data: data1,
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: false,
|
||||
cache: false,
|
||||
success:function(returnData){
|
||||
if(returnData.result == 'success'){
|
||||
alert("처리 되었습니다.");
|
||||
location.reload();
|
||||
}
|
||||
},
|
||||
error:function(request , status, error){
|
||||
alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
//숙박영수증 첨부파일 일괄 다운로드(zip) - 파일ID 다름, SN 동일 : type A
|
||||
function fnAcmdtFileZipDownload(){
|
||||
var frm = document.listForm;
|
||||
|
||||
var checkboxId = Array();
|
||||
var checkboxSn = Array();
|
||||
var checkboxCnt = 0;
|
||||
|
||||
var checkbox_check = false;
|
||||
var checkbox_index = false;
|
||||
$('input:checkbox[name="chk"]').each(function(){
|
||||
if($(this).is(":checked")){
|
||||
|
||||
checkbox_check = true;
|
||||
if($(this).attr("class") != ""){
|
||||
checkboxId[checkboxCnt] = $(this).attr("class");
|
||||
checkboxSn[checkboxCnt] = "0"
|
||||
checkboxCnt++;
|
||||
checkbox_index = true;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
if(!checkbox_check){
|
||||
alert("선택된 항목이 없습니다.");
|
||||
return false;
|
||||
}else if(!checkbox_index){
|
||||
alert("다운로드할 영수증이 없습니다.");
|
||||
return false;
|
||||
}
|
||||
|
||||
frm.orgnZipNm.value="숙박영수증.zip";
|
||||
frm.downloadType.value="A";
|
||||
frm.action="${pageContext.request.contextPath}/cmm/fms/fileDownZip.do?atchFileId="+checkboxId+"&fileSn="+checkboxSn;
|
||||
frm.submit();
|
||||
}
|
||||
|
||||
function excelDownLoad(){
|
||||
var listForm = document.listForm ;
|
||||
listForm.action = "<c:url value='/kccadr/oprtn/adultVisitEdu/eduInstrFeeExcelDownLoad.do'/>";
|
||||
listForm.submit();
|
||||
}
|
||||
|
||||
function fncReset(thisObj){
|
||||
var targetObj = $(thisObj).closest('.list_top').find('select,input');
|
||||
$.each(targetObj, function(){
|
||||
if($(this).prop('tagName') == 'SELECT'){
|
||||
if($(this).attr('name').indexOf('Month') != -1){
|
||||
$(this).val(new Date().getMonth()+1);
|
||||
}else if($(this).attr('name').indexOf('Year') != -1){
|
||||
$(this).val(new Date().getFullYear());
|
||||
}else{
|
||||
$(this).prop("selectedIndex", 0);
|
||||
}
|
||||
}else{
|
||||
$(this).val('');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function chkSendSms(){
|
||||
var chkLen = $(listForm).find("input[name=chk]:checked").length;
|
||||
|
||||
if(chkLen == 0){
|
||||
alert("선택된 항목이 없습니다.");
|
||||
return;
|
||||
}
|
||||
|
||||
$('input:checkbox[name="chk"]:checked').each(function() {
|
||||
sendSms(
|
||||
$(this).data('instrphone'),
|
||||
"교육운영 관리 시스템입니다." + $(this).data('instrnm')+"님의 " + $(this).data('date') + " 교육 강사료는 " + $(this).data('instrfeesum') +"입니다.",
|
||||
$(this).val().split('@')[0],
|
||||
$(this).data('userid'),
|
||||
"N"
|
||||
);
|
||||
});
|
||||
alert("발송되었습니다.");
|
||||
|
||||
}
|
||||
</script>
|
||||
<title>신청관리</title>
|
||||
</head>
|
||||
<body>
|
||||
<form id="popForm" name="popForm" method="post">
|
||||
<input type="hidden" name="eduAplctOrd" value=""/>
|
||||
<input type="hidden" name="eduChasiOrd" value=""/>
|
||||
</form>
|
||||
<form:form id="listForm" name="listForm" method="post" onsubmit="return false;">
|
||||
<input type="hidden" name="pageIndex" value="<c:out value='${vEEduAplctVO.pageIndex}' default='1' />"/>
|
||||
<input type="hidden" name="searchSortCnd" value="<c:out value="${vEEduAplctVO.searchSortCnd}" />" />
|
||||
<input type="hidden" name="searchSortOrd" value="<c:out value="${vEEduAplctVO.searchSortOrd}" />" />
|
||||
<input type="hidden" name="eduAplctOrd" value="" />
|
||||
<input type="hidden" name="eduChasiOrd" value="" />
|
||||
<input type="hidden" name="sbmtYn" id="sbmtYn" value="" />
|
||||
<input type="hidden" name="orgnZipNm" value="" />
|
||||
<input type="hidden" name="downloadType" value="" />
|
||||
|
||||
<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_top -->
|
||||
<div class="list_top">
|
||||
<div class="list_top_1">
|
||||
<div class="util_left">
|
||||
<p>구분</p>
|
||||
</div>
|
||||
<div class="util_right">
|
||||
<ve:select codeId="VE0012" name="searchInsttDivCd" id="searchInsttDivCd" styleClass="sel_type1" selectedValue="${vEEduAplctVO.searchInsttDivCd}" defaultValue="" defaultText='전체'/>
|
||||
<ve:select codeId="VE0007" name="searchEduSlctCd" id="searchEduSlctCd" styleClass="sel_type1" selectedValue="${vEEduAplctVO.searchEduSlctCd}" defaultValue="" defaultText='전체'/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="list_top_2">
|
||||
<div class="util_left">
|
||||
<p>교육일자</p>
|
||||
</div>
|
||||
<div class="util_right">
|
||||
<div class="calendar_wrap">
|
||||
<input type="text" class="calendar" title="시작일 선택" id="searchStartDt" name="searchStartDt" value="<c:out value='${vEEduAplctVO.searchStartDt}'/>">
|
||||
</div>
|
||||
~
|
||||
<div class="calendar_wrap">
|
||||
<input type="text" class="calendar" title="종료일 선택" id="searchEndDt" name="searchEndDt" value="<c:out value='${vEEduAplctVO.searchEndDt}'/>">
|
||||
</div>
|
||||
|
||||
<select class="sel_type1" name="searchCondition" id="searchCondition">
|
||||
<option value="4" ${vEEduAplctVO.searchCondition eq '4' ? 'selected' : '' }>기관(단체)명</option>
|
||||
<option value="2" ${vEEduAplctVO.searchCondition eq '2' ? 'selected' : '' }>강사이름</option>
|
||||
</select>
|
||||
|
||||
<input type="text" id=searchKeyword name="searchKeyword" class="search_input" placeholder="검색어를 입력하세요" value="<c:out value='${cryptoUtil.decrypt(vEEduAplctVO.searchKeyword)}'/>" onkeyDown="press(event);">
|
||||
<button class="btn_type08" onclick="fncGoList(); return false;">검색</button>
|
||||
<button class="btn_type03" onclick="fncReset(this); return false;">초기화</button>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- //list_top -->
|
||||
|
||||
<!-- list util -->
|
||||
<div class="list_util">
|
||||
<p class="list_util_p">총 건수 : <span><c:out value="${paginationInfo.totalRecordCount}" /></span>건</p>
|
||||
<div>
|
||||
<select class="sel_type1" name="pageUnit" id="pageUnit" onchange="linkPage(1);" title="줄 선택" style="width: 140px">
|
||||
<option value='10' <c:if test="${vEEduAplctVO.pageUnit == '10' or vEEduAplctVO.pageUnit == ''}">selected</c:if>>10줄</option>
|
||||
<option value='20' <c:if test="${vEEduAplctVO.pageUnit == '20'}">selected</c:if>>20줄</option>
|
||||
<option value='30' <c:if test="${vEEduAplctVO.pageUnit == '30'}">selected</c:if>>30줄</option>
|
||||
<option value='100' <c:if test="${vEEduAplctVO.pageUnit == '100'}">selected</c:if>>100줄</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- list -->
|
||||
<div class="tb_type01">
|
||||
<table>
|
||||
<colgroup>
|
||||
<col style="width: 5%;">
|
||||
<col style="width: 10%;">
|
||||
<col style="width: 14%;">
|
||||
<col style="width: 8%;">
|
||||
<col style="width: 10%;">
|
||||
<col style="width: auto">
|
||||
<col style="width: 9%;">
|
||||
<col style="width: 9%;">
|
||||
<col style="width: 8%;">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th><input type="checkbox" name="checkAll" id="checkAll" onclick="chkAll(this);" /><label for="checkAll"></label></th>
|
||||
<th>교육일자</th>
|
||||
<th>차시</th>
|
||||
<th>기관구분</th>
|
||||
<th>신청유형</th>
|
||||
<th>기관(단체)명</th>
|
||||
<th>강사이름</th>
|
||||
<th>강사료</th>
|
||||
<th>확정여부</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<c:forEach var="list" items="${list}" varStatus="status">
|
||||
<tr>
|
||||
<td>
|
||||
<input name="chk" class="${list.atchFileId}" value="${list.eduAplctOrd}@${list.eduChasiOrd}"
|
||||
data-instrphone="<c:out value='${list.instrPhone}' />" data-userid="<c:out value='${list.userId}' />"
|
||||
data-date="<c:out value='${list.eduHopeDt}' /> <c:out value='${list.strtTm}' /> ~ <c:out value='${list.endTm}' />"
|
||||
data-instrnm="<c:out value='${list.instrNm}' />" data-instrfeesum="<c:out value='${list.instrFeeSum}' />"
|
||||
title="Check" type="checkbox"/>
|
||||
</td>
|
||||
<!--
|
||||
<td>
|
||||
<c:if test="${list.cnt eq 0}">미제출</c:if><c:if test="${list.cnt gt 0}">제출</c:if>
|
||||
</td>
|
||||
-->
|
||||
<td>
|
||||
${list.eduHopeDt}
|
||||
<%-- <fmt:parseDate value="${list.eduHopeDt}" var="eduHopeDt" pattern="yyyy.MM.dd"/> --%>
|
||||
<%-- <fmt:formatDate value="${eduHopeDt}" pattern="yyyy.MM.dd"/> --%>
|
||||
</td>
|
||||
<td>
|
||||
<c:choose>
|
||||
<c:when test="${fn:length(list.strtTm) eq 4}">
|
||||
<fmt:parseDate value="${list.strtTm}" var="strtTm" pattern="kkmm"/><fmt:formatDate value="${strtTm}" pattern="kk:mm"/>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
${list.strtTm}
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
~
|
||||
<c:choose>
|
||||
<c:when test="${fn:length(list.endTm) eq 4}">
|
||||
<fmt:parseDate value="${list.endTm}" var="endTm" pattern="kkmm"/><fmt:formatDate value="${endTm}" pattern="kk:mm"/>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
${list.strtTm}
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
(<c:out value="${list.lrnTm}"/>분)
|
||||
</td>
|
||||
<td>
|
||||
<ve:code codeId="VE0012" code="${list.insttDivCd}"/>
|
||||
</td>
|
||||
<td>
|
||||
<ve:code codeId="VE0007" code="${list.eduSlctCd}"/>
|
||||
</td>
|
||||
<td>
|
||||
<c:out value="${list.insttNm}"/>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<c:out value="${list.instrNm}"/>
|
||||
<c:if test="${list.instrNm ne null}">
|
||||
<br/>(${fn:split(list.userId,'_')[1]*1})
|
||||
</c:if>
|
||||
</td>
|
||||
<td>
|
||||
<a href="#none" style="font-weight: 600; text-decoration-line: underline;"
|
||||
onclick="fncInstrCostInfo('<c:out value="${list.eduAplctOrd}" />','<c:out value="${list.eduChasiOrd}" />'); return false;">
|
||||
<fmt:formatNumber value="${list.instrFeeSum}" pattern="#,###"/>
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<c:if test="${list.feeSbmtYn eq 'Y'}">확정</c:if>
|
||||
<c:if test="${list.feeSbmtYn ne 'Y'}">미확정</c:if>
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
<c:if test="${empty list}">
|
||||
<tr><td colspan="9"><spring:message code="common.nodata.msg" /></td></tr>
|
||||
</c:if>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- //list -->
|
||||
<!-- page -->
|
||||
<div class="page">
|
||||
<ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
|
||||
</div>
|
||||
<!-- //page -->
|
||||
<div class="btn_wrap btn_layout01">
|
||||
<div class="btn_left">
|
||||
<!-- <button type="button" class="btn_type06" onclick="fnAcmdtFileZipDownload(); return false;">숙박영수증다운로드</button> -->
|
||||
<button type="button" class="btn_type06" onclick="excelDownLoad();">지급내역다운로드</button>
|
||||
<button type="button" class="btn_type06" onclick="chkSendSms();">강사료 안내 문자발송</button>
|
||||
</div>
|
||||
<div class="btn_center">
|
||||
</div>
|
||||
<div class="btn_right">
|
||||
<button type="button" class="btn_type04" onclick="fnInstrFeeCnfrm(); return false;">강사료 확정</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- //cont -->
|
||||
|
||||
</form:form>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@ -0,0 +1,417 @@
|
||||
<!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="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
|
||||
<%@ taglib prefix="ve" uri="/WEB-INF/tlds/kcc_tld.tld"%>
|
||||
<%@ taglib prefix="un" uri="http://jakarta.apache.org/taglibs/unstandard-1.0" %>
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
|
||||
<un:useConstants var="KccadrStatus" className="kcc.kccadr.cmm.KccadrConstants" />
|
||||
<%
|
||||
/**
|
||||
* @Class Name : eduInstrFeeMngList.jsp
|
||||
* @Description : 강사료 확정 관리 > 강사료 확정 목록
|
||||
* @Modification Information
|
||||
* @
|
||||
* @ 수정일 수정자 수정내용
|
||||
* @ ------- -------- ---------------------------
|
||||
* @ 2022.12.7 안주영 최초 생성
|
||||
* @author 안주영
|
||||
* @since 2022.2.7
|
||||
* @version 1.0
|
||||
* @see
|
||||
*
|
||||
*/
|
||||
%>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<style>
|
||||
input:read-only{
|
||||
background-color: #ededed;
|
||||
}
|
||||
</style>
|
||||
<script src="${pageContext.request.contextPath}/js/ve/sendSmsEmailUtil.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
|
||||
});
|
||||
|
||||
function press(event) {
|
||||
if (event.keyCode==13) {
|
||||
fncGoList();
|
||||
}
|
||||
}
|
||||
|
||||
function fncGoList(){
|
||||
linkPage(1);
|
||||
}
|
||||
|
||||
function linkPage(pageNo){
|
||||
var listForm = document.listForm ;
|
||||
listForm.pageIndex.value = pageNo ;
|
||||
listForm.searchCondition.value = $('#searchCondition').val();
|
||||
listForm.searchKeyword.value = $('#searchKeyword').val();
|
||||
listForm.action = "<c:url value='/kccadr/oprtn/fndthEnhanceTrn/eduInstrFeeMngList.do'/>";
|
||||
listForm.submit();
|
||||
}
|
||||
|
||||
function chkAll(thisObj){
|
||||
$("input[name=chk]").prop("checked" , $(thisObj).is(":checked"));
|
||||
}
|
||||
|
||||
|
||||
//강사료 팝업
|
||||
function fncInstrCostInfo(eduAplctOrd,eduChasiOrd) {
|
||||
document.popForm.eduAplctOrd.value = eduAplctOrd;
|
||||
document.popForm.eduChasiOrd.value = eduChasiOrd;
|
||||
document.popForm.action = "<c:url value='/kccadr/oprtn/adultVisitEdu/popup/instrCostPopup.do'/>";
|
||||
window.open("", "_instrCostPop", "scrollbars = no, top=100px, left=100px, height=750px, width=750px");
|
||||
document.popForm.target = "_instrCostPop";
|
||||
document.popForm.submit();
|
||||
}
|
||||
|
||||
|
||||
// 강사료 확정
|
||||
function fnInstrFeeCnfrm() {
|
||||
var chkLen = $(listForm).find("input[name=chk]:checked").length;
|
||||
|
||||
if(chkLen == 0){
|
||||
alert("선택된 항목이 없습니다.");
|
||||
return;
|
||||
}
|
||||
/*
|
||||
var fnExit = false;
|
||||
$('input:checkbox[name="chk"]:checked').each(function() {
|
||||
if($(this).attr("class") == null || $(this).attr("class") == '') {
|
||||
alert("선택한 목록 중 패널티 등록이 불가능한 건이 있습니다.");
|
||||
fnExit = true;
|
||||
}
|
||||
});
|
||||
//체크한 리스트 중 해당 상태에 실행 불가능한 건이 있는지 체크 후, 존재 시 함수 종료
|
||||
if(fnExit) return false;
|
||||
*/
|
||||
|
||||
$("#sbmtYn").val("Y");
|
||||
|
||||
var data1 = new FormData(document.getElementById("listForm"));
|
||||
if(confirm("선택한 목록의 강사료를 확정하시겠습니까?")){
|
||||
$.ajax({
|
||||
type:"POST",
|
||||
url: "${pageContext.request.contextPath}/kccadr/oprtn/adultVisitEdu/eduInstrFeeCnfrmAjax.do",
|
||||
data: data1,
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: false,
|
||||
cache: false,
|
||||
success:function(returnData){
|
||||
if(returnData.result == 'success'){
|
||||
alert("처리 되었습니다.");
|
||||
location.reload();
|
||||
}
|
||||
},
|
||||
error:function(request , status, error){
|
||||
alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
//숙박영수증 첨부파일 일괄 다운로드(zip) - 파일ID 다름, SN 동일 : type A
|
||||
function fnAcmdtFileZipDownload(){
|
||||
var frm = document.listForm;
|
||||
|
||||
var checkboxId = Array();
|
||||
var checkboxSn = Array();
|
||||
var checkboxCnt = 0;
|
||||
|
||||
var checkbox_check = false;
|
||||
var checkbox_index = false;
|
||||
$('input:checkbox[name="chk"]').each(function(){
|
||||
if($(this).is(":checked")){
|
||||
|
||||
checkbox_check = true;
|
||||
if($(this).attr("class") != ""){
|
||||
checkboxId[checkboxCnt] = $(this).attr("class");
|
||||
checkboxSn[checkboxCnt] = "0"
|
||||
checkboxCnt++;
|
||||
checkbox_index = true;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
if(!checkbox_check){
|
||||
alert("선택된 항목이 없습니다.");
|
||||
return false;
|
||||
}else if(!checkbox_index){
|
||||
alert("다운로드할 영수증이 없습니다.");
|
||||
return false;
|
||||
}
|
||||
|
||||
frm.orgnZipNm.value="숙박영수증.zip";
|
||||
frm.downloadType.value="A";
|
||||
frm.action="${pageContext.request.contextPath}/cmm/fms/fileDownZip.do?atchFileId="+checkboxId+"&fileSn="+checkboxSn;
|
||||
frm.submit();
|
||||
}
|
||||
|
||||
function excelDownLoad(){
|
||||
var listForm = document.listForm ;
|
||||
listForm.action = "<c:url value='/kccadr/oprtn/adultVisitEdu/eduInstrFeeExcelDownLoad.do'/>";
|
||||
listForm.submit();
|
||||
}
|
||||
|
||||
function fncReset(thisObj){
|
||||
var targetObj = $(thisObj).closest('.list_top').find('select,input');
|
||||
$.each(targetObj, function(){
|
||||
if($(this).prop('tagName') == 'SELECT'){
|
||||
if($(this).attr('name').indexOf('Month') != -1){
|
||||
$(this).val(new Date().getMonth()+1);
|
||||
}else if($(this).attr('name').indexOf('Year') != -1){
|
||||
$(this).val(new Date().getFullYear());
|
||||
}else{
|
||||
$(this).prop("selectedIndex", 0);
|
||||
}
|
||||
}else{
|
||||
$(this).val('');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function chkSendSms(){
|
||||
var chkLen = $(listForm).find("input[name=chk]:checked").length;
|
||||
|
||||
if(chkLen == 0){
|
||||
alert("선택된 항목이 없습니다.");
|
||||
return;
|
||||
}
|
||||
|
||||
$('input:checkbox[name="chk"]:checked').each(function() {
|
||||
sendSms(
|
||||
$(this).data('instrphone'),
|
||||
"교육운영 관리 시스템입니다." + $(this).data('instrnm')+"님의 " + $(this).data('date') + " 교육 강사료는 " + $(this).data('instrfeesum') +"입니다.",
|
||||
$(this).val().split('@')[0],
|
||||
$(this).data('userid'),
|
||||
"N"
|
||||
);
|
||||
});
|
||||
alert("발송되었습니다.");
|
||||
|
||||
}
|
||||
</script>
|
||||
<title>신청관리</title>
|
||||
</head>
|
||||
<body>
|
||||
<form id="popForm" name="popForm" method="post">
|
||||
<input type="hidden" name="eduAplctOrd" value=""/>
|
||||
<input type="hidden" name="eduChasiOrd" value=""/>
|
||||
</form>
|
||||
<form:form id="listForm" name="listForm" method="post" onsubmit="return false;">
|
||||
<input type="hidden" name="pageIndex" value="<c:out value='${vEEduAplctVO.pageIndex}' default='1' />"/>
|
||||
<input type="hidden" name="searchSortCnd" value="<c:out value="${vEEduAplctVO.searchSortCnd}" />" />
|
||||
<input type="hidden" name="searchSortOrd" value="<c:out value="${vEEduAplctVO.searchSortOrd}" />" />
|
||||
<input type="hidden" name="eduAplctOrd" value="" />
|
||||
<input type="hidden" name="eduChasiOrd" value="" />
|
||||
<input type="hidden" name="sbmtYn" id="sbmtYn" value="" />
|
||||
<input type="hidden" name="orgnZipNm" value="" />
|
||||
<input type="hidden" name="downloadType" value="" />
|
||||
|
||||
<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_top -->
|
||||
<div class="list_top">
|
||||
<div class="list_top_1">
|
||||
<div class="util_left">
|
||||
<p>구분</p>
|
||||
</div>
|
||||
<div class="util_right">
|
||||
<ve:select codeId="VE0012" name="searchInsttDivCd" id="searchInsttDivCd" styleClass="sel_type1" selectedValue="${vEEduAplctVO.searchInsttDivCd}" defaultValue="" defaultText='전체'/>
|
||||
<ve:select codeId="VE0007" name="searchEduSlctCd" id="searchEduSlctCd" styleClass="sel_type1" selectedValue="${vEEduAplctVO.searchEduSlctCd}" defaultValue="" defaultText='전체'/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="list_top_2">
|
||||
<div class="util_left">
|
||||
<p>교육일자</p>
|
||||
</div>
|
||||
<div class="util_right">
|
||||
<div class="calendar_wrap">
|
||||
<input type="text" class="calendar" title="시작일 선택" id="searchStartDt" name="searchStartDt" value="<c:out value='${vEEduAplctVO.searchStartDt}'/>">
|
||||
</div>
|
||||
~
|
||||
<div class="calendar_wrap">
|
||||
<input type="text" class="calendar" title="종료일 선택" id="searchEndDt" name="searchEndDt" value="<c:out value='${vEEduAplctVO.searchEndDt}'/>">
|
||||
</div>
|
||||
|
||||
<select class="sel_type1" name="searchCondition" id="searchCondition">
|
||||
<option value="4" ${vEEduAplctVO.searchCondition eq '4' ? 'selected' : '' }>기관(단체)명</option>
|
||||
<option value="2" ${vEEduAplctVO.searchCondition eq '2' ? 'selected' : '' }>강사이름</option>
|
||||
</select>
|
||||
|
||||
<input type="text" id=searchKeyword name="searchKeyword" class="search_input" placeholder="검색어를 입력하세요" value="<c:out value='${cryptoUtil.decrypt(vEEduAplctVO.searchKeyword)}'/>" onkeyDown="press(event);">
|
||||
<button class="btn_type08" onclick="fncGoList(); return false;">검색</button>
|
||||
<button class="btn_type03" onclick="fncReset(this); return false;">초기화</button>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- //list_top -->
|
||||
|
||||
<!-- list util -->
|
||||
<div class="list_util">
|
||||
<p class="list_util_p">총 건수 : <span><c:out value="${paginationInfo.totalRecordCount}" /></span>건</p>
|
||||
<div>
|
||||
<select class="sel_type1" name="pageUnit" id="pageUnit" onchange="linkPage(1);" title="줄 선택" style="width: 140px">
|
||||
<option value='10' <c:if test="${vEEduAplctVO.pageUnit == '10' or vEEduAplctVO.pageUnit == ''}">selected</c:if>>10줄</option>
|
||||
<option value='20' <c:if test="${vEEduAplctVO.pageUnit == '20'}">selected</c:if>>20줄</option>
|
||||
<option value='30' <c:if test="${vEEduAplctVO.pageUnit == '30'}">selected</c:if>>30줄</option>
|
||||
<option value='100' <c:if test="${vEEduAplctVO.pageUnit == '100'}">selected</c:if>>100줄</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- list -->
|
||||
<div class="tb_type01">
|
||||
<table>
|
||||
<colgroup>
|
||||
<col style="width: 5%;">
|
||||
<col style="width: 10%;">
|
||||
<col style="width: 14%;">
|
||||
<col style="width: 8%;">
|
||||
<col style="width: 10%;">
|
||||
<col style="width: auto">
|
||||
<col style="width: 9%;">
|
||||
<col style="width: 9%;">
|
||||
<col style="width: 8%;">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th><input type="checkbox" name="checkAll" id="checkAll" onclick="chkAll(this);" /><label for="checkAll"></label></th>
|
||||
<th>교육일자</th>
|
||||
<th>차시</th>
|
||||
<th>기관구분</th>
|
||||
<th>신청유형</th>
|
||||
<th>기관(단체)명</th>
|
||||
<th>강사이름</th>
|
||||
<th>강사료</th>
|
||||
<th>확정여부</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<c:forEach var="list" items="${list}" varStatus="status">
|
||||
<tr>
|
||||
<td>
|
||||
<input name="chk" class="${list.atchFileId}" value="${list.eduAplctOrd}@${list.eduChasiOrd}"
|
||||
data-instrphone="<c:out value='${list.instrPhone}' />" data-userid="<c:out value='${list.userId}' />"
|
||||
data-date="<c:out value='${list.eduHopeDt}' /> <c:out value='${list.strtTm}' /> ~ <c:out value='${list.endTm}' />"
|
||||
data-instrnm="<c:out value='${list.instrNm}' />" data-instrfeesum="<c:out value='${list.instrFeeSum}' />"
|
||||
title="Check" type="checkbox"/>
|
||||
</td>
|
||||
<!--
|
||||
<td>
|
||||
<c:if test="${list.cnt eq 0}">미제출</c:if><c:if test="${list.cnt gt 0}">제출</c:if>
|
||||
</td>
|
||||
-->
|
||||
<td>
|
||||
${list.eduHopeDt}
|
||||
<%-- <fmt:parseDate value="${list.eduHopeDt}" var="eduHopeDt" pattern="yyyy.MM.dd"/> --%>
|
||||
<%-- <fmt:formatDate value="${eduHopeDt}" pattern="yyyy.MM.dd"/> --%>
|
||||
</td>
|
||||
<td>
|
||||
<c:choose>
|
||||
<c:when test="${fn:length(list.strtTm) eq 4}">
|
||||
<fmt:parseDate value="${list.strtTm}" var="strtTm" pattern="kkmm"/><fmt:formatDate value="${strtTm}" pattern="kk:mm"/>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
${list.strtTm}
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
~
|
||||
<c:choose>
|
||||
<c:when test="${fn:length(list.endTm) eq 4}">
|
||||
<fmt:parseDate value="${list.endTm}" var="endTm" pattern="kkmm"/><fmt:formatDate value="${endTm}" pattern="kk:mm"/>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
${list.strtTm}
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
(<c:out value="${list.lrnTm}"/>분)
|
||||
</td>
|
||||
<td>
|
||||
<ve:code codeId="VE0012" code="${list.insttDivCd}"/>
|
||||
</td>
|
||||
<td>
|
||||
<ve:code codeId="VE0007" code="${list.eduSlctCd}"/>
|
||||
</td>
|
||||
<td>
|
||||
<c:out value="${list.insttNm}"/>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<c:out value="${list.instrNm}"/>
|
||||
<c:if test="${list.instrNm ne null}">
|
||||
<br/>(${fn:split(list.userId,'_')[1]*1})
|
||||
</c:if>
|
||||
</td>
|
||||
<td>
|
||||
<a href="#none" style="font-weight: 600; text-decoration-line: underline;"
|
||||
onclick="fncInstrCostInfo('<c:out value="${list.eduAplctOrd}" />','<c:out value="${list.eduChasiOrd}" />'); return false;">
|
||||
<fmt:formatNumber value="${list.instrFeeSum}" pattern="#,###"/>
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<c:if test="${list.feeSbmtYn eq 'Y'}">확정</c:if>
|
||||
<c:if test="${list.feeSbmtYn ne 'Y'}">미확정</c:if>
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
<c:if test="${empty list}">
|
||||
<tr><td colspan="9"><spring:message code="common.nodata.msg" /></td></tr>
|
||||
</c:if>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- //list -->
|
||||
<!-- page -->
|
||||
<div class="page">
|
||||
<ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
|
||||
</div>
|
||||
<!-- //page -->
|
||||
<div class="btn_wrap btn_layout01">
|
||||
<div class="btn_left">
|
||||
<!-- <button type="button" class="btn_type06" onclick="fnAcmdtFileZipDownload(); return false;">숙박영수증다운로드</button> -->
|
||||
<button type="button" class="btn_type06" onclick="excelDownLoad();">지급내역다운로드</button>
|
||||
<button type="button" class="btn_type06" onclick="chkSendSms();">강사료 안내 문자발송</button>
|
||||
</div>
|
||||
<div class="btn_center">
|
||||
</div>
|
||||
<div class="btn_right">
|
||||
<button type="button" class="btn_type04" onclick="fnInstrFeeCnfrm(); return false;">강사료 확정</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- //cont -->
|
||||
|
||||
</form:form>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Reference in New Issue
Block a user