2023-11-09 11:20 청소년 강사 활동 확인서 작업

This commit is contained in:
myname 2023-11-09 11:21:01 +09:00
parent eea0802298
commit 1b5b4dc1d5
15 changed files with 725 additions and 404 deletions

View File

@ -533,7 +533,118 @@ public class CrownixAjaxController {
} }
modelAndView.addObject("계약사항", jsReqInfo); modelAndView.addObject("instrs", jsReqInfo);
return modelAndView;
}
/**
* 청소년 강사 활동내역서 출력 정보
*
*/
@RequestMapping("/ve/aplct/tngrVisitEdu/eduAplct/instrActivityAjax.do")
public ModelAndView instrActivityAjax(
ModelMap model
, HttpServletRequest request
) throws Exception {
ModelAndView modelAndView = new ModelAndView();
modelAndView.setViewName("jsonView");
System.out.println("----------------");
System.out.println(request.getParameter("p_userId"));
System.out.println("----------------");
//강사신청정보
VEInstrDetailVO vEInstrDetailVO = new VEInstrDetailVO();
vEInstrDetailVO.setInstrDiv("10");
vEInstrDetailVO.setUseYn("Y");
vEInstrDetailVO.setSbmtYn("Y");
vEInstrDetailVO.setUserId(request.getParameter("p_userId"));
VEInstrDetailVO vEInstrDetailVODetail = vEInstrDetailService.selectDetail(vEInstrDetailVO);
vEInstrDetailVODetail = egovCryptoUtil.decryptVEInstrDetailVO(vEInstrDetailVODetail);
modelAndView.addObject("page_1_11", vEInstrDetailVODetail.getInstrNm());
modelAndView.addObject("page_1_12", vEInstrDetailVODetail.getdBirth());
modelAndView.addObject("page_1_13", "-");
modelAndView.addObject("page_1_14", "-");
modelAndView.addObject("page_1_15", "-");
modelAndView.addObject("page_1_16", vEInstrDetailVODetail.getPhone());
modelAndView.addObject("page_1_17", vEInstrDetailVODetail.getAddr()+vEInstrDetailVODetail.getAddrDetail());
modelAndView.addObject("page_1_21", "기관제출용");
modelAndView.addObject("page_1_22", "비영리");
modelAndView.addObject("page_1_23", "120-82-09301");
modelAndView.addObject("page_1_24", "최병구");
modelAndView.addObject("page_1_25", "교육체험본부(교육운영팀)");
modelAndView.addObject("page_1_26", "경상남도 진주시 소호로 117");
modelAndView.addObject("page_1_27", vEInstrDetailVODetail.getAprvlPnttm()+"~");
modelAndView.addObject("page_1_28", "-");
modelAndView.addObject("page_1_31", "상기 인은 우리 위원회에서 저작권 강사(청년강사)로 위촉되어 활동하였음을 확인합니다.");
modelAndView.addObject("page_1_32", vEInstrDetailVODetail.getHstryPnttm());
/*
,"page_1_10":"<2023-31호>"
,"page_1_11":"전여자"
,"page_1_12":"1980년 10월 23일"
,"page_1_13":""
,"page_1_14":"-"
,"page_1_15":"-"
,"page_1_16":"010-0000-1111"
,"page_1_17":"경기도 군포시 산본천로 3, A-B-100"
,"page_1_21":"기관제출용"
,"page_1_22":"비영리"
,"page_1_23":"120-82-09301"
,"page_1_24":"최병구"
,"page_1_25":"교육체험본부(교육운영팀)"
,"page_1_26":"경상남도 진주시 소호로 117"
,"page_1_27":"2013.07.15 ~ 2023.12.31"
,"page_1_28":"총 197회, 397시간 [세부내용 별지 참조]"
,"page_1_31":"상기 인은 우리 위원회에서 저작권 강사(청년강사)로 위촉되어 활동하였음을 확인합니다."
,"page_1_32":"2023년 06월 29일"
*/
//강사활동리스트
List<VEInstrDetailVO> vEInstrDetailVOList = vEInstrMixService.selectPagingActivityList4Report(vEInstrDetailVO);
//복호화
vEInstrDetailVOList = egovCryptoUtil.decryptVEInstrDetailVOList(vEInstrDetailVOList);
JSONArray jsReqInfo = new JSONArray(); //차시 정보
int i_sumChasi = 0;
for (int i=0;i<vEInstrDetailVOList.size();i++) {
JSONObject jsDrtInfo = new JSONObject(); //전체 정보
jsDrtInfo.put("data_1", i+1);
jsDrtInfo.put("data_2", vEInstrDetailVOList.get(i).getEduHopeDt().substring(0,4)+"");
jsDrtInfo.put("data_3", vEInstrDetailVOList.get(i).getEduHopeDt().substring(5,7)+"");
jsDrtInfo.put("data_4", vEInstrDetailVOList.get(i).getEduHopeDt().substring(8,10)+"");
jsDrtInfo.put("data_5", vEInstrDetailVOList.get(i).getScholInsttNm());
jsDrtInfo.put("data_6", vEInstrDetailVOList.get(i).getLrnTm()+"차시");
i_sumChasi = i_sumChasi + Integer.parseInt(vEInstrDetailVOList.get(i).getLrnTm());
jsReqInfo.add(jsDrtInfo);
/*
* "data_1":"4"
,"data_2":"2020년"
,"data_3":"10월"
,"data_4":"29일"
,"data_5":"대박초등학교"
,"data_6":"4시간"
* */
}
modelAndView.addObject("page_1_28", ""+vEInstrDetailVOList.size()+"회, "+i_sumChasi+"차시 [세부내용 별지 참조]");
modelAndView.addObject("instrs", jsReqInfo);
return modelAndView; return modelAndView;

View File

@ -287,7 +287,8 @@ public class VEAdultAsgnmController {
model.addAttribute("loginVO", loginVO); model.addAttribute("loginVO", loginVO);
//로그인 처리==================================== //로그인 처리====================================
VEInstrAsgnmVO vEInstrAsgnmVOInfo = vEAsgnmMIXService.selectAsgnmRqstDetail(vEInstrAsgnmVO); //VEInstrAsgnmVO vEInstrAsgnmVOInfo = vEAsgnmMIXService.selectAsgnmRqstDetail(vEInstrAsgnmVO);
VEInstrAsgnmVO vEInstrAsgnmVOInfo = vEAsgnmMIXService.selectAsgnmRqstDetail4(vEInstrAsgnmVO);
vEInstrAsgnmVOInfo = egovCryptoUtil.decryptVEInstrAsgnmVO(vEInstrAsgnmVOInfo); vEInstrAsgnmVOInfo = egovCryptoUtil.decryptVEInstrAsgnmVO(vEInstrAsgnmVOInfo);
//대상 리스트, 페이징 정보 전달 //대상 리스트, 페이징 정보 전달
model.addAttribute("info", vEInstrAsgnmVOInfo); model.addAttribute("info", vEInstrAsgnmVOInfo);

View File

@ -668,7 +668,7 @@ public class VEAsgnmController {
}else if("40".equals(vEInstrAsgnmVO.getAsgnmAprvlCd())) { //요청 거절 강사배정내역 테이블에 insert. 요청 목록에서 거절한 항목 조회를 위해(VE0025) }else if("40".equals(vEInstrAsgnmVO.getAsgnmAprvlCd())) { //요청 거절 강사배정내역 테이블에 insert. 요청 목록에서 거절한 항목 조회를 위해(VE0025)
vEInstrAsgnmVO.setHstryCd("10"); //거절 vEInstrAsgnmVO.setHstryCd("10"); //거절
vEAsgnmMIXService.insertAsgnmHstry(vEInstrAsgnmVO); vEAsgnmMIXService.insertAsgnmHstry(vEInstrAsgnmVO);
}else if("60".equals(vEInstrAsgnmVO.getAsgnmAprvlCd())) { //요청 거절 강사배정내역 테이블에 insert. 요청 목록에서 거절한 항목 조회를 위해(VE0025) }else if("60".equals(vEInstrAsgnmVO.getAsgnmAprvlCd())) { //변경 요청 거절 강사배정내역 테이블에 insert. 요청 목록에서 거절한 항목 조회를 위해(VE0025)
vEInstrAsgnmVO.setHstryCd("40"); //변경요청 vEInstrAsgnmVO.setHstryCd("40"); //변경요청
vEAsgnmMIXService.insertAsgnmHstry(vEInstrAsgnmVO); vEAsgnmMIXService.insertAsgnmHstry(vEInstrAsgnmVO);
} }

View File

@ -44,6 +44,9 @@ public interface VEInstrMixService {
//L page (강사디테일 믹스) //L page (강사디테일 믹스)
List<VEInstrDetailVO> selectPagingDetailList4Asgnm(VEInstrDetailVO vEInstrDetailVO) throws Exception; List<VEInstrDetailVO> selectPagingDetailList4Asgnm(VEInstrDetailVO vEInstrDetailVO) throws Exception;
//L page (강사활동리스트)
List<VEInstrDetailVO> selectPagingActivityList4Report(VEInstrDetailVO vEInstrDetailVO) throws Exception;
//L (특정강사배정용리스트) //L (특정강사배정용리스트)
List<VEInstrDetailVO> selectDetailList(VEInstrDetailVO vEInstrDetailVO) throws Exception; List<VEInstrDetailVO> selectDetailList(VEInstrDetailVO vEInstrDetailVO) throws Exception;

View File

@ -95,6 +95,11 @@ public class VEInstrMixDAO extends EgovAbstractDAO {
return tlist; return tlist;
} }
public List<VEInstrDetailVO> selectPagingActivityList4Report(VEInstrDetailVO vEInstrDetailVO) throws Exception {
List<VEInstrDetailVO> tlist = (List<VEInstrDetailVO>) list("VEInstrMixDAO.selectPagingActivityList4Report", vEInstrDetailVO);
return tlist;
}
public List<VEInstrDetailVO> selectDetailList(VEInstrDetailVO vEInstrDetailVO) throws Exception { public List<VEInstrDetailVO> selectDetailList(VEInstrDetailVO vEInstrDetailVO) throws Exception {
List<VEInstrDetailVO> tlist = (List<VEInstrDetailVO>) list("VEInstrMixDAO.selectDetailList", vEInstrDetailVO); List<VEInstrDetailVO> tlist = (List<VEInstrDetailVO>) list("VEInstrMixDAO.selectDetailList", vEInstrDetailVO);
return tlist; return tlist;

View File

@ -77,6 +77,11 @@ public class VEInstrMixServiceImpl implements VEInstrMixService {
return vEInstrMixDAO.selectPagingDetailList4Asgnm(vEInstrDetailVO); return vEInstrMixDAO.selectPagingDetailList4Asgnm(vEInstrDetailVO);
} }
//paging List
public List<VEInstrDetailVO> selectPagingActivityList4Report(VEInstrDetailVO vEInstrDetailVO) throws Exception{
return vEInstrMixDAO.selectPagingActivityList4Report(vEInstrDetailVO);
}
//List //List
public List<VEInstrDetailVO> selectDetailList(VEInstrDetailVO vEInstrDetailVO) throws Exception{ public List<VEInstrDetailVO> selectDetailList(VEInstrDetailVO vEInstrDetailVO) throws Exception{
return vEInstrMixDAO.selectDetailList(vEInstrDetailVO); return vEInstrMixDAO.selectDetailList(vEInstrDetailVO);

View File

@ -1047,7 +1047,7 @@
<!-- 배정내역 테이블 등록 --> <!-- 배정내역 테이블 등록 -->
<insert id="VEAsgnmMIXDAO.insertAsgnmHstry" parameterClass="VEInstrAsgnmVO"> <insert id="VEAsgnmMIXDAO.insertAsgnmHstry" parameterClass="VEInstrAsgnmVO">
/* VEAsgnmMIXDAO.insertAsgnmHstry */
INSERT INTO ve_edu_chasi_instr_asgnm_hstry( INSERT INTO ve_edu_chasi_instr_asgnm_hstry(
edu_aplct_ord, edu_aplct_ord,
edu_chasi_ord, edu_chasi_ord,
@ -1059,8 +1059,6 @@
#userId#, #userId#,
#hstryCd# #hstryCd#
) )
ON DUPLICATE KEY UPDATE
hstry_cd=#hstryCd#
</insert> </insert>
<!-- 배정내역 테이블 삭제 --> <!-- 배정내역 테이블 삭제 -->

View File

@ -317,6 +317,8 @@
/* 강사 추가 정보 VEInstrDetailDAO.selectDetail */ /* 강사 추가 정보 VEInstrDetailDAO.selectDetail */
SELECT SELECT
<include refid="VEInstrDetailDAO.select_column_name"/> <include refid="VEInstrDetailDAO.select_column_name"/>
, TO_CHAR(SYSDATE,'YYYY')||'년'||TO_CHAR(SYSDATE,'MM')||'월'||TO_CHAR(SYSDATE,'DD')||'일'
AS hstryPnttm
FROM FROM
<include refid="VEInstrDetailDAO.table_name"/> a <include refid="VEInstrDetailDAO.table_name"/> a
WHERE WHERE

View File

@ -1041,6 +1041,25 @@
</select> </select>
<!-- 강사 디테일 정보 L page -->
<select id="VEInstrMixDAO.selectPagingActivityList4Report" parameterClass="VEInstrDetailVO" resultClass="VEInstrDetailVO">
/* VEInstrMixDAO.selectPagingActivityList4Report */
SELECT
a.edu_hope_dt AS eduHopeDt
, c.SCHOL_INSTT_NM AS scholInsttNm
, a.CHASI AS lrnTm
FROM ve_edu_chasi a
, ve_edu_chasi_instr_asgnm b
, ve_edu_aplct c
WHERE a.EDU_APLCT_ORD =b.EDU_APLCT_ORD
AND a.EDU_CHASI_ORD =b.EDU_CHASI_ORD
AND b.USER_ID =#userId#
AND b.ASGNM_APRVL_CD ='30'
AND a.EDU_APLCT_ORD =c.EDU_APLCT_ORD
ORDER BY a.edu_hope_dt
</select>
<!-- 특정 강사 배정용 리스트 L --> <!-- 특정 강사 배정용 리스트 L -->
<select id="VEInstrMixDAO.selectDetailList" parameterClass="VEInstrDetailVO" resultClass="VEInstrDetailVO"> <select id="VEInstrMixDAO.selectDetailList" parameterClass="VEInstrDetailVO" resultClass="VEInstrDetailVO">
/* VEInstrMixDAO.selectDetailList */ /* VEInstrMixDAO.selectDetailList */

View File

@ -303,28 +303,72 @@
return ; return ;
} }
$.ajax({ if(confirm("강사배정삭제을 진행하시겠습니까?")){
type:"POST", $.ajax({
url:"${pageContext.request.contextPath}/web/ve/comm/instrMassAsgnmDeleteAjax.do", type:"POST",
data: { url:"${pageContext.request.contextPath}/web/ve/comm/instrMassAsgnmDeleteAjax.do",
"eduAplctOrd" : varEduAplctOrd , data: {
//"instrDiv" : "10" , "eduAplctOrd" : varEduAplctOrd ,
//"instrDiv" : "10" ,
}, },
dataType:'json', dataType:'json',
success:function(returnData){ success:function(returnData){
if(returnData.result=="success"){ if(returnData.result=="success"){
alert("상태가 변경 되었습니다."); alert("상태가 변경 되었습니다.");
fncGoList(); fncGoList();
}else{ }else{
alert("강사 자동 배정 중에 오류가 발생 되었습니다."); alert("강사 자동 배정 중에 오류가 발생 되었습니다.");
fncGoList(); fncGoList();
}
},
error:function(request , status, error){
alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
} }
}, });
error:function(request , status, error){ }
alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
} }
function fncInstrMassAsgnm30(){
var varEduAplctOrd = '';
$('input:checkbox[name="chk"]:checked').each(function() {
varEduAplctOrd = varEduAplctOrd + $(this).val() + "__";
}); });
if (varEduAplctOrd==''){
alert("선택된 대상이 없습니다.");
return ;
}
if(confirm("강사교육확정을 진행하시겠습니까?")){
$.ajax({
type:"POST",
url:"${pageContext.request.contextPath}/web/ve/comm/instrMassAsgnm30Ajax.do",
data: {
"eduAplctOrd" : varEduAplctOrd ,
"asgnmAprvlCd" : "30" ,
//"instrDiv" : "10" ,
},
dataType:'json',
success:function(returnData){
if(returnData.result=="success"){
alert("상태가 변경 되었습니다.");
fncGoList();
}else{
alert("강사 자동 배정 중에 오류가 발생 되었습니다.");
fncGoList();
}
},
error:function(request , status, error){
alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
}
});
}
} }
// 엑셀다운로드 // 엑셀다운로드
@ -351,6 +395,79 @@
}); });
} }
// 배정 상태 변경
function fncModifyStat(flag) {
var chkLen = $(listForm).find("input[name=chk]:checked").length;
var chkStatCd = "";
var msg = "";
var actionUrl = "";
if(chkLen == 0){
alert("선택된 항목이 없습니다.");
return;
}
//강의수락요청
if(flag == 'new') {
chkStatCd = "10";
msg = "강의 수락 요청";
actionUrl = "${pageContext.request.contextPath}/kccadr/oprtn/tngrVisitEdu/instrAsgnmCnfrmAjax.do";
var deadlineDt = $("#deadlineDt").val();
if(deadlineDt == ""){
alert("마감일자를 선택해 주세요.");
return;
}
var date1 = new Date();
var date2 = new Date(deadlineDt);
if(date1 > date2){
alert("마감일자는 금일일자보다 커야합니다.");
return;
}
}
//추가강의요청
if(flag == 'add') {
chkStatCd = "40";
msg = "추가 강의 요청";
actionUrl = "${pageContext.request.contextPath}/kccadr/oprtn/tngrVisitEdu/lctrAddAjax.do";
}
var fnExit = false;
$('input:checkbox[name="chk"]:checked').each(function() {
if($(this).attr("class") != chkStatCd) {
alert("선택한 목록 중 " + msg + "이 불가능한 건이 있습니다.");
fnExit = true;
}
});
//체크한 리스트 중 해당 상태에 실행 불가능한 건이 있는지 체크 후, 존재 시 함수 종료
if(fnExit) return false;
var data1 = new FormData(document.getElementById("listForm"));
if(confirm(msg+"을 진행하시겠습니까?")){
$.ajax({
type:"POST",
url:actionUrl,
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);
}
});
}
}
</script> </script>
<title>신청관리</title> <title>신청관리</title>
</head> </head>
@ -572,13 +689,23 @@
<div class="btn_wrap btn_layout01"> <div class="btn_wrap btn_layout01">
<div class="btn_left"> <div class="btn_left">
<button type="button" class="btn_type06" onclick="excelDownLoad();">엑셀다운로드</button> <button type="button" class="btn_type06" onclick="excelDownLoad();">엑셀다운로드</button>
<button type="button" class="btn_type06" onclick="fncInstrMassAsgnm30(); return false;">강사교육확정</button>
</div> </div>
<div class="btn_center"> <div class="btn_center">
<!-- <button type="button" class="btn_type06" onclick="fncModifyStat('add'); return false;">추가강의요청</button> --> <!-- <button type="button" class="btn_type06" onclick="fncModifyStat('add'); return false;">추가강의요청</button> -->
<button type="button" class="btn_type06" onclick="fncInstrMassAsgnmDelete(); return false;">강사배정삭제</button>
</div> </div>
<div class="btn_right"> <div class="btn_right">
<!-- <button type="button" class="btn_type06" onclick="fncModifyStat('new'); return false;">강의수락요청</button> --> <!-- <button type="button" class="btn_type06" onclick="fncModifyStat('new'); return false;">강의수락요청</button> -->
<button type="button" class="btn_type06" onclick="fncSndSms(); return false;">교육확정알림</button> <!-- <button type="button" class="btn_type06" onclick="fncSndSms(); return false;">교육확정알림</button> -->
<button class="btn_type08" disabled>마감일자지정</button>
<div class="calendar_wrap">
<input type="text" class="calendar" title="시작일 선택" id="deadlineDt" name="deadlineDt" value="">
</div>
<button type="button" class="btn_type06" onclick="fncModifyStat('new'); return false;">강의수락요청</button>
</div> </div>
</div> </div>
@ -596,7 +723,7 @@
</div> </div>
<div class="btn_right"> <div class="btn_right">
<button type="button" class="btn_type06" onclick="fncInstrMassAsgnmDelete(); return false;">강사배정삭제</button>
</div> </div>
</div> </div>
</div> </div>

View File

@ -344,8 +344,8 @@
//viewer.openFile('adult_instr_20231102.mrd', '/rfn [adult_instr_20231102.json]'); //viewer.openFile('adult_instr_20231102.mrd', '/rfn [adult_instr_20231102.json]');
//viewer.openFile('adult_instr_20231102.mrd', '/rf [http://119.193.215.98:9989/offedu/ve/aplct/adultVisitEdu/eduAplct/eduAplctDetailAjax.do?p_instrId='+('#p_instrId').val()+']'); //viewer.openFile('adult_instr_20231102.mrd', '/rf [http://119.193.215.98:9989/offedu/ve/aplct/adultVisitEdu/eduAplct/eduAplctDetailAjax.do?p_instrId='+('#p_instrId').val()+']');
//viewer.openFile('adult_instrs_20231107.mrd', '/rf [http://192.168.0.59:3080/offedu/ve/aplct/adultVisitEdu/eduAplct/instrDetailListAjax.do?p_searchQlfctEndYn="'+v_searchQlfctEndYn+'"&p_searcDivCd="'+v_searcDivCd+'"&p_searchKeyword="'+v_searchKeyword+'"]'); //viewer.openFile('adult_instrs_20231107.mrd', '/rf [http://192.168.0.59:3080/offedu/ve/aplct/adultVisitEdu/eduAplct/instrDetailListAjax.do?p_searchQlfctEndYn="'+v_searchQlfctEndYn+'"&p_searcDivCd="'+v_searcDivCd+'"&p_searchKeyword="'+v_searchKeyword+'"]');
//viewer.openFile('adult_instrs_20231107.mrd', '/rf [http://192.168.0.59:3080/offedu/ve/aplct/adultVisitEdu/eduAplct/instrDetailListAjax.do?p_searchQlfctEndYn='+v_searchQlfctEndYn+'&p_searcDivCd='+v_searcDivCd+'&p_searchKeyword='+v_searchKeyword+']');
viewer.openFile('adult_instrs_20231107.mrd', '/rf [http://119.193.215.98:9989/offedu/ve/aplct/adultVisitEdu/eduAplct/instrDetailListAjax.do?p_searchQlfctEndYn='+v_searchQlfctEndYn+'&p_searcDivCd='+v_searcDivCd+'&p_searchKeyword='+v_searchKeyword+']'); viewer.openFile('adult_instrs_20231107.mrd', '/rf [http://119.193.215.98:9989/offedu/ve/aplct/adultVisitEdu/eduAplct/instrDetailListAjax.do?p_searchQlfctEndYn='+v_searchQlfctEndYn+'&p_searcDivCd='+v_searcDivCd+'&p_searchKeyword='+v_searchKeyword+']');
//viewer.openFile('adult_instrs_20231107.mrd', '/rf [http://119.193.215.98:9989/offedu/ve/aplct/adultVisitEdu/eduAplct/instrDetailListAjax.do?p_searchQlfctEndYn='+v_searchQlfctEndYn+'&p_searcDivCd='+v_searcDivCd+'&p_searchKeyword='+v_searchKeyword+']');
//System.out.println(request.getParameter("searchQlfctEndYn")); //System.out.println(request.getParameter("searchQlfctEndYn"));
//System.out.println(request.getParameter("searcDivCd")); //System.out.println(request.getParameter("searcDivCd"));

View File

@ -961,6 +961,10 @@
</div> </div>
<div class="btn_right"> <div class="btn_right">
<button type="button" class="btn_type04" onclick="fnInstrHstryInsert(); return false;">이력 등록</button> <button type="button" class="btn_type04" onclick="fnInstrHstryInsert(); return false;">이력 등록</button>
<button type="button" class="btn_type04" onclick="fncCmpltCrtfc(); return false;">강사위촉및 활동 확인서출력</button>
</div> </div>
</div> </div>
@ -977,5 +981,52 @@
</form:form> </form:form>
<!-- //cont --> <!-- //cont -->
<script src="http://119.193.215.98:8093/ReportingServer/html5/js/crownix-viewer.min.js"></script>
<link rel="stylesheet" type="text/css" href="http://119.193.215.98:8093/ReportingServer/html5/css/crownix-viewer.min.css">
<script>
/*
* 오버레이 방식
*/
//function fncCmpltCrtfc(p_prcsAplctPrdOrd, p_eduAplctOrd){
function fncCmpltCrtfc(){
var v_userId = $('#userId').val();
//alert('/rf [http://192.168.0.59:3080/offedu/ve/aplct/adultVisitEdu/eduAplct/instrDetailListAjax.do?p_searchQlfctEndYn="'+v_searchQlfctEndYn+'"&p_searcDivCd="'+v_searcDivCd+'"&p_searchKeyword="'+v_searchKeyword+'"]');
var viewer = new m2soft.crownix.Viewer('http://119.193.215.98:8093/ReportingServer/service');
//viewer.openFile('cmplt_crtfc_20231030.mrd', '/rfn [jsonsample_red_2.json]');
//viewer.openFile('cmplt_crtfc_20231030.mrd','/rexport [5]');
//viewer.openFile('sample.mrd','/rfn [sample.txt]');
viewer.hideToolbarItem(["save"]);
viewer.showToolbarItem(["print_pdf"]);
//viewer.openFile('cmplt_crtfc_20231030.mrd');
//viewer.openFile('cmplt_crtfc_20231030.mrd', '/rfn [cmplt_crtfc_20231030.json]');
//viewer.openFile('cmplt_crtfc_20231030.mrd', '/rf [http://119.193.215.98:9989/offedu/ve/aplct/fndtnEnhanceTrn/fndtnEduAplctCmpltCrtfcAjax.do?prcsAplctPrdOrd='+p_prcsAplctPrdOrd+'&eduAplctOrd='+p_eduAplctOrd+']');
//viewer.openFile('sample.mrd');p_prcsAplctPrdOrd, p_eduAplctOrd
//viewer.openFile('adult_instr_20231102.mrd', '/rfn [adult_instr_20231102.json]');
//viewer.openFile('adult_instr_20231102.mrd', '/rf [http://119.193.215.98:9989/offedu/ve/aplct/adultVisitEdu/eduAplct/eduAplctDetailAjax.do?p_instrId='+('#p_instrId').val()+']');
//viewer.openFile('adult_instrs_20231107.mrd', '/rf [http://192.168.0.59:3080/offedu/ve/aplct/adultVisitEdu/eduAplct/instrDetailListAjax.do?p_searchQlfctEndYn="'+v_searchQlfctEndYn+'"&p_searcDivCd="'+v_searcDivCd+'"&p_searchKeyword="'+v_searchKeyword+'"]');
//viewer.openFile('adult_instrs_20231107.mrd', '/rf [http://119.193.215.98:9989/offedu/ve/aplct/adultVisitEdu/eduAplct/instrDetailListAjax.do?p_searchQlfctEndYn='+v_searchQlfctEndYn+'&p_searcDivCd='+v_searcDivCd+'&p_searchKeyword='+v_searchKeyword+']');
//viewer.openFile('adult_instrs_20231107.mrd', '/rf [http://119.193.215.98:9989/offedu/ve/aplct/adultVisitEdu/eduAplct/instrDetailListAjax.do?p_searchQlfctEndYn='+v_searchQlfctEndYn+'&p_searcDivCd='+v_searcDivCd+'&p_searchKeyword='+v_searchKeyword+']');
viewer.openFile('instr_activity_20231108.mrd', '/rf [http://119.193.215.98:9989/offedu/ve/aplct/tngrVisitEdu/eduAplct/instrActivityAjax.do?p_userId='+v_userId+']');
/*
var viewer = new m2soft.crownix.Viewer('http://192.168.0.176:8093/ReportingServer/service',
'crownix-viewer');
viewer.openFile('cmplt_crtfc_20231030.mrd');
*/
}
/*
window.onload = function(){
var viewer = new m2soft.crownix.Viewer('http://192.168.0.176:8093/ReportingServer/service');
viewer.openFile('json_subject.mrd', '/rfn [jsonsample_red_2.json]');
};
*/
</script>
</body> </body>
</html> </html>

View File

@ -734,7 +734,7 @@
//viewer.openFile('sample.mrd');p_prcsAplctPrdOrd, p_eduAplctOrd //viewer.openFile('sample.mrd');p_prcsAplctPrdOrd, p_eduAplctOrd
//viewer.openFile('adult_instr_20231102.mrd', '/rfn [adult_instr_20231102.json]'); //viewer.openFile('adult_instr_20231102.mrd', '/rfn [adult_instr_20231102.json]');
//viewer.openFile('adult_instr_20231102.mrd', '/rf [http://119.193.215.98:9989/offedu/ve/aplct/adultVisitEdu/eduAplct/eduAplctDetailAjax.do?p_instrId='+('#p_instrId').val()+']'); //viewer.openFile('adult_instr_20231102.mrd', '/rf [http://119.193.215.98:9989/offedu/ve/aplct/adultVisitEdu/eduAplct/eduAplctDetailAjax.do?p_instrId='+('#p_instrId').val()+']');
viewer.openFile('adult_instr_20231102.mrd', '/rf [http://192.168.0.59:3080/offedu/ve/aplct/adultVisitEdu/eduAplct/eduAplctDetailAjax.do?p_instrId='+v_userId+']'); viewer.openFile('adult_instr_20231102.mrd', '/rf [http://119.193.215.98:9989/offedu/ve/aplct/adultVisitEdu/eduAplct/eduAplctDetailAjax.do?p_instrId='+v_userId+']');

View File

@ -331,8 +331,7 @@ $(document).ready(function(){
*/ */
function fncCmpltCrtfc(p_prcsAplctPrdOrd, p_eduAplctOrd) { function fncCmpltCrtfc(p_prcsAplctPrdOrd, p_eduAplctOrd) {
var viewer = new m2soft.crownix.Viewer( var viewer = new m2soft.crownix.Viewer('http://119.193.215.98:8093/ReportingServer/service');
'http://119.193.215.98:8093/ReportingServer/service');
//viewer.openFile('cmplt_crtfc_20231030.mrd', '/rfn [jsonsample_red_2.json]'); //viewer.openFile('cmplt_crtfc_20231030.mrd', '/rfn [jsonsample_red_2.json]');
//viewer.openFile('cmplt_crtfc_20231030.mrd','/rexport [5]'); //viewer.openFile('cmplt_crtfc_20231030.mrd','/rexport [5]');
//viewer.openFile('sample.mrd','/rfn [sample.txt]'); //viewer.openFile('sample.mrd','/rfn [sample.txt]');