Merge branch 'master' of
http://yongjoon.cho@vcs.iten.co.kr:9999/hylee/kcc_adr_advc_git Conflicts: src/main/webapp/WEB-INF/jsp/kccadr/adjReqMgr/adjReqMgrRegDetail.jsp
This commit is contained in:
commit
75bbcc5d61
2
pom.xml
2
pom.xml
@ -613,7 +613,7 @@
|
||||
<build>
|
||||
<defaultGoal>install</defaultGoal>
|
||||
<directory>${basedir}/target</directory>
|
||||
<finalName>kcc_adr_advc</finalName>
|
||||
<finalName>ROOT</finalName>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
@ -15,7 +15,7 @@ public enum AdrInnorixFileEnumVO {
|
||||
// history 값
|
||||
private final String p_code_desc;
|
||||
|
||||
// history 값
|
||||
// history stat 값
|
||||
private final String p_stat_cd;
|
||||
private final String p_adrHstryMgrSeq;
|
||||
private final String p_updateQuery;
|
||||
|
||||
@ -43,6 +43,7 @@ public class AdrInnorixFileVO extends ComDefaultVO implements Serializable {
|
||||
public String openYn = "";
|
||||
public String atchFileId = "";
|
||||
public String mode = "";
|
||||
public String successMsg = "";
|
||||
public boolean isAdrRpplDoc;
|
||||
|
||||
/*
|
||||
@ -226,6 +227,14 @@ public class AdrInnorixFileVO extends ComDefaultVO implements Serializable {
|
||||
this.isAdrRpplDoc = isAdrRpplDoc;
|
||||
}
|
||||
|
||||
public String getSuccessMsg() {
|
||||
return successMsg;
|
||||
}
|
||||
|
||||
public void setSuccessMsg(String successMsg) {
|
||||
this.successMsg = successMsg;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -23,5 +23,8 @@ import kcc.kccadr.cmm.RestResponse;
|
||||
*/
|
||||
public interface InnorixFileService {
|
||||
|
||||
RestResponse insertInnorixFileAjax(AdrInnorixFileVO adrInnorixFileVO) throws FdlException, Exception;
|
||||
RestResponse insertInnorixFileAndRpplAjax(AdrInnorixFileVO adrInnorixFileVO) throws FdlException, Exception;
|
||||
|
||||
RestResponse insertInnorixFile(AdrInnorixFileVO adrInnorixFileVO);
|
||||
|
||||
}
|
||||
|
||||
@ -83,33 +83,33 @@ public class InnorixFileServiceImpl extends EgovAbstractServiceImpl implements I
|
||||
private EgovFileMngService fileMngService;
|
||||
|
||||
@Override
|
||||
public RestResponse insertInnorixFileAjax(AdrInnorixFileVO adrInnorixFileListVO) throws FdlException, Exception {
|
||||
public RestResponse insertInnorixFileAndRpplAjax(AdrInnorixFileVO adrInnorixFileVO) throws FdlException, Exception {
|
||||
|
||||
try {
|
||||
AdrInnorixFileEnumVO innorixEnumVO = AdrInnorixFileEnumVO.valueOf(adrInnorixFileListVO.getJspFileName());
|
||||
adrInnorixFileListVO = innorixEnumVO.conversion(innorixEnumVO, adrInnorixFileListVO);
|
||||
AdrInnorixFileEnumVO innorixEnumVO = AdrInnorixFileEnumVO.valueOf(adrInnorixFileVO.getJspFileName());
|
||||
adrInnorixFileVO = innorixEnumVO.conversion(innorixEnumVO, adrInnorixFileVO);
|
||||
|
||||
// 파일 저장 후 atchFileId 받아옴
|
||||
if("INSERT".equals(adrInnorixFileListVO.getMode()))
|
||||
adrInnorixFileListVO.setAtchFileId(this.insertFileData(adrInnorixFileListVO));
|
||||
if("UPDATE".equals(adrInnorixFileListVO.getMode()))
|
||||
adrInnorixFileListVO.setAtchFileId(this.updateFileData(adrInnorixFileListVO));
|
||||
if("INSERT".equals(adrInnorixFileVO.getMode()))
|
||||
adrInnorixFileVO.setAtchFileId(this.insertFileData(adrInnorixFileVO));
|
||||
if("UPDATE".equals(adrInnorixFileVO.getMode()))
|
||||
adrInnorixFileVO.setAtchFileId(this.updateFileData(adrInnorixFileVO));
|
||||
|
||||
log.info("adrInnorixFileListVO.isAdrRpplDoc() :: [{}]", adrInnorixFileListVO.isAdrRpplDoc());
|
||||
log.info("adrInnorixFileListVO.isAdrRpplDoc() :: [{}]", adrInnorixFileVO.isAdrRpplDoc());
|
||||
|
||||
if(adrInnorixFileListVO.isAdrRpplDoc())
|
||||
adrInnorixFileListVO.setRpplDocSeq(this.insertAdrRpplDoc(adrInnorixFileListVO));
|
||||
if(adrInnorixFileVO.isAdrRpplDoc())
|
||||
adrInnorixFileVO.setRpplDocSeq(this.insertAdrRpplDoc(adrInnorixFileVO));
|
||||
|
||||
// P_code_desc가 없으면 이력을 넣지 않음.
|
||||
if(StringUtils.isNotEmpty(adrInnorixFileListVO.getP_code_desc()))
|
||||
this.ansSubmitAjax(adrInnorixFileListVO);
|
||||
if(StringUtils.isNotEmpty(adrInnorixFileVO.getP_code_desc()))
|
||||
this.ansSubmitAjax(adrInnorixFileVO);
|
||||
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
return new RestResponse(HttpStatus.BAD_REQUEST, "등록에 실패하였습니다.", LocalDateTime.now());
|
||||
}
|
||||
|
||||
return new RestResponse(HttpStatus.OK, "등록 되었습니다.", LocalDateTime.now());
|
||||
return new RestResponse(HttpStatus.OK, adrInnorixFileVO.getSuccessMsg(), adrInnorixFileVO.getAtchFileId(),LocalDateTime.now());
|
||||
}
|
||||
|
||||
/**
|
||||
@ -128,8 +128,6 @@ public class InnorixFileServiceImpl extends EgovAbstractServiceImpl implements I
|
||||
|
||||
List<FileVO> result = this.fileChange(innorixVO, atchFileId, 0);
|
||||
|
||||
|
||||
log.info(" // file data 반복문 끝 ");
|
||||
// 파일 업로드
|
||||
fileManageDAO.insertFileInfs(result);
|
||||
|
||||
@ -294,4 +292,19 @@ public class InnorixFileServiceImpl extends EgovAbstractServiceImpl implements I
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public RestResponse insertInnorixFile(AdrInnorixFileVO adrInnorixFileVO) {
|
||||
|
||||
try {
|
||||
// 파일 저장 후 atchFileId 받아옴
|
||||
adrInnorixFileVO.setAtchFileId(this.insertFileData(adrInnorixFileVO));
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
return new RestResponse(HttpStatus.BAD_REQUEST, "등록에 실패하였습니다.", LocalDateTime.now());
|
||||
}
|
||||
|
||||
return new RestResponse(HttpStatus.OK, adrInnorixFileVO.getSuccessMsg(), adrInnorixFileVO.getAtchFileId(),LocalDateTime.now());
|
||||
}
|
||||
}
|
||||
|
||||
@ -34,8 +34,8 @@ public final class MagicDBAPIUtil {
|
||||
}
|
||||
|
||||
public static String encryptOnlyOneString(String stringVal) {
|
||||
// return MagicDBAPI.encrypt(POLICY_NAME, stringVal);
|
||||
return stringVal;
|
||||
return MagicDBAPI.encrypt(POLICY_NAME, stringVal);
|
||||
// return stringVal;
|
||||
}
|
||||
|
||||
public static String decryptOnlyOneString(String stringVal) {
|
||||
|
||||
@ -44,8 +44,17 @@ public class InnorixFileController {
|
||||
@Resource(name = "InnorixFileService")
|
||||
protected InnorixFileService innorixService;
|
||||
|
||||
@RequestMapping(value = {"/kccadr/common/insertInnorixFileAjax.do"}, method = RequestMethod.POST)
|
||||
public ResponseEntity<RestResponse> insertInnorixFileAjax(@RequestBody AdrInnorixFileVO adrInnorixFileVO) throws Exception {
|
||||
/**
|
||||
* @methodName : insertInnorixFileAndRpplAjax
|
||||
* @author : 이호영
|
||||
* @date : 2022.12.26
|
||||
* @description : 파일등록 외에 rpplDoc 과 history 관련 Controller
|
||||
* @param adrInnorixFileVO
|
||||
* @return
|
||||
* @throws Exception
|
||||
*/
|
||||
@RequestMapping(value = {"/kccadr/common/insertInnorixFileAndRpplAjax.do"}, method = RequestMethod.POST)
|
||||
public ResponseEntity<RestResponse> insertInnorixFileAndRpplAjax(@RequestBody AdrInnorixFileVO adrInnorixFileVO) throws Exception {
|
||||
|
||||
//로그인 권한정보 불러오기
|
||||
LoginVO loginVO = EgovUserDetailsHelper.isAuthenticated()? (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser():null;
|
||||
@ -59,7 +68,34 @@ public class InnorixFileController {
|
||||
adrInnorixFileVO.setLastUpdusrId(userId);
|
||||
|
||||
|
||||
return ResponseEntity.ok(innorixService.insertInnorixFileAjax(adrInnorixFileVO));
|
||||
return ResponseEntity.ok(innorixService.insertInnorixFileAndRpplAjax(adrInnorixFileVO));
|
||||
}
|
||||
|
||||
/**
|
||||
* @methodName : insertInnorixFile
|
||||
* @author : 이호영
|
||||
* @date : 2022.12.26
|
||||
* @description : 파일 insert 전용
|
||||
* @param adrInnorixFileVO
|
||||
* @return
|
||||
* @throws Exception
|
||||
*/
|
||||
@RequestMapping(value = {"/kccadr/common/insertInnorixFileAjax.do"}, method = RequestMethod.POST)
|
||||
public ResponseEntity<RestResponse> insertInnorixFile(@RequestBody AdrInnorixFileVO adrInnorixFileVO) throws Exception {
|
||||
|
||||
//로그인 권한정보 불러오기
|
||||
LoginVO loginVO = EgovUserDetailsHelper.isAuthenticated()? (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser():null;
|
||||
String userId = loginVO == null ? "" : EgovStringUtil.isNullToString(loginVO.getUniqId());
|
||||
|
||||
if(userId.equals("")) {
|
||||
return ResponseEntity.ok(new RestResponse(HttpStatus.UNAUTHORIZED, "로그인이 필요합니다.", LocalDateTime.now()));
|
||||
}
|
||||
|
||||
adrInnorixFileVO.setFrstRegisterId(userId);
|
||||
adrInnorixFileVO.setLastUpdusrId(userId);
|
||||
|
||||
|
||||
return ResponseEntity.ok(innorixService.insertInnorixFile(adrInnorixFileVO));
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -184,7 +184,7 @@ public class StreamDocsController {
|
||||
info.setAdrSeq(pdfConversionVO.getAdrSeq());
|
||||
info = cmmService.selectPgrCmm(info);
|
||||
|
||||
if (!"400000".equals(info.getStatCd())) { //종료인 경우
|
||||
if ("400000".equals(info.getStatCd())) { //종료인 경우
|
||||
System.out.println("종료된 경우OOOOOOOOOOOOOO");
|
||||
//RestResponse rr = new RestResponse(null, "", null);
|
||||
|
||||
|
||||
@ -226,9 +226,17 @@ public class AdjstPayMentController {
|
||||
|
||||
String requestUrl = scheme + "://" + serverName + serverPort;
|
||||
|
||||
|
||||
|
||||
//고객사 임의데이터 ("요청URL" + "§" + "pk")
|
||||
String merchantData = requestUrl + "/web/kccadr/accdnt/apm/adjstPayMentProcess.do" + "§";
|
||||
|
||||
if("local".equals(prodIsLocal)) {
|
||||
merchantData = requestUrl + "/web/kccadr/accdnt/ai/doclssReqProcess.do" + "§";
|
||||
}else {
|
||||
merchantData = "https://adr.copyright.or.kr" + "/web/kccadr/accdnt/ai/doclssReqProcess.do" + "§";
|
||||
}
|
||||
|
||||
model.addAttribute("mid", mid);
|
||||
model.addAttribute("signKey", signKey);
|
||||
model.addAttribute("mKey", mKey);
|
||||
|
||||
@ -657,9 +657,15 @@ public class AdjstReqStatusController {
|
||||
|
||||
String requestUrl = scheme + "://" + serverName + serverPort;
|
||||
|
||||
//고객사 임의데이터 ("요청URL" + "§" + "pk")
|
||||
String merchantData = requestUrl + "/web/kccadr/accdnt/ai/doclssReqProcess.do" + "§";
|
||||
|
||||
//고객사 임의데이터 ("요청URL" + "§" + "pk")
|
||||
if("local".equals(prodIsLocal)) {
|
||||
merchantData = requestUrl + "/web/kccadr/accdnt/ai/doclssReqProcess.do" + "§";
|
||||
}else {
|
||||
merchantData = "https://adr.copyright.or.kr" + "/web/kccadr/accdnt/ai/doclssReqProcess.do" + "§";
|
||||
}
|
||||
|
||||
model.addAttribute("mid", mid);
|
||||
model.addAttribute("signKey", signKey);
|
||||
model.addAttribute("mKey", mKey);
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
package kcc.kccadr.adjCourtCnctn.web;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
@ -17,8 +16,6 @@ import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo;
|
||||
import kcc.com.cmm.LoginVO;
|
||||
import kcc.kccadr.adjCourtCnctn.service.AdjCourtCnctnService;
|
||||
import kcc.kccadr.adjCourtCnctn.service.AdjCourtCnctnVO;
|
||||
import kcc.kccadr.adjPgrMgr.exmp.cmm.ExmpManageVO;
|
||||
import kcc.kccadr.adjReqMgrOff.service.AdjReqMgrOffLineVO;
|
||||
import kcc.kccadr.adjReqMgrPast.service.AdjReqMgrPastVO;
|
||||
import kcc.kccadr.cmm.RestResponse;
|
||||
|
||||
|
||||
@ -123,5 +123,7 @@ public interface ApmService {
|
||||
void updtRpplPopPastAjax(RpplVO rpplVO);
|
||||
|
||||
Map<String, Object> findByResPonDentDIdAndFileList(RpplVO rpplVO);
|
||||
|
||||
String selectSbmtRejectApproval(String param) throws Exception;
|
||||
}
|
||||
|
||||
|
||||
@ -232,4 +232,8 @@ public class ApmDAO extends EgovAbstractDAO {
|
||||
return (RpplVO) select("Apm.findByResPonDentDId", rpplVO);
|
||||
}
|
||||
|
||||
public String selectSbmtRejectApproval(String param) throws Exception {
|
||||
return (String) select("apmDAO.selectSbmtRejectApproval", param);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -640,6 +640,13 @@ public class ApmServiceImpl implements ApmService {
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public String selectSbmtRejectApproval(String param) throws Exception {
|
||||
return apmDAO.selectSbmtRejectApproval(param);
|
||||
}
|
||||
|
||||
/**
|
||||
* @methodName : rpplDataEncrypt
|
||||
* @author : 이호영
|
||||
|
||||
@ -256,7 +256,7 @@ public class ApmController {
|
||||
* @throws Exception
|
||||
*/
|
||||
@RequestMapping(value = "apmList.do")
|
||||
public String apmList(@ModelAttribute("cmmVO") PgrCmmVO cmmVO, ModelMap model) throws Exception {
|
||||
public String apmList(@ModelAttribute("cmmVO") PgrCmmVO cmmVO, HttpServletRequest request, ModelMap model) throws Exception {
|
||||
|
||||
/*
|
||||
* if(apmVO.getPageUnit() != 10) { apmVO.setPageUnit(apmVO.getPageUnit()); }
|
||||
@ -266,6 +266,12 @@ public class ApmController {
|
||||
cmmVO.setSearchSortOrd("DESC");
|
||||
}
|
||||
|
||||
String beforeUrl = request.getHeader("Referer");
|
||||
|
||||
if(!beforeUrl.contains("apm")) {
|
||||
cmmVO.setSearchMonth("3");
|
||||
}
|
||||
|
||||
if (StringUtil.isEmpty(cmmVO.getSearchStartDt())) { // 조회일시가 null인경우
|
||||
Date today = new Date();
|
||||
cmmVO.setSearchStartDt(DateFormatUtils.format(DateUtils.addMonths(today, -1), "yyyyMMdd"));
|
||||
@ -324,7 +330,7 @@ public class ApmController {
|
||||
// reqOlCdPst 값이 있으면 과거사건 조회하지 않음
|
||||
model.addAttribute("list", cmmService.selectPgrCmmList(cmmVO));
|
||||
|
||||
|
||||
model.addAttribute("cmmVO", cmmVO);
|
||||
|
||||
if (!StringUtil.isEmpty(cmmVO.getSearchCondition()) && "20".equals(cmmVO.getSearchCondition())) { // 검색조건 신청인
|
||||
|
||||
@ -392,6 +398,9 @@ public class ApmController {
|
||||
|
||||
// 조정사건일반
|
||||
PgrCmmVO info = cmmService.selectPgrCmm(cmmVO);
|
||||
|
||||
info.setSearchMonth(cmmVO.getSearchMonth());
|
||||
|
||||
model.addAttribute("info", info);
|
||||
|
||||
|
||||
@ -534,6 +543,27 @@ public class ApmController {
|
||||
//진행상태가 결재요청상태 일때 결재결재선 중 결재 진행중인 사람 불러오기
|
||||
model.addAttribute("sbmtStatus",apmService.selectSbmtIngStatus(cmmVO.getAdrSeq()));
|
||||
|
||||
//결재 반려 시 결재 상세에서 반려한 사람 표시
|
||||
String result = apmService.selectSbmtRejectApproval(cmmVO.getAdrSeq());
|
||||
String userNm = "";
|
||||
|
||||
if(result != null) {
|
||||
/*
|
||||
* splitResult[0] -> uniqueId
|
||||
* splitResult[1] -> userNm
|
||||
* splitResult[2] -> userTy
|
||||
* */
|
||||
String[] splitResult = result.split("§");
|
||||
userNm = splitResult[1];
|
||||
if("mem".equals(splitResult[2])) {
|
||||
userNm = egovCryptoUtil.decrypt(splitResult[1]) + " 조정부장";
|
||||
}else {
|
||||
userNm = userNm + " 관리자";
|
||||
}
|
||||
}
|
||||
|
||||
model.addAttribute("rejectApproval", userNm);
|
||||
|
||||
/*//adr_mgr_detail 첨부파일 불러오기
|
||||
FileVO fileVO = new FileVO();
|
||||
|
||||
@ -2547,7 +2577,7 @@ public class ApmController {
|
||||
else {
|
||||
String ozrFilePath = "/admin/adrCorReqReport.ozr";
|
||||
*String savePath = corReqVO.getAdrSeq() + "/ozFile/adrCorReqReport.pdf";*
|
||||
String savePath = "\\\\192.168.39.125\\data3\\out\\" + corReqVO.getAdrSeq() + "\\ozFile\\adrCorReqReport.pdf";;
|
||||
String savePath = "\\\\192.168.39.130\\data\\out\\" + corReqVO.getAdrSeq() + "\\ozFile\\adrCorReqReport.pdf";;
|
||||
|
||||
String jsonData = repStr;
|
||||
jsonData = jsonData.replace("\\\\r\\\\n", "\\r\\n"); //리포트 내용에 줄바꿈 문자 변환 - pdf에서는 \\r\\n으로 넘겨야 줄바꿈이 정상 처리됨
|
||||
|
||||
@ -411,7 +411,11 @@ public class ArmController {
|
||||
if("local".equals(islocal)) {
|
||||
String ozrFilePath = "/admin/adrKkaAgrReport.ozr";
|
||||
String savePath = closeVO.getAdrSeq() + "/adrKkaAgrReport.pdf";
|
||||
savePath = ozDevPdfSavePath + closeVO.getAdrSeq() + "/adrKkaAgrReport.pdf";
|
||||
if(req.getServerName().contains("localhost")) {
|
||||
savePath = ozDevPdfSavePath + closeVO.getAdrSeq() + "/ozFile/adrKkaAgrReport.pdf";
|
||||
}else {
|
||||
savePath = "\\\\192.168.0.176\\shared_folder_176\\out\\" + closeVO.getAdrSeq() + "\\ozFile\\adrKkaAgrReport.pdf";
|
||||
}
|
||||
|
||||
String jsonData = jsObjData.toJSONString();
|
||||
jsonData = jsonData.replace("\\\\r\\\\n", "\\r\\n"); //리포트 내용에 줄바꿈 문자 변환 - pdf에서는 \\r\\n으로 넘겨야 줄바꿈이 정상 처리됨
|
||||
@ -420,7 +424,7 @@ public class ArmController {
|
||||
//실서버
|
||||
else{
|
||||
String ozrFilePath = "/admin/adrKkaAgrReport.ozr";
|
||||
String savePath = "\\\\192.168.39.125\\data3\\out\\" + closeVO.getAdrSeq() + "\\ozFile\\adrKkaAgrReport.pdf";
|
||||
String savePath = "\\\\192.168.39.130\\data\\out\\" + closeVO.getAdrSeq() + "\\ozFile\\adrKkaAgrReport.pdf";
|
||||
|
||||
String jsonData = jsObjData.toJSONString();
|
||||
jsonData = jsonData.replace("\\\\r\\\\n", "\\r\\n"); //리포트 내용에 줄바꿈 문자 변환 - pdf에서는 \\r\\n으로 넘겨야 줄바꿈이 정상 처리됨
|
||||
@ -534,7 +538,7 @@ public class ArmController {
|
||||
else{
|
||||
String ozrFilePath = "/admin/adrKkaAgrReport.ozr";
|
||||
*String savePath = closeVO.getAdrSeq() + "/ozFile/adrKkaAgrReport.pdf";*
|
||||
String savePath = "\\\\192.168.39.125\\data3\\out\\" + closeVO.getAdrSeq() + "\\ozFile\\adrKkaAgrReport.pdf";
|
||||
String savePath = "\\\\192.168.39.130\\data\\out\\" + closeVO.getAdrSeq() + "\\ozFile\\adrKkaAgrReport.pdf";
|
||||
|
||||
String jsonData = jsObjData.toJSONString();
|
||||
jsonData = jsonData.replace("\\\\r\\\\n", "\\r\\n"); //리포트 내용에 줄바꿈 문자 변환 - pdf에서는 \\r\\n으로 넘겨야 줄바꿈이 정상 처리됨
|
||||
|
||||
@ -312,7 +312,11 @@ public class CfrmController {
|
||||
if("local".equals(islocal)) {
|
||||
String ozrFilePath = "/admin/adrHjwReport.ozr";
|
||||
String savePath = cmmVO.getAdrSeq() + "/ozFile/adrHjwReport.pdf";
|
||||
if(req.getServerName().contains("localhost")) {
|
||||
savePath = ozDevPdfSavePath + cmmVO.getAdrSeq() + "/ozFile/adrHjwReport.pdf";
|
||||
}else {
|
||||
savePath = "\\\\192.168.0.176\\shared_folder_176\\out\\" + closeVO.getAdrSeq() + "\\ozFile\\adrHjwReport.pdf";
|
||||
}
|
||||
|
||||
ozSchd.ozschdFileExport(ozrFilePath, repStr, savePath, req);
|
||||
}
|
||||
@ -320,7 +324,7 @@ public class CfrmController {
|
||||
else{
|
||||
String ozrFilePath = "/admin/adrHjwReport.ozr";
|
||||
/*String savePath = cmmVO.getAdrSeq() + "/ozFile/adrHjwReport.pdf";*/
|
||||
String savePath = "\\\\192.168.39.125\\data3\\out\\" + cmmVO.getAdrSeq() + "\\ozFile\\adrHjwReport.pdf";
|
||||
String savePath = "\\\\192.168.39.130\\data\\out\\" + cmmVO.getAdrSeq() + "\\ozFile\\adrHjwReport.pdf";
|
||||
|
||||
ozSchd.ozschdFileExport(ozrFilePath, repStr, savePath, req);
|
||||
}
|
||||
@ -420,7 +424,7 @@ public class CfrmController {
|
||||
else{
|
||||
String ozrFilePath = "/admin/adrHjwReport.ozr";
|
||||
*String savePath = cmmVO.getAdrSeq() + "/ozFile/adrHjwReport.pdf";*
|
||||
String savePath = "\\\\192.168.39.125\\data3\\out\\" + cmmVO.getAdrSeq() + "\\ozFile\\adrHjwReport.pdf";
|
||||
String savePath = "\\\\192.168.39.130\\data\\out\\" + cmmVO.getAdrSeq() + "\\ozFile\\adrHjwReport.pdf";
|
||||
|
||||
|
||||
ozSchd.ozschdFileExport(ozrFilePath, repStr, savePath, req);
|
||||
|
||||
@ -100,9 +100,13 @@ public class ChdController {
|
||||
@Value("#{globalSettings['Globals.prod.islocal']}")
|
||||
public void setIslocal(String path) { islocal = path; }
|
||||
|
||||
//개발, local oz 저장 경로
|
||||
@Value("#{globalSettings['Globals.oz.devPath']}")
|
||||
private String ozDevPath;
|
||||
// //개발, local oz 저장 경로
|
||||
// @Value("#{globalSettings['Globals.oz.devPath']}")
|
||||
// private String ozDevPath;
|
||||
|
||||
//개발, local oz to pdf 저장 경로
|
||||
@Value("#{globalSettings['Globals.oz.devPdfSavePath']}")
|
||||
private String ozDevPdfSavePath;
|
||||
|
||||
/**
|
||||
* 기일변경통지 상세 TODO daenge 기일변경통지 상세
|
||||
@ -430,7 +434,12 @@ public class ChdController {
|
||||
if("local".equals(islocal)) {
|
||||
String ozrFilePath = "/admin/adrAppSlctReport.ozr";
|
||||
String savePath = cmmVO.getAdrSeq() + "/adrAppSlctReport.pdf";
|
||||
savePath = ozDevPath + cmmVO.getAdrSeq() + "/adrAppSlctReport.pdf";
|
||||
|
||||
if(req.getServerName().contains("localhost")) {
|
||||
savePath = ozDevPdfSavePath + cmmVO.getAdrSeq() + "/ozFile/adrAppSlctReport.pdf";
|
||||
}else {
|
||||
savePath = "\\\\192.168.0.176\\shared_folder_176\\out\\" + cmmVO.getAdrSeq() + "\\ozFile\\adrAppSlctReport.pdf";
|
||||
}
|
||||
|
||||
String jsonData = repStr;
|
||||
jsonData = jsonData.replace("\\\\r\\\\n", "\\r\\n"); //리포트 내용에 줄바꿈 문자 변환 - pdf에서는 \\r\\n으로 넘겨야 줄바꿈이 정상 처리됨
|
||||
@ -440,7 +449,7 @@ public class ChdController {
|
||||
else{
|
||||
String ozrFilePath = "/admin/adrAppSlctReport.ozr";
|
||||
/*String savePath = cmmVO.getAdrSeq() + "/adrAppSlctReport.pdf";*/
|
||||
String savePath = "\\\\192.168.39.125\\data3\\out\\" + cmmVO.getAdrSeq() + "\\ozFile\\adrAppSlctReport.pdf";
|
||||
String savePath = "\\\\192.168.39.130\\data\\out\\" + cmmVO.getAdrSeq() + "\\ozFile\\adrAppSlctReport.pdf";
|
||||
|
||||
String jsonData = repStr;
|
||||
jsonData = jsonData.replace("\\\\r\\\\n", "\\r\\n"); //리포트 내용에 줄바꿈 문자 변환 - pdf에서는 \\r\\n으로 넘겨야 줄바꿈이 정상 처리됨
|
||||
|
||||
@ -348,7 +348,11 @@ public class CrtController {
|
||||
if("local".equals(islocal)) {
|
||||
String ozrFilePath = "/admin/adrBsrtbsApprReport.ozr";
|
||||
String savePath = closeVO.getAdrSeq() + "/adrBsrtbsApprReport.pdf";
|
||||
savePath = ozDevPdfSavePath + closeVO.getAdrSeq() + "/adrBsrtbsApprReport.pdf";
|
||||
if(req.getServerName().contains("localhost")) {
|
||||
savePath = ozDevPdfSavePath + closeVO.getAdrSeq() + "/ozFile/adrBsrtbsApprReport.pdf";
|
||||
}else {
|
||||
savePath = "\\\\192.168.0.176\\shared_folder_176\\out\\" + closeVO.getAdrSeq() + "\\ozFile\\adrBsrtbsApprReport.pdf";
|
||||
}
|
||||
|
||||
String jsonData = repStr;
|
||||
jsonData = jsonData.replace("\\\\r\\\\n", "\\r\\n"); //리포트 내용에 줄바꿈 문자 변환 - pdf에서는 \\r\\n으로 넘겨야 줄바꿈이 정상 처리됨
|
||||
@ -358,7 +362,7 @@ public class CrtController {
|
||||
else{
|
||||
String ozrFilePath = "/admin/adrBsrtbsApprReport.ozr";
|
||||
/*String savePath = closeVO.getAdrSeq() + "/adrBsrtbsApprReport.pdf";*/
|
||||
String savePath = "\\\\192.168.39.125\\data3\\out\\" + closeVO.getAdrSeq() + "\\ozFile\\adrBsrtbsApprReport.pdf";
|
||||
String savePath = "\\\\192.168.39.130\\data\\out\\" + closeVO.getAdrSeq() + "\\ozFile\\adrBsrtbsApprReport.pdf";
|
||||
|
||||
String jsonData = repStr;
|
||||
jsonData = jsonData.replace("\\\\r\\\\n", "\\r\\n"); //리포트 내용에 줄바꿈 문자 변환 - pdf에서는 \\r\\n으로 넘겨야 줄바꿈이 정상 처리됨
|
||||
@ -457,7 +461,7 @@ public class CrtController {
|
||||
else{
|
||||
String ozrFilePath = "/admin/adrBsrtbsApprReport.ozr";
|
||||
*String savePath = closeVO.getAdrSeq() + "/ozFile/adrBsrtbsApprReport.pdf";*
|
||||
String savePath = "\\\\192.168.39.125\\data3\\out\\" + closeVO.getAdrSeq() + "\\ozFile\\adrBsrtbsApprReport.pdf";
|
||||
String savePath = "\\\\192.168.39.130\\data\\out\\" + closeVO.getAdrSeq() + "\\ozFile\\adrBsrtbsApprReport.pdf";
|
||||
|
||||
String jsonData = repStr;
|
||||
jsonData = jsonData.replace("\\\\r\\\\n", "\\r\\n"); //리포트 내용에 줄바꿈 문자 변환 - pdf에서는 \\r\\n으로 넘겨야 줄바꿈이 정상 처리됨
|
||||
|
||||
@ -119,9 +119,10 @@ public class DntController {
|
||||
@Value("#{globalSettings['Globals.ozFontPath']}")
|
||||
private String ozFontPath;
|
||||
|
||||
//개발, local oz 저장 경로
|
||||
@Value("#{globalSettings['Globals.oz.devPath']}")
|
||||
private String ozDevPath;
|
||||
// //개발, local oz 저장 경로
|
||||
// @Value("#{globalSettings['Globals.oz.devPath']}")
|
||||
// private String ozDevPath;
|
||||
|
||||
|
||||
|
||||
//개발, local oz 서버 IP + port
|
||||
@ -720,7 +721,7 @@ public class DntController {
|
||||
else{
|
||||
String ozrFilePath = "/admin/adrAppSlctReport.ozr";
|
||||
//*String savePath = cmmVO.getAdrSeq() + "/ozFile/adrAppSlctReport.pdf";*
|
||||
String savePath = "\\\\192.168.39.125\\data3\\out\\" + cmmVO.getAdrSeq() + "\\ozFile\\adrAppSlctReport.pdf";
|
||||
String savePath = "\\\\192.168.39.130\\data\\out\\" + cmmVO.getAdrSeq() + "\\ozFile\\adrAppSlctReport.pdf";
|
||||
|
||||
String jsonData = repStr;
|
||||
jsonData = jsonData.replace("\\\\r\\\\n", "\\r\\n"); //리포트 내용에 줄바꿈 문자 변환 - pdf에서는 \\r\\n으로 넘겨야 줄바꿈이 정상 처리됨
|
||||
|
||||
@ -589,8 +589,11 @@ public class DrtController {
|
||||
if("local".equals(islocal)) {
|
||||
String ozrFilePath = "/admin/adrKjosuReport.ozr";
|
||||
String savePath = cmmVO.getAdrSeq() + "/adrKjosuReport.pdf";
|
||||
savePath = ozDevPdfSavePath + cmmVO.getAdrSeq() + "/adrKjosuReport.pdf";
|
||||
|
||||
if(req.getServerName().contains("localhost")) {
|
||||
savePath = ozDevPdfSavePath + cmmVO.getAdrSeq() + "/ozFile/adrKjosuReport.pdf";
|
||||
}else {
|
||||
savePath = "\\\\192.168.0.176\\shared_folder_176\\out\\" + cmmVO.getAdrSeq() + "\\ozFile\\adrKjosuReport.pdf";
|
||||
}
|
||||
String jsonData = repStr;
|
||||
jsonData = jsonData.replace("\\\\r\\\\n", "\\r\\n"); //리포트 내용에 줄바꿈 문자 변환 - pdf에서는 \\r\\n으로 넘겨야 줄바꿈이 정상 처리됨
|
||||
ozSchd.ozschdFileExport(ozrFilePath, jsonData, savePath, req);
|
||||
@ -599,7 +602,7 @@ public class DrtController {
|
||||
else{
|
||||
String ozrFilePath = "/admin/adrKjosuReport.ozr";
|
||||
/*String savePath = cmmVO.getAdrSeq() + "/adrKjosuReport.pdf";*/
|
||||
String savePath = "\\\\192.168.39.125\\data3\\out\\" + cmmVO.getAdrSeq() + "\\ozFile\\adrKjosuReport.pdf";
|
||||
String savePath = "\\\\192.168.39.130\\data\\out\\" + cmmVO.getAdrSeq() + "\\ozFile\\adrKjosuReport.pdf";
|
||||
|
||||
String jsonData = repStr;
|
||||
jsonData = jsonData.replace("\\\\r\\\\n", "\\r\\n"); //리포트 내용에 줄바꿈 문자 변환 - pdf에서는 \\r\\n으로 넘겨야 줄바꿈이 정상 처리됨
|
||||
@ -763,7 +766,7 @@ public class DrtController {
|
||||
else{
|
||||
String ozrFilePath = "/admin/adrKjosuReport.ozr";
|
||||
//*String savePath = cmmVO.getAdrSeq() + "/ozFile/adrKjosuReport.pdf";*
|
||||
String savePath = "\\\\192.168.39.125\\data3\\out\\" + cmmVO.getAdrSeq() + "\\ozFile\\adrKjosuReport.pdf";
|
||||
String savePath = "\\\\192.168.39.130\\data\\out\\" + cmmVO.getAdrSeq() + "\\ozFile\\adrKjosuReport.pdf";
|
||||
|
||||
String jsonData = repStr;
|
||||
jsonData = jsonData.replace("\\\\r\\\\n", "\\r\\n"); //리포트 내용에 줄바꿈 문자 변환 - pdf에서는 \\r\\n으로 넘겨야 줄바꿈이 정상 처리됨
|
||||
@ -927,7 +930,7 @@ public class DrtController {
|
||||
else{
|
||||
String ozrFilePath = "/admin/adrKjosuReport.ozr";
|
||||
//*String savePath = cmmVO.getAdrSeq() + "/ozFile/adrKjosuReport.pdf";*
|
||||
String savePath = "\\\\192.168.39.125\\data3\\out\\" + cmmVO.getAdrSeq() + "\\ozFile\\adrKjosuReport.pdf";
|
||||
String savePath = "\\\\192.168.39.130\\data\\out\\" + cmmVO.getAdrSeq() + "\\ozFile\\adrKjosuReport.pdf";
|
||||
|
||||
String jsonData = repStr;
|
||||
jsonData = jsonData.replace("\\\\r\\\\n", "\\r\\n"); //리포트 내용에 줄바꿈 문자 변환 - pdf에서는 \\r\\n으로 넘겨야 줄바꿈이 정상 처리됨
|
||||
|
||||
@ -573,7 +573,11 @@ public class DrtCtrController {
|
||||
if("local".equals(islocal)) {
|
||||
String ozrFilePath = "/admin/adrJjosuReport.ozr";
|
||||
String savePath = cmmVO.getAdrSeq() + "/adrJjosuReport.pdf";
|
||||
savePath = ozDevPdfSavePath + cmmVO.getAdrSeq() + "/adrJjosuReport.pdf";
|
||||
if(req.getServerName().contains("localhost")) {
|
||||
savePath = ozDevPdfSavePath + cmmVO.getAdrSeq() + "/ozFile/adrJjosuReport.pdf";
|
||||
}else {
|
||||
savePath = "\\\\192.168.0.176\\shared_folder_176\\out\\" + cmmVO.getAdrSeq() + "\\ozFile\\adrJjosuReport.pdf";
|
||||
}
|
||||
|
||||
String jsonData = repStr;
|
||||
jsonData = jsonData.replace("\\\\r\\\\n", "\\r\\n"); //리포트 내용에 줄바꿈 문자 변환 - pdf에서는 \\r\\n으로 넘겨야 줄바꿈이 정상 처리됨
|
||||
@ -583,7 +587,7 @@ public class DrtCtrController {
|
||||
else{
|
||||
String ozrFilePath = "/admin/adrJjosuReport.ozr";
|
||||
/*String savePath = cmmVO.getAdrSeq() + "/adrJjosuReport.pdf";*/
|
||||
String savePath = "\\\\192.168.39.125\\data3\\out\\" + cmmVO.getAdrSeq() + "\\ozFile\\adrJjosuReport.pdf";
|
||||
String savePath = "\\\\192.168.39.130\\data\\out\\" + cmmVO.getAdrSeq() + "\\ozFile\\adrJjosuReport.pdf";
|
||||
|
||||
String jsonData = repStr;
|
||||
jsonData = jsonData.replace("\\\\r\\\\n", "\\r\\n"); //리포트 내용에 줄바꿈 문자 변환 - pdf에서는 \\r\\n으로 넘겨야 줄바꿈이 정상 처리됨
|
||||
@ -806,7 +810,7 @@ public class DrtCtrController {
|
||||
else{
|
||||
String ozrFilePath = "/admin/adrJjosuReport.ozr";
|
||||
//*String savePath = cmmVO.getAdrSeq() + "/ozFile/adrJjosuReport.pdf";*
|
||||
String savePath = "\\\\192.168.39.125\\data3\\out\\" + cmmVO.getAdrSeq() + "\\ozFile\\adrJjosuReport.pdf";
|
||||
String savePath = "\\\\192.168.39.130\\data\\out\\" + cmmVO.getAdrSeq() + "\\ozFile\\adrJjosuReport.pdf";
|
||||
|
||||
String jsonData = repStr;
|
||||
jsonData = jsonData.replace("\\\\r\\\\n", "\\r\\n"); //리포트 내용에 줄바꿈 문자 변환 - pdf에서는 \\r\\n으로 넘겨야 줄바꿈이 정상 처리됨
|
||||
@ -1042,7 +1046,7 @@ public class DrtCtrController {
|
||||
else{
|
||||
String ozrFilePath = "/admin/adrJjosuReport.ozr";
|
||||
//*String savePath = cmmVO.getAdrSeq() + "/ozFile/adrJjosuReport.pdf";*
|
||||
String savePath = "\\\\192.168.39.125\\data3\\out\\" + cmmVO.getAdrSeq() + "\\ozFile\\adrJjosuReport.pdf";
|
||||
String savePath = "\\\\192.168.39.130\\data\\out\\" + cmmVO.getAdrSeq() + "\\ozFile\\adrJjosuReport.pdf";
|
||||
|
||||
String jsonData = repStr;
|
||||
jsonData = jsonData.replace("\\\\r\\\\n", "\\r\\n"); //리포트 내용에 줄바꿈 문자 변환 - pdf에서는 \\r\\n으로 넘겨야 줄바꿈이 정상 처리됨
|
||||
|
||||
@ -352,7 +352,11 @@ public class EntController {
|
||||
if("local".equals(islocal)) {
|
||||
String ozrFilePath = "/admin/adrCncltbsReport.ozr";
|
||||
String savePath = closeVO.getAdrSeq() + "/adrCncltbsReport.pdf";
|
||||
savePath = ozDevPdfSavePath + closeVO.getAdrSeq() + "/adrCncltbsReport.pdf";
|
||||
if(req.getServerName().contains("localhost")) {
|
||||
savePath = ozDevPdfSavePath + closeVO.getAdrSeq() + "/ozFile/adrCncltbsReport.pdf";
|
||||
}else {
|
||||
savePath = "\\\\192.168.0.176\\shared_folder_176\\out\\" + closeVO.getAdrSeq() + "\\ozFile\\adrCncltbsReport.pdf";
|
||||
}
|
||||
|
||||
String jsonData = repStr;
|
||||
jsonData = jsonData.replace("\\\\r\\\\n", "\\r\\n"); //리포트 내용에 줄바꿈 문자 변환 - pdf에서는 \\r\\n으로 넘겨야 줄바꿈이 정상 처리됨
|
||||
@ -362,7 +366,7 @@ public class EntController {
|
||||
else{
|
||||
String ozrFilePath = "/admin/adrCncltbsReport.ozr";
|
||||
/*String savePath = closeVO.getAdrSeq() + "/adrCncltbsReport.pdf";*/
|
||||
String savePath = "\\\\192.168.39.125\\data3\\out\\" + closeVO.getAdrSeq() + "\\ozFile\\adrCncltbsReport.pdf";
|
||||
String savePath = "\\\\192.168.39.130\\data\\out\\" + closeVO.getAdrSeq() + "\\ozFile\\adrCncltbsReport.pdf";
|
||||
|
||||
String jsonData = repStr;
|
||||
jsonData = jsonData.replace("\\\\r\\\\n", "\\r\\n"); //리포트 내용에 줄바꿈 문자 변환 - pdf에서는 \\r\\n으로 넘겨야 줄바꿈이 정상 처리됨
|
||||
@ -482,7 +486,7 @@ public class EntController {
|
||||
else{
|
||||
String ozrFilePath = "/admin/adrCncltbsReport.ozr";
|
||||
*String savePath = closeVO.getAdrSeq() + "/ozFile/adrCncltbsReport.pdf";*
|
||||
String savePath = "\\\\192.168.39.125\\data3\\out\\" + closeVO.getAdrSeq() + "\\ozFile\\adrCncltbsReport.pdf";
|
||||
String savePath = "\\\\192.168.39.130\\data\\out\\" + closeVO.getAdrSeq() + "\\ozFile\\adrCncltbsReport.pdf";
|
||||
|
||||
String jsonData = repStr;
|
||||
jsonData = jsonData.replace("\\\\r\\\\n", "\\r\\n"); //리포트 내용에 줄바꿈 문자 변환 - pdf에서는 \\r\\n으로 넘겨야 줄바꿈이 정상 처리됨
|
||||
|
||||
@ -897,7 +897,11 @@ public class InternalApprovManageController {
|
||||
if("local".equals(islocal)) {
|
||||
String ozrFilePath = "/admin/adrFrontReport.ozr";
|
||||
String savePath = cmmVO.getAdrSeq() + "/ozFile/adrFrontReport.png";
|
||||
if(req.getServerName().contains("localhost")) {
|
||||
savePath = ozDevPdfSavePath + cmmVO.getAdrSeq() + "/ozFile/adrFrontReport.png";
|
||||
}else {
|
||||
savePath = "\\\\192.168.0.176\\shared_folder_176\\out\\" + cmmVO.getAdrSeq() + "\\ozFile\\adrFrontReport.png";
|
||||
}
|
||||
|
||||
String jsonData = repStr;
|
||||
jsonData = jsonData.replace("\\\\r\\\\n", "\\r\\n"); //리포트 내용에 줄바꿈 문자 변환 - pdf에서는 \\r\\n으로 넘겨야 줄바꿈이 정상 처리됨
|
||||
@ -907,7 +911,7 @@ public class InternalApprovManageController {
|
||||
else{
|
||||
String ozrFilePath = "/admin/adrFrontReport.ozr";
|
||||
/*String savePath = cmmVO.getAdrSeq() + "/ozFile/adrFrontReport.png";*/
|
||||
String savePath = "\\\\192.168.39.125\\data3\\out\\" + cmmVO.getAdrSeq() + "\\ozFile\\adrFrontReport.png";
|
||||
String savePath = "\\\\192.168.39.130\\data\\out\\" + cmmVO.getAdrSeq() + "\\ozFile\\adrFrontReport.png";
|
||||
|
||||
String jsonData = repStr;
|
||||
jsonData = jsonData.replace("\\\\r\\\\n", "\\r\\n"); //리포트 내용에 줄바꿈 문자 변환 - pdf에서는 \\r\\n으로 넘겨야 줄바꿈이 정상 처리됨
|
||||
@ -1089,7 +1093,11 @@ public class InternalApprovManageController {
|
||||
if("local".equals(islocal)) {
|
||||
String ozrFilePath = "/adjReqReport.ozr";
|
||||
String savePath = adjReqVO.getAdrSeq() + "/ozFile/adjReqReport.png";
|
||||
if(req.getServerName().contains("localhost")) {
|
||||
savePath = ozDevPdfSavePath + adjReqVO.getAdrSeq() + "/ozFile/adjReqReport.png";
|
||||
}else {
|
||||
savePath = "\\\\192.168.0.176\\shared_folder_176\\out\\" + adjReqVO.getAdrSeq() + "\\ozFile\\adjReqReport.png";
|
||||
}
|
||||
|
||||
String jsonData = jsObjData.toJSONString();
|
||||
jsonData = jsonData.replace("\\\\r\\\\n", "\\r\\n"); //리포트 내용에 줄바꿈 문자 변환 - pdf에서는 \\r\\n으로 넘겨야 줄바꿈이 정상 처리됨
|
||||
@ -1099,7 +1107,7 @@ public class InternalApprovManageController {
|
||||
else{
|
||||
String ozrFilePath = "/adjReqReport.ozr";
|
||||
/*String savePath = adjReqVO.getAdrSeq() + "/ozFile/adjReqReport.png";*/
|
||||
String savePath = "\\\\192.168.39.125\\data3\\out\\" + adjReqVO.getAdrSeq() + "\\ozFile\\adjReqReport.png";
|
||||
String savePath = "\\\\192.168.39.130\\data\\out\\" + adjReqVO.getAdrSeq() + "\\ozFile\\adjReqReport.png";
|
||||
|
||||
String jsonData = jsObjData.toJSONString();
|
||||
jsonData = jsonData.replace("\\\\r\\\\n", "\\r\\n"); //리포트 내용에 줄바꿈 문자 변환 - pdf에서는 \\r\\n으로 넘겨야 줄바꿈이 정상 처리됨
|
||||
|
||||
@ -549,7 +549,7 @@ public class OadController {
|
||||
else{
|
||||
String ozrFilePath = "/admin/adrJkkjsReport.ozr";
|
||||
*String savePath = closeVO.getAdrSeq() + "/ozFile/adrJkkjsReport.pdf";*
|
||||
String savePath = "\\\\192.168.39.125\\data3\\out\\" + closeVO.getAdrSeq() + "\\ozFile\\adrJkkjsReport.pdf";
|
||||
String savePath = "\\\\192.168.39.130\\data\\out\\" + closeVO.getAdrSeq() + "\\ozFile\\adrJkkjsReport.pdf";
|
||||
|
||||
String jsonData = repStr;
|
||||
jsonData = jsonData.replace("\\\\r\\\\n", "\\r\\n"); //리포트 내용에 줄바꿈 문자 변환 - pdf에서는 \\r\\n으로 넘겨야 줄바꿈이 정상 처리됨
|
||||
@ -724,7 +724,7 @@ public class OadController {
|
||||
else{
|
||||
String ozrFilePath = "/admin/adrJkkjsReport.ozr";
|
||||
*String savePath = closeVO.getAdrSeq() + "/ozFile/adrJkkjsReport.pdf";*
|
||||
String savePath = "\\\\192.168.39.125\\data3\\out\\" + closeVO.getAdrSeq() + "\\ozFile\\adrJkkjsReport.pdf";
|
||||
String savePath = "\\\\192.168.39.130\\data\\out\\" + closeVO.getAdrSeq() + "\\ozFile\\adrJkkjsReport.pdf";
|
||||
|
||||
String jsonData = repStr;
|
||||
jsonData = jsonData.replace("\\\\r\\\\n", "\\r\\n"); //리포트 내용에 줄바꿈 문자 변환 - pdf에서는 \\r\\n으로 넘겨야 줄바꿈이 정상 처리됨
|
||||
|
||||
@ -147,20 +147,22 @@ public class OjctMgrController {
|
||||
|
||||
}
|
||||
|
||||
String atchFileId = "";
|
||||
final Map<String, MultipartFile> files = multiRequest.getFileMap();
|
||||
if (!files.isEmpty()) {
|
||||
//조정신청_로 첨부파일 네이밍
|
||||
List<FileVO> result = fileUtil.parseFileInf(files, "이의 신청_", 0, "", "", "");
|
||||
atchFileId = fileMngService.insertFileInfs(result);
|
||||
//첨부파일Id(atchFileId)를 해당 VO atchFileId변수에 저장
|
||||
ojctMgrVO.setAtchFileId(atchFileId);
|
||||
}
|
||||
// String atchFileId = "";
|
||||
// final Map<String, MultipartFile> files = multiRequest.getFileMap();
|
||||
// if (!files.isEmpty()) {
|
||||
// //조정신청_로 첨부파일 네이밍
|
||||
// List<FileVO> result = fileUtil.parseFileInf(files, "이의 신청_", 0, "", "", "");
|
||||
// atchFileId = fileMngService.insertFileInfs(result);
|
||||
// //첨부파일Id(atchFileId)를 해당 VO atchFileId변수에 저장
|
||||
// ojctMgrVO.setAtchFileId(atchFileId);
|
||||
// }
|
||||
|
||||
System.out.println(" + ojctMgrVO.setAtchFileId() :: " + ojctMgrVO.getAtchFileId());
|
||||
//
|
||||
//사용자 유니크 아이디 받아오기
|
||||
ojctMgrVO.setLastUpdusrId(userId);
|
||||
ojctMgrVO.setFrstRegisterId(userId);
|
||||
ojctMgrVO.setAtchFileId(atchFileId);
|
||||
// ojctMgrVO.setAtchFileId(atchFileId);
|
||||
|
||||
if(ojctMgrVO.getAdrSeq() != null) {
|
||||
|
||||
|
||||
@ -137,7 +137,7 @@ public class AdjReqMgrPastController {
|
||||
int reqPerTotCnt = 0;
|
||||
|
||||
if(StringUtils.isNotBlank(adjReqMgrPastVO.getAdrSeq())) {
|
||||
|
||||
System.out.println("=========================");
|
||||
//오프라인 조정 신청 정보 불러오기.
|
||||
AdjReqMgrPastVO resultAdjReqMgrPast = adjReqMgrPastService.selectAdjReqMgrOffLineInfo(adjReqMgrPastVO);
|
||||
AdjReqMgrPastVO statCdInfo = adjReqMgrPastService.findByAdrHstryWhereStatCd(adjReqMgrPastVO);
|
||||
|
||||
@ -986,7 +986,7 @@ public class AdjReqMgrController {
|
||||
String ozrFilePath2 = "/adjReqReport.ozr";
|
||||
|
||||
//이준호 오즈리포트 export_0406_nas에 파일 저장 성공
|
||||
String savePath2 = "\\\\192.168.39.125\\data3\\out\\" + adjstReqVO.getAdrSeq() + "\\ozFile\\adjReqReport.pdf";
|
||||
String savePath2 = "\\\\192.168.39.130\\data\\out\\" + adjstReqVO.getAdrSeq() + "\\ozFile\\adjReqReport.pdf";
|
||||
|
||||
String jsonData2 = jsObjData.toJSONString();
|
||||
|
||||
@ -1002,7 +1002,7 @@ public class AdjReqMgrController {
|
||||
String ozrFilePath2 = "/adjReqReport.ozr";
|
||||
|
||||
//이준호 오즈리포트 export 경로 앞에 "/"추가 테스트_220310
|
||||
String savePath2 = "\\\\192.168.39.125\\data3\\out\\adjReqReport2.pdf";
|
||||
String savePath2 = "\\\\192.168.39.130\\data\\out\\adjReqReport2.pdf";
|
||||
System.out.println("@@@@@@@@@@@@@@@@@@adjstReqVO.getAdrSeq() :: @@@@@ =" + adjstReqVO.getAdrSeq());
|
||||
|
||||
System.out.println("@@@@@@@@@@@@@@@@@@ savePath2 :: @@@@@ = " + savePath2);
|
||||
|
||||
@ -1709,6 +1709,15 @@ public class AdjstReqWebController {
|
||||
String reqCn1 = adjReqVO.getReqCn1().replaceAll("\r\n", "\\\\r\\\\n"); //신청취지
|
||||
String reqCn2 = adjReqVO.getReqCn2().replaceAll("\r\n", "\\\\r\\\\n"); //신청원인
|
||||
|
||||
// 조정신청 3step 미리보기 시 신청 취지/원인에 데이터가 없으면 'null data'로 찍혀서 공백을 띄어쓰기 한칸으로 넣기_이준호_221226
|
||||
if("".equals(reqCn1)) {
|
||||
reqCn1 = " ";
|
||||
}
|
||||
|
||||
if("".equals(reqCn2)) {
|
||||
reqCn2 = " ";
|
||||
}
|
||||
|
||||
|
||||
if(!rpplNm.equals("")) {
|
||||
|
||||
|
||||
@ -30,7 +30,7 @@ public interface AprvlMgrService {
|
||||
) throws Exception;
|
||||
|
||||
//조정사건결재저장 - 2022-10고도화
|
||||
int insertAdrSbmtMgr202210(AprvlMgrVO aprvlMgrVO
|
||||
String insertAdrSbmtMgr202210(AprvlMgrVO aprvlMgrVO
|
||||
, String p_code_desc
|
||||
, String p_stat_cd
|
||||
, String p_adrHstryMgrSeq
|
||||
|
||||
@ -99,7 +99,7 @@ public class AprvlMgrServiceImpl extends EgovAbstractServiceImpl implements Apr
|
||||
}
|
||||
|
||||
//조종사건결재
|
||||
public int insertAdrSbmtMgr202210(AprvlMgrVO aprvlMgrVO
|
||||
public String insertAdrSbmtMgr202210(AprvlMgrVO aprvlMgrVO
|
||||
, String p_code_desc
|
||||
, String p_stat_cd
|
||||
, String p_adrHstryMgrSeq
|
||||
@ -264,7 +264,8 @@ public class AprvlMgrServiceImpl extends EgovAbstractServiceImpl implements Apr
|
||||
);
|
||||
//adr_hstry_mgr에 값 넣기 - 끝
|
||||
|
||||
return rs;
|
||||
/*return rs;*/
|
||||
return aprvlMgrVO.getSbmtSeq();
|
||||
}
|
||||
|
||||
//조종사건수정
|
||||
|
||||
@ -376,12 +376,19 @@ public class AprvlMgr202210Controller {
|
||||
|
||||
//조정사건결재 내용 추가해주기
|
||||
//이력관리를 위한 adr_hstry_mgr 데이터 관리 추가 - 2022-08-09
|
||||
i = aprvlMgrService.insertAdrSbmtMgr202210(aprvlMgrVO
|
||||
// i = aprvlMgrService.insertAdrSbmtMgr202210(aprvlMgrVO
|
||||
// , "조정진행관리>>조정진행목록>조정진행상세>결재요청" //String p_code_desc - CC199
|
||||
// , "A070" //String p_stat_cd
|
||||
// , s_adrHstryMgrSeq
|
||||
// , adrSbmtLineMgrUsrVO
|
||||
// );
|
||||
String sbmtSeq = aprvlMgrService.insertAdrSbmtMgr202210(aprvlMgrVO
|
||||
, "조정진행관리>>조정진행목록>조정진행상세>결재요청" //String p_code_desc - CC199
|
||||
, "A070" //String p_stat_cd
|
||||
, s_adrHstryMgrSeq
|
||||
, adrSbmtLineMgrUsrVO
|
||||
);
|
||||
if(!"".equals(sbmtSeq)) i = 1;
|
||||
|
||||
//조정부가 있는지 확인 하자.
|
||||
aprvlMgrVO = aprvlMgrService.selectDetail(aprvlMgrVO);
|
||||
@ -434,6 +441,7 @@ public class AprvlMgr202210Controller {
|
||||
|
||||
|
||||
modelAndView.addObject("status", "success");
|
||||
modelAndView.addObject("sbmtSeq", sbmtSeq);
|
||||
}catch(Exception ex) {
|
||||
modelAndView.addObject("status", "fail");
|
||||
modelAndView.addObject("message", "결재선 생성 실패.-step0");
|
||||
|
||||
@ -96,13 +96,13 @@ public class CertDocController {
|
||||
/**
|
||||
* 송달문서조회용 SNS 로그인 페이지
|
||||
*/
|
||||
@RequestMapping("/web/kccadr/certDoc/snsLoginPage.do")
|
||||
/*@RequestMapping("/web/kccadr/certDoc/snsLoginPage.do")
|
||||
public String snsLoginPage(@ModelAttribute("dlvinfoVO") DlvinfoVO dlvinfoVO, ModelMap model) throws Exception {
|
||||
|
||||
model.addAttribute("info", dlvinfoVO);
|
||||
return "/web/kccadr/login/SsoLoginUsrSns";
|
||||
|
||||
}
|
||||
}*/
|
||||
|
||||
/**
|
||||
* 송달문서조회용 SNS 로그인 callback 페이지
|
||||
|
||||
@ -1080,6 +1080,7 @@ public class KccadrPdfConversion extends EgovAbstractServiceImpl {
|
||||
|
||||
for(AdjstReqStatusVO tmpAdjstReqStatusVO : adrFileList) {
|
||||
if(!"0".equals(tmpAdjstReqStatusVO.getAdrDocCn2())) {
|
||||
try {
|
||||
conversionNo++; //변환 후 파일명 순번
|
||||
|
||||
//step1.파일위치 변경
|
||||
@ -1112,6 +1113,9 @@ public class KccadrPdfConversion extends EgovAbstractServiceImpl {
|
||||
map.put("BOOKMARKNAME", oriFileName); // 북마크에 삽입될 실제 파일명
|
||||
mapList.add(map);
|
||||
}
|
||||
} catch (Exception e) {
|
||||
System.out.println("atchFile Exception!!!!!!!!!!!");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -85,9 +85,13 @@ public class OjctWebController {
|
||||
@Value("#{globalSettings['Globals.prod.islocal']}")
|
||||
public void setIslocal(String path) { islocal = path; }
|
||||
|
||||
//개발, local oz 저장 경로
|
||||
@Value("#{globalSettings['Globals.oz.devPath']}")
|
||||
private String ozDevPath;
|
||||
// //개발, local oz 저장 경로
|
||||
// @Value("#{globalSettings['Globals.oz.devPath']}")
|
||||
// private String ozDevPath;
|
||||
|
||||
//개발, local oz to pdf 저장 경로
|
||||
@Value("#{globalSettings['Globals.oz.devPdfSavePath']}")
|
||||
private String ozDevPdfSavePath;
|
||||
|
||||
/**
|
||||
* 이의신청 목록 화면(사용자)
|
||||
@ -376,7 +380,11 @@ public class OjctWebController {
|
||||
if("local".equals(islocal)) {
|
||||
String ozrFilePath = "/admin/adrOjctReport.ozr";
|
||||
String savePath = ojctVO.getAdrSeq() + "/adrOjctReport.pdf";
|
||||
savePath = ozDevPath + ojctVO.getAdrSeq() + "/adrOjctReport.pdf";
|
||||
if(req.getServerName().contains("localhost")) {
|
||||
savePath = ozDevPdfSavePath + ojctVO.getAdrSeq() + "/ozFile/adrOjctReport.pdf";
|
||||
}else {
|
||||
savePath = "\\\\192.168.0.176\\shared_folder_176\\out\\" + ojctVO.getAdrSeq() + "\\ozFile\\adrOjctReport.pdf";
|
||||
}
|
||||
|
||||
String jsonData = repStr;
|
||||
jsonData = jsonData.replace("\\\\r\\\\n", "\\r\\n"); //리포트 내용에 줄바꿈 문자 변환 - pdf에서는 \\r\\n으로 넘겨야 줄바꿈이 정상 처리됨
|
||||
@ -386,7 +394,7 @@ public class OjctWebController {
|
||||
else{
|
||||
String ozrFilePath = "/admin/adrOjctReport.ozr";
|
||||
/*String savePath = ojctVO.getAdrSeq() + "/adrOjctReport.pdf";*/
|
||||
String savePath = "\\\\192.168.39.125\\data3\\out\\" + ojctVO.getAdrSeq() + "\\ozFile\\adrOjctReport.pdf";
|
||||
String savePath = "\\\\192.168.39.130\\data\\out\\" + ojctVO.getAdrSeq() + "\\ozFile\\adrOjctReport.pdf";
|
||||
|
||||
String jsonData = repStr;
|
||||
jsonData = jsonData.replace("\\\\r\\\\n", "\\r\\n"); //리포트 내용에 줄바꿈 문자 변환 - pdf에서는 \\r\\n으로 넘겨야 줄바꿈이 정상 처리됨
|
||||
|
||||
@ -37,14 +37,17 @@ public class OzSchdExportUtil {
|
||||
|
||||
//개발서버 및 운영서버 구분에 따른 서버 정보 셋팅
|
||||
String serverNm = request.getServerName();
|
||||
if(serverNm.contains("localhost") || serverNm.contains("119.193.215.98") || serverNm.contains("iten.co.kr")) {
|
||||
if(serverNm.contains("localhost")
|
||||
|| serverNm.contains("119.193.215.98")
|
||||
|| serverNm.contains("iten.co.kr")
|
||||
) {
|
||||
|
||||
ozApiUrl = "http://192.168.0.125:8091/oz80/server";
|
||||
ozApiIp = "192.168.0.125";
|
||||
// ozApiUrl = "http://192.168.0.125:8091/oz80/server";
|
||||
// ozApiIp = "192.168.0.125";
|
||||
|
||||
//개발서버
|
||||
ozApiIp = "192.168.0.176";
|
||||
ozApiUrl = "http://"+ozApiIp+":8091/oz80/server";
|
||||
ozApiIp = "192.168.0.200";
|
||||
ozApiUrl = "http://192.168.0.176:8091/oz80/server";
|
||||
|
||||
|
||||
}else {
|
||||
@ -195,7 +198,8 @@ public class OzSchdExportUtil {
|
||||
if(p_devServerCheckString.indexOf(p_serverNm)>-1) {
|
||||
System.out.println(p_islocal + "환경입니다.-inner");
|
||||
//저장파일 경로 - dev 서버의 경우는 oz report가linux 서버에서 작동되어 하기와 같이 경로 설정해야함(IP 불필요)
|
||||
savePath = p_ozDevPath + "/" + p_adrSeq + "/ozFile/" + p_savePdfFileName;
|
||||
savePath = "\\" + p_ozDevPath + "\\" + p_adrSeq + "\\ozFile\\" + p_savePdfFileName;
|
||||
// savePath = p_ozDevPath + "/" + p_adrSeq + "/ozFile/" + p_savePdfFileName;
|
||||
//savePath = p_ozDevPath + "\\" + p_adrSeq + "\\" + p_savePdfFileName;
|
||||
//savePath = p_ozDevPath + "/" + p_savePdfFileName;
|
||||
|
||||
|
||||
@ -214,157 +214,157 @@ public class EgovMainController {
|
||||
}
|
||||
}
|
||||
|
||||
PaginationInfo paginationInfo = new PaginationInfo();
|
||||
{//일일관리자 접속 리스트
|
||||
LoginLog loginLog = new LoginLog();
|
||||
paginationInfo.setCurrentPageNo(loginLog.getPageIndex());
|
||||
paginationInfo.setRecordCountPerPage(loginLog.getPageUnit());
|
||||
paginationInfo.setPageSize(loginLog.getPageSize());
|
||||
|
||||
loginLog.setFirstIndex(paginationInfo.getFirstRecordIndex());
|
||||
loginLog.setLastIndex(paginationInfo.getLastRecordIndex());
|
||||
loginLog.setRecordCountPerPage(10); //50개까지 보여주기
|
||||
//if(null != loginVO){ loginLog.setSiteId(loginVO.getSiteId()); }
|
||||
List<LoginLog> adminLogList = loginLogService.selectMainAmdinLog(loginLog);
|
||||
int adminLogListCnt = loginLogService.selectMainAmdinLogTotCnt(loginLog);
|
||||
paginationInfo.setTotalRecordCount(adminLogListCnt);
|
||||
model.addAttribute("paginationInfo", paginationInfo);
|
||||
model.addAttribute("adminLogList", adminLogList);
|
||||
}
|
||||
{// 최근 게시물 / 새개시물 카운트
|
||||
//0번째 부터 6개의 항목만 조회
|
||||
boardVO.setFirstIndex(0);
|
||||
boardVO.setRecordCountPerPage(5);
|
||||
// 최신날짜 우선순위 조회
|
||||
boardVO.setSearchSortCnd("frstRegisterPnttm");
|
||||
boardVO.setSearchSortOrd("desc");
|
||||
List<BoardVO> adminBoardList = bbsMngService.selectAdminMainBoard(boardVO);
|
||||
model.addAttribute("adminBoardList", adminBoardList);
|
||||
|
||||
int adminMainNewBoardCnt = bbsMngService.selectAdminMainNewBoardCnt(boardVO);
|
||||
model.addAttribute("adminMainNewBoardCnt", adminMainNewBoardCnt);
|
||||
|
||||
}
|
||||
{// 관리자 로그관리 리스트
|
||||
LoginLog loginLog = new LoginLog();
|
||||
//0번째 부터 6개의 항목만 조회
|
||||
loginLog.setFirstIndex(0);
|
||||
loginLog.setRecordCountPerPage(6);
|
||||
// 최신날짜 우선순위 조회
|
||||
loginLog.setSearchSortCnd("creatDt");
|
||||
loginLog.setSearchSortOrd("desc");
|
||||
List<LoginLog> adminLogList = loginLogService.selectAmdinLog(loginLog);
|
||||
model.addAttribute("adminLogList", adminLogList);
|
||||
|
||||
}
|
||||
{//신규가입회원 목록
|
||||
UserDefaultVO userSearchVO = new UserDefaultVO();
|
||||
|
||||
//0번째 부터 4개의 항목만 조회
|
||||
userSearchVO.setFirstIndex(0);
|
||||
userSearchVO.setRecordCountPerPage(4);
|
||||
|
||||
// 가입일시 우선순위 조회
|
||||
userSearchVO.setSearchSortCnd("sbscrbDe");
|
||||
userSearchVO.setSearchSortOrd("desc");
|
||||
|
||||
userSearchVO.setAdminYn("N");
|
||||
List<?> userList = userManageService.selectUserList(userSearchVO);
|
||||
model.addAttribute("userList", userList);
|
||||
|
||||
UserDefaultVO userCount = userManageService.selectUserCount();
|
||||
model.addAttribute("userCount", userCount);
|
||||
}
|
||||
|
||||
{//접속통계 사용자만
|
||||
StatsVO statsVO = new StatsVO();
|
||||
statsVO.setRecordCountPerPage(20); //일카운터(20개)
|
||||
statsVO.setFirstIndex(0);
|
||||
List<StatsVO> statsDayList = conectStatsService.selectMainStatsDay(statsVO); //일일접속카운터(관리자)
|
||||
List<StatsVO> statsMonthList = conectStatsService.selectMainStatsMonth(statsVO); //월별접속카운터(관리자)
|
||||
List<StatsVO> statsYearList = conectStatsService.selectMainStatsYear(statsVO); //연도변접속카운터(관리자)
|
||||
{//일일통계 /* 연도없애기 */
|
||||
JSONObject statsObject = new JSONObject();
|
||||
JSONArray cntArray = new JSONArray();
|
||||
JSONArray dateArray = new JSONArray();
|
||||
for(StatsVO tempStatsVO : statsDayList){
|
||||
cntArray.add(tempStatsVO.getCnt());
|
||||
dateArray.add(tempStatsVO.getStatsDate().substring(5,tempStatsVO.getStatsDate().length()));
|
||||
}
|
||||
statsObject.put("cnt" , cntArray);
|
||||
statsObject.put("date" , dateArray);
|
||||
model.addAttribute("statsDayList", statsObject);
|
||||
}
|
||||
{//월통계
|
||||
JSONObject statsObject = new JSONObject();
|
||||
JSONArray cntArray = new JSONArray();
|
||||
JSONArray dateArray = new JSONArray();
|
||||
for(StatsVO tempStatsVO : statsMonthList){
|
||||
cntArray.add(tempStatsVO.getCnt());
|
||||
dateArray.add(tempStatsVO.getStatsDate());
|
||||
}
|
||||
statsObject.put("cnt" , cntArray);
|
||||
statsObject.put("date" , dateArray);
|
||||
model.addAttribute("statsMonthList", statsObject);
|
||||
}
|
||||
{//년통계
|
||||
JSONObject statsObject = new JSONObject();
|
||||
JSONArray cntArray = new JSONArray();
|
||||
JSONArray dateArray = new JSONArray();
|
||||
cntArray.add(0); //데이터가 2018 한건만 조회 되어서 2017년도 0 넣어줌
|
||||
dateArray.add("2017");
|
||||
for(StatsVO tempStatsVO : statsYearList){
|
||||
cntArray.add(tempStatsVO.getCnt());
|
||||
dateArray.add(tempStatsVO.getStatsDate());
|
||||
}
|
||||
statsObject.put("cnt" , cntArray);
|
||||
statsObject.put("date" , dateArray);
|
||||
model.addAttribute("statsYearList", statsObject);
|
||||
}
|
||||
|
||||
//PC, 모바일 접속통계(주간)
|
||||
statsVO.setRecordCountPerPage(7); //일카운터(7일 : 일주일)
|
||||
statsVO.setFirstIndex(0);
|
||||
List<StatsVO> statsPcDayList = conectStatsService.selectPcMainStatsDay(statsVO); //일일접속카운터(사용자)
|
||||
List<StatsVO> statsMobileDayList = conectStatsService.selectMobileMainStatsDay(statsVO); //일일접속카운터(사용자)
|
||||
List<StatsVO> statsAllDayList = conectStatsService.selectPcMobileMainStatsDay(statsVO); //모바일+PC(사용자)
|
||||
{//PC
|
||||
JSONObject statsObject = new JSONObject();
|
||||
JSONArray cntArray = new JSONArray();
|
||||
JSONArray dateArray = new JSONArray();
|
||||
for(StatsVO tempStatsVO : statsPcDayList){
|
||||
cntArray.add(tempStatsVO.getCnt());
|
||||
dateArray.add(tempStatsVO.getStatsDate().substring(5,tempStatsVO.getStatsDate().length()) );
|
||||
}
|
||||
statsObject.put("cnt" , cntArray);
|
||||
statsObject.put("date" , dateArray);
|
||||
model.addAttribute("statsPcDayList", statsObject);
|
||||
}
|
||||
{//모바일
|
||||
JSONObject statsObject = new JSONObject();
|
||||
JSONArray cntArray = new JSONArray();
|
||||
JSONArray dateArray = new JSONArray();
|
||||
for(StatsVO tempStatsVO : statsMobileDayList){
|
||||
cntArray.add(tempStatsVO.getCnt());
|
||||
dateArray.add(tempStatsVO.getStatsDate().substring(5,tempStatsVO.getStatsDate().length()) );
|
||||
}
|
||||
statsObject.put("cnt" , cntArray);
|
||||
statsObject.put("date" , dateArray);
|
||||
model.addAttribute("statsMobileDayList", statsObject);
|
||||
}
|
||||
{//전체
|
||||
JSONObject statsObject = new JSONObject();
|
||||
JSONArray cntArray = new JSONArray();
|
||||
JSONArray dateArray = new JSONArray();
|
||||
for(StatsVO tempStatsVO : statsAllDayList){
|
||||
cntArray.add(tempStatsVO.getCnt());
|
||||
dateArray.add(tempStatsVO.getStatsDate().substring(5,tempStatsVO.getStatsDate().length()) );
|
||||
}
|
||||
statsObject.put("cnt" , cntArray);
|
||||
statsObject.put("date" , dateArray);
|
||||
model.addAttribute("statsPcMobileDayList", statsObject);
|
||||
}
|
||||
}
|
||||
// PaginationInfo paginationInfo = new PaginationInfo();
|
||||
// {//일일관리자 접속 리스트
|
||||
// LoginLog loginLog = new LoginLog();
|
||||
// paginationInfo.setCurrentPageNo(loginLog.getPageIndex());
|
||||
// paginationInfo.setRecordCountPerPage(loginLog.getPageUnit());
|
||||
// paginationInfo.setPageSize(loginLog.getPageSize());
|
||||
//
|
||||
// loginLog.setFirstIndex(paginationInfo.getFirstRecordIndex());
|
||||
// loginLog.setLastIndex(paginationInfo.getLastRecordIndex());
|
||||
// loginLog.setRecordCountPerPage(10); //50개까지 보여주기
|
||||
// //if(null != loginVO){ loginLog.setSiteId(loginVO.getSiteId()); }
|
||||
// List<LoginLog> adminLogList = loginLogService.selectMainAmdinLog(loginLog);
|
||||
// int adminLogListCnt = loginLogService.selectMainAmdinLogTotCnt(loginLog);
|
||||
// paginationInfo.setTotalRecordCount(adminLogListCnt);
|
||||
// model.addAttribute("paginationInfo", paginationInfo);
|
||||
// model.addAttribute("adminLogList", adminLogList);
|
||||
// }
|
||||
// {// 최근 게시물 / 새개시물 카운트
|
||||
// //0번째 부터 6개의 항목만 조회
|
||||
// boardVO.setFirstIndex(0);
|
||||
// boardVO.setRecordCountPerPage(5);
|
||||
// // 최신날짜 우선순위 조회
|
||||
// boardVO.setSearchSortCnd("frstRegisterPnttm");
|
||||
// boardVO.setSearchSortOrd("desc");
|
||||
// List<BoardVO> adminBoardList = bbsMngService.selectAdminMainBoard(boardVO);
|
||||
// model.addAttribute("adminBoardList", adminBoardList);
|
||||
//
|
||||
// int adminMainNewBoardCnt = bbsMngService.selectAdminMainNewBoardCnt(boardVO);
|
||||
// model.addAttribute("adminMainNewBoardCnt", adminMainNewBoardCnt);
|
||||
//
|
||||
// }
|
||||
// {// 관리자 로그관리 리스트
|
||||
// LoginLog loginLog = new LoginLog();
|
||||
// //0번째 부터 6개의 항목만 조회
|
||||
// loginLog.setFirstIndex(0);
|
||||
// loginLog.setRecordCountPerPage(6);
|
||||
// // 최신날짜 우선순위 조회
|
||||
// loginLog.setSearchSortCnd("creatDt");
|
||||
// loginLog.setSearchSortOrd("desc");
|
||||
// List<LoginLog> adminLogList = loginLogService.selectAmdinLog(loginLog);
|
||||
// model.addAttribute("adminLogList", adminLogList);
|
||||
//
|
||||
// }
|
||||
// {//신규가입회원 목록
|
||||
// UserDefaultVO userSearchVO = new UserDefaultVO();
|
||||
//
|
||||
// //0번째 부터 4개의 항목만 조회
|
||||
// userSearchVO.setFirstIndex(0);
|
||||
// userSearchVO.setRecordCountPerPage(4);
|
||||
//
|
||||
// // 가입일시 우선순위 조회
|
||||
// userSearchVO.setSearchSortCnd("sbscrbDe");
|
||||
// userSearchVO.setSearchSortOrd("desc");
|
||||
//
|
||||
// userSearchVO.setAdminYn("N");
|
||||
// List<?> userList = userManageService.selectUserList(userSearchVO);
|
||||
// model.addAttribute("userList", userList);
|
||||
//
|
||||
// UserDefaultVO userCount = userManageService.selectUserCount();
|
||||
// model.addAttribute("userCount", userCount);
|
||||
// }
|
||||
//
|
||||
// {//접속통계 사용자만
|
||||
// StatsVO statsVO = new StatsVO();
|
||||
// statsVO.setRecordCountPerPage(20); //일카운터(20개)
|
||||
// statsVO.setFirstIndex(0);
|
||||
// List<StatsVO> statsDayList = conectStatsService.selectMainStatsDay(statsVO); //일일접속카운터(관리자)
|
||||
// List<StatsVO> statsMonthList = conectStatsService.selectMainStatsMonth(statsVO); //월별접속카운터(관리자)
|
||||
// List<StatsVO> statsYearList = conectStatsService.selectMainStatsYear(statsVO); //연도변접속카운터(관리자)
|
||||
// {//일일통계 /* 연도없애기 */
|
||||
// JSONObject statsObject = new JSONObject();
|
||||
// JSONArray cntArray = new JSONArray();
|
||||
// JSONArray dateArray = new JSONArray();
|
||||
// for(StatsVO tempStatsVO : statsDayList){
|
||||
// cntArray.add(tempStatsVO.getCnt());
|
||||
// dateArray.add(tempStatsVO.getStatsDate().substring(5,tempStatsVO.getStatsDate().length()));
|
||||
// }
|
||||
// statsObject.put("cnt" , cntArray);
|
||||
// statsObject.put("date" , dateArray);
|
||||
// model.addAttribute("statsDayList", statsObject);
|
||||
// }
|
||||
// {//월통계
|
||||
// JSONObject statsObject = new JSONObject();
|
||||
// JSONArray cntArray = new JSONArray();
|
||||
// JSONArray dateArray = new JSONArray();
|
||||
// for(StatsVO tempStatsVO : statsMonthList){
|
||||
// cntArray.add(tempStatsVO.getCnt());
|
||||
// dateArray.add(tempStatsVO.getStatsDate());
|
||||
// }
|
||||
// statsObject.put("cnt" , cntArray);
|
||||
// statsObject.put("date" , dateArray);
|
||||
// model.addAttribute("statsMonthList", statsObject);
|
||||
// }
|
||||
// {//년통계
|
||||
// JSONObject statsObject = new JSONObject();
|
||||
// JSONArray cntArray = new JSONArray();
|
||||
// JSONArray dateArray = new JSONArray();
|
||||
// cntArray.add(0); //데이터가 2018 한건만 조회 되어서 2017년도 0 넣어줌
|
||||
// dateArray.add("2017");
|
||||
// for(StatsVO tempStatsVO : statsYearList){
|
||||
// cntArray.add(tempStatsVO.getCnt());
|
||||
// dateArray.add(tempStatsVO.getStatsDate());
|
||||
// }
|
||||
// statsObject.put("cnt" , cntArray);
|
||||
// statsObject.put("date" , dateArray);
|
||||
// model.addAttribute("statsYearList", statsObject);
|
||||
// }
|
||||
//
|
||||
// //PC, 모바일 접속통계(주간)
|
||||
// statsVO.setRecordCountPerPage(7); //일카운터(7일 : 일주일)
|
||||
// statsVO.setFirstIndex(0);
|
||||
// List<StatsVO> statsPcDayList = conectStatsService.selectPcMainStatsDay(statsVO); //일일접속카운터(사용자)
|
||||
// List<StatsVO> statsMobileDayList = conectStatsService.selectMobileMainStatsDay(statsVO); //일일접속카운터(사용자)
|
||||
// List<StatsVO> statsAllDayList = conectStatsService.selectPcMobileMainStatsDay(statsVO); //모바일+PC(사용자)
|
||||
// {//PC
|
||||
// JSONObject statsObject = new JSONObject();
|
||||
// JSONArray cntArray = new JSONArray();
|
||||
// JSONArray dateArray = new JSONArray();
|
||||
// for(StatsVO tempStatsVO : statsPcDayList){
|
||||
// cntArray.add(tempStatsVO.getCnt());
|
||||
// dateArray.add(tempStatsVO.getStatsDate().substring(5,tempStatsVO.getStatsDate().length()) );
|
||||
// }
|
||||
// statsObject.put("cnt" , cntArray);
|
||||
// statsObject.put("date" , dateArray);
|
||||
// model.addAttribute("statsPcDayList", statsObject);
|
||||
// }
|
||||
// {//모바일
|
||||
// JSONObject statsObject = new JSONObject();
|
||||
// JSONArray cntArray = new JSONArray();
|
||||
// JSONArray dateArray = new JSONArray();
|
||||
// for(StatsVO tempStatsVO : statsMobileDayList){
|
||||
// cntArray.add(tempStatsVO.getCnt());
|
||||
// dateArray.add(tempStatsVO.getStatsDate().substring(5,tempStatsVO.getStatsDate().length()) );
|
||||
// }
|
||||
// statsObject.put("cnt" , cntArray);
|
||||
// statsObject.put("date" , dateArray);
|
||||
// model.addAttribute("statsMobileDayList", statsObject);
|
||||
// }
|
||||
// {//전체
|
||||
// JSONObject statsObject = new JSONObject();
|
||||
// JSONArray cntArray = new JSONArray();
|
||||
// JSONArray dateArray = new JSONArray();
|
||||
// for(StatsVO tempStatsVO : statsAllDayList){
|
||||
// cntArray.add(tempStatsVO.getCnt());
|
||||
// dateArray.add(tempStatsVO.getStatsDate().substring(5,tempStatsVO.getStatsDate().length()) );
|
||||
// }
|
||||
// statsObject.put("cnt" , cntArray);
|
||||
// statsObject.put("date" , dateArray);
|
||||
// model.addAttribute("statsPcMobileDayList", statsObject);
|
||||
// }
|
||||
// }
|
||||
|
||||
//조정 목록, 이번달 현황 조회(최근 접수, 진행 사건, 처리현황)
|
||||
PgrCmmVO cmmVO = new PgrCmmVO();
|
||||
|
||||
@ -398,8 +398,8 @@ public class EgovLoginController {
|
||||
LOGGER.debug("@ prod @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@Start");
|
||||
//sMSOracleService.selectOracleTest(); // 연동 테스트. 콘솔 로그 확인
|
||||
AdjReqMgrVO adjReqMgrVO = new AdjReqMgrVO();
|
||||
sMSOracleService.insertSmsSend(adjReqMgrVO);
|
||||
// sMSOracleService.insertSmsSendTest();
|
||||
// sMSOracleService.insertSmsSend(adjReqMgrVO);
|
||||
sMSOracleService.insertSmsSendTest();
|
||||
LOGGER.debug("@ prod @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@End");
|
||||
//}
|
||||
//
|
||||
|
||||
@ -175,8 +175,9 @@ Globals.prod.islocal=local
|
||||
Globals.ozFontPath=/home/oz80/fontTestDir/
|
||||
#oz \uac1c\ubc1c\uc11c\ubc84IP & \uc800\uc7a5\uacbd\ub85c -\uc2e4\uc11c\ubc84IP\ub294 \ud558\ub4dc\ucf54\ub529\ucc98\ub9ac
|
||||
Globals.oz.devServerIp=192.168.0.176:8091
|
||||
Globals.oz.devSchedulerIp=192.168.0.176
|
||||
Globals.oz.devPdfSavePath=/usr/local/tomcat/webapps/data
|
||||
Globals.oz.devSchedulerIp=192.168.0.200
|
||||
#Globals.oz.devPdfSavePath=/usr/local/tomcat/webapps/data
|
||||
Globals.oz.devPdfSavePath=\\192.168.0.176\\shared_folder_176\\out
|
||||
Globals.oz.devServerCheckString=localhost||119.193.215.98||iten.co.kr
|
||||
Globals.oz.realServerIp=192.168.39.145:8080
|
||||
Globals.oz.realSchedulerIp=192.168.39.147
|
||||
|
||||
@ -182,9 +182,11 @@ Globals.prod.islocal=local
|
||||
Globals.ozFontPath=/home/oz80/fontTestDir/
|
||||
#oz \uac1c\ubc1c\uc11c\ubc84IP & \uc800\uc7a5\uacbd\ub85c -\uc2e4\uc11c\ubc84IP\ub294 \ud558\ub4dc\ucf54\ub529\ucc98\ub9ac
|
||||
Globals.oz.devServerIp=192.168.0.176:8091
|
||||
Globals.oz.devSchedulerIp=192.168.0.176
|
||||
#Globals.oz.devSchedulerIp=192.168.0.176
|
||||
Globals.oz.devSchedulerIp=192.168.0.200
|
||||
#scheduler \uc11c\ubc84\uc5d0 \uc0dd\uc131\ub418\ub294 \uacbd\ub85c \uc785\ub2c8\ub2e4.
|
||||
Globals.oz.devPdfSavePath=/usr/local/tomcat/webapps/data/out
|
||||
#Globals.oz.devPdfSavePath=/usr/local/tomcat/webapps/data/out
|
||||
Globals.oz.devPdfSavePath=\\192.168.0.176\\shared_folder_176\\out\\
|
||||
Globals.oz.devServerCheckString=localhost||119.193.215.98||iten.co.kr
|
||||
Globals.oz.realServerIp=192.168.39.145:8080
|
||||
Globals.oz.realSchedulerIp=192.168.39.147
|
||||
|
||||
@ -179,7 +179,8 @@ Globals.oz.devPdfSavePath=/usr/local/tomcat/webapps/data
|
||||
Globals.oz.devServerCheckString=localhost||119.193.215.98||iten.co.kr
|
||||
Globals.oz.realServerIp=192.168.39.145:8080
|
||||
Globals.oz.realSchedulerIp=192.168.39.147
|
||||
Globals.oz.realPdfSavePath=\\192.168.39.125\\data3\\out
|
||||
#Globals.oz.realPdfSavePath=\\192.168.39.125\\data3\\out
|
||||
Globals.oz.realPdfSavePath=\\192.168.39.130\\data\\out
|
||||
#\uc2e4\uc11c\ubc84
|
||||
Globals.ozFontPath=/home/oz80/fontTestDir/
|
||||
|
||||
@ -203,7 +204,7 @@ Globals.pay.siteDomain=https://adr.copyright.or.kr/web/kccadr/payment/inipay
|
||||
Globals.MagicDB.PolicyName=POLICY001
|
||||
|
||||
#Streamdocs \ub4f1\ub85d URL
|
||||
Globals.Streamdocs.Url=
|
||||
Globals.Streamdocs.Url=http://192.168.39.144:8080/streamdocs/v4/documents
|
||||
|
||||
# \uce74\uce74\uc624\uc54c\ub9bc\ud1a1(\ube44\uc988\ubfcc\ub9ac\uc624) API URL
|
||||
#\uac1c\ubc1c\uc11c\ubc84
|
||||
|
||||
@ -1301,5 +1301,33 @@
|
||||
|
||||
</update>
|
||||
|
||||
<select id="apmDAO.selectSbmtRejectApproval" parameterClass="string" resultClass="string">
|
||||
|
||||
SELECT CONCAT(DECODE(T1.sbmt_yn1, 'N', T1.sbmt_id1, DECODE(T1.sbmt_yn2, 'N', T1.sbmt_id2, DECODE(T1.sbmt_yn3, 'N', T1.sbmt_id3))), '§' ,T3.userNm, '§', T3.userTy) AS rejectApproval
|
||||
FROM adr_sbmt_mgr T1
|
||||
LEFT OUTER JOIN adr_mgr_master T2
|
||||
ON T1.adr_seq = T2.adr_seq
|
||||
LEFT OUTER JOIN
|
||||
(SELECT a.esntl_id AS esntlId,
|
||||
a.user_nm AS userNm,
|
||||
'admin' AS userTy
|
||||
FROM lettnemplyrinfo a
|
||||
|
||||
UNION ALL
|
||||
|
||||
SELECT b.mem_seq AS esntlId,
|
||||
b.mem_name AS userNm,
|
||||
'mem' AS userTy
|
||||
FROM adr_mem_mgr b
|
||||
)
|
||||
T3
|
||||
ON T1.sbmt_id1 = T3.esntlId OR T1.sbmt_id2 = T3.esntlId OR T1.sbmt_id3 = T3.esntlId
|
||||
WHERE T1.adr_seq = #param#
|
||||
AND T1.sbmt_ty LIKE LEFT(T2.stat_cd, 4) + '%'
|
||||
AND DECODE(T1.sbmt_yn1, 'N', T1.sbmt_id1, DECODE(T1.sbmt_yn2, 'N', T1.sbmt_id2, DECODE(T1.sbmt_yn3, 'N', T1.sbmt_id3))) = T3.esntlId
|
||||
AND T2.stat_cd LIKE LEFT(stat_cd, 4) + '90'
|
||||
|
||||
</select>
|
||||
|
||||
</sqlMap>
|
||||
|
||||
|
||||
@ -198,6 +198,7 @@
|
||||
, REG_NM = #regNm#
|
||||
, LAST_UPDUSR_ID = #lastUpdusrId#
|
||||
, LAST_UPDT_PNTTM = SYS_DATETIME
|
||||
, DLVRY_DOC_TY = #dlvryDocTy#
|
||||
WHERE ADR_SEQ = #adrSeq#
|
||||
AND ADR_SN = #adrSn#
|
||||
AND DLVRY_SEQ = #dlvrySeq#
|
||||
|
||||
@ -25,9 +25,12 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Language" content="ko" >
|
||||
<link rel="stylesheet" href="/kccadrPb/adm/css/popup.css">
|
||||
<link rel="stylesheet" href="<c:url value='/innorix/innorix.css'/>" type="text/css">
|
||||
<script type="text/javascript" src="<c:url value="/validator.do"/>"></script>
|
||||
<validator:javascript formName="userManageVO" staticJavascript="false" xhtml="true" cdata="false"/>
|
||||
<script src="/direct/js/jquery.nice-select.min.js"></script>
|
||||
<script src="<c:url value='/innorix/innorix.js' />"></script>
|
||||
<script src="<c:url value='/js/kccadr/innorixCommon.js' />"></script>
|
||||
<!-- <link rel="stylesheet" href="/direct/css/nice-select.css"> -->
|
||||
<script type="text/javaScript" language="javascript" defer="defer">
|
||||
$( document ).ready(function(){
|
||||
@ -321,7 +324,76 @@ function wrapWindowByMask(){
|
||||
// 레이어 팝업을 띄웁니다.
|
||||
$('.window').show();
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
<script type="text/javaScript" language="javascript">
|
||||
|
||||
|
||||
var control = new Object();
|
||||
window.onload = function() {
|
||||
// 파일전송 컨트롤 생성
|
||||
control = innorix.create({
|
||||
el: '#fileControl' // * 컨트롤 출력 HTML 객체 ID
|
||||
, transferMode: 'both' // * 업로드, 다운로드 혼합사용
|
||||
, installUrl: '/innorix/install/install.html' // * Agent 설치 페이지
|
||||
, uploadUrl: '/innorix/exam/upload.jsp' // * 업로드 URL
|
||||
// , height:80
|
||||
// , width: 635
|
||||
});
|
||||
|
||||
// 업로드 완료 이벤트
|
||||
control.on('uploadComplete', function (p) {
|
||||
fn_callBackInnorix(p.files); // * 파일 정보 DB isnert function
|
||||
});
|
||||
};
|
||||
/*
|
||||
* 파일 정보 DB insert Ajax
|
||||
* */
|
||||
function fn_callBackInnorix(data){
|
||||
|
||||
var url = "<c:url value='/kccadr/common/insertInnorixFileAjax.do' />";
|
||||
|
||||
var filePath = location.pathname;
|
||||
var jspFileName = filePath.substring(filePath.lastIndexOf("/")+1, filePath.lastIndexOf("."));
|
||||
|
||||
var sendData = {
|
||||
"innorixFileListVO": data
|
||||
}
|
||||
|
||||
/*
|
||||
* 공통 : innorixCommon.js
|
||||
* fn_innorixCmmAjax() 호출 후 status가 성공(OK)이면 실행
|
||||
*/
|
||||
if(fn_innorixCmmAjax(sendData, url) == "OK")
|
||||
{
|
||||
fnInsert();
|
||||
// opener.location.reload(true);
|
||||
}
|
||||
}
|
||||
/*
|
||||
* 등록버튼 클릭 event
|
||||
* */
|
||||
function fncReg() {
|
||||
|
||||
if (validation()) {
|
||||
if(confirm("사건문서를 등록 하시겠습니까?")){
|
||||
if(control.getUploadFiles().length > 0){ // 등록된 파일이 있는지 확인
|
||||
var postObj = new Object();
|
||||
postObj.innoDirPath = $('#innoDirPath').val();
|
||||
control.setPostData(postObj); // * 업로드시 함께 전달될 POST Param 추가
|
||||
|
||||
control.upload(); // 업로드 시작
|
||||
}else{
|
||||
fnInsert();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@ -331,6 +403,7 @@ function wrapWindowByMask(){
|
||||
<input type="hidden" name="partIdx" id="partIdx" value="" >
|
||||
<input type="hidden" id="atchFileId" name="atchFileId" value=""/>
|
||||
<input type="hidden" name="limitcount" value="1" /><!-- 최대 업로드 파일갯수 -->
|
||||
<input type="hidden" id="innoDirPath" value="<spring:eval expression="@globalSettings['Globals.Innorix.FilePath']"/>" />
|
||||
<!-- cont -->
|
||||
<div class="cont_wrap">
|
||||
<div class="box">
|
||||
@ -501,73 +574,9 @@ function wrapWindowByMask(){
|
||||
<th><span class="">서명이미지</span></th>
|
||||
<td class="upload_area">
|
||||
<input type="file" id="file_temp" name="file_temp" class="uploadFile" style="display: none" />
|
||||
<button type="button" id="filebutton" class="btnType01 btn_add_file">파일 첨부하기</button>
|
||||
<div class="file_wrap file_upload_box no_img_box">
|
||||
<table>
|
||||
<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>파일 명</th>
|
||||
<th>종류</th>
|
||||
<th>크기</th>
|
||||
<th>삭제</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>
|
||||
<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>파일 명</th>
|
||||
<th>종류</th>
|
||||
<th>크기</th>
|
||||
<th>삭제</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;"><i></i></button>
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<button type="button" onclick="control.openFileDialog();" class="btnType01 btn_add_file">파일찾기</button> <!-- 솔루션 파일 찾기 이벤트 -->
|
||||
<p style="font-size: 16px; float: right; margin-top: 16px; color: #666;">* 첨부파일을 등록해 주세요. (최대3개)</p>
|
||||
<div id="fileControl"></div><br/> <!-- 파일 리스트 보여주는 div -->
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -578,7 +587,7 @@ function wrapWindowByMask(){
|
||||
<!-- btn_wrap -->
|
||||
<div class="btn_wrap btn_layout01">
|
||||
<div class="area_left">
|
||||
<button class="btnType02" onclick="fnInsert(); return false;">저 장</button>
|
||||
<button class="btnType02" onclick="fncReg(); return false;">저 장</button>
|
||||
</div>
|
||||
<div class="area_right">
|
||||
<button class="btnType03" onclick="fnListPage(); return false;">목 록</button>
|
||||
|
||||
653
src/main/webapp/WEB-INF/jsp/cmm/uss/umt/EgovUserInsert_ing.jsp
Normal file
653
src/main/webapp/WEB-INF/jsp/cmm/uss/umt/EgovUserInsert_ing.jsp
Normal file
@ -0,0 +1,653 @@
|
||||
<%--
|
||||
Class Name : EgovUserInsert.jsp
|
||||
Description : 사용자등록View JSP
|
||||
Modification Information
|
||||
|
||||
수정일 수정자 수정내용
|
||||
------- -------- ---------------------------
|
||||
2009.03.03 JJY 최초 생성
|
||||
2011.08.31 JJY 경량환경 버전 생성
|
||||
|
||||
author : 공통서비스 개발팀 JJY
|
||||
since : 2009.03.03
|
||||
--%>
|
||||
<%@ page 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="double-submit" uri="http://www.egovframe.go.kr/tags/double-submit/jsp" %>
|
||||
<%@ taglib prefix="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Language" content="ko" >
|
||||
<script src="<c:url value='/innorix/innorix.js' />"></script>
|
||||
<link rel="stylesheet" href="/kccadrPb/adm/css/popup.css">
|
||||
<link rel="stylesheet" href="<c:url value='/innorix/innorix.css'/>" type="text/css">
|
||||
<script type="text/javascript" src="<c:url value="/validator.do"/>"></script>
|
||||
<validator:javascript formName="userManageVO" staticJavascript="false" xhtml="true" cdata="false"/>
|
||||
<script src="/direct/js/jquery.nice-select.min.js"></script>
|
||||
<script src="<c:url value='/js/kccadr/innorixCommon.js' />"></script>
|
||||
<!-- <link rel="stylesheet" href="/direct/css/nice-select.css"> -->
|
||||
<script type="text/javaScript" language="javascript" defer="defer">
|
||||
$( document ).ready(function(){
|
||||
// showMask를 클릭시 작동하며 검은 마스크 배경과 레이어 팝업을 띄웁니다.
|
||||
$('.showMask').click(function(e){
|
||||
// preventDefault는 href의 링크 기본 행동을 막는 기능입니다.
|
||||
e.preventDefault();
|
||||
wrapWindowByMask();
|
||||
});
|
||||
|
||||
// 닫기(close)를 눌렀을 때 작동합니다.
|
||||
$('.window .close').click(function (e) {
|
||||
e.preventDefault();
|
||||
$('.mask, .window').hide();
|
||||
$("input[name=emplyrId]").val("");
|
||||
});
|
||||
|
||||
// 뒤 검은 마스크를 클릭시에도 모두 제거하도록 처리합니다.
|
||||
$('.mask').click(function () {
|
||||
$(this).hide();
|
||||
$('.window').hide();
|
||||
});
|
||||
|
||||
/* $('select').not(".displayN").niceSelect(); */
|
||||
$("#orgDepth_01").on("change", function(){
|
||||
setOrgDepth_01();
|
||||
});
|
||||
|
||||
/* if(""!='${userOneDepth}'){//초기세팅값 세팅
|
||||
$('#orgDepth_01').val('${userOneDepth}');
|
||||
$('#orgDepth_01').niceSelect('update');
|
||||
$('#orgDepth_02').html($('#span_one_'+$("#orgDepth_01").val()).html().trim()) ;
|
||||
$('#orgDepth_02').niceSelect('update');
|
||||
|
||||
if(""!='${userTwoDepth}'){
|
||||
$("#orgDepth_02").val('${userTwoDepth}');
|
||||
$('#orgDepth_02').niceSelect('update');
|
||||
}
|
||||
|
||||
$("#orgDepth_02").niceSelect(); //display show 기능
|
||||
} */
|
||||
|
||||
//첨부파일 버튼 처리
|
||||
$("#filebutton").click(function(){
|
||||
$("#file_temp").trigger("click");
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
function authorChange(obj) {
|
||||
if(obj.selectedIndex == '0'){
|
||||
$("#rank1").css('display', 'block');
|
||||
$("#rank2").css('display', 'none');
|
||||
$("#rank1").attr('disabled', false);
|
||||
$("#rank2").attr('disabled', true);
|
||||
}else{
|
||||
$("#rank1").css('display', 'none');
|
||||
$("#rank2").css('display', 'block');
|
||||
$("#rank1").attr('disabled', true);
|
||||
$("#rank2").attr('disabled', false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function setOrgDepth_01(){
|
||||
if(""==$("#orgDepth_01").val()){ //빈값 선택
|
||||
$("#orgDepth_02").niceSelect('destroy').hide();
|
||||
$('#partIdx').val($("#orgDepth_01").val());
|
||||
}else{
|
||||
$('#orgDepth_02').html($('#span_one_'+$("#orgDepth_01").val()).html().trim());
|
||||
$('#orgDepth_02').niceSelect('update');
|
||||
$('#partIdx').val($("#orgDepth_01").val());
|
||||
$("#orgDepth_02").niceSelect(); //display show 기능
|
||||
}
|
||||
}
|
||||
|
||||
function onChagneOrgDepth_02(){ //변경시 partIdx 세팅
|
||||
if(""==$("#orgDepth_02").val()){
|
||||
$('#partIdx').val($("#orgDepth_01").val());
|
||||
}else{
|
||||
$('#partIdx').val($("#orgDepth_02").val());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function nCheck(){
|
||||
var numCheck = document.getElementById("offmTelno").value;
|
||||
if(numCheck!=""){
|
||||
if(/[^0123456789-]/g.test(numCheck)){
|
||||
alert("사무실 전화번호는 숫자와 특수문자'-'만 입력이 가능합니다.");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
function nCheck2(){
|
||||
var numCheck = document.getElementById("numCheck");
|
||||
if(/[^0123456789]/g.test(numCheck.value)){
|
||||
alert("숫자가 아닙니다.\n\n0~9의 숫자만 허용합니다.");
|
||||
}
|
||||
}
|
||||
|
||||
function validatePassword(character) {
|
||||
return /^(?=.*[A-Za-z])(?=.*\d)(?=.*[$@$!%*#?&])[A-Za-z\d$@$!%*#?&]{8,}$/.test(character);
|
||||
}
|
||||
|
||||
function fnListPage(){
|
||||
document.searchForm.submit();
|
||||
}
|
||||
|
||||
function fnInsert(){
|
||||
if(!nCheck()){
|
||||
return;
|
||||
}
|
||||
if(validateUserManageVO(document.userManageVO)){
|
||||
if(document.userManageVO.password.value != document.userManageVO.password2.value){
|
||||
alert("<spring:message code="fail.user.passwordUpdate2" />");
|
||||
return;
|
||||
}
|
||||
if(!validatePassword(document.userManageVO.password.value)){
|
||||
alert("비밀번호 최소 하나의 문자 + 하나의 숫자 + 하나의 특수 문자 포함, 최소 8자리, 최대 20자리입니다.");
|
||||
return;
|
||||
}
|
||||
|
||||
//첨부파일 처리해주기
|
||||
if(confirm("등록을 하시겠습니까?")){
|
||||
var form = document.userManageVO;
|
||||
var data = new FormData(form);
|
||||
_fileForm2.forEach(function(obj, idx) {
|
||||
if (obj) data.append("file"+idx, obj.fileObj);
|
||||
});
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
enctype: 'multipart/form-data',
|
||||
url: "/uss/umt/user/EgovUserFileInsert.do",
|
||||
data: data,
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: false,
|
||||
cache: false,
|
||||
success: function (returnData, status) {
|
||||
if(status == 'success'){
|
||||
|
||||
var resultFileId = returnData.atchFileId;
|
||||
|
||||
if(resultFileId == ""){
|
||||
|
||||
alert("등록에 실패하였습니다.");
|
||||
return false;
|
||||
|
||||
}else{
|
||||
|
||||
$("#atchFileId").val(resultFileId);
|
||||
form.action="<c:url value='/uss/umt/user/EgovUserInsert.do'/>";
|
||||
form.submit();
|
||||
|
||||
}
|
||||
|
||||
} else if(status== 'fail'){
|
||||
alert("저장에 실패하였습니다.");
|
||||
}
|
||||
},
|
||||
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/*********************************************************
|
||||
* 아이디 체크 AJAX
|
||||
******************************************************** */
|
||||
function fn_id_check(){
|
||||
if($("#checkIdModal").val()==''){
|
||||
alert("사용할 아이디를 넣어주세요.");
|
||||
return;
|
||||
}
|
||||
if($("#checkIdModal").val().length > 20){
|
||||
alert("사용자아이디는 20자 이상 입력할수 없습니다.");
|
||||
return;
|
||||
}
|
||||
$.ajax({
|
||||
type:"POST",
|
||||
url:"<c:url value='/uss/umt/user/EgovIdDplctCnfirmAjax.do' />",
|
||||
data:{
|
||||
"checkId": $("#checkIdModal").val()
|
||||
},
|
||||
dataType:'json',
|
||||
timeout:(1000*30),
|
||||
success:function(returnData, status){
|
||||
if(status == "success") {
|
||||
if(returnData.usedCnt > 0 ){
|
||||
alert("사용할수 없는 아이디입니다");
|
||||
}else{
|
||||
alert("사용할수 있는 아이디입니다")
|
||||
$("input[name=emplyrId]").val(returnData.checkId);
|
||||
$('.mask, .window').hide();
|
||||
}
|
||||
}else{ alert("ERROR!");return;}
|
||||
},
|
||||
error:function(request , status, error){
|
||||
alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
//직원 상세 - 부서 선택박스 변경 시
|
||||
function fn_select_emp_part(obj) {
|
||||
var selectId = $(obj).children("option:selected").val();
|
||||
var selectDepth = $(obj).children("option:selected").attr("depth")*1+1;
|
||||
|
||||
if(selectId == "" && selectDepth =="2"){
|
||||
$('#partIdx').val(selectId) ;
|
||||
$("#depth_2").remove();
|
||||
$("#depth_3").remove();
|
||||
return;
|
||||
}
|
||||
|
||||
if(selectId == "" && selectDepth =="3"){
|
||||
$('#partIdx').val($('#depth_1').val());
|
||||
$("#depth_3").remove();
|
||||
return;
|
||||
}
|
||||
|
||||
if(selectDepth =="4"){
|
||||
if(selectId == ""){
|
||||
$('#partIdx').val($('#depth_2').val());
|
||||
}else{
|
||||
$('#partIdx').val(selectId) ;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
if(selectDepth =="2"){
|
||||
$("#depth_2").remove();
|
||||
$("#depth_3").remove();
|
||||
}
|
||||
if(selectDepth =="3"){
|
||||
$("#depth_3").remove();
|
||||
}
|
||||
$('#partIdx').val(selectId) ;
|
||||
ajaxGetChartDepth( selectId, selectDepth );
|
||||
}
|
||||
|
||||
function ajaxGetChartDepth(upperIdx , depth){
|
||||
$.ajax({
|
||||
type:"POST",
|
||||
url:"<c:url value='/uss/umt/user/ajaxGetChartDepth.do' />",
|
||||
data:{ "depth": depth , "upperIdx": upperIdx},
|
||||
dataType:'json',
|
||||
success:function(returnData, status){
|
||||
if(status == "success") {
|
||||
var str = "<select id='depth_"+depth+"' depth='"+depth+"' onchange='fn_select_emp_part(this);'>";
|
||||
str += "<option value='' depth='"+depth+"'>선택</option>";
|
||||
$.each(returnData.orgChartDepth , function(idx, val){
|
||||
str += "<option value='"+val.id+"' depth='"+depth+"'>"+val.text+"</option>";
|
||||
});
|
||||
str += "</select>";
|
||||
$("#orgChartDepth").append(str);
|
||||
}else{ alert("ERROR!");return;}
|
||||
},
|
||||
error:function(request , status, error){
|
||||
alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function wrapWindowByMask(){
|
||||
// 화면의 높이와 너비를 변수로 만듭니다.
|
||||
var maskHeight = $(document).height();
|
||||
var maskWidth = $(window).width();
|
||||
|
||||
// 마스크의 높이와 너비를 화면의 높이와 너비 변수로 설정합니다.
|
||||
$('.mask').css({'width':maskWidth,'height':maskHeight});
|
||||
|
||||
// fade 애니메이션 : 1초 동안 검게 됐다가 80%의 불투명으로 변합니다.
|
||||
$('.mask').fadeIn(1000);
|
||||
$('.mask').fadeTo("slow",0.8);
|
||||
|
||||
// 레이어 팝업을 가운데로 띄우기 위해 화면의 높이와 너비의 가운데 값과 스크롤 값을 더하여 변수로 만듭니다.
|
||||
var left = ( $(window).scrollLeft() + ( $(window).width() - $('.window').width()) / 2 );
|
||||
var top = ( $(window).scrollTop() + ( $(window).height() - $('.window').height()) / 2 );
|
||||
|
||||
// css 스타일을 변경합니다.
|
||||
$('.window').css({'left':left,'top':top, 'position':'absolute'});
|
||||
|
||||
// 레이어 팝업을 띄웁니다.
|
||||
$('.window').show();
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
<script type="text/javaScript" language="javascript">
|
||||
|
||||
|
||||
var control = new Object();
|
||||
window.onload = function() {
|
||||
// 파일전송 컨트롤 생성
|
||||
control = innorix.create({
|
||||
el: '#fileControl' // * 컨트롤 출력 HTML 객체 ID
|
||||
, transferMode: 'both' // * 업로드, 다운로드 혼합사용
|
||||
, installUrl: '/innorix/install/install.html' // * Agent 설치 페이지
|
||||
, uploadUrl: '/innorix/exam/upload.jsp' // * 업로드 URL
|
||||
// , height:80
|
||||
// , width: 635
|
||||
});
|
||||
|
||||
// 업로드 완료 이벤트
|
||||
control.on('uploadComplete', function (p) {
|
||||
fn_callBackInnorix(p.files); // * 파일 정보 DB isnert function
|
||||
});
|
||||
};
|
||||
/*
|
||||
* 파일 정보 DB insert Ajax
|
||||
* */
|
||||
function fn_callBackInnorix(data){
|
||||
|
||||
var url = "<c:url value='/kccadr/common/insertInnorixFileAjax.do' />";
|
||||
|
||||
var filePath = location.pathname;
|
||||
var jspFileName = filePath.substring(filePath.lastIndexOf("/")+1, filePath.lastIndexOf("."));
|
||||
|
||||
var sendData = {
|
||||
"innorixFileListVO": data
|
||||
}
|
||||
|
||||
/*
|
||||
* 공통 : innorixCommon.js
|
||||
* fn_innorixCmmAjax() 호출 후 status가 성공(OK)이면 실행
|
||||
*/
|
||||
if(fn_innorixCmmAjax(sendData, url) == "OK")
|
||||
{
|
||||
fnInsert();
|
||||
// opener.location.reload(true);
|
||||
}
|
||||
}
|
||||
/*
|
||||
* 등록버튼 클릭 event
|
||||
* */
|
||||
function fncReg() {
|
||||
|
||||
if (validation()) {
|
||||
if(confirm("사건문서를 등록 하시겠습니까?")){
|
||||
if(control.getUploadFiles().length > 0){ // 등록된 파일이 있는지 확인
|
||||
var postObj = new Object();
|
||||
postObj.innoDirPath = $('#innoDirPath').val();
|
||||
control.setPostData(postObj); // * 업로드시 함께 전달될 POST Param 추가
|
||||
|
||||
control.upload(); // 업로드 시작
|
||||
}else{
|
||||
fnInsert();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<form:form commandName="userManageVO" action="${pageContext.request.contextPath}/uss/umt/user/EgovUserInsert.do" id="userManageVO" name="userManageVO" method="post" enctype="multipart/form-data">
|
||||
<%-- <double-submit:preventer tokenKey="someKey" /> --%>
|
||||
<input type="hidden" name="gnrlUser" value="N">
|
||||
<input type="hidden" name="partIdx" id="partIdx" value="" >
|
||||
<input type="hidden" id="atchFileId" name="atchFileId" value=""/>
|
||||
<input type="hidden" name="limitcount" value="1" /><!-- 최대 업로드 파일갯수 -->
|
||||
<input type="hidden" id="innoDirPath" value="<spring:eval expression="@globalSettings['Globals.Innorix.FilePath']"/>" />
|
||||
<!-- 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>
|
||||
<p>관리자관리</p>
|
||||
</li>
|
||||
<li><span class="cur_nav">관리자등록</span></li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- //cont_tit -->
|
||||
|
||||
<div class="cont">
|
||||
<!-- list_상세 -->
|
||||
<div class="tbType02">
|
||||
<table>
|
||||
<colgroup>
|
||||
<col style="width: 20%">
|
||||
<col style="width: 80%">
|
||||
</colgroup>
|
||||
|
||||
<tbody>
|
||||
<c:if test="${siteId eq 'super'}">
|
||||
<tr>
|
||||
<th><span class="reqArea">사이트명</span></th>
|
||||
<td>
|
||||
<select name="siteId" title="사이트">
|
||||
<c:forEach var="resultList" items="${siteManageList}" varStatus="status">
|
||||
<option value="<c:out value="${resultList.siteId}"/>" >
|
||||
<c:out value="${resultList.siteNm}"/>
|
||||
</option>
|
||||
</c:forEach>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</c:if>
|
||||
|
||||
<tr>
|
||||
<th><span class="reqArea">관리자아이디</span></th>
|
||||
<td colspan="3">
|
||||
<form:input class="showMask" path="emplyrId" id="emplyrId" title="사용자아이디" size="50" maxlength="20" readonly="true" />
|
||||
<a href="#" class="showMask">
|
||||
<button type="button" class="btnType02 bg_888888">중복아이디 검색</button>
|
||||
<!-- <input type="button" class="btnType1 bg_888888" value="중복아이디 검색"> -->
|
||||
</a>
|
||||
<form:errors path="emplyrId" cssClass="error"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><span class="reqArea">비밀번호</span></th>
|
||||
<td colspan="3">
|
||||
<form:password path="password" id="password" title="비밀번호" size="50" maxlength="20" />
|
||||
<form:errors path="password" cssClass="error" />
|
||||
<br/>
|
||||
<span class="cfText c_ed4555">
|
||||
비밀번호 문자 + 숫자 + 특수 문자 포함, 최소 8~20자리
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><span class="reqArea">비밀번호확인</span></th>
|
||||
<td colspan="3">
|
||||
<input name="password2" id="password2" title="비밀번호확인" type="password" size="50" maxlength="20" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><span class="reqArea">로그인 유형</span></th>
|
||||
<td colspan="3">
|
||||
<div class="radio_wrap">
|
||||
<kc:radio codeId="CC051" name="loginTypeCd" id="loginTypeCd" selectedValue="001" css="style='margin-left: 10px;'"/>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><span class="reqArea">이름</span></th>
|
||||
<td colspan="3">
|
||||
<input name="emplyrNm" id="emplyrNm" title="이름" type="text" size="50" value="" maxlength="60" />
|
||||
<form:errors path="emplyrNm" cssClass="error" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th>권한</th>
|
||||
<td colspan="3">
|
||||
<select name="authorCode" title="권한" onchange="authorChange(this)">
|
||||
<c:forEach var="authorResult" items="${authorList}" varStatus="status">
|
||||
<option value="<c:out value="${authorResult.authorCode}"/>" <c:if test="${authorResult.authorCode eq 'ROLE_ADR_ADMIN' }">selected</c:if>>
|
||||
<c:out value="${authorResult.authorNm}"/>
|
||||
</option>
|
||||
</c:forEach>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th>직책</th>
|
||||
<td colspan="3">
|
||||
<select name="ofcpsNm" title="직급" id="rank1" >
|
||||
<option value="10">조정조사관</option>
|
||||
<option value="20">조정팀장</option>
|
||||
<option value="30">부서장</option>
|
||||
<option value="40">위원장</option>
|
||||
</select>
|
||||
<select name="ofcpsNm" title="직급" id="rank2" style="display:none;" disabled="disabled">
|
||||
<option value="admin">시스템관리자</option>
|
||||
</select>
|
||||
</td>
|
||||
<%-- <td colspan="3">
|
||||
<form:input path="ofcpsNm" id="ofcpsNm" cssClass="txaIpt" size="50" maxlength="15" placeholder="" />
|
||||
<form:errors path="ofcpsNm" cssClass="error" />
|
||||
</td> --%>
|
||||
</tr>
|
||||
|
||||
<%-- <th>부서</th>
|
||||
<td id="select_part_hidden">
|
||||
<select name="orgDepth_01" id="orgDepth_01" class="asset_sec_sort">
|
||||
<option value="">선택</option>
|
||||
<c:forEach var="hiddenResult_one" items="${orgHiddenList}" varStatus="status">
|
||||
<c:if test="${hiddenResult_one.depths eq '1'}">
|
||||
<option value="<c:out value='${hiddenResult_one.id}'/>"><c:out value='${hiddenResult_one.text}'/></option>
|
||||
</c:if>
|
||||
</c:forEach>
|
||||
</select>
|
||||
<select name="orgDepth_02" id="orgDepth_02" class="asset_sec_sort displayN" onchange="onChagneOrgDepth_02(); return false;" style="display:none;"/>
|
||||
</td>
|
||||
</tr> --%>
|
||||
|
||||
<tr>
|
||||
<th>전화번호</th>
|
||||
<td colspan="3">
|
||||
<form:input path="offmTelno" id="offmTelno" cssClass="txaIpt" size="50" maxlength="15" placeholder="예시 : 02-123-4567" />
|
||||
<form:errors path="offmTelno" cssClass="error" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th>팩스번호</th>
|
||||
<td colspan="3">
|
||||
<form:input path="fxnum" id="fxnum" cssClass="txaIpt" size="50" maxlength="15" placeholder="예시 : 02-123-4567" />
|
||||
<form:errors path="fxnum" cssClass="error" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th>담당업무</th>
|
||||
<td colspan="3">
|
||||
<form:input path="userWork" id="userWork" cssClass="txaIpt" size="50" maxlength="15" placeholder="" />
|
||||
<form:errors path="userWork" cssClass="error" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th>이메일주소</th>
|
||||
<td colspan="3">
|
||||
<form:input path="emailAdres" id="emailAdres" title="이메일주소" cssClass="txaIpt" size="50" maxlength="50" />
|
||||
<form:errors path="emailAdres" cssClass="error" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><span class="">서명이미지</span></th>
|
||||
<td class="upload_area">
|
||||
<input type="file" id="file_temp" name="file_temp" class="uploadFile" style="display: none" />
|
||||
<button type="button" onclick="control.openFileDialog();" class="btnType01 btn_add_file">파일찾기</button>
|
||||
<p style="font-size: 16px; float: right; margin-top: 16px; color: #666;">* 첨부파일을 등록해 주세요. (최대3개)</p>
|
||||
<div id="fileControl"></div><br/>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- //list_상세 -->
|
||||
|
||||
<!-- btn_wrap -->
|
||||
<div class="btn_wrap btn_layout01">
|
||||
<div class="area_left">
|
||||
<button class="btnType02" onclick="fncReg(); return false;">저 장</button>
|
||||
</div>
|
||||
<div class="area_right">
|
||||
<button class="btnType03" onclick="fnListPage(); return false;">목 록</button>
|
||||
</div>
|
||||
</div>
|
||||
<!-- //btn_wrap -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- //cont -->
|
||||
</form:form>
|
||||
<!-- selectbox 미리만들기 -->
|
||||
<!-- 2뎁스 만들기 -->
|
||||
<c:forEach var="hiddenResult_one" items="${orgHiddenList}" varStatus="status">
|
||||
<c:if test="${hiddenResult_one.depths eq '1'}">
|
||||
<span id="span_one_${hiddenResult_one.id}" style="display:none;">
|
||||
<option value="">선택</option>
|
||||
<c:forEach var="hiddenResult_two" items="${orgHiddenList}" varStatus="status"><c:if test="${hiddenResult_one.id eq hiddenResult_two.parent}"><option value="<c:out value='${hiddenResult_two.id}'/>"><c:out value='${hiddenResult_two.text}'/></option></c:if></c:forEach>
|
||||
</span>
|
||||
</c:if>
|
||||
</c:forEach>
|
||||
|
||||
<form name="searchForm" id="searchForm" method="get" action="<c:url value='/uss/umt/user/EgovUserManage.do'/>" ></form>
|
||||
<div class="setDiv">
|
||||
<!-- <div class="mask"></div>
|
||||
<div class="window">
|
||||
<div class="id_check1">
|
||||
<input type="button" href="#" class="close">
|
||||
<span>아이디 중복 확인</span>
|
||||
</div>
|
||||
<div class="id_check2">
|
||||
<span>사용할 아이디</span><input type="text" id="checkIdModal">
|
||||
</div>
|
||||
<div class="id_check3">
|
||||
<span>중복확인을 실행하십시오</span><button onclick="fn_id_check(); return false;">중복확인조회</button>
|
||||
</div>
|
||||
</div> -->
|
||||
<div class="mask"></div>
|
||||
<div class="popup_wrap window">
|
||||
<div class="popup_tit">
|
||||
<p>아이디 중복 확인</p>
|
||||
<button class="btn_popup_close close" title="팝업 닫기"><i></i></button>
|
||||
</div>
|
||||
<div class="cont_popup">
|
||||
<p class="info_text">
|
||||
<div class="id_check2">
|
||||
<span>사용할 아이디</span><input type="text" id="checkIdModal">
|
||||
</div>
|
||||
<br>
|
||||
<div class="id_check3">
|
||||
<span>중복확인을 실행하십시오</span><button class="btnType03" onclick="fn_id_check(); return false;">중복확인조회</button>
|
||||
</div>
|
||||
|
||||
</p>
|
||||
|
||||
<div class="btn_wrap btn_layout04">
|
||||
<button type="button" class="btnType03" onclick="layerPopToggle();">닫기</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@ -175,7 +175,12 @@ function fn_goDetail(courtSeq){
|
||||
<col style="width: 70px">
|
||||
<col style="width: 70px">
|
||||
<col style="width: auto">
|
||||
<col style="width: 70px">
|
||||
|
||||
<col style="width: 10%">
|
||||
<col style="width: 10%">
|
||||
<col style="width: 10%o">
|
||||
|
||||
<col style="width: 80px">
|
||||
<col style="width: 10%">
|
||||
<col style="width: 10%">
|
||||
</colgroup>
|
||||
@ -186,6 +191,11 @@ function fn_goDetail(courtSeq){
|
||||
<th>분야</th>
|
||||
<th>결과</th>
|
||||
<th>사건번호</th>
|
||||
|
||||
<th>배당일자</th>
|
||||
<th>사무처리기한</th>
|
||||
<th>보고일자</th>
|
||||
|
||||
<th>조정위원</th>
|
||||
<th>결정일자</th>
|
||||
<th>삭제</th>
|
||||
|
||||
@ -37,7 +37,8 @@
|
||||
$('#tabContent').load(url, {
|
||||
"adrSeq" : $("#adrSeq").val(),
|
||||
"adrSn" : $("#adrSn").val(),
|
||||
"reqOlCd" : $("#reqOlCd").val()
|
||||
"reqOlCd" : $("#reqOlCd").val(),
|
||||
"searchMonth" : $("#searchMonth").val()
|
||||
}, function(res, status, xhr) {
|
||||
console.log(status);
|
||||
});
|
||||
@ -74,6 +75,7 @@
|
||||
<input type="hidden" id="adrSeq" name="adrSeq" value="<c:out value="${apmVO.adrSeq}" />" />
|
||||
<input type="hidden" id="adrSn" name="adrSn" value="<c:out value="${apmVO.adrSn}" />" />
|
||||
<input type="hidden" id="reqOlCd" name="reqOlCd" value="<c:out value="${apmVO.reqOlCd}" />" />
|
||||
<input type="hidden" id="searchMonth" name="searchMonth" value="<c:out value='${apmVO.searchMonth}'/>"/>
|
||||
|
||||
|
||||
</form:form>
|
||||
|
||||
@ -337,8 +337,48 @@ $(document).ready(function(){
|
||||
}
|
||||
|
||||
//결재 팝업 이후 처리내용
|
||||
function fnc_aprvl_pop_ret(param){
|
||||
function fnc_aprvl_pop_ret(sbmtSeq, sbmtTy){
|
||||
$('#sbmtSeq').val(sbmtSeq);
|
||||
$('#sbmtTy').val(sbmtTy);
|
||||
fncApprPass();
|
||||
// location.reload();
|
||||
}
|
||||
|
||||
/* 기일통지서 승인요청 후 자동으로 조정부장 결재되도록 처리 */
|
||||
function fncApprPass(){
|
||||
var data = {
|
||||
adrSeq : $("#adrSeq").val(),
|
||||
adrSn : $("#adrSn").val(),
|
||||
sbmtSeq : $("#sbmtSeq").val(),
|
||||
sbmtTy : $("#sbmtTy").val(),
|
||||
sbmtYn : 'Y'
|
||||
}
|
||||
|
||||
var statCd = $('#statCd').val();
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "/web/kccadr/adjcclt/ai/adjstConciliatorApmSave.do",
|
||||
data: JSON.stringify(data),
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: "application/json",
|
||||
cache: false,
|
||||
success: function (returnData, status) {
|
||||
if(returnData.result == 'FAIL'){
|
||||
if(returnData.message != ''){
|
||||
alert(returnData.message);
|
||||
}else{
|
||||
alert("처리중 오류가 발생하였습니다.");
|
||||
}
|
||||
}else if(returnData.result == 'SUCCESS'){
|
||||
var s_adrHstryMgrSeq = returnData.adrHstryMgrSeq;
|
||||
|
||||
}
|
||||
location.reload();
|
||||
},
|
||||
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
|
||||
});
|
||||
}
|
||||
|
||||
/* 워크플로우 */
|
||||
@ -766,8 +806,21 @@ $(document).ready(function(){
|
||||
<input type="hidden" id="sbmtTyCd" name="sbmtTyCd" value=""/>
|
||||
<input type="hidden" id="rpplRespddSeq" name="rpplRespddSeq" value=""/>
|
||||
|
||||
<!-- 검색조건 -->
|
||||
<input type="hidden" id="SearchMonth" name="SearchMonth" value="${info.searchMonth}"/>
|
||||
|
||||
</form>
|
||||
|
||||
<form:form id="detailForm" name="detailForm" commandName="pgrCmmVO" onsubmit="return false;" method="post">
|
||||
<input type="hidden" name="adrSeq" id="adrSeq" value="<c:out value='${info.adrSeq}'/>"/>
|
||||
<input type="hidden" name="adrSn" id="adrSn" value="<c:out value='${info.adrSn}'/>"/>
|
||||
<input type="hidden" name="sbmtSeq" id="sbmtSeq" value=""/>
|
||||
<input type="hidden" name="sbmtTy" id="sbmtTy" value=""/>
|
||||
<input type="hidden" name="appSeq" id="appSeq" value="<c:out value='${info.appSeq}'/>"/>
|
||||
<input type="hidden" name="statCd" id="statCd" value="<c:out value='${info.statCd}'/>"/>
|
||||
<input type="hidden" name="closeDocTy" id="closeDocTy" value=""/>
|
||||
</form:form>
|
||||
|
||||
<form id="entForm" name="entForm" method="post">
|
||||
<input type="hidden" id="adrSeq" name="adrSeq" value="<c:out value="${info.adrSeq}" />" />
|
||||
<input type="hidden" id="adrSn" name="adrSn" value="<c:out value="${info.adrSn}" />" />
|
||||
@ -2038,6 +2091,9 @@ $(document).ready(function(){
|
||||
<c:if test="${not empty sbmtStatus}">
|
||||
(<kc:code codeId="CC041" code="${sbmtStatus}"/> 결재 대기 중)
|
||||
</c:if>
|
||||
<c:if test="${not empty rejectApproval}">
|
||||
(<c:out value="${rejectApproval}"/> 반려)
|
||||
</c:if>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@ -653,7 +653,9 @@
|
||||
* pdf Stream road
|
||||
*/
|
||||
function fn_read_streamDocs(url){
|
||||
window.open(url);
|
||||
var url2 = url;
|
||||
url2 = url2.replace("http://192.168.39.144:8080", "");
|
||||
window.open(url2);
|
||||
}
|
||||
|
||||
function fnc_download_endFile(){
|
||||
|
||||
@ -26,6 +26,7 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<script src="<c:url value='/innorix/innorix.js' />"></script>
|
||||
<script src="<c:url value='/js/kccadr/innorixCommon.js' />"></script>
|
||||
<link rel="stylesheet" href="<c:url value='/innorix/innorix.css'/>" type="text/css">
|
||||
<script type="text/javascript">
|
||||
</script>
|
||||
@ -225,60 +226,21 @@
|
||||
|
||||
//등록 버튼
|
||||
function fncReg() {
|
||||
var f = document.getElementById("listForm");
|
||||
var data = new FormData(f);
|
||||
_fileForm2.forEach(function(obj, idx) {
|
||||
if (obj)
|
||||
data.append("file" + idx, obj.fileObj);
|
||||
});
|
||||
|
||||
if (validation()) {
|
||||
if(confirm("사건문서를 등록 하시겠습니까?")){
|
||||
|
||||
if(control.getUploadFiles().length > 0){
|
||||
|
||||
var postObj = new Object();
|
||||
postObj.innoDirPath = $('#innoDirPath').val();
|
||||
control.setPostData(postObj); // 업로드시 함께 전달될 POST Param 추가
|
||||
|
||||
control.upload(); // 업로드 시작
|
||||
|
||||
}else{
|
||||
|
||||
alert("등록된 첨부파일이 없습니다.");
|
||||
return false;
|
||||
|
||||
}
|
||||
|
||||
// $.ajax({
|
||||
// type : "POST",
|
||||
// enctype : 'multipart/form-data',
|
||||
// url : "/kccadr/adjPgrMgr/apm/docRegPopAjax.do",
|
||||
// data : data,
|
||||
// dataType : 'json',
|
||||
// async : false,
|
||||
// processData : false,
|
||||
// contentType : false,
|
||||
// cache : false,
|
||||
// success : function(returnData, status) {
|
||||
// if (returnData.result == 'success') {
|
||||
// alert("사건문서 제출이 완료되었습니다.");
|
||||
// opener.location.reload(true);
|
||||
// self.close();
|
||||
// } else {
|
||||
// alert(returnData.message);
|
||||
// }
|
||||
|
||||
// },
|
||||
// error : function(e) {
|
||||
// alert("사건문서 제출에 실패하였습니다.");
|
||||
// console.log("ERROR : ", e);
|
||||
// }
|
||||
// });
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// 파일 업로드 솔루션 init 셋팅
|
||||
@ -289,15 +251,14 @@
|
||||
el: '#fileControl' // 컨트롤 출력 HTML 객체 ID
|
||||
, transferMode: 'both' // 업로드, 다운로드 혼합사용
|
||||
, installUrl: '/innorix/install/install.html' // Agent 설치 페이지
|
||||
, uploadUrl: '/innorix/exam/upload_test_220916.jsp' // 업로드 URL
|
||||
, uploadUrl: '/innorix/exam/upload.jsp' // 업로드 URL
|
||||
, height:80
|
||||
, width: 635
|
||||
});
|
||||
|
||||
// 업로드 완료 이벤트
|
||||
control.on('uploadComplete', function (p) {
|
||||
fn_insertFile(p.files); // 파일 정보 DB isnert function
|
||||
control.removeAllFiles(); // control 초기화
|
||||
fn_callBackInnorix(p.files); // 파일 정보 DB isnert function
|
||||
});
|
||||
};
|
||||
|
||||
@ -305,12 +266,14 @@
|
||||
/*
|
||||
* 파일 정보 DB insert Ajax
|
||||
* */
|
||||
function fn_insertFile(data){
|
||||
function fn_callBackInnorix(data){
|
||||
|
||||
var url = "<c:url value='/kccadr/common/insertInnorixFileAndRpplAjax.do' />";
|
||||
|
||||
var filePath = location.pathname;
|
||||
var jspFileName = filePath.substring(filePath.lastIndexOf("/")+1, filePath.lastIndexOf("."));
|
||||
|
||||
var resultData = {
|
||||
var sendData = {
|
||||
"adrSeq": $('#adrSeq').val()
|
||||
, "adrSn": $('#adrSn').val()
|
||||
, "adrDocTy": $('#adrDocTy').val()
|
||||
@ -319,37 +282,19 @@
|
||||
, "openYn": $('#openYn').val()
|
||||
, "jspFileName": jspFileName
|
||||
, "innorixFileListVO": data
|
||||
, "successMsg" : "사건문서 제출이 완료되었습니다."
|
||||
}
|
||||
|
||||
console.log('resultData :: ', resultData);
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "<c:url value='/kccadr/common/insertInnorixFileAjax.do' />",
|
||||
data: JSON.stringify(resultData),
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: "application/json",
|
||||
cache: false,
|
||||
success: function (returnData) {
|
||||
if(returnData.status == "OK"){
|
||||
alert("사건문서 제출이 완료되었습니다.");
|
||||
/*
|
||||
* 공통 : innorixCommon.js
|
||||
* fn_innorixCmmAjax() 호출 후 status가 성공(OK)이면 실행
|
||||
*/
|
||||
if(fn_innorixCmmAjax(sendData, url) == "OK")
|
||||
{
|
||||
opener.location.reload(true);
|
||||
self.close();
|
||||
}else{
|
||||
alert(returnData.data);
|
||||
return false;
|
||||
}
|
||||
},
|
||||
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
<style>
|
||||
.file_wrap .tbType02{border-bottom: 0}
|
||||
@ -416,56 +361,8 @@
|
||||
<td class="upload_area">
|
||||
<input type="file" id="file_temp" name="file_temp" class="uploadFile" style="display: none" />
|
||||
<button type="button" onclick="control.openFileDialog();" class="btnType01 btn_add_file">파일찾기</button>
|
||||
<!-- <button type="button" id="filebutton" class="btnType01 btn_add_file">파일찾기</button> -->
|
||||
<p style="font-size: 16px; float: right; margin-top: 16px; color: #666;">* 첨부파일을 등록해 주세요. (최대3개)</p>
|
||||
<!-- <div class="file_wrap file_upload_box no_img_box"> -->
|
||||
<!-- -->
|
||||
<div id="fileControl"></div><br/>
|
||||
|
||||
<!-- </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 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="<c:out value='${fileList.fileSize}' />">
|
||||
<input type="hidden" name="limitcount" value="3" />
|
||||
<td class="td_filename">
|
||||
<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="파일${status.count} 삭제">
|
||||
<i></i>
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
@ -31,28 +31,32 @@
|
||||
<!-- <script src="//t1.daumcdn.net/mapjsapi/bundle/postcode/prod/postcode.v2.js"></script> -->
|
||||
<script src="/kccadrPb/adm/script/postcode.js"></script>
|
||||
<script src="<c:url value='/js/kccadr/kccadrCom.js' />"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
$(document).ready(function(){
|
||||
|
||||
// $('.irx_btn_del.irx_remove').click(function(e) {
|
||||
$('.irx_remove').click(function(e) {
|
||||
|
||||
console.log('??');
|
||||
e.preventDefault();
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
<script src="<c:url value='/innorix/innorix.js' />"></script>
|
||||
<script src="<c:url value='/js/kccadr/innorixCommon.js' />"></script>
|
||||
<link rel="stylesheet" href="<c:url value='/innorix/innorix.css'/>" type="text/css">
|
||||
|
||||
<%-- 원자력 --%>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
$(function() {
|
||||
|
||||
$('#filebutton').click(function(e) {
|
||||
|
||||
e.preventDefault();
|
||||
|
||||
$('#file_temp').click();
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
function setAdrNoTxt() {
|
||||
$('#adrNoTxt').text($('#adrNo').val());
|
||||
}
|
||||
var innoJquery = innorix._load("innoJquery");
|
||||
|
||||
function fncReg() {
|
||||
|
||||
@ -62,16 +66,16 @@
|
||||
var data = new FormData(f);
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
enctype: 'multipart/form-data',
|
||||
url : "/kccadr/adjPgrMgr/apm/updtRpplPopPastAjax.do",
|
||||
data: data,
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: false,
|
||||
cache: false,
|
||||
success : function(returnData, status) {
|
||||
type: "POST"
|
||||
, enctype: 'multipart/form-data'
|
||||
, url : "/kccadr/adjPgrMgr/apm/updtRpplPopPastAjax.do"
|
||||
, data: data
|
||||
, dataType:'json'
|
||||
, async: false
|
||||
, processData: false
|
||||
, contentType: false
|
||||
, cache: false
|
||||
, success : function(returnData, status) {
|
||||
if (returnData.result == 'success') {
|
||||
alert("대리인 수정 되었습니다.");
|
||||
window.opener.location.reload();
|
||||
@ -79,9 +83,8 @@
|
||||
} else {
|
||||
alert(returnData.message);
|
||||
}
|
||||
|
||||
},
|
||||
error : function(e) {
|
||||
}
|
||||
, error : function(e) {
|
||||
alert("대리인수정을 실패하였습니다.");
|
||||
console.log("ERROR : ", e);
|
||||
}
|
||||
@ -100,80 +103,35 @@
|
||||
return true;
|
||||
}
|
||||
|
||||
function fncRelationCheck() {
|
||||
|
||||
}
|
||||
|
||||
function phoneSelect (){
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
var innoJquery = innorix._load("innoJquery");
|
||||
|
||||
var urlBase = location.href.substring(0, location.href.lastIndexOf("/") + 1);
|
||||
var control = new Object(); // 파일전송 컨트롤 객체선언
|
||||
var downFileArr = new Array(); // 다운로드 목록 정보
|
||||
var resetFileArr = new Array(); // 다운로드 목록 초기화 정보
|
||||
var delFileArr = new Array(); // 삭제된 파일 정보
|
||||
var removeFlag = true; // 삭제 이벤트 조건 플래그
|
||||
|
||||
|
||||
// 키값에 해당하는 인덱스 삭제
|
||||
function deleteArr(array, key, value) {
|
||||
for (var i = 0; i < array.length; i++) {
|
||||
if (array[i][key] == value) {
|
||||
array.splice(i, 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 파일 업로드 솔루션 init 셋팅
|
||||
var control = new Object();
|
||||
window.onload = function() {
|
||||
// 파일전송 컨트롤 생성
|
||||
control = innorix.create({
|
||||
el: '#fileControl', // 컨트롤 출력 HTML 객체 ID
|
||||
transferMode: 'both', // 업로드, 다운로드 혼합사용
|
||||
installUrl: '/innorix/install/install.html', // Agent 설치 페이지
|
||||
uploadUrl: '/innorix/exam/upload.jsp' // 업로드 URL
|
||||
el: '#fileControl', // * 컨트롤 출력 HTML 객체 ID
|
||||
transferMode: 'both', // * 업로드, 다운로드 혼합사용
|
||||
installUrl: '/innorix/install/install.html', // * Agent 설치 페이지
|
||||
uploadUrl: '/innorix/exam/upload.jsp' // * 업로드 URL
|
||||
});
|
||||
|
||||
// 업로드 완료 이벤트
|
||||
control.on('uploadComplete', function (p) {
|
||||
fn_insertFile(p.files); // 파일 정보 DB isnert function
|
||||
fn_callBackInnorix(p.files); // * 파일 정보 DB isnert function
|
||||
});
|
||||
|
||||
// 파일전송 컨트롤 로딩 완료
|
||||
control.on('loadComplete', function (p) {
|
||||
// 다운로드 목록
|
||||
//
|
||||
// .do 호출 시 불러온 fileList에서 솔루션에 맞게 변환
|
||||
<c:forEach items="${fileList}" var="file">
|
||||
var fileObj = new Object();
|
||||
fileObj.printFileName = "${file.orignlFileNm}";
|
||||
fileObj.fileSize = "${file.fileSize}";
|
||||
// fileObj.downloadUrl = "/innorix/exam/download.jsp?fileName=" + "${file.streFileNm}&innoDirPath="+$('#innoDirPath').val();
|
||||
fileObj.downloadUrl = "/innorix/exam/download.jsp?fileName=" + "${file.streFileNm}";
|
||||
fileObj.fileSn = "${file.fileSn}";
|
||||
downFileArr.push(fileObj);
|
||||
</c:forEach>
|
||||
|
||||
// downFileArr =
|
||||
// [{
|
||||
// printFileName: "INNORIX WP 브로셔.pdf",
|
||||
// fileSize: 1433885,
|
||||
// downloadUrl: urlBase + "download.jsp?fileID=1"
|
||||
// },
|
||||
// {
|
||||
// printFileName: "INNORIX WP Brochure.pdf",
|
||||
// fileSize: 1433885,
|
||||
// downloadUrl: urlBase + "download.jsp?fileID=2"
|
||||
// },
|
||||
// {
|
||||
// printFileName: "INNORIX WP パンフレット.pdf",
|
||||
// fileSize: 1433885,
|
||||
// downloadUrl: urlBase + "download.jsp?fileID=3"
|
||||
// }];
|
||||
|
||||
resetFileArr = downFileArr; // 다운로드 정보 초기화 정보 생성
|
||||
resetFileArr = resetFileArr.slice(0); // 배열 깊은 복사
|
||||
control.presetDownloadFiles(resetFileArr); // 다운로드 파일 추가
|
||||
@ -181,40 +139,49 @@
|
||||
|
||||
// 파일 삭제 이벤트
|
||||
control.on('removeFiles', function (p) {
|
||||
if (removeFlag == true) {
|
||||
if (removeFlag == true)
|
||||
{
|
||||
if(confirm("삭제하시겠습니까?"))
|
||||
{
|
||||
// 삭제된 파일정보 배열에 담기
|
||||
for (var i = 0; i < p.length; i++ ) {
|
||||
for (var i = 0; i < p.length; i++ )
|
||||
{
|
||||
var fileObj = new Object();
|
||||
if (p[i].transferType == "download")
|
||||
{
|
||||
fileObj.downloadUrl = p[i].downloadUrl;
|
||||
fileObj.printFileName = p[i].printFileName;
|
||||
fileObj.fileSize = p[i].fileSize;
|
||||
fileObj.fileSn = p[i].fileSn;
|
||||
|
||||
delFileArr.push(fileObj);
|
||||
|
||||
|
||||
delAtchFile( $('#atchFileId').val(), p[i].fileSn);
|
||||
|
||||
deleteArr(downFileArr, "printFileName", p[i].printFileName);
|
||||
console.log('delFileArr :: ', delFileArr);
|
||||
console.log('deleteArr :: ', deleteArr);
|
||||
/*
|
||||
* innorixDelAtchFile => innorixCommon.js 호출
|
||||
* DB에서 file 정보 삭제
|
||||
* deleteFromResetFileArr => innorixCommon.js 호출
|
||||
* DB에서 file 정보 삭제
|
||||
*/
|
||||
innorixDelAtchFile( $('#atchFileId').val(), p[i].fileSn);
|
||||
deleteFromResetFileArr(p[i].printFileName);
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
fileListReset();
|
||||
}
|
||||
}
|
||||
removeFlag = true;
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* 등록버튼 클릭 event
|
||||
* */
|
||||
function save() {
|
||||
if(confirm("대리인 정보를 수정 하시겠습니까?")){
|
||||
|
||||
if (control.getUploadFiles().length > 0) {
|
||||
|
||||
var postObj = new Object();
|
||||
postObj.innoDirPath = $('#innoDirPath').val();
|
||||
control.setPostData(postObj); // 업로드시 함께 전달될 POST Param 추가
|
||||
control.upload();
|
||||
|
||||
} else if (delFileArr.length > 0) {
|
||||
@ -226,57 +193,34 @@
|
||||
}
|
||||
}
|
||||
|
||||
// 업로드, 삭제된 파일정보 submit
|
||||
function submit(uploadFileArr, delFileArr, url) {
|
||||
innoJquery.post(url, { uploadFiles: uploadFileArr, deleteFiles: delFileArr})
|
||||
.done(function(data) {
|
||||
delFileArr = new Array(); // 삭제정보 초기화
|
||||
alert(data);
|
||||
});
|
||||
}
|
||||
|
||||
/*
|
||||
* 파일 정보 DB insert Ajax
|
||||
* */
|
||||
function fn_insertFile(data){
|
||||
function fn_callBackInnorix(data){
|
||||
|
||||
var url = "<c:url value='/kccadr/common/insertInnorixFileAndRpplAjax.do' />";
|
||||
|
||||
var filePath = location.pathname;
|
||||
var jspFileName = filePath.substring(filePath.lastIndexOf("/")+1, filePath.lastIndexOf("."));
|
||||
|
||||
var resultData = {
|
||||
var sendData = {
|
||||
"adrSeq": $('#adrSeq').val()
|
||||
, "atchFileId": $('#atchFileId').val()
|
||||
, "jspFileName": jspFileName
|
||||
, "innorixFileListVO": data
|
||||
}
|
||||
|
||||
console.log('resultData :: ', resultData);
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "<c:url value='/kccadr/common/insertInnorixFileAjax.do' />",
|
||||
data: JSON.stringify(resultData),
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: "application/json",
|
||||
cache: false,
|
||||
success: function (returnData) {
|
||||
if(returnData.status == "OK"){
|
||||
/*
|
||||
* 공통 : innorixCommon.js
|
||||
* fn_innorixCmmAjax() 호출 후 status가 성공(OK)이면 실행
|
||||
*/
|
||||
if(fn_innorixCmmAjax(sendData, url) == "OK")
|
||||
{
|
||||
fncReg();
|
||||
}else{
|
||||
alert(returnData.data);
|
||||
return false;
|
||||
}
|
||||
},
|
||||
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
@ -421,59 +365,9 @@
|
||||
<td class="upload_area">
|
||||
<input type="file" id="file_temp" name="file_temp" class="uploadFile" style="display: none" />
|
||||
<button type="button" onclick="control.openFileDialog();" class="btnType01 btn_add_file">파일찾기</button>
|
||||
<!-- <button type="button" id="filebutton" class="btnType01 btn_add_file">파일찾기</button> -->
|
||||
<p style="font-size: 16px; float: right; margin-top: 16px; color: #666;">* 첨부파일을 등록해 주세요. (최대3개)</p>
|
||||
<!-- <div class="file_wrap file_upload_box no_img_box"> -->
|
||||
<!-- -->
|
||||
<div id="fileControl"></div><br/>
|
||||
</div>
|
||||
<%--
|
||||
<div class="file_wrap fileAfter file_list_div">
|
||||
<table class="tbType02">
|
||||
<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>파일 명</th>
|
||||
<th>종류</th>
|
||||
<th>크기</th>
|
||||
<th>삭제</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;">
|
||||
<i></i>
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
--%>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
@ -213,9 +213,10 @@
|
||||
}
|
||||
|
||||
//결재 팝업 이후 처리내용
|
||||
function fnc_aprvl_pop_ret(param){
|
||||
//location.reload();
|
||||
fncGoList('list'); //조정진행목록으로
|
||||
function fnc_aprvl_pop_ret(sbmtSeq, sbmtTy){
|
||||
$('#sbmtSeq').val(sbmtSeq);
|
||||
$('#sbmtTy').val(sbmtTy);
|
||||
fncApprPass();
|
||||
}
|
||||
|
||||
function sendDlvInfoPop() {
|
||||
@ -297,6 +298,77 @@
|
||||
|
||||
}
|
||||
|
||||
/* 조정권고안 승인요청 후 자동으로 조정부장 결재되도록 처리 */
|
||||
function fncApprPass(){
|
||||
var data = {
|
||||
adrSeq : $("#adrSeq").val(),
|
||||
adrSn : $("#adrSn").val(),
|
||||
sbmtSeq : $("#sbmtSeq").val(),
|
||||
sbmtTy : $("#sbmtTy").val(),
|
||||
sbmtYn : 'Y'
|
||||
}
|
||||
|
||||
var statCd = $('#statCd').val();
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "/web/kccadr/adjcclt/ai/adjstConciliatorApmSave.do",
|
||||
data: JSON.stringify(data),
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: "application/json",
|
||||
cache: false,
|
||||
success: function (returnData, status) {
|
||||
if(returnData.result == 'FAIL'){
|
||||
if(returnData.message != ''){
|
||||
alert(returnData.message);
|
||||
}else{
|
||||
alert("처리중 오류가 발생하였습니다.");
|
||||
}
|
||||
}else if(returnData.result == 'SUCCESS'){
|
||||
var s_adrHstryMgrSeq = returnData.adrHstryMgrSeq;
|
||||
|
||||
var exportUrl = "";
|
||||
|
||||
exportUrl = "/kccadr/adjPgrMgr/arm/armOzExportAjax.do";
|
||||
//조정권고안 종결문서 번호 입력
|
||||
$('#closeDocTy').val("30");
|
||||
ozExportReport(exportUrl);
|
||||
// alert("승인되었습니다.");
|
||||
}
|
||||
location.reload();
|
||||
},
|
||||
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
|
||||
});
|
||||
}
|
||||
|
||||
function ozExportReport(exportUrl){
|
||||
|
||||
var data = new FormData(document.getElementById("detailForm"));
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: exportUrl,
|
||||
data: data,
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: false,
|
||||
cache: false,
|
||||
success: function (returnData, status) {
|
||||
console.log(returnData.result);
|
||||
//alert(returnData.result);
|
||||
if(returnData.result == 'SUCCESS'){
|
||||
|
||||
}else{
|
||||
alert(returnData.message);
|
||||
}
|
||||
},
|
||||
error: function (e) { alert("Export 요청에 실패하였습니다."); console.log("ERROR : ", e); }
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
@ -310,6 +382,17 @@
|
||||
<input type="hidden" id="sbmtTyCd" name="sbmtTyCd" value=""/>
|
||||
|
||||
</form>
|
||||
|
||||
<form:form id="detailForm" name="detailForm" commandName="DrtVO" onsubmit="return false;" method="post">
|
||||
<input type="hidden" name="adrSeq" id="adrSeq" value="<c:out value='${info.adrSeq}'/>"/>
|
||||
<input type="hidden" name="adrSn" id="adrSn" value="<c:out value='${info.adrSn}'/>"/>
|
||||
<input type="hidden" name="sbmtSeq" id="sbmtSeq" value=""/>
|
||||
<input type="hidden" name="sbmtTy" id="sbmtTy" value=""/>
|
||||
<input type="hidden" name="appSeq" id="appSeq" value="<c:out value='${info.appSeq}'/>"/>
|
||||
<input type="hidden" name="statCd" id="statCd" value="<c:out value='${info.statCd}'/>"/>
|
||||
<input type="hidden" name="closeDocTy" id="closeDocTy" value=""/>
|
||||
</form:form>
|
||||
|
||||
<form id="dlvpop" name="dlvpop" method="post">
|
||||
<input type="hidden" id="adrNo" name="adrNo" value="<c:out value="${info.adrNo}" />" />
|
||||
<input type="hidden" id="adrSn" name="adrSn" value="<c:out value="${info.adrSn }" />" />
|
||||
@ -513,7 +596,7 @@
|
||||
</div>
|
||||
|
||||
<!-- list_상세 -->
|
||||
<c:if test="${dlvCnt > 0}">
|
||||
<%-- <c:if test="${dlvCnt > 0}">
|
||||
<br><br>
|
||||
<p>* 송달정보 URL로 전송하기</p>
|
||||
<br><br>
|
||||
@ -595,7 +678,7 @@
|
||||
</table>
|
||||
</div>
|
||||
</c:if>
|
||||
</c:if>
|
||||
</c:if> --%>
|
||||
|
||||
<!-- //list_상세 -->
|
||||
<div class="btn_wrap btn_layout01">
|
||||
|
||||
@ -372,7 +372,7 @@ $(document).ready(function() {
|
||||
<!-- //list_상세 -->
|
||||
|
||||
<!-- list_상세 -->
|
||||
<c:if test="${dlvCnt > 0}">
|
||||
<%-- <c:if test="${dlvCnt > 0}">
|
||||
<br><br>
|
||||
<p>* 송달정보 URL로 전송하기</p>
|
||||
<br><br>
|
||||
@ -454,7 +454,7 @@ $(document).ready(function() {
|
||||
</table>
|
||||
</div>
|
||||
</c:if>
|
||||
</c:if>
|
||||
</c:if> --%>
|
||||
|
||||
<!-- //list_상세 -->
|
||||
|
||||
|
||||
@ -263,7 +263,9 @@
|
||||
}
|
||||
|
||||
//결재 팝업이후 처리 내용
|
||||
function fnc_aprvl_pop_ret(param){
|
||||
function fnc_aprvl_pop_ret(sbmtSeq, sbmtTy){
|
||||
$('#sbmtSeq').val(sbmtSeq);
|
||||
$('#sbmtTy').val(sbmtTy);
|
||||
updtDntSbmt(); //SBMT_YN='Y'로 처리
|
||||
//fncGoList(); //조정진행목록으로
|
||||
}
|
||||
@ -286,7 +288,9 @@
|
||||
console.log(returnData.result);
|
||||
//alert(returnData.result);
|
||||
if(returnData.result == 'SUCCESS'){
|
||||
alert('성공적으로 요청하였습니다.');
|
||||
// 기일통지서 승인 요청 시 조정부장 결재 자동 처리
|
||||
fncApprPass();
|
||||
alert('성공적으로 처리하였습니다.');
|
||||
fncGoList();
|
||||
}else{
|
||||
alert(returnData.message);
|
||||
@ -382,6 +386,106 @@
|
||||
|
||||
}
|
||||
|
||||
/* 기일통지서 승인요청 후 자동으로 조정부장 결재되도록 처리 */
|
||||
function fncApprPass(){
|
||||
var data = {
|
||||
adrSeq : $("#adrSeq").val(),
|
||||
adrSn : $("#adrSn").val(),
|
||||
sbmtSeq : $("#sbmtSeq").val(),
|
||||
sbmtTy : $("#sbmtTy").val(),
|
||||
sbmtYn : 'Y'
|
||||
}
|
||||
|
||||
var statCd = $('#statCd').val();
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "/web/kccadr/adjcclt/ai/adjstConciliatorApmSave.do",
|
||||
data: JSON.stringify(data),
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: "application/json",
|
||||
cache: false,
|
||||
success: function (returnData, status) {
|
||||
if(returnData.result == 'FAIL'){
|
||||
if(returnData.message != ''){
|
||||
alert(returnData.message);
|
||||
}else{
|
||||
alert("처리중 오류가 발생하였습니다.");
|
||||
}
|
||||
}else if(returnData.result == 'SUCCESS'){
|
||||
var s_adrHstryMgrSeq = returnData.adrHstryMgrSeq;
|
||||
|
||||
updtDntApprYn('Y', s_adrHstryMgrSeq);
|
||||
|
||||
exportUrl = "/kccadr/adjPgrMgr/dnt/dntOzExportAjax.do";
|
||||
ozExportReport(exportUrl);
|
||||
alert("승인되었습니다.");
|
||||
}
|
||||
location.reload();
|
||||
},
|
||||
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
|
||||
});
|
||||
}
|
||||
|
||||
//기일통지서승인 일자 업데이트 처리해주기
|
||||
function updtDntApprYn(status
|
||||
, s_adrHstryMgrSeq
|
||||
){
|
||||
var data = new FormData(document.getElementById("detailForm"));
|
||||
data.append("apprYn" ,status);
|
||||
data.append("assHstrySeq" ,s_adrHstryMgrSeq);
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "/web/kccadr/adjcclt/ai/dntUpdApprYnAjax.do",
|
||||
data: data,
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: false,
|
||||
cache: false,
|
||||
success: function (returnData, status) {
|
||||
console.log(returnData.result);
|
||||
//alert(returnData.result);
|
||||
if(returnData.result == 'SUCCESS'){
|
||||
//alert('성공적으로 요청하였습니다.');
|
||||
//fncGoList();
|
||||
}else{
|
||||
alert(returnData.message);
|
||||
}
|
||||
},
|
||||
error: function (e) { alert("요청에 실패하였습니다."); console.log("ERROR : ", e); }
|
||||
});
|
||||
}
|
||||
|
||||
function ozExportReport(exportUrl){
|
||||
|
||||
var data = new FormData(document.getElementById("detailForm"));
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: exportUrl,
|
||||
data: data,
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: false,
|
||||
cache: false,
|
||||
success: function (returnData, status) {
|
||||
console.log(returnData.result);
|
||||
//alert(returnData.result);
|
||||
if(returnData.result == 'SUCCESS'){
|
||||
|
||||
}else{
|
||||
alert(returnData.message);
|
||||
}
|
||||
},
|
||||
error: function (e) { alert("Export 요청에 실패하였습니다."); console.log("ERROR : ", e); }
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
@ -396,6 +500,16 @@
|
||||
|
||||
</form>
|
||||
|
||||
<form:form id="detailForm" name="detailForm" commandName="DrtVO" onsubmit="return false;" method="post">
|
||||
<input type="hidden" name="adrSeq" id="adrSeq" value="<c:out value='${info.adrSeq}'/>"/>
|
||||
<input type="hidden" name="adrSn" id="adrSn" value="<c:out value='${info.adrSn}'/>"/>
|
||||
<input type="hidden" name="sbmtSeq" id="sbmtSeq" value=""/>
|
||||
<input type="hidden" name="sbmtTy" id="sbmtTy" value=""/>
|
||||
<input type="hidden" name="appSeq" id="appSeq" value="<c:out value='${info.appSeq}'/>"/>
|
||||
<input type="hidden" name="statCd" id="statCd" value="<c:out value='${info.statCd}'/>"/>
|
||||
<input type="hidden" name="closeDocTy" id="closeDocTy" value=""/>
|
||||
</form:form>
|
||||
|
||||
<form id="dlvpop" name="dlvpop" method="post">
|
||||
<input type="hidden" id="adrNo" name="adrNo" value="<c:out value="${info.adrNo}" />" />
|
||||
<input type="hidden" id="adrSn" name="adrSn" value="<c:out value="${info.adrSn }"></c:out>" />
|
||||
@ -614,7 +728,7 @@
|
||||
<!-- //list_상세 -->
|
||||
|
||||
<!-- list_상세 -->
|
||||
<c:if test="${dlvCnt > 0}">
|
||||
<%-- <c:if test="${dlvCnt > 0}">
|
||||
<br><br>
|
||||
<p>* 송달정보 URL로 전송하기</p>
|
||||
<br><br>
|
||||
@ -696,7 +810,7 @@
|
||||
</table>
|
||||
</div>
|
||||
</c:if>
|
||||
</c:if>
|
||||
</c:if> --%>
|
||||
|
||||
<div class="btn_wrap btn_layout01">
|
||||
<div class="area_left">
|
||||
|
||||
@ -207,9 +207,10 @@
|
||||
}
|
||||
|
||||
//결재 팝업 이후 처리내용
|
||||
function fnc_aprvl_pop_ret(param){
|
||||
//location.reload();
|
||||
fncGoList('list'); //조정진행목록으로
|
||||
function fnc_aprvl_pop_ret(sbmtSeq, sbmtTy){
|
||||
$('#sbmtSeq').val(sbmtSeq);
|
||||
$('#sbmtTy').val(sbmtTy);
|
||||
fncApprPass();
|
||||
}
|
||||
|
||||
function sendDlvInfoPop() {
|
||||
@ -285,6 +286,77 @@
|
||||
|
||||
}
|
||||
|
||||
/* 불성립종결 승인요청 후 자동으로 조정부장 결재되도록 처리 */
|
||||
function fncApprPass(){
|
||||
var data = {
|
||||
adrSeq : $("#adrSeq").val(),
|
||||
adrSn : $("#adrSn").val(),
|
||||
sbmtSeq : $("#sbmtSeq").val(),
|
||||
sbmtTy : $("#sbmtTy").val(),
|
||||
sbmtYn : 'Y'
|
||||
}
|
||||
|
||||
var statCd = $('#statCd').val();
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "/web/kccadr/adjcclt/ai/adjstConciliatorApmSave.do",
|
||||
data: JSON.stringify(data),
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: "application/json",
|
||||
cache: false,
|
||||
success: function (returnData, status) {
|
||||
if(returnData.result == 'FAIL'){
|
||||
if(returnData.message != ''){
|
||||
alert(returnData.message);
|
||||
}else{
|
||||
alert("처리중 오류가 발생하였습니다.");
|
||||
}
|
||||
}else if(returnData.result == 'SUCCESS'){
|
||||
var s_adrHstryMgrSeq = returnData.adrHstryMgrSeq;
|
||||
|
||||
var exportUrl = "";
|
||||
|
||||
exportUrl = "/kccadr/adjPgrMgr/crt/crtOzExportAjax.do";
|
||||
//불성립종결 통보서 종결문서 번호 입력
|
||||
$('#detailForm #closeDocTy').val("70");
|
||||
ozExportReport(exportUrl);
|
||||
// alert("승인되었습니다.");
|
||||
}
|
||||
location.reload();
|
||||
},
|
||||
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
|
||||
});
|
||||
}
|
||||
|
||||
function ozExportReport(exportUrl){
|
||||
|
||||
var data = new FormData(document.getElementById("detailForm"));
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: exportUrl,
|
||||
data: data,
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: false,
|
||||
cache: false,
|
||||
success: function (returnData, status) {
|
||||
console.log(returnData.result);
|
||||
//alert(returnData.result);
|
||||
if(returnData.result == 'SUCCESS'){
|
||||
|
||||
}else{
|
||||
alert(returnData.message);
|
||||
}
|
||||
},
|
||||
error: function (e) { alert("Export 요청에 실패하였습니다."); console.log("ERROR : ", e); }
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
@ -298,6 +370,17 @@
|
||||
<input type="hidden" id="sbmtTyCd" name="sbmtTyCd" value=""/>
|
||||
|
||||
</form>
|
||||
|
||||
<form:form id="detailForm" name="detailForm" commandName="DrtVO" onsubmit="return false;" method="post">
|
||||
<input type="hidden" name="adrSeq" id="adrSeq" value="<c:out value='${info.adrSeq}'/>"/>
|
||||
<input type="hidden" name="adrSn" id="adrSn" value="<c:out value='${info.adrSn}'/>"/>
|
||||
<input type="hidden" name="sbmtSeq" id="sbmtSeq" value=""/>
|
||||
<input type="hidden" name="sbmtTy" id="sbmtTy" value=""/>
|
||||
<input type="hidden" name="appSeq" id="appSeq" value="<c:out value='${info.appSeq}'/>"/>
|
||||
<input type="hidden" name="statCd" id="statCd" value="<c:out value='${info.statCd}'/>"/>
|
||||
<input type="hidden" name="closeDocTy" id="closeDocTy" value=""/>
|
||||
</form:form>
|
||||
|
||||
<form id="dlvpop" name="dlvpop" method="post">
|
||||
<input type="hidden" id="adrNo" name="adrNo" value="<c:out value="${info.adrNo}" />" />
|
||||
<input type="hidden" id="adrSn" name="adrSn" value="<c:out value="${info.adrSn }" />" />
|
||||
@ -429,7 +512,7 @@
|
||||
<!-- //list_상세 -->
|
||||
|
||||
<!-- list_상세 -->
|
||||
<c:if test="${dlvCnt > 0}">
|
||||
<%-- <c:if test="${dlvCnt > 0}">
|
||||
<br><br>
|
||||
<p>* 송달정보 URL로 전송하기</p>
|
||||
<br><br>
|
||||
@ -511,7 +594,7 @@
|
||||
</table>
|
||||
</div>
|
||||
</c:if>
|
||||
</c:if>
|
||||
</c:if> --%>
|
||||
|
||||
<div class="btn_wrap btn_layout01">
|
||||
<div class="area_left"></div>
|
||||
|
||||
@ -5,6 +5,7 @@
|
||||
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
|
||||
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||
<%@ taglib prefix="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
|
||||
<!DOCTYPE html>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
@ -203,7 +204,10 @@
|
||||
<tr>
|
||||
<th>송달서류</th>
|
||||
<td colspan="3">
|
||||
<p><c:out value="${ info.dlvryDocTyTxt }"></c:out></p>
|
||||
<p>
|
||||
<kc:select codeId="CC004" id="dlvryDocTy" name="dlvryDocTy" selectedValue="${info.dlvryDocTy }" />
|
||||
<%-- <c:out value="${ info.dlvryDocTyTxt }"></c:out> --%>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
@ -170,16 +170,24 @@
|
||||
<c:forEach var="item" items="${list}" varStatus="status">
|
||||
<tr>
|
||||
<td>
|
||||
<a href="#none" onclick="fncGoDetail('${item.adrSeq}','${item.adrSn}','${item.dlvrySeq}');">
|
||||
<c:out value="${item.frstRegistPnttm}" />
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<a href="#none" onclick="fncGoDetail('${item.adrSeq}','${item.adrSn}','${item.dlvrySeq}');">
|
||||
<c:out value="${item.adrNo}" />
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<a href="#none" onclick="fncGoDetail('${item.adrSeq}','${item.adrSn}','${item.dlvrySeq}');">
|
||||
<c:out value="${item.rpplTyTxt}" />
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<a href="#none" onclick="fncGoDetail('${item.adrSeq}','${item.adrSn}','${item.dlvrySeq}');">
|
||||
<c:out value="${item.rpplNm}" />
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<a href="#none" onclick="fncGoDetail('${item.adrSeq}','${item.adrSn}','${item.dlvrySeq}');">
|
||||
@ -187,13 +195,19 @@
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<a href="#none" onclick="fncGoDetail('${item.adrSeq}','${item.adrSn}','${item.dlvrySeq}');">
|
||||
<c:out value="${item.dlvryDocTyTxt}" />
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<a href="#none" onclick="fncGoDetail('${item.adrSeq}','${item.adrSn}','${item.dlvrySeq}');">
|
||||
<c:out value="${item.sendDeDay}" />
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<a href="#none" onclick="fncGoDetail('${item.adrSeq}','${item.adrSn}','${item.dlvrySeq}');">
|
||||
<c:out value="${item.recDeDay}" />
|
||||
</a>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
|
||||
@ -75,7 +75,7 @@
|
||||
$('#memDeptSeq').val(data.info.memDeptSeq);
|
||||
$('#ccTyTx').val(data.info.ccTyTx);
|
||||
$('#adrSeq').val(data.info.adrSeq);
|
||||
dlvryDocTy
|
||||
// dlvryDocTy
|
||||
creSelect('dlvryDocTy', data.dlvryDocTyList);
|
||||
creSelect2('rpplTy ', data.rpplList);
|
||||
},
|
||||
|
||||
@ -44,6 +44,11 @@
|
||||
listForm.submit();
|
||||
}
|
||||
|
||||
function fncSearchAdrNo(){
|
||||
var listForm = document.listForm;
|
||||
listForm.action = "<c:url value='/kccadr/adjPgrMgr/dlvinfo/popup/dlvSearchAdrNoPop.do'/>";
|
||||
listForm.submit();
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
@ -53,17 +58,18 @@
|
||||
<input type="hidden" name="pageIndex" value="<c:out value='${cmmVO.pageIndex}' default='1' />"/>
|
||||
<input type="hidden" name="searchSortCnd" value="<c:out value="${cmmVO.searchSortCnd}" />" />
|
||||
<input type="hidden" name="searchSortOrd" value="<c:out value="${cmmVO.searchSortOrd}" />" />
|
||||
<input type="hidden" name="searchCondition" value="10" />
|
||||
|
||||
<div class="cont_popup">
|
||||
<p class="tit_text">기일변경신청 목록</p>
|
||||
<p class="tit_text">송달정보 사건번호 목록</p>
|
||||
|
||||
<!-- <ul class="search_form">
|
||||
<ul class="search_form">
|
||||
<li>
|
||||
<p class="search_tit">검색 : </p>
|
||||
<input type="text" id=searchKeyword name="searchKeyword" class="search_input" placeholder="검색어를 입력하세요" value="">
|
||||
<button class="btn_search" onclick="fncSearchUser(); return false;">검색</button>
|
||||
<input type="text" id=searchKeyword name="searchKeyword" class="search_input" placeholder="검색어를 입력하세요" value="${cmmVO.searchKeyword}">
|
||||
<button class="btn_search" onclick="fncSearchAdrNo(); return false;">검색</button>
|
||||
</li>
|
||||
</ul> -->
|
||||
</ul>
|
||||
|
||||
<table class="pop_tbType02">
|
||||
<colgroup>
|
||||
|
||||
@ -257,7 +257,9 @@
|
||||
}
|
||||
|
||||
//결재 팝업이후 처리 내용
|
||||
function fnc_aprvl_pop_ret(param){
|
||||
function fnc_aprvl_pop_ret(sbmtSeq, sbmtTy){
|
||||
$('#sbmtSeq').val(sbmtSeq);
|
||||
$('#sbmtTy').val(sbmtTy);
|
||||
updtDntSbmt(); //SBMT_YN='Y'로 처리
|
||||
//fncGoList(); //조정진행목록으로
|
||||
}
|
||||
@ -292,7 +294,9 @@
|
||||
console.log(returnData.result);
|
||||
//alert(returnData.result);
|
||||
if(returnData.result == 'SUCCESS'){
|
||||
alert('성공적으로 요청하였습니다.');
|
||||
// 기일통지서 승인 요청 시 조정부장 결재 자동 처리
|
||||
fncApprPass();
|
||||
alert('성공적으로 처리하였습니다.');
|
||||
fncGoList();
|
||||
}else{
|
||||
alert(returnData.message);
|
||||
@ -374,6 +378,107 @@
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/* 기일통지서 승인요청 후 자동으로 조정부장 결재되도록 처리 */
|
||||
function fncApprPass(){
|
||||
var data = {
|
||||
adrSeq : $("#adrSeq").val(),
|
||||
adrSn : $("#adrSn").val(),
|
||||
sbmtSeq : $("#sbmtSeq").val(),
|
||||
sbmtTy : $("#sbmtTy").val(),
|
||||
sbmtYn : 'Y'
|
||||
}
|
||||
|
||||
var statCd = $('#statCd').val();
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "/web/kccadr/adjcclt/ai/adjstConciliatorApmSave.do",
|
||||
data: JSON.stringify(data),
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: "application/json",
|
||||
cache: false,
|
||||
success: function (returnData, status) {
|
||||
if(returnData.result == 'FAIL'){
|
||||
if(returnData.message != ''){
|
||||
alert(returnData.message);
|
||||
}else{
|
||||
alert("처리중 오류가 발생하였습니다.");
|
||||
}
|
||||
}else if(returnData.result == 'SUCCESS'){
|
||||
var s_adrHstryMgrSeq = returnData.adrHstryMgrSeq;
|
||||
|
||||
updtDntApprYn('Y', s_adrHstryMgrSeq);
|
||||
|
||||
exportUrl = "/kccadr/adjPgrMgr/dnt/dntOzExportAjax.do";
|
||||
ozExportReport(exportUrl);
|
||||
alert("승인되었습니다.");
|
||||
}
|
||||
location.reload();
|
||||
},
|
||||
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
//기일통지서승인 일자 업데이트 처리해주기
|
||||
function updtDntApprYn(status
|
||||
, s_adrHstryMgrSeq
|
||||
){
|
||||
var data = new FormData(document.getElementById("detailForm"));
|
||||
data.append("apprYn" ,status);
|
||||
data.append("assHstrySeq" ,s_adrHstryMgrSeq);
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "/web/kccadr/adjcclt/ai/dntUpdApprYnAjax.do",
|
||||
data: data,
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: false,
|
||||
cache: false,
|
||||
success: function (returnData, status) {
|
||||
console.log(returnData.result);
|
||||
//alert(returnData.result);
|
||||
if(returnData.result == 'SUCCESS'){
|
||||
//alert('성공적으로 요청하였습니다.');
|
||||
//fncGoList();
|
||||
}else{
|
||||
alert(returnData.message);
|
||||
}
|
||||
},
|
||||
error: function (e) { alert("요청에 실패하였습니다."); console.log("ERROR : ", e); }
|
||||
});
|
||||
}
|
||||
|
||||
function ozExportReport(exportUrl){
|
||||
|
||||
var data = new FormData(document.getElementById("detailForm"));
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: exportUrl,
|
||||
data: data,
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: false,
|
||||
cache: false,
|
||||
success: function (returnData, status) {
|
||||
console.log(returnData.result);
|
||||
//alert(returnData.result);
|
||||
if(returnData.result == 'SUCCESS'){
|
||||
|
||||
}else{
|
||||
alert(returnData.message);
|
||||
}
|
||||
},
|
||||
error: function (e) { alert("Export 요청에 실패하였습니다."); console.log("ERROR : ", e); }
|
||||
});
|
||||
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
@ -388,6 +493,16 @@
|
||||
|
||||
</form>
|
||||
|
||||
<form:form id="detailForm" name="detailForm" commandName="adjstConciliatorVO" onsubmit="return false;" method="post">
|
||||
<input type="hidden" name="adrSeq" id="adrSeq" value="<c:out value='${info.adrSeq}'/>"/>
|
||||
<input type="hidden" name="adrSn" id="adrSn" value="<c:out value='${info.adrSn}'/>"/>
|
||||
<input type="hidden" name="sbmtSeq" id="sbmtSeq" value=""/>
|
||||
<input type="hidden" name="sbmtTy" id="sbmtTy" value=""/>
|
||||
<input type="hidden" name="appSeq" id="appSeq" value="<c:out value='${info.appSeq}'/>"/>
|
||||
<input type="hidden" name="statCd" id="statCd" value="<c:out value='${info.statCd}'/>"/>
|
||||
<input type="hidden" name="closeDocTy" id="closeDocTy" value=""/>
|
||||
</form:form>
|
||||
|
||||
<form id="dlvpop" name="dlvpop" method="post">
|
||||
<input type="hidden" id="adrNo" name="adrNo" value="<c:out value="${info.adrNo}" />" />
|
||||
<input type="hidden" id="regNm" name="regNm" />
|
||||
@ -585,7 +700,7 @@
|
||||
<!-- //list_상세 -->
|
||||
|
||||
<!-- list_상세 -->
|
||||
<c:if test="${dlvCnt > 0}">
|
||||
<%-- <c:if test="${dlvCnt > 0}">
|
||||
<br><br>
|
||||
<p>* 송달정보 URL로 전송하기</p>
|
||||
<br><br>
|
||||
@ -667,7 +782,7 @@
|
||||
</table>
|
||||
</div>
|
||||
</c:if>
|
||||
</c:if>
|
||||
</c:if> --%>
|
||||
|
||||
<div class="btn_wrap btn_layout01">
|
||||
<div class="area_left">
|
||||
|
||||
@ -55,16 +55,9 @@
|
||||
oz.sendToActionScript("viewer.pagedisplay" , "singlepagecontinuous"); //스크롤 추가_220921_이준호
|
||||
|
||||
//오즈리포트 pdf 다운로드 시 폰트포함 옵션 추가_220727_이준호
|
||||
//oz.sendToActionScript("font.fontnames", "font1"); // 폰트에 대한 이름 임의로 설정
|
||||
// oz.sendToActionScript("font.font1.nae", "%uB9D1%uC740%20%uACE0%uB515"); // 맑은 고딕 유니코드 문자
|
||||
//oz.sendToActionScript("font.font1.name", "나눔스퀘어"); // 맑은 고딕 유니코드 문자
|
||||
//oz.sendToActionScript("font.font1.url", "${ozFontPath}${ozFont}"); // 폰트 경로 기입, url이나 시스템 절대경로 지정 가능
|
||||
oz.sendToActionScript("pdf.fontembedding", "true");
|
||||
oz.sendToActionScript("pdf.fontembedding_subset", "true");
|
||||
|
||||
// oz.sendToActionScript("print.externalmodule","oz.viewer.export.OZAppletPrintBarcode_MarkAny");
|
||||
// oz.sendToActionScript("connection.extraparam","PropertiesFilePath=%OZCONF%/ozmarkany.properties,UserPassword=a,PdfCreator=MarkAny");
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@ -406,9 +406,11 @@
|
||||
}
|
||||
|
||||
//결재 팝업이후 처리 내용
|
||||
function fnc_aprvl_pop_ret(param){
|
||||
//updtDntSbmt(); //SBMT_YN='Y'로 처리
|
||||
fncGoList(); //조정진행목록으로
|
||||
function fnc_aprvl_pop_ret(sbmtSeq, sbmtTy){
|
||||
$('#sbmtSeq').val(sbmtSeq);
|
||||
$('#sbmtTy').val(sbmtTy);
|
||||
// fncGoList(); //조정진행목록으로
|
||||
fncApprPass();
|
||||
}
|
||||
|
||||
function fncAppResultTyChg(){
|
||||
@ -448,6 +450,76 @@
|
||||
commonPopWindowopenForm("/kccadr/adjPgrMgr/drt/popup/addAgntPop.do", "750", "660", "addAgntPop", $('#pop'));
|
||||
}
|
||||
|
||||
/* 기일조서 승인요청 후 자동으로 조정부장 결재되도록 처리 */
|
||||
function fncApprPass(){
|
||||
var data = {
|
||||
adrSeq : $("#adrSeq").val(),
|
||||
adrSn : $("#adrSn").val(),
|
||||
sbmtSeq : $("#sbmtSeq").val(),
|
||||
sbmtTy : $("#sbmtTy").val(),
|
||||
sbmtYn : 'Y'
|
||||
}
|
||||
|
||||
var statCd = $('#statCd').val();
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "/web/kccadr/adjcclt/ai/adjstConciliatorApmSave.do",
|
||||
data: JSON.stringify(data),
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: "application/json",
|
||||
cache: false,
|
||||
success: function (returnData, status) {
|
||||
if(returnData.result == 'FAIL'){
|
||||
if(returnData.message != ''){
|
||||
alert(returnData.message);
|
||||
}else{
|
||||
alert("처리중 오류가 발생하였습니다.");
|
||||
}
|
||||
}else if(returnData.result == 'SUCCESS'){
|
||||
var s_adrHstryMgrSeq = returnData.adrHstryMgrSeq;
|
||||
|
||||
var exportUrl = "";
|
||||
|
||||
exportUrl = "/kccadr/adjPgrMgr/drt/drtOzExportAjax.do";
|
||||
//오즈리포트 Export 처리 요청
|
||||
ozExportReport(exportUrl);
|
||||
alert("승인되었습니다.");
|
||||
}
|
||||
location.reload();
|
||||
},
|
||||
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
|
||||
});
|
||||
}
|
||||
|
||||
function ozExportReport(exportUrl){
|
||||
|
||||
var data = new FormData(document.getElementById("detailForm"));
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: exportUrl,
|
||||
data: data,
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: false,
|
||||
cache: false,
|
||||
success: function (returnData, status) {
|
||||
console.log(returnData.result);
|
||||
//alert(returnData.result);
|
||||
if(returnData.result == 'SUCCESS'){
|
||||
|
||||
}else{
|
||||
alert(returnData.message);
|
||||
}
|
||||
},
|
||||
error: function (e) { alert("Export 요청에 실패하였습니다."); console.log("ERROR : ", e); }
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
@ -462,6 +534,17 @@
|
||||
|
||||
<input type="hidden" id="rpplSeq" name="rpplSeq" />
|
||||
</form>
|
||||
|
||||
<form:form id="detailForm" name="detailForm" commandName="DrtVO" onsubmit="return false;" method="post">
|
||||
<input type="hidden" name="adrSeq" id="adrSeq" value="<c:out value='${info.adrSeq}'/>"/>
|
||||
<input type="hidden" name="adrSn" id="adrSn" value="<c:out value='${info.adrSn}'/>"/>
|
||||
<input type="hidden" name="sbmtSeq" id="sbmtSeq" value=""/>
|
||||
<input type="hidden" name="sbmtTy" id="sbmtTy" value=""/>
|
||||
<input type="hidden" name="appSeq" id="appSeq" value="<c:out value='${info.appSeq}'/>"/>
|
||||
<input type="hidden" name="statCd" id="statCd" value="<c:out value='${info.statCd}'/>"/>
|
||||
<input type="hidden" name="closeDocTy" id="closeDocTy" value=""/>
|
||||
</form:form>
|
||||
|
||||
<form id="dlvpop" name="dlvpop" method="post">
|
||||
<input type="hidden" id="adrNo" name="adrNo" value="<c:out value="${info.adrNo}" />" />
|
||||
<input type="hidden" id="adrSn" name="adrSn" value="<c:out value="${info.adrSn }" />" />
|
||||
@ -788,7 +871,7 @@
|
||||
</div>
|
||||
<!-- //list_상세 -->
|
||||
<!-- list_상세 -->
|
||||
<c:if test="${dlvCnt > 0}">
|
||||
<%-- <c:if test="${dlvCnt > 0}">
|
||||
<br><br>
|
||||
<p>* 송달정보 URL로 전송하기</p>
|
||||
<br><br>
|
||||
@ -870,7 +953,7 @@
|
||||
</table>
|
||||
</div>
|
||||
</c:if>
|
||||
</c:if>
|
||||
</c:if> --%>
|
||||
|
||||
<!-- //list_상세 -->
|
||||
<div class="btn_wrap btn_layout01">
|
||||
|
||||
@ -278,9 +278,10 @@
|
||||
}
|
||||
|
||||
//결재 팝업이후 처리 내용
|
||||
function fnc_aprvl_pop_ret(param){
|
||||
//updtDntSbmt(); //SBMT_YN='Y'로 처리
|
||||
fncGoList(); //조정진행목록으로
|
||||
function fnc_aprvl_pop_ret(sbmtSeq, sbmtTy){
|
||||
$('#sbmtSeq').val(sbmtSeq);
|
||||
$('#sbmtTy').val(sbmtTy);
|
||||
fncApprPass();
|
||||
}
|
||||
|
||||
function sendDlvInfoPop() {
|
||||
@ -356,6 +357,77 @@
|
||||
|
||||
}
|
||||
|
||||
/* 조정조서 승인요청 후 자동으로 조정부장 결재되도록 처리 */
|
||||
function fncApprPass(){
|
||||
var data = {
|
||||
adrSeq : $("#adrSeq").val(),
|
||||
adrSn : $("#adrSn").val(),
|
||||
sbmtSeq : $("#sbmtSeq").val(),
|
||||
sbmtTy : $("#sbmtTy").val(),
|
||||
sbmtYn : 'Y'
|
||||
}
|
||||
|
||||
var statCd = $('#statCd').val();
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "/web/kccadr/adjcclt/ai/adjstConciliatorApmSave.do",
|
||||
data: JSON.stringify(data),
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: "application/json",
|
||||
cache: false,
|
||||
success: function (returnData, status) {
|
||||
if(returnData.result == 'FAIL'){
|
||||
if(returnData.message != ''){
|
||||
alert(returnData.message);
|
||||
}else{
|
||||
alert("처리중 오류가 발생하였습니다.");
|
||||
}
|
||||
}else if(returnData.result == 'SUCCESS'){
|
||||
var s_adrHstryMgrSeq = returnData.adrHstryMgrSeq;
|
||||
|
||||
var exportUrl = "";
|
||||
|
||||
exportUrl = "/kccadr/adjPgrMgr/drtCtr/drtCtrOzExportAjax.do";
|
||||
//조정조서 종결문서 번호 입력
|
||||
$('#detailForm #closeDocTy').val("40");
|
||||
ozExportReport(exportUrl);
|
||||
// alert("승인되었습니다.");
|
||||
}
|
||||
location.reload();
|
||||
},
|
||||
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
|
||||
});
|
||||
}
|
||||
|
||||
function ozExportReport(exportUrl){
|
||||
|
||||
var data = new FormData(document.getElementById("detailForm"));
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: exportUrl,
|
||||
data: data,
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: false,
|
||||
cache: false,
|
||||
success: function (returnData, status) {
|
||||
console.log(returnData.result);
|
||||
//alert(returnData.result);
|
||||
if(returnData.result == 'SUCCESS'){
|
||||
|
||||
}else{
|
||||
alert(returnData.message);
|
||||
}
|
||||
},
|
||||
error: function (e) { alert("Export 요청에 실패하였습니다."); console.log("ERROR : ", e); }
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
@ -370,6 +442,16 @@
|
||||
|
||||
</form>
|
||||
|
||||
<form:form id="detailForm" name="detailForm" commandName="DrtVO" onsubmit="return false;" method="post">
|
||||
<input type="hidden" name="adrSeq" id="adrSeq" value="<c:out value='${info.adrSeq}'/>"/>
|
||||
<input type="hidden" name="adrSn" id="adrSn" value="<c:out value='${info.adrSn}'/>"/>
|
||||
<input type="hidden" name="sbmtSeq" id="sbmtSeq" value=""/>
|
||||
<input type="hidden" name="sbmtTy" id="sbmtTy" value=""/>
|
||||
<input type="hidden" name="appSeq" id="appSeq" value="<c:out value='${info.appSeq}'/>"/>
|
||||
<input type="hidden" name="statCd" id="statCd" value="<c:out value='${info.statCd}'/>"/>
|
||||
<input type="hidden" name="closeDocTy" id="closeDocTy" value=""/>
|
||||
</form:form>
|
||||
|
||||
<form id="dlvpop" name="dlvpop" method="post">
|
||||
<input type="hidden" id="adrNo" name="adrNo" value="<c:out value="${info.adrNo}" />" />
|
||||
<input type="hidden" id="adrSn" name="adrSn" value="<c:out value="${info.adrSn }" />" />
|
||||
@ -596,7 +678,7 @@
|
||||
</div>
|
||||
<!-- //list_상세 -->
|
||||
<!-- list_상세 -->
|
||||
<c:if test="${dlvCnt > 0}">
|
||||
<%-- <c:if test="${dlvCnt > 0}">
|
||||
<br><br>
|
||||
<p>* 송달정보 URL로 전송하기</p>
|
||||
<br><br>
|
||||
@ -678,7 +760,7 @@
|
||||
</table>
|
||||
</div>
|
||||
</c:if>
|
||||
</c:if>
|
||||
</c:if> --%>
|
||||
|
||||
<!-- //list_상세 -->
|
||||
|
||||
|
||||
@ -235,9 +235,10 @@
|
||||
}
|
||||
|
||||
//결재 팝업이후 처리 내용
|
||||
function fnc_aprvl_pop_ret(param){
|
||||
//updtDntSbmt(); //SBMT_YN='Y'로 처리
|
||||
fncGoList('list'); //조정진행목록으로
|
||||
function fnc_aprvl_pop_ret(sbmtSeq, sbmtTy){
|
||||
$('#sbmtSeq').val(sbmtSeq);
|
||||
$('#sbmtTy').val(sbmtTy);
|
||||
fncApprPass();
|
||||
}
|
||||
|
||||
function sendDlvInfoRppl() {
|
||||
@ -294,6 +295,77 @@
|
||||
|
||||
}
|
||||
|
||||
/* 취하종결통보서 승인요청 후 자동으로 조정부장 결재되도록 처리 */
|
||||
function fncApprPass(){
|
||||
var data = {
|
||||
adrSeq : $("#adrSeq").val(),
|
||||
adrSn : $("#adrSn").val(),
|
||||
sbmtSeq : $("#sbmtSeq").val(),
|
||||
sbmtTy : $("#sbmtTy").val(),
|
||||
sbmtYn : 'Y'
|
||||
}
|
||||
|
||||
var statCd = $('#statCd').val();
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "/web/kccadr/adjcclt/ai/adjstConciliatorApmSave.do",
|
||||
data: JSON.stringify(data),
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: "application/json",
|
||||
cache: false,
|
||||
success: function (returnData, status) {
|
||||
if(returnData.result == 'FAIL'){
|
||||
if(returnData.message != ''){
|
||||
alert(returnData.message);
|
||||
}else{
|
||||
alert("처리중 오류가 발생하였습니다.");
|
||||
}
|
||||
}else if(returnData.result == 'SUCCESS'){
|
||||
var s_adrHstryMgrSeq = returnData.adrHstryMgrSeq;
|
||||
|
||||
var exportUrl = "";
|
||||
|
||||
exportUrl = "/kccadr/adjPgrMgr/ent/entOzExportAjax.do";
|
||||
//취하종결 문서 번호 입력
|
||||
$('#closeDocTy').val("50");
|
||||
ozExportReport(exportUrl);
|
||||
// alert("승인되었습니다.");
|
||||
}
|
||||
location.reload();
|
||||
},
|
||||
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
|
||||
});
|
||||
}
|
||||
|
||||
function ozExportReport(exportUrl){
|
||||
|
||||
var data = new FormData(document.getElementById("detailForm"));
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: exportUrl,
|
||||
data: data,
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: false,
|
||||
cache: false,
|
||||
success: function (returnData, status) {
|
||||
console.log(returnData.result);
|
||||
//alert(returnData.result);
|
||||
if(returnData.result == 'SUCCESS'){
|
||||
|
||||
}else{
|
||||
alert(returnData.message);
|
||||
}
|
||||
},
|
||||
error: function (e) { alert("Export 요청에 실패하였습니다."); console.log("ERROR : ", e); }
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
@ -308,6 +380,16 @@
|
||||
|
||||
</form>
|
||||
|
||||
<form:form id="detailForm" name="detailForm" commandName="DrtVO" onsubmit="return false;" method="post">
|
||||
<input type="hidden" name="adrSeq" id="adrSeq" value="<c:out value='${info.adrSeq}'/>"/>
|
||||
<input type="hidden" name="adrSn" id="adrSn" value="<c:out value='${info.adrSn}'/>"/>
|
||||
<input type="hidden" name="sbmtSeq" id="sbmtSeq" value=""/>
|
||||
<input type="hidden" name="sbmtTy" id="sbmtTy" value=""/>
|
||||
<input type="hidden" name="appSeq" id="appSeq" value="<c:out value='${info.appSeq}'/>"/>
|
||||
<input type="hidden" name="statCd" id="statCd" value="<c:out value='${info.statCd}'/>"/>
|
||||
<input type="hidden" name="closeDocTy" id="closeDocTy" value=""/>
|
||||
</form:form>
|
||||
|
||||
<form id="dlvpop" name="dlvpop" method="post">
|
||||
<input type="hidden" id="adrNo" name="adrNo" value="<c:out value="${info.adrNo}" />" />
|
||||
<input type="hidden" id="adrSn" name="adrSn" value="<c:out value="${info.adrSn }" />" />
|
||||
@ -437,7 +519,7 @@
|
||||
</div>
|
||||
<!-- //list_상세 -->
|
||||
<!-- list_상세 -->
|
||||
<c:if test="${dlvCnt > 0}">
|
||||
<%-- <c:if test="${dlvCnt > 0}">
|
||||
<br><br>
|
||||
<p>* 송달정보 URL로 전송하기</p>
|
||||
<br><br>
|
||||
@ -519,7 +601,7 @@
|
||||
</table>
|
||||
</div>
|
||||
</c:if>
|
||||
</c:if>
|
||||
</c:if> --%>
|
||||
<!-- //list_상세 -->
|
||||
|
||||
<div class="btn_wrap btn_layout01">
|
||||
|
||||
@ -950,6 +950,10 @@
|
||||
<input type="hidden" name="searchSortCnd" value="<c:out value="${internalApprovManageVO.searchSortCnd}" />" />
|
||||
<input type="hidden" name="searchSortOrd" value="<c:out value="${internalApprovManageVO.searchSortOrd}" />" />
|
||||
<input type="hidden" name="searchStatus" value="<c:out value="${internalApprovManageVO.searchStatus}" />" />
|
||||
<input type="hidden" name="searchStatusArr" value="<c:out value="${fn:join(internalApprovManageVO.searchStatusArr, ',') }"/>"/>
|
||||
<input type="hidden" name="searchMonth" value="<c:out value="${internalApprovManageVO.searchMonth}"/>"/>
|
||||
<input type="hidden" name="searchStartDt" value="<c:out value="${internalApprovManageVO.searchStartDt}"/>"/>
|
||||
<input type="hidden" name="searchEndDt" value="<c:out value="${internalApprovManageVO.searchEndDt}"/>"/>
|
||||
</form:form>
|
||||
|
||||
<form id="popCreateForm" name="popCreateForm" method="post"></form>
|
||||
@ -1058,7 +1062,7 @@
|
||||
</tr>
|
||||
|
||||
|
||||
<c:if test="${info.statCd eq '400000'}">
|
||||
<%-- <c:if test="${info.statCd eq '400000'}"> --%>
|
||||
<tr>
|
||||
<th scope="row" class=""><p>조정부</p></th>
|
||||
<td>
|
||||
@ -1099,7 +1103,7 @@
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
</c:if>
|
||||
<%-- </c:if> --%>
|
||||
|
||||
|
||||
<c:if test="${info.sbmtTy eq KccadrConstants.ADR_CLOSE_APPR_REQ}">
|
||||
|
||||
@ -219,9 +219,12 @@
|
||||
}
|
||||
|
||||
//결재 팝업 이후 처리내용
|
||||
function fnc_aprvl_pop_ret(param){
|
||||
function fnc_aprvl_pop_ret(sbmtSeq, sbmtTy){
|
||||
//location.reload();
|
||||
fncGoList('list'); //조정진행목록으로
|
||||
$('#sbmtSeq').val(sbmtSeq);
|
||||
$('#sbmtTy').val(sbmtTy);
|
||||
// fncGoList('list'); //조정진행목록으로
|
||||
fncApprPass();
|
||||
}
|
||||
|
||||
function sendDlvInfoPop() {
|
||||
@ -305,6 +308,77 @@
|
||||
|
||||
}
|
||||
|
||||
/* 직권조정 승인요청 후 자동으로 조정부장 결재되도록 처리 */
|
||||
function fncApprPass(){
|
||||
var data = {
|
||||
adrSeq : $("#adrSeq").val(),
|
||||
adrSn : $("#adrSn").val(),
|
||||
sbmtSeq : $("#sbmtSeq").val(),
|
||||
sbmtTy : $("#sbmtTy").val(),
|
||||
sbmtYn : 'Y'
|
||||
}
|
||||
|
||||
var statCd = $('#statCd').val();
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "/web/kccadr/adjcclt/ai/adjstConciliatorApmSave.do",
|
||||
data: JSON.stringify(data),
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: "application/json",
|
||||
cache: false,
|
||||
success: function (returnData, status) {
|
||||
if(returnData.result == 'FAIL'){
|
||||
if(returnData.message != ''){
|
||||
alert(returnData.message);
|
||||
}else{
|
||||
alert("처리중 오류가 발생하였습니다.");
|
||||
}
|
||||
}else if(returnData.result == 'SUCCESS'){
|
||||
var s_adrHstryMgrSeq = returnData.adrHstryMgrSeq;
|
||||
|
||||
var exportUrl = "";
|
||||
|
||||
exportUrl = "/kccadr/adjPgrMgr/oad/oadOzExportAjax.do";
|
||||
//조정종결문서 번호 입력
|
||||
$('#detailForm #closeDocTy').val("60");
|
||||
ozExportReport(exportUrl);
|
||||
// alert("승인되었습니다.");
|
||||
}
|
||||
location.reload();
|
||||
},
|
||||
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
|
||||
});
|
||||
}
|
||||
|
||||
function ozExportReport(exportUrl){
|
||||
|
||||
var data = new FormData(document.getElementById("detailForm"));
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: exportUrl,
|
||||
data: data,
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: false,
|
||||
cache: false,
|
||||
success: function (returnData, status) {
|
||||
console.log(returnData.result);
|
||||
//alert(returnData.result);
|
||||
if(returnData.result == 'SUCCESS'){
|
||||
|
||||
}else{
|
||||
alert(returnData.message);
|
||||
}
|
||||
},
|
||||
error: function (e) { alert("Export 요청에 실패하였습니다."); console.log("ERROR : ", e); }
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
@ -318,6 +392,16 @@
|
||||
<input type="hidden" id="sbmtTyCd" name="sbmtTyCd" value=""/>
|
||||
|
||||
</form>
|
||||
|
||||
<form:form id="detailForm" name="detailForm" commandName="DrtVO" onsubmit="return false;" method="post">
|
||||
<input type="hidden" name="adrSeq" id="adrSeq" value="<c:out value='${info.adrSeq}'/>"/>
|
||||
<input type="hidden" name="adrSn" id="adrSn" value="<c:out value='${info.adrSn}'/>"/>
|
||||
<input type="hidden" name="sbmtSeq" id="sbmtSeq" value=""/>
|
||||
<input type="hidden" name="sbmtTy" id="sbmtTy" value=""/>
|
||||
<input type="hidden" name="appSeq" id="appSeq" value="<c:out value='${info.appSeq}'/>"/>
|
||||
<input type="hidden" name="statCd" id="statCd" value="<c:out value='${info.statCd}'/>"/>
|
||||
<input type="hidden" name="closeDocTy" id="closeDocTy" value=""/>
|
||||
</form:form>
|
||||
<form id="dlvpop" name="dlvpop" method="post">
|
||||
<input type="hidden" id="adrNo" name="adrNo" value="<c:out value="${info.adrNo}" />" />
|
||||
<input type="hidden" id="adrSn" name="adrSn" value="<c:out value="${info.adrSn }" />" />
|
||||
@ -508,7 +592,7 @@
|
||||
</div>
|
||||
<!-- //list_상세 -->
|
||||
<!-- list_상세 -->
|
||||
<c:if test="${dlvCnt > 0}">
|
||||
<%-- <c:if test="${dlvCnt > 0}">
|
||||
<br><br>
|
||||
<p>* 송달정보 URL로 전송하기</p>
|
||||
<br><br>
|
||||
@ -590,7 +674,7 @@
|
||||
</table>
|
||||
</div>
|
||||
</c:if>
|
||||
</c:if>
|
||||
</c:if> --%>
|
||||
<!-- //list_상세 -->
|
||||
|
||||
<div class="btn_wrap btn_layout01">
|
||||
|
||||
@ -13,6 +13,9 @@
|
||||
<head>
|
||||
<title>이의신청 등록</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<script src="<c:url value='/js/kccadr/innorixCommon.js' />"></script>
|
||||
<script src="<c:url value='/innorix/innorix.js' />"></script>
|
||||
<link rel="stylesheet" href="<c:url value='/innorix/innorix.css'/>" type="text/css">
|
||||
<script src="/kccadrPb/usr/script/popup.js"></script>
|
||||
<script type="text/javaScript" language="javascript">
|
||||
|
||||
@ -22,8 +25,10 @@ $( document ).ready(function(){
|
||||
$("#file_temp").trigger("click");
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
|
||||
|
||||
function fncGoList(target) {
|
||||
var f = document.getElementById("listForm");
|
||||
|
||||
@ -42,12 +47,7 @@ $( document ).ready(function(){
|
||||
|
||||
var data = new FormData(f);
|
||||
|
||||
_fileForm2.forEach(function(obj, idx) {
|
||||
if (obj) data.append("file"+idx, obj.fileObj);
|
||||
});
|
||||
|
||||
if (isValid()) {
|
||||
if (confirm('작성된 내용을 등록하시겠습니까?')) {
|
||||
|
||||
$.ajax({
|
||||
type : "POST",
|
||||
@ -75,8 +75,6 @@ $( document ).ready(function(){
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -88,13 +86,77 @@ $( document ).ready(function(){
|
||||
return true;
|
||||
}
|
||||
|
||||
// 파일 업로드 솔루션 init 셋팅
|
||||
var control = new Object();
|
||||
window.addEventListener('load', function(){
|
||||
// 파일전송 컨트롤 생성
|
||||
control = innorix.create({
|
||||
el: '#fileControl' // 컨트롤 출력 HTML 객체 ID
|
||||
, transferMode: 'both' // 업로드, 다운로드 혼합사용
|
||||
, installUrl: '/innorix/install/install.html' // Agent 설치 페이지
|
||||
, uploadUrl: '/innorix/exam/upload.jsp' // 업로드 URL
|
||||
, height:80
|
||||
// , width: 635
|
||||
, width: 1200
|
||||
});
|
||||
|
||||
// 업로드 완료 이벤트
|
||||
control.on('uploadComplete', function (p) {
|
||||
fn_callBackInnorix(p.files); // 파일 정보 DB isnert function
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
/*
|
||||
* 파일 정보 DB insert Ajax
|
||||
* */
|
||||
function fn_callBackInnorix(data){
|
||||
|
||||
var url = "<c:url value='/kccadr/common/insertInnorixFileAjax.do' />";
|
||||
|
||||
var filePath = location.pathname;
|
||||
var jspFileName = filePath.substring(filePath.lastIndexOf("/")+1, filePath.lastIndexOf("."));
|
||||
|
||||
var sendData = {
|
||||
"innorixFileListVO": data
|
||||
}
|
||||
|
||||
/*
|
||||
* 공통 : innorixCommon.js
|
||||
* fn_innorixCmmAjax() 호출 후 status가 성공(OK)이면 실행
|
||||
*/
|
||||
if(fn_innorixCmmAjax(sendData, url) == "OK")
|
||||
{
|
||||
fncReg();
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* 등록버튼 클릭 event
|
||||
* */
|
||||
function fnSave() {
|
||||
if (isValid()) {
|
||||
if (confirm('작성된 내용을 등록하시겠습니까?')) {
|
||||
if(control.getUploadFiles().length > 0){ // 등록된 파일이 있는지 확인
|
||||
var postObj = new Object();
|
||||
postObj.innoDirPath = $('#innoDirPath').val();
|
||||
control.setPostData(postObj); // * 업로드시 함께 전달될 POST Param 추가
|
||||
control.upload(); // 업로드 시작
|
||||
}else{
|
||||
fncReg();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<form:form id="listForm" name="listForm" method="post" enctype="multipart/form-data">
|
||||
<input type="hidden" id="adrSeq" name="adrSeq" value="" />
|
||||
<input type="hidden" id="adrSn" name="adrSn" value="" />
|
||||
<!-- <input type="hidden" id="adrSeq" name="adrSeq" value="" /> -->
|
||||
<!-- <input type="hidden" id="adrSn" name="adrSn" value="" /> -->
|
||||
<input type="hidden" id="atchFileId" name="atchFileId" value="" />
|
||||
<input type="hidden" name="limitcount" value="10" /><!-- 최대 업로드 파일갯수 -->
|
||||
<input type="hidden" id="innoDirPath" value="<spring:eval expression="@globalSettings['Globals.Innorix.FilePath']"/>" />
|
||||
<div class="cont_wrap">
|
||||
<div class="box">
|
||||
<!-- cont_tit -->
|
||||
@ -146,71 +208,9 @@ $( document ).ready(function(){
|
||||
<th colspan="2" >첨부파일</th>
|
||||
<td colspan="3" class="upload_area">
|
||||
<input type="file" id="file_temp" name="file_temp" class="uploadFile" style="display: none" />
|
||||
<button type="button" id="filebutton" class="btnType01 btn_add_file">파일 첨부하기</button>
|
||||
<div class="file_wrap file_upload_box no_img_box">
|
||||
<table>
|
||||
<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>파일 명</th>
|
||||
<th>종류</th>
|
||||
<th>크기</th>
|
||||
<th>삭제</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>
|
||||
<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>파일 명</th>
|
||||
<th>종류</th>
|
||||
<th>크기</th>
|
||||
<th>삭제</th>
|
||||
</thead>
|
||||
<tbody id="tbody_fiielist" class="tb_file_after">
|
||||
<c:forEach var="fileList" items="${fileList}" varStatus="status">
|
||||
<tr class="item_${fileList.atchFileId}_${fileList.fileSn} uploaded_obj">
|
||||
<input type="hidden" name="fileSize" class="item_file_size" value="${fileList.fileSize}">
|
||||
<td class="td_filename">
|
||||
<span class="file_name_text">${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('${fileList.atchFileId}', '${fileList.fileSn}'); return false;"><i></i></button>
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<button type="button" onclick="control.openFileDialog();" class="btnType01 btn_add_file">파일찾기</button>
|
||||
<p style="font-size: 16px; float: right; margin-top: 16px; color: #666;">* 첨부파일을 등록해 주세요. (최대3개)</p>
|
||||
<div id="fileControl"></div><br/>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -221,7 +221,7 @@ $( document ).ready(function(){
|
||||
<div class="area_left"></div>
|
||||
<div class="area_right">
|
||||
<!-- <button type="button" class="btnType02" onclick="fncReg('306010');">직권조정결정서 승인 요청</button> -->
|
||||
<button type="button" class="btnType06" onclick="fncReg()">등록</button>
|
||||
<button type="button" class="btnType06" onclick="fnSave()">등록</button>
|
||||
<button type="button" class="btnType04" onclick="fncGoList('list')">취소</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -59,8 +59,7 @@
|
||||
if(edtTy == undefined){
|
||||
edtTy = "<c:out value='${master.edtTy}' />";
|
||||
}else{
|
||||
|
||||
if(edtTy == 'E' && "<c:out value='${master.statCd}' />" != KccadrConstants.ADR_UPDT_REQ){
|
||||
if(edtTy == 'E' && "<c:out value='${master.statCd}' />" != "${KccadrConstants.ADR_UPDT_REQ}"){
|
||||
alert('수정요청상태가 아니기때문에 승인할 수 없습니다.');
|
||||
return false;
|
||||
}
|
||||
@ -78,12 +77,12 @@
|
||||
*/
|
||||
|
||||
if(mode == 'C' && !(
|
||||
mastStatCd == '${KccadrConstants.ADR_REQ_COMP}' || // 제출완료
|
||||
mastStatCd == '${KccadrConstants.ADR_UPDT_RETN}' || // 수정요청반려
|
||||
mastStatCd == '${KccadrConstants.ADR_SUPP_COMP}' // 보완요청완료
|
||||
mastStatCd == "${KccadrConstants.ADR_REQ_COMP}" || // 제출완료
|
||||
mastStatCd == "${KccadrConstants.ADR_UPDT_RETN}" || // 수정요청반려
|
||||
mastStatCd == "${KccadrConstants.ADR_SUPP_COMP}" // 보완요청완료
|
||||
)
|
||||
){
|
||||
var msg = '${KccadrConstants.ADR_CHK_MSG_034}';
|
||||
var msg = "${KccadrConstants.ADR_CHK_MSG_034}";
|
||||
alert(msg);
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -29,12 +29,31 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<script src="<c:url value='/innorix/innorix.js' />"></script>
|
||||
<script src="<c:url value='/js/kccadr/innorixCommon.js' />"></script>
|
||||
<script type="text/javascript">
|
||||
|
||||
$(document).ready(function(){
|
||||
fn_selectFileList();
|
||||
});
|
||||
|
||||
//파일 업로드 솔루션 init 셋팅
|
||||
var control = new Object();
|
||||
window.onload = function() {
|
||||
// 파일전송 컨트롤 생성
|
||||
control = innorix.create({
|
||||
el: '#fileControl' // * 컨트롤 출력 HTML 객체 ID
|
||||
, transferMode: 'both' // * 업로드, 다운로드 혼합사용
|
||||
, installUrl: '/innorix/install/install.html' // * Agent 설치 페이지
|
||||
, uploadUrl: '/innorix/exam/upload.jsp' // * 업로드 URL
|
||||
, height:80
|
||||
, width: 635
|
||||
});
|
||||
|
||||
// 업로드 완료 이벤트
|
||||
control.on('uploadComplete', function (p) {
|
||||
fn_callBackInnorix(p.files); // * 파일 정보 DB isnert function
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
/*
|
||||
@ -93,61 +112,39 @@ function fn_makeList(data){
|
||||
/*
|
||||
* 파일 정보 DB insert Ajax
|
||||
* */
|
||||
function fn_insertFile(data){
|
||||
function fn_callBackInnorix(data){
|
||||
|
||||
var url = "<c:url value='/kccadr/common/insertInnorixFileAndRpplAjax.do' />";
|
||||
|
||||
var filePath = location.pathname;
|
||||
var jspFileName = filePath.substring(filePath.lastIndexOf("/")+1, filePath.lastIndexOf("."));
|
||||
var resultData = {
|
||||
|
||||
var sendData = {
|
||||
"adrSeq": $('#adrSeq').val()
|
||||
, "adrDocTy": $('#adrDocTy').val()
|
||||
, "frstRegistPnttm": $('#frstRegistPnttm').val()
|
||||
, "jspFileName": jspFileName
|
||||
, "innorixFileListVO": data
|
||||
, "jspFileName": jspFileName // * /insertInnorixFileAndRpplAjax.do 호출 시 필수 값
|
||||
, "innorixFileListVO": data // * 솔루션에서 등록한 파일 정보
|
||||
, "successMsg" : "사건문서 제출이 완료되었습니다." // * 성공 메세지
|
||||
}
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "<c:url value='/kccadr/common/insertInnorixFileAjax.do' />",
|
||||
data: JSON.stringify(resultData),
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: "application/json",
|
||||
cache: false,
|
||||
success: function (returnData) {
|
||||
if(data.status == "OK"){
|
||||
alert(returnData.data);
|
||||
}else{
|
||||
alert(returnData.data);
|
||||
return false;
|
||||
}
|
||||
},
|
||||
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
|
||||
// 파일 업로드 솔루션 init 셋팅
|
||||
var control = new Object();
|
||||
window.onload = function() {
|
||||
// 파일전송 컨트롤 생성
|
||||
control = innorix.create({
|
||||
el: '#fileControl' // 컨트롤 출력 HTML 객체 ID
|
||||
, transferMode: 'both' // 업로드, 다운로드 혼합사용
|
||||
, installUrl: '/innorix/install/install.html' // Agent 설치 페이지
|
||||
, uploadUrl: '/innorix/exam/upload_test_220916.jsp' // 업로드 URL
|
||||
, height:80
|
||||
, width: 635
|
||||
});
|
||||
|
||||
// 업로드 완료 이벤트
|
||||
control.on('uploadComplete', function (p) {
|
||||
fn_insertFile(p.files); // 파일 정보 DB isnert function
|
||||
/*
|
||||
* 공통 : innorixCommon.js
|
||||
* fn_innorixCmmAjax() 호출 후 status가 성공(OK)이면 실행
|
||||
*/
|
||||
if(fn_innorixCmmAjax(sendData, url) == "OK")
|
||||
{
|
||||
fn_selectFileList(); // 파일 정보 list select function
|
||||
fn_initFileRegForm();
|
||||
control.removeAllFiles(); // control 초기화
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function fn_initFileRegForm(){
|
||||
$('#frstRegistPnttm').val('');
|
||||
$('#adrDocTy').val('10').prop("selected",true);
|
||||
}
|
||||
|
||||
|
||||
// 등록 버튼 클릭파일 업로드 솔루션 init 셋팅
|
||||
@ -180,12 +177,6 @@ function fn_upload() {
|
||||
.calendarPop {left:-165px;}
|
||||
.cont .list {overflow:inherit;min-height:auto;border-bottom:0 none;}
|
||||
.tbType01 tbody td .sel_date button {width:20px;height:18px;}
|
||||
/* .cont .list.tbType01 tbody tr td {padding:10px 15px;} */
|
||||
/* .cont .list.tbType01 tbody tr td .sel_date {position:relative;} */
|
||||
/* .cont .list.tbType01 tbody tr td .sel_date .startDate {width:100%;box-sizing:border-box;} */
|
||||
/* .cont .list.tbType01 tbody tr td .sel_date .calendar_in {position:absolute;right:0;top:8px;} */
|
||||
/* .cont .list.tbType01 tbody tr td.upload_area {text-align:left;} */
|
||||
/* .cont .list.tbType01 tbody tr td.upload_area .btnType01 {height:36px;padding:0 11px;font-size:15px;} */
|
||||
</style>
|
||||
<link rel="stylesheet" href="<c:url value='/innorix/innorix.css'/>" type="text/css">
|
||||
<title>사건관련문서 등록</title>
|
||||
|
||||
@ -862,7 +862,7 @@ function fn_save_aprvl() {
|
||||
if (returnData.status == "success") {
|
||||
alert("결재요청 완료되었습니다.");
|
||||
//top.window.opener.parent.location.reload();
|
||||
top.window.opener.fnc_aprvl_pop_ret();
|
||||
top.window.opener.fnc_aprvl_pop_ret(returnData.sbmtSeq, $("#sbmtTyCd").val());
|
||||
fncGoClose();
|
||||
}else{
|
||||
alert("ERROR");
|
||||
|
||||
@ -862,7 +862,7 @@ function fn_save_aprvl() {
|
||||
if (returnData.status == "success") {
|
||||
alert("결재요청 완료되었습니다.");
|
||||
//top.window.opener.parent.location.reload();
|
||||
top.window.opener.fnc_aprvl_pop_ret();
|
||||
top.window.opener.fnc_aprvl_pop_ret(returnData.sbmtSeq, $("#sbmtTyCd").val());
|
||||
fncGoClose();
|
||||
}else{
|
||||
alert("ERROR");
|
||||
|
||||
@ -22,6 +22,8 @@
|
||||
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator"%>
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
|
||||
<%pageContext.setAttribute("crlf", "\r\n"); %>
|
||||
<%pageContext.setAttribute("crlt", "<"); %>
|
||||
<%pageContext.setAttribute("crgt", ">"); %>
|
||||
<%
|
||||
response.setHeader("Cache-Control","no-store");
|
||||
response.setHeader("Pragma","no-cache");
|
||||
@ -316,7 +318,8 @@ function fn_egov_select_commentList(pageNo) {
|
||||
${fn:replace(result.nttCn, crlf , '<br/>')}
|
||||
</c:if>
|
||||
<c:if test="${'9620000' ne brdMstrVO.menuNo && '9650000' ne brdMstrVO.menuNo}">
|
||||
<c:out value="${result.nttCn}" escapeXml="false"/>
|
||||
<%-- <c:out value="${result.nttCn}" escapeXml="false"/> --%>
|
||||
<c:out value="${fn:replace(fn:replace(fn:replace(result.nttCn, crlt , '<'), crgt , '>'), crlf , '<br/>')}" escapeXml="false"/>
|
||||
</c:if>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
@ -237,9 +237,11 @@
|
||||
<div class="hover_content_wrap">
|
||||
<span class="read_only m_th_text">신청내용</span>
|
||||
<a href="#none" onclick="fncCloseDetail('${list.adrSeq}', '${list.adrSn}');"><kc:code codeId="CC002" code="${list.ccTy}"/></a>
|
||||
<c:if test="${!empty list.reqCn1}">
|
||||
<div class="hover_content_box">
|
||||
신청취지 : 피신청인은 신청인에게 저작권 침해에 따른 손해배상 및 위자료로서 금삼백만원(₩3,000,000)을 지급한다.
|
||||
<c:out value="${list.reqCn1}"/>
|
||||
</div>
|
||||
</c:if>
|
||||
</div>
|
||||
</td>
|
||||
</c:when>
|
||||
@ -256,9 +258,11 @@
|
||||
<div class="hover_content_wrap">
|
||||
<span class="read_only m_th_text">신청내용</span>
|
||||
<a href="#none" onclick="fncGoingDetail('${list.adrSeq}', '${list.adrSn}');"><kc:code codeId="CC002" code="${list.ccTy}"/></a>
|
||||
<c:if test="${!empty list.reqCn1}">
|
||||
<div class="hover_content_box">
|
||||
신청취지 : 피신청인은 신청인에게 저작권 침해에 따른 손해배상 및 위자료로서 금삼백만원(₩3,000,000)을 지급한다.
|
||||
<c:out value="${list.reqCn1}"/>
|
||||
</div>
|
||||
</c:if>
|
||||
</div>
|
||||
</td>
|
||||
</c:when>
|
||||
@ -276,9 +280,11 @@
|
||||
<div class="hover_content_wrap">
|
||||
<span class="read_only m_th_text">신청내용</span>
|
||||
<a href="#none" onclick="fncGoDetail('${list.adrSeq}');"><kc:code codeId="CC002" code="${list.ccTy}"/></a>
|
||||
<c:if test="${!empty list.reqCn1}">
|
||||
<div class="hover_content_box">
|
||||
신청취지 : 피신청인은 신청인에게 저작권 침해에 따른 손해배상 및 위자료로서 금삼백만원(₩3,000,000)을 지급한다.
|
||||
<c:out value="${list.reqCn1}"/>
|
||||
</div>
|
||||
</c:if>
|
||||
</div>
|
||||
</td>
|
||||
</c:otherwise>
|
||||
|
||||
@ -92,7 +92,7 @@
|
||||
result = false;
|
||||
return false;
|
||||
}
|
||||
if (isEmpty($('input[name=rpplEmail01]').eq(idx).val())) {
|
||||
/* if (isEmpty($('input[name=rpplEmail01]').eq(idx).val())) {
|
||||
alert('이메일1을 입력해 주세요.');
|
||||
$('input[name=rpplEmail01]').eq(idx).focus();
|
||||
result = false;
|
||||
@ -103,7 +103,7 @@
|
||||
$('input[name=rpplEmail02]').eq(idx).focus();
|
||||
result = false;
|
||||
return false;
|
||||
}
|
||||
} */
|
||||
if (isEmpty($('select[name=rpplPhone01]').eq(idx).val())) {
|
||||
alert('연락처1를 입력해 주세요.');
|
||||
$('select[name=rpplPhone01]').eq(idx).focus();
|
||||
@ -317,18 +317,18 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">
|
||||
<p class="req_text">
|
||||
<!-- <p class="req_text">
|
||||
<span>필수입력 항목</span>
|
||||
*
|
||||
</p>
|
||||
</p> -->
|
||||
<p>이메일</p>
|
||||
</th>
|
||||
<td>
|
||||
<input type="hidden" name="rpplEmail_<c:out value='${status.index }' />">
|
||||
<!-- <label for="" class="label">이메일아이디 입력</label> -->
|
||||
<input type="text" name="rpplEmail01" title="이메일 아이디 입력" class="input_email" placeholder="이메일 입력" size="20" value="aaaaa<c:out value="${status.index }" />">
|
||||
<input type="text" name="rpplEmail01" title="이메일 아이디 입력" class="input_email" placeholder="이메일 입력" size="20" value="aaaaa<c:out value="${status.index }" />" onkeyup="onlyAlphabetNumberEmail(this)">
|
||||
@ <!-- <label for="" class="label">이메일공급자 입력</label> -->
|
||||
<input type="text" name="rpplEmail02" title="이메일공급자 입력" class="input_email" placeholder="예) naver.com" size="20" value="bbbb<c:out value="${status.index }" />">
|
||||
<input type="text" name="rpplEmail02" title="이메일공급자 입력" class="input_email" placeholder="예) naver.com" size="20" value="bbbb<c:out value="${status.index }" />" onkeyup="onlyAlphabetNumberEmail(this)">
|
||||
<!-- <label for="" class="label">이메일공급자 선택</label> -->
|
||||
<!-- <select name="rpplEmail03" onchange="emailSelect(this);" title="이메일공급자 선택" class="email_select">
|
||||
<option value="">직접입력</option>
|
||||
@ -368,9 +368,9 @@
|
||||
<option value="019">019</option>
|
||||
</select>
|
||||
<!-- - <label for="" class="label">핸드폰 가운데자리 입력</label> -->
|
||||
<input class="input_phone" placeholder="연락처 입력" type="text" size="15" title="핸드폰 가운데자리 입력" maxlength="4" name="rpplPhone02" value="123<c:out value="${status.index }" />">
|
||||
<input class="input_phone" placeholder="연락처 입력" type="text" size="15" title="핸드폰 가운데자리 입력" maxlength="4" name="rpplPhone02" value="123<c:out value="${status.index }" />" onkeyup="onlyNumber(this)">
|
||||
- <!-- <label for="" class="label">핸드폰 마지막자리 입력</label> -->
|
||||
<input class="input_phone" placeholder="연락처 입력" type="text" size="15" title="핸드폰 마지막자리 입력" maxlength="4" name="rpplPhone03" value="123<c:out value="${status.index }" />">
|
||||
<input class="input_phone" placeholder="연락처 입력" type="text" size="15" title="핸드폰 마지막자리 입력" maxlength="4" name="rpplPhone03" value="123<c:out value="${status.index }" />" onkeyup="onlyNumber(this)">
|
||||
<input type="hidden" name="rpplPhone_<c:out value='${status.index }' />">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@ -383,18 +383,18 @@ function fn_submit(){
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">
|
||||
<p class="req_text">
|
||||
<!-- <p class="req_text">
|
||||
<span>필수입력 항목</span>
|
||||
*
|
||||
</p>
|
||||
</p> -->
|
||||
<p>이메일</p>
|
||||
</th>
|
||||
<td>
|
||||
<input type="hidden" name="rpplEmail_${status.index }" value="<c:out value="${item.rpplEmail }" />">
|
||||
<label for="" class="label">이메일아이디 입력</label>
|
||||
<input type="text" name="rpplEmail01" class="input_email" placeholder="이메일 입력" size="20" value="<c:out value="${item.rpplEmail01 }" />">
|
||||
<input type="text" name="rpplEmail01" class="input_email" placeholder="이메일 입력" size="20" value="<c:out value="${item.rpplEmail01 }" />" onkeyup="onlyAlphabetNumberEmail(this)">
|
||||
@ <label for="" class="label">이메일공급자 입력</label>
|
||||
<input type="text" name="rpplEmail02" class="input_email" placeholder="예) naver.com" size="20" value="<c:out value="${item.rpplEmail02 }" />">
|
||||
<input type="text" name="rpplEmail02" class="input_email" placeholder="예) naver.com" size="20" value="<c:out value="${item.rpplEmail02 }" />" onkeyup="onlyAlphabetNumberEmail(this)">
|
||||
<label for="" class="label">이메일공급자 선택</label>
|
||||
<%-- <select name="rpplEmail03" onchange="emailSelect(this);" class="email_select">
|
||||
<option value="">직접입력</option>
|
||||
@ -434,9 +434,9 @@ function fn_submit(){
|
||||
<option <c:if test="${item.rpplPhone01=='019' }">selected="selected"</c:if> value="019">019</option>
|
||||
</select>
|
||||
- <label for="" class="label">핸드폰 가운데자리 입력</label>
|
||||
<input class="input_phone" placeholder="연락처 입력" type="text" size="15" maxlength="4" name="rpplPhone02" value="<c:out value="${item.rpplPhone02 }" />">
|
||||
<input class="input_phone" placeholder="연락처 입력" type="text" size="15" maxlength="4" name="rpplPhone02" value="<c:out value="${item.rpplPhone02 }" />" onkeyup="onlyNumber(this)">
|
||||
- <label for="" class="label">핸드폰 마지막자리 입력</label>
|
||||
<input class="input_phone" placeholder="연락처 입력" type="text" size="15" maxlength="4" name="rpplPhone03" value="<c:out value="${item.rpplPhone03 }" />">
|
||||
<input class="input_phone" placeholder="연락처 입력" type="text" size="15" maxlength="4" name="rpplPhone03" value="<c:out value="${item.rpplPhone03 }" />" onkeyup="onlyNumber(this)">
|
||||
<input type="hidden" name="rpplPhone_${status.index }" value="<c:out value="${item.rpplPhone }" />">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@ -525,9 +525,11 @@ var AdjstReq = {
|
||||
},
|
||||
step3Save : function(mode, previewYn, adrSeq){
|
||||
// previewYn : 조정신청등록 3단계 미리보기 버튼 클릭시 > 3단계 저장 처리후 팝업오픈
|
||||
if(previewYn != 'Y'){
|
||||
if(!this.validStep(this.STEP)){
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
var data = new FormData($("#"+this.STEP)[0]);
|
||||
//첨부파일 등록 처리
|
||||
@ -549,13 +551,14 @@ var AdjstReq = {
|
||||
|
||||
// 등록 구분 코드 삽입..
|
||||
data.append("mode" , mode);
|
||||
|
||||
if(previewYn != 'Y'){
|
||||
if(!confirm(msg)){
|
||||
if(mode == "${KccadrConstants.ADR_MODE_UPT_TO_GOPREV}"){ // 수정 후 전 페이지
|
||||
AdjstReq.fncGoPrev();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
var depth = this.expDivision(this.STEP);
|
||||
var url = "/web/kccadr/"+depth+"/adjstReqRegistStep3Save.do";
|
||||
@ -572,7 +575,9 @@ var AdjstReq = {
|
||||
cache: false,
|
||||
success: function (returnData, status) {
|
||||
if(returnData.result == 'SUCCESS'){
|
||||
if(previewYn != 'Y'){
|
||||
alert(endMsg);
|
||||
}
|
||||
$("#atchFileId").val(returnData.rsVO.atchFileId);
|
||||
if(mode == "${KccadrConstants.ADR_MODE_SMT}"){
|
||||
AdjstReq.fncGoMyAdjstListPage();
|
||||
|
||||
@ -10,15 +10,15 @@ LOGFILENAME = MagicDB
|
||||
|
||||
# 0 : DEBUG ,1 : INFO ,2 : ERROR ,3 : WARN
|
||||
LOG_LEVEL = 2
|
||||
SERVER_NUM = 1
|
||||
IP01 = 192.168.0.176
|
||||
SERVER_NUM = 2
|
||||
IP01 = 192.168.39.185
|
||||
PORT01 = 51001
|
||||
#IP02 = 127.0.0.1
|
||||
#PORT02 = 51001
|
||||
IP02 = 192.168.39.186
|
||||
PORT02 = 51001
|
||||
|
||||
#LOGPROPERTIES=D:/workspace/MDBMigrationCubrid/lib/log4j.properties
|
||||
|
||||
# ¸ðµâ HMAC °ª
|
||||
# <EFBFBD><EFBFBD><EFBFBD> HMAC <20><>
|
||||
#32bit APP_HASH = uGDvAIA8roDOBAmiPlb0hLbn0k6q63AqREVDHb2+nfs=
|
||||
#64bit APP_HASH = rspNT+R+iOUAyO4UKWk/iMAa2CJrSUh+0jBhT2mWHIE=
|
||||
APP_HASH = rspNT+R+iOUAyO4UKWk/iMAa2CJrSUh+0jBhT2mWHIE=
|
||||
@ -26,7 +26,8 @@ APP_PATH = /home/oracle/MagicDB/lib/libMagicDB.so
|
||||
|
||||
KCMV_MODE = false
|
||||
|
||||
LICENSE = /usr/local/MagicDB/conf/CAOSLib_MagicDB.lic
|
||||
#LICENSE = /usr/local/MagicDB/conf/CAOSLib_MagicDB.lic
|
||||
LICENSE = /usr/local/MagicDB/conf/jcaos.lic
|
||||
|
||||
ACC_IGNORE = true
|
||||
|
||||
|
||||
@ -1 +1 @@
|
||||
MIHHBAEzBAVKQ0FPUwQQx9GxucD6wNuxx8Cnv/jIuAQWSlRLVC0wMDAwMC0yMjA5MTMtMDI0MQQABAAECjIwMjMtMDEtMTAEgYA0ODc4RDA3N0RFRUI3MkQzMkIyNzgxNjkyMEYxRTE2MDgzNTdFQTBEOEYyODA4RTVBMTQ4NjUyNjI1MEJCQzdGMjA0ODVENTlBOTZBNzA2NUU4MEM3RUVFMkMwQjg1RjU2Qjk3NTY3QzdEMjREMUIyMjBFNzdFQjFFOUI3NzE1Qw==
|
||||
MIIBDwQBMwQFSkNBT1MEEMfRsbnA+sDbscfAp7/4yLgEFkpUS1MtMDAwMDAtMjIxMTI5LTAzMjQwCAQABAAEAAQAMD4EDTIyMi4yMzEuNDMuNjYEDTIyMi4yMzEuNDMuNjkEDjE5Mi4xNjguMzkuMTg1BA4xOTIuMTY4LjM5LjE4NgQABIGAOTYyNjk5QkQ2RUNCOEIwNjg4MEFGMTA4NUZCN0Q4OTYwNEMxRTE4MDhBODIyQ0UzMDIxQjQxRjhEQ0ExMDVDRENCMDAwMDJBMUY5NjE2QUU5OUQ5MTgyRTQwOEI1RUQzQzFCMzQ4NUIxQTVCNzc2QzdGRERDNDdDRTU2QjIxOTCiCjAIBAAEAAQABAA=
|
||||
@ -1,15 +1,18 @@
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
||||
<%@ page import="com.innorix.transfer.InnorixUpload" %>
|
||||
|
||||
<%-- <%@ page import="egovframework.rte.fdl.property.EgovPropertyService" %> --%>
|
||||
<%
|
||||
// CORS체크를 위한 OPTIONS 메소드가 들어오므로 POST 일 경우에만 동작하도록 조건 추가
|
||||
if (request.getMethod().equals("POST"))
|
||||
{
|
||||
String directory = InnorixUpload.getServletAbsolutePath(request);
|
||||
System.out.println("========== directory :: " + directory + " ==========");
|
||||
directory = directory.substring(0, directory.lastIndexOf("/") + 1) + "data";
|
||||
// directory = directory.substring(0, directory.lastIndexOf("/") + 1) + "data";
|
||||
// directory = PropertyService.getString("Globals.fileStorePath");
|
||||
directory = "/usr/local/tomcat/file/sht/";
|
||||
int maxPostSize = 2147482624; // bytes
|
||||
|
||||
|
||||
|
||||
InnorixUpload uploader = new InnorixUpload(request, response, maxPostSize, directory);
|
||||
|
||||
/*
|
||||
@ -32,6 +35,26 @@ if (request.getMethod().equals("POST"))
|
||||
String _type = uploader.getParameter("type"); // 커스텀 정의 POST Param 1
|
||||
String _part = uploader.getParameter("part"); // 커스텀 정의 POST Param 2
|
||||
String _transferId = uploader.getParameter("_transferId"); // TransferId
|
||||
String _innoFilePath = uploader.getParameter("innoDirPath"); // 커스텀 정의 POST Param 2
|
||||
|
||||
/*
|
||||
|
||||
현재 페이지를 호출하는 jsp에서
|
||||
<input type="hidden" id="innoDirPath" value="<spring:eval expression="@globalSettings['Globals.Innorix.FilePath']"/>" />
|
||||
위 코드를 작성하고
|
||||
|
||||
control.upload() 전에
|
||||
|
||||
|
||||
var postObj = new Object();
|
||||
postObj.innoDirPath = $('#innoDirPath').val();
|
||||
control.setPostData(postObj); // 업로드시 함께 전달될 POST Param 추가
|
||||
|
||||
위 코드를 넣어 줘야 함
|
||||
|
||||
*/
|
||||
uploader.setDirectory(_innoFilePath);
|
||||
|
||||
String _run_retval = uploader.run();
|
||||
|
||||
// 개별파일 업로드 완료
|
||||
|
||||
@ -1,18 +1,15 @@
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
||||
<%@ page import="com.innorix.transfer.InnorixUpload" %>
|
||||
<%-- <%@ page import="egovframework.rte.fdl.property.EgovPropertyService" %> --%>
|
||||
|
||||
<%
|
||||
// CORS체크를 위한 OPTIONS 메소드가 들어오므로 POST 일 경우에만 동작하도록 조건 추가
|
||||
if (request.getMethod().equals("POST"))
|
||||
{
|
||||
String directory = InnorixUpload.getServletAbsolutePath(request);
|
||||
// directory = directory.substring(0, directory.lastIndexOf("/") + 1) + "data";
|
||||
// directory = PropertyService.getString("Globals.fileStorePath");
|
||||
directory = "/usr/local/tomcat/file/sht/";
|
||||
System.out.println("========== directory :: " + directory + " ==========");
|
||||
directory = directory.substring(0, directory.lastIndexOf("/") + 1) + "data";
|
||||
int maxPostSize = 2147482624; // bytes
|
||||
|
||||
|
||||
|
||||
InnorixUpload uploader = new InnorixUpload(request, response, maxPostSize, directory);
|
||||
|
||||
/*
|
||||
@ -35,26 +32,6 @@ if (request.getMethod().equals("POST"))
|
||||
String _type = uploader.getParameter("type"); // 커스텀 정의 POST Param 1
|
||||
String _part = uploader.getParameter("part"); // 커스텀 정의 POST Param 2
|
||||
String _transferId = uploader.getParameter("_transferId"); // TransferId
|
||||
String _innoFilePath = uploader.getParameter("innoDirPath"); // 커스텀 정의 POST Param 2
|
||||
|
||||
/*
|
||||
|
||||
현재 페이지를 호출하는 jsp에서
|
||||
<input type="hidden" id="innoDirPath" value="<spring:eval expression="@globalSettings['Globals.Innorix.FilePath']"/>" />
|
||||
위 코드를 작성하고
|
||||
|
||||
control.upload() 전에
|
||||
|
||||
|
||||
var postObj = new Object();
|
||||
postObj.innoDirPath = $('#innoDirPath').val();
|
||||
control.setPostData(postObj); // 업로드시 함께 전달될 POST Param 추가
|
||||
|
||||
위 코드를 넣어 줘야 함
|
||||
|
||||
*/
|
||||
uploader.setDirectory(_innoFilePath);
|
||||
|
||||
String _run_retval = uploader.run();
|
||||
|
||||
// 개별파일 업로드 완료
|
||||
@ -9,7 +9,9 @@
|
||||
// 라이선스 유형 : INNORIX WP 91일 체험 (만료 2022-09-30)
|
||||
/*var INNORIX_LICENSE = "WEiCgfGkBpqQN/Zw0Ae0YQDFQoK5vit/hNZK/8gGNUm+mtjwAJr4dLSFCiLgiY9BOWSg925hgOfaW1olUgUTccrrl6Y=";*/
|
||||
// 라이선스 유형 : INNORIX WP 91일 체험 (만료 2022-12-31)
|
||||
var INNORIX_LICENSE = "SQeXVJiPNj/2u6W8BXoc1pX1l1D0Dc1azbDxUT+BQPLxsV86kF62+FUvIaofOXnArJTjp9kn/ZtUA+Ps0JFla2QGiu0=";
|
||||
/*var INNORIX_LICENSE = "SQeXVJiPNj/2u6W8BXoc1pX1l1D0Dc1azbDxUT+BQPLxsV86kF62+FUvIaofOXnArJTjp9kn/ZtUA+Ps0JFla2QGiu0=";*/
|
||||
// 운영라이선스 적용
|
||||
var INNORIX_LICENSE = "FXA8KvVU99M9Ubbr3Yrz91zCNqyXdWCqUQ/OO1f7lj3nifVZZjuLqJIlHXjosrbPynCFJat5fwEgP/RVXftvXSsXmAHSnTVLYciyf8XmbxH8SLfUdCIEnFo+zL8=";
|
||||
|
||||
var INNORIX_VERSION = '1.1.3.458';
|
||||
var INNORIX_WIN_VERSION = '1.1.3.458';
|
||||
|
||||
@ -29,4 +29,6 @@ function openExampleAdminPop(exmpCd) {
|
||||
|
||||
// commonPopWindowopenForm("/web/kccadr/adjst/popup/"+uri, '500', '400', "openExampleAdminPop", $('#pop'));
|
||||
commonPopWindowopenForm("/kccadr/adjPgrMgr/apm/popup/"+uri, '600', '400', "openExampleAdminPop", $('#pop'));
|
||||
|
||||
fn_data_reg(atchfileId);
|
||||
}
|
||||
|
||||
110
src/main/webapp/js/kccadr/innorixCommon.js
Normal file
110
src/main/webapp/js/kccadr/innorixCommon.js
Normal file
@ -0,0 +1,110 @@
|
||||
/**
|
||||
*
|
||||
* @author : 이호영
|
||||
* @fileName : InnorixCommon.js
|
||||
* @date : 2022.12.26
|
||||
* @description : innorix 대용량 파일 업로드 솔루션 공통 js
|
||||
* ===========================================================
|
||||
* DATE AUTHOR NOTE
|
||||
* ----------------------------------------------------------- *
|
||||
* 2022.11.01 이호영 최초 생성
|
||||
*
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
var urlBase = location.href.substring(0, location.href.lastIndexOf("/") + 1);
|
||||
var control = new Object(); // 파일전송 컨트롤 객체선언
|
||||
var downFileArr = new Array(); // 다운로드 목록 정보
|
||||
var resetFileArr = new Array(); // 다운로드 목록 초기화 정보
|
||||
var delFileArr = new Array(); // 삭제된 파일 정보
|
||||
var removeFlag = true; // 삭제 이벤트 조건 플래그
|
||||
|
||||
function fn_innorixCmmAjax(sendData, url){
|
||||
|
||||
var successData;
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: url,
|
||||
data: JSON.stringify(sendData),
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: "application/json",
|
||||
cache: false,
|
||||
success: function (returnData) {
|
||||
console.log('returnData : ', returnData);
|
||||
if(returnData.status == "OK"){
|
||||
$('#atchFileId').val(returnData.dataSub);
|
||||
if(returnData.data != "")
|
||||
alert(returnData.data);
|
||||
successData = returnData.status;
|
||||
}else{
|
||||
alert(returnData.data);
|
||||
return false;
|
||||
}
|
||||
},
|
||||
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
|
||||
});
|
||||
return successData;
|
||||
|
||||
|
||||
}
|
||||
|
||||
/* 등록되어 있는 파일 삭제버튼 클릭시 */
|
||||
function innorixDelAtchFile(itemId , fileSn){
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "/uss/ion/fms/fmsfileDeleteAjax.do",
|
||||
data:{ "atchFileId" : itemId , "fileSn" : fileSn},
|
||||
dataType:'json',
|
||||
cache: false,
|
||||
async: false,
|
||||
timeout: 600000,
|
||||
success: function (returnData, status) {
|
||||
if(status == 'success'){
|
||||
if(returnData.result == 'fail'){
|
||||
alert("삭제처리가 실패하였습니다.");
|
||||
}else if(returnData.result == 'auth_fail'){
|
||||
alert("세션이 종료되었습니다.");
|
||||
}else if(returnData.result =='success'){
|
||||
alert("삭제되었습니다.");
|
||||
}
|
||||
}else{
|
||||
alert("삭제처리에 실패하였습니다.");
|
||||
}
|
||||
},
|
||||
error: function (e) {
|
||||
console.log("ERROR : ", e);
|
||||
alert("삭제처리에 실패하였습니다.");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/*
|
||||
* loadComplete에서 불러온 최초 파일 array에서
|
||||
* 삭제된 파일 정보 삭제
|
||||
*/
|
||||
function deleteFromResetFileArr(value) {
|
||||
|
||||
$(resetFileArr).each(function(index, element){
|
||||
if(element.printFileName === value)
|
||||
resetFileArr.splice(index, 1);
|
||||
});
|
||||
}
|
||||
|
||||
/*
|
||||
* 파일 삭제 confire 아니요 클릭 시
|
||||
* 솔루션에서 진행하는 자동 파일 삭제 후
|
||||
* reset을 통해 파일 배열 다시 불러옴
|
||||
*/
|
||||
function fileListReset() {
|
||||
removeFlag = false;
|
||||
delFileArr = new Array(); // 삭제정보 초기화
|
||||
control.removeAllFiles(); // 리스트 컨트롤에서 파일을 삭제
|
||||
control.presetDownloadFiles(resetFileArr); // 다운로드 목록 초기화
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user