이지우 - 사용자 분쟁조정 신청 및 마이페이지 작업 중
This commit is contained in:
parent
4ba4b87764
commit
35b21ce72c
@ -1,6 +1,7 @@
|
||||
package seed.com.user.mediation;
|
||||
|
||||
import java.text.ParseException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
@ -601,6 +602,7 @@ public class WebMediationController {
|
||||
paramMap.put("agreeCheck", agreeCheck);
|
||||
paramMap.put("personalCheck", personalCheck);
|
||||
|
||||
|
||||
if(!rceptNo.equals("")){
|
||||
map.put("recptmsData", service2.selectRecptms(paramMap));//사건마스터
|
||||
map.put("applcntData", service2.selectApplcnt(paramMap));//신청인
|
||||
@ -612,12 +614,34 @@ public class WebMediationController {
|
||||
map.put("selectSubcntrsttusTotA", service2.selectSubcntrsttusTotA(paramMap));//A 하도급 소계 그룹바이
|
||||
map.put("selectSubcntrsttusR", service2.selectSubcntrsttusR(paramMap));//R 하도급대급 내역 리스
|
||||
map.put("selectSubcntrsttusTotR", service2.selectSubcntrsttusTotR(paramMap));//R 하도급 소계 그룹바이
|
||||
map.put("caseFileList", fileService.caseFileList(paramMap));//파일 리스트
|
||||
//map.put("caseFileList", fileService.caseFileList(paramMap));//파일 리스트
|
||||
|
||||
List<Map<String, Object>> fileList = fileService.caseFileList(paramMap);
|
||||
List<Map<String, Object>> fileCopyYList = new ArrayList<>();
|
||||
for(Map<String, Object> fileCopyY : fileList) {
|
||||
|
||||
if("Y".equals(fileCopyY.get("COPY_CONTRACT_YN"))){
|
||||
fileCopyYList.add(fileCopyY);
|
||||
}
|
||||
}
|
||||
map.put("caseFileList", fileCopyYList);//파일 리스트
|
||||
|
||||
//이노릭스 수정화면 용 파일 값 넘겨주기
|
||||
String innorixFileListInfoStr = "";
|
||||
try {
|
||||
innorixFileListInfoStr = FairnetUtils.innorixCaseFileListInfo(fileCopyYList);
|
||||
}catch(Exception e){
|
||||
System.out.println("이노릭스 에러");
|
||||
}
|
||||
map.put("innorixFileListInfoStr", innorixFileListInfoStr);
|
||||
|
||||
}else {
|
||||
map.put("message", "정상적이지 않은 사건번호입니다. 관리자에게 문의하세요.");
|
||||
map.put("self", "history");
|
||||
return new ModelAndView("/_common/jsp/umessage");
|
||||
}
|
||||
|
||||
|
||||
map.put("rceptNo", rceptNo);
|
||||
map.put("agreeCheck", agreeCheck);
|
||||
map.put("personalCheck", personalCheck);
|
||||
@ -786,7 +810,27 @@ public class WebMediationController {
|
||||
map.put("selectSubcntrsttusTotA", service2.selectSubcntrsttusTotA(paramMap));//A 하도급 소계 그룹바이
|
||||
map.put("selectSubcntrsttusR", service2.selectSubcntrsttusR(paramMap));//R 하도급대급 내역 리스
|
||||
map.put("selectSubcntrsttusTotR", service2.selectSubcntrsttusTotR(paramMap));//R 하도급 소계 그룹바이
|
||||
map.put("caseFileList", fileService.caseFileList(paramMap));//파일 리스트
|
||||
//map.put("caseFileList", fileService.caseFileList(paramMap));//파일 리스트
|
||||
|
||||
List<Map<String, Object>> fileList = fileService.caseFileList(paramMap);
|
||||
List<Map<String, Object>> fileCopyNList = new ArrayList<>();
|
||||
for(Map<String, Object> fileCopyN : fileList) {
|
||||
|
||||
if(!"Y".equals(fileCopyN.get("COPY_CONTRACT_YN"))){
|
||||
fileCopyNList.add(fileCopyN);
|
||||
}
|
||||
}
|
||||
map.put("caseFileList", fileCopyNList);//파일 리스트
|
||||
|
||||
//이노릭스 수정화면 용 파일 값 넘겨주기
|
||||
String innorixFileListInfoStr = "";
|
||||
try {
|
||||
innorixFileListInfoStr = FairnetUtils.innorixCaseFileListInfo(fileCopyNList);
|
||||
}catch(Exception e){
|
||||
System.out.println("이노릭스 에러");
|
||||
}
|
||||
map.put("innorixFileListInfoStr", innorixFileListInfoStr);
|
||||
|
||||
}else {
|
||||
map.put("message", "정상적이지 않은 사건번호입니다. 관리자에게 문의하세요.");
|
||||
map.put("self", "history");
|
||||
@ -3427,7 +3471,12 @@ public class WebMediationController {
|
||||
String tel = tel1 + "-" + tel2 + "-" + tel3;
|
||||
|
||||
paramMap.put("agentHp", tel);
|
||||
|
||||
if(paramMap.get("appagentDataSeqNo").equals("") && !"Y".equals(paramMap.get("appagentDataYn"))) {
|
||||
service.agentInsert(paramMap);
|
||||
}else {
|
||||
service.agentUpdate(paramMap);
|
||||
}
|
||||
|
||||
// 사건현황, 협의회별 상세 현황 INSERT
|
||||
|
||||
@ -3474,6 +3523,7 @@ public class WebMediationController {
|
||||
// fileService.fileInsert(paramMap, request, session);
|
||||
fileService.caseFileDel(paramMap);*/
|
||||
|
||||
fileService.caseFileDel(paramMap);
|
||||
//이노릭스 대용량 업로드
|
||||
String innorixFileListStr = (String) paramMap.get("innorixFileListVO");
|
||||
if(!"".equals(innorixFileListStr)) {
|
||||
@ -3636,6 +3686,9 @@ public class WebMediationController {
|
||||
/*서비스 로직*/
|
||||
try{
|
||||
|
||||
//,제거하기
|
||||
paramMap.put("subCntrAmount", SeedUtils.setReplaceNull(paramMap.get("subCntrAmount")).toString().replaceAll(",", ""));
|
||||
|
||||
service.rceUpdate(paramMap);
|
||||
|
||||
/*if(!"".equals(SeedUtils.setReplaceNull(paramMap.get("fileFuncType")))) {
|
||||
@ -3644,6 +3697,7 @@ public class WebMediationController {
|
||||
// fileService.fileInsert(paramMap, request, session);
|
||||
fileService.caseFileDel(paramMap);*/
|
||||
|
||||
fileService.caseFileDel(paramMap);
|
||||
//이노릭스 대용량 업로드
|
||||
String innorixFileListStr = (String) paramMap.get("innorixFileListVO");
|
||||
if(!"".equals(innorixFileListStr)) {
|
||||
@ -3739,7 +3793,11 @@ public class WebMediationController {
|
||||
}
|
||||
}
|
||||
|
||||
if("0".equals(paramMap.get("reaseonCnt")) && !"Y".equals(paramMap.get("reaseonYn"))) {
|
||||
service.reasonInsert(paramMap);
|
||||
}else {
|
||||
service.reasonUpdate(paramMap);
|
||||
}
|
||||
paramMap.put("sts", "success");
|
||||
|
||||
}catch (Exception e) {
|
||||
@ -3894,34 +3952,6 @@ public class WebMediationController {
|
||||
service.rceptmstUpdate(paramMap);
|
||||
|
||||
// 사건현황, 협의회별 상세 현황 INSERT
|
||||
|
||||
//콤마 제거하기
|
||||
// paramMap.put("rceCapital", paramMap.get("rceCapital").toString().replaceAll(",", ""));
|
||||
// paramMap.put("rceTotAssets", paramMap.get("rceTotAssets").toString().replaceAll(",", ""));
|
||||
// paramMap.put("rceTotSales", paramMap.get("rceTotSales").toString().replaceAll(",", ""));
|
||||
// paramMap.put("rceBp", paramMap.get("rceBp").toString().replaceAll(",", ""));
|
||||
|
||||
if(paramMap.get("rceCapital") != null) {
|
||||
paramMap.put("rceCapital", paramMap.get("rceCapital").toString().replaceAll(",", ""));
|
||||
}
|
||||
if(paramMap.get("rceTotAssets") != null) {
|
||||
paramMap.put("rceTotAssets", paramMap.get("rceTotAssets").toString().replaceAll(",", ""));
|
||||
}
|
||||
if(paramMap.get("rceTotSales") != null) {
|
||||
paramMap.put("rceTotSales", paramMap.get("rceTotSales").toString().replaceAll(",", ""));
|
||||
}
|
||||
if(paramMap.get("rceBp") != null) {
|
||||
paramMap.put("rceBp", paramMap.get("rceBp").toString().replaceAll(",", ""));
|
||||
}
|
||||
|
||||
paramMap.put("joiningAmount", SeedUtils.setReplaceNull(paramMap.get("joiningAmount")).toString().replaceAll(",", ""));
|
||||
paramMap.put("joiningAmount", SeedUtils.setReplaceNull(paramMap.get("joiningAmount")).toString().replaceAll(",", ""));
|
||||
|
||||
//하도급거래 - 시공능력 평가액,
|
||||
paramMap.put("subCntrAmount", SeedUtils.setReplaceNull(paramMap.get("subCntrAmount")).toString().replaceAll(",", ""));
|
||||
|
||||
paramMap.put("distbTotSales", SeedUtils.setReplaceNull(paramMap.get("distbTotSales")).toString().replaceAll(",", ""));
|
||||
|
||||
service.rceUpdate(paramMap);
|
||||
|
||||
paramMap.put("sts", "success");
|
||||
|
||||
@ -166,7 +166,7 @@ public class FairnetUtils {
|
||||
|
||||
}
|
||||
|
||||
/*첨부파일 목록의 정보를 이노릭스 화면에서 사용하기 위한 정보로 리턴*/
|
||||
/*첨부파일 목록의 정보를 이노릭스 화면에서 사용하기 위한 정보로 리턴 - T-EXTRA_FILE*/
|
||||
public static String innorixFileListInfo(List<Map<String, Object>> fileList) throws Exception {
|
||||
|
||||
List<Map<String, Object>> innorixFileListInfo = new ArrayList<>();
|
||||
@ -184,6 +184,26 @@ public class FairnetUtils {
|
||||
|
||||
return innorixFileListInfoStr;
|
||||
|
||||
|
||||
}
|
||||
/*첨부파일 목록의 정보를 이노릭스 화면에서 사용하기 위한 정보로 리턴 - C_CASEFILE*/
|
||||
public static String innorixCaseFileListInfo(List<Map<String, Object>> fileList) throws Exception {
|
||||
|
||||
List<Map<String, Object>> innorixFileListInfo = new ArrayList<>();
|
||||
for (Map<String, Object> file : fileList) {
|
||||
Map<String, Object> innorixFileInfo = new HashMap<>();
|
||||
innorixFileInfo.put("printFileName", file.get("FILE_NAME"));
|
||||
innorixFileInfo.put("fileSize", file.get("FILE_SIZE"));
|
||||
innorixFileInfo.put("dataIdx", file.get("SEQ_NO"));
|
||||
innorixFileInfo.put("downloadUrl", "notUse"); //해당 값 없으면 목록이 안나와 임시로 사용
|
||||
innorixFileListInfo.add(innorixFileInfo);
|
||||
}
|
||||
|
||||
ObjectMapper objectMapper = new ObjectMapper();
|
||||
String innorixFileListInfoStr = objectMapper.writeValueAsString(innorixFileListInfo);
|
||||
|
||||
return innorixFileListInfoStr;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -601,6 +601,12 @@
|
||||
<if test="rceFtcInvestigationNote != null and rceFtcInvestigationNote != ''">
|
||||
FTC_NOTE = #{rceFtcInvestigationNote, jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="rceParAgreement != null and rceParAgreement != ''">
|
||||
PAR_AGREEMENT = #{rceParAgreement, jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="rceLawCheckSame != null and rceLawCheckSame != ''">
|
||||
LAWSUIT_CHECKSAME = #{rceLawCheckSame, jdbcType=VARCHAR},
|
||||
</if>
|
||||
RCEPT_NO = #{rceptNo}
|
||||
WHERE RCEPT_NO = #{rceptNo}
|
||||
</update>
|
||||
|
||||
@ -315,7 +315,10 @@
|
||||
P_CONTACT_HP,
|
||||
P_CONTACT_FAX,
|
||||
P_CONTACT_OFCPS,
|
||||
P_CONTACT_EMAIL
|
||||
P_CONTACT_EMAIL,
|
||||
LAWSUT_CASENUM,
|
||||
LAWSUIT_CHECKSAME,
|
||||
PAR_AGREEMENT
|
||||
FROM C_RCEPTSTTUS
|
||||
WHERE RCEPT_NO = #{rceptNo}
|
||||
</select>
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
addTabC(); // 피신청인 등록폼 추가
|
||||
delTabC();
|
||||
//delTabC();
|
||||
});
|
||||
|
||||
function addTabC(){
|
||||
@ -1212,12 +1212,14 @@
|
||||
<input type="hidden" id="seqNo_<c:out value='${sts.index+1}'/>" name="seqNo_<c:out value='${sts.index+1}'/>" value="<c:out value='${data.SEQ_NO}'/>">
|
||||
|
||||
<ul class="apl_list rapl_list subTab_c_wrap">
|
||||
<li class="subTab_c outerBoxC${sts.count}"">
|
||||
<li class="subTab_c outerBoxC${sts.index+1}"">
|
||||
<div class="apl_title">
|
||||
<button type="button" class="btn_apl_slide" onclick="aplSlide(this);">
|
||||
피신청인1 <i class="icon slide up"></i>
|
||||
피신청인<c:out value='${sts.index+1}'/> <i class="icon slide up"></i>
|
||||
</button>
|
||||
<c:if test="${not sts.first}">
|
||||
<button type="button" class="btn btn_text btn_35 darkblue_border btn_delete_apl" onclick="removeLi(this);" title="피신청인1 삭제">피신청인 삭제</button>
|
||||
</c:if>
|
||||
</div>
|
||||
<div class="table_type_rows apl_info_input">
|
||||
<table>
|
||||
@ -1233,21 +1235,21 @@
|
||||
<p class="required_text">*<span>필수입력</span></p>상호
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" maxlength="100" name="resCompany_<c:out value='${status.index+1}'/>" id="resCompany_<c:out value='${status.index+1}'/>" class="input_text w100per resCompany" value="<c:out value='${data.RESPONDENT_COMPANY}'/>" title="상호 입력">
|
||||
<input type="text" maxlength="100" name="resCompany_<c:out value='${sts.index+1}'/>" id="resCompany_<c:out value='${sts.index+1}'/>" class="input_text w100per resCompany" value="<c:out value='${data.RESPONDENT_COMPANY}'/>" title="상호 입력">
|
||||
</td>
|
||||
<th>
|
||||
<p class="required_text">*<span>필수입력</span></p>대표자
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" maxlength="25" name="resCeo_<c:out value='${status.index+1}'/>" id="resCeo_<c:out value='${status.index+1}'/>" class="input_text w100per resCeo" value="<c:out value='${data.RESPONDENT_CEO}'/>">
|
||||
<input type="text" maxlength="25" name="resCeo_<c:out value='${sts.index+1}'/>" id="resCeo_<c:out value='${sts.index+1}'/>" class="input_text w100per resCeo" value="<c:out value='${data.RESPONDENT_CEO}'/>">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
<p class="required_text">*<span>필수입력</span></p>개인/법인1
|
||||
<p class="required_text">*<span>필수입력</span></p>개인/법인<c:out value='${sts.index+1}'/>
|
||||
</th>
|
||||
<td colspan="3">
|
||||
<select name="resGunbun_<c:out value='${sts.count}'/>" id="resGunbun_<c:out value='${sts.count}'/>" class="select resGunbun" title="개인/법인 선택">
|
||||
<select name="resGunbun_<c:out value='${sts.index+1}'/>" id="resGunbun_<c:out value='${sts.count}'/>" class="select resGunbun" title="개인/법인 선택">
|
||||
<option value="">선택하세요</option>
|
||||
</select>
|
||||
</td>
|
||||
@ -1259,15 +1261,15 @@
|
||||
<td colspan="3">
|
||||
<ul class="input_box postcode_input">
|
||||
<li>
|
||||
<input type="text" name="resZip_<c:out value='${status.index+1}'/>" id="resZip_<c:out value='${status.index+1}'/>" class="input_text resZip" readonly="readonly" value="<c:out value='${data.ZIP}'/>">
|
||||
<input type="text" name="resZip_<c:out value='${sts.index+1}'/>" id="resZip_<c:out value='${sts.index+1}'/>" class="input_text resZip" readonly="readonly" value="<c:out value='${data.ZIP}'/>">
|
||||
</li>
|
||||
<li>
|
||||
<button type="button" class="btn btn_text darkblue_border btn_40 btn_in_tbl" onclick="goJuso('${status.index+1}');">우편번호 검색</button>
|
||||
<button type="button" class="btn btn_text darkblue_border btn_40 btn_in_tbl" onclick="goJuso('${sts.index+1}');">우편번호 검색</button>
|
||||
</li>
|
||||
<c:if test="${sts.count eq '1'}">
|
||||
<li>
|
||||
<input type="checkbox" id="res_foreignCountry-<c:out value='${status.index+1}'/>" name="res_foreignCountry-<c:out value='${status.index+1}'/>" value="Y" <c:if test='${data.ZIP eq "기타"}'>checked</c:if>>
|
||||
<label for="res_foreignCountry-<c:out value='${status.index+1}'/>">해외시 체크해주세요.</label>
|
||||
<input type="checkbox" id="res_foreignCountry-<c:out value='${sts.index+1}'/>" name="res_foreignCountry-<c:out value='${sts.index+1}'/>" value="Y" <c:if test='${data.ZIP eq "기타"}'>checked</c:if>>
|
||||
<label for="res_foreignCountry-<c:out value='${sts.index+1}'/>">해외시 체크해주세요.</label>
|
||||
</li>
|
||||
</c:if>
|
||||
</ul>
|
||||
@ -1280,10 +1282,10 @@
|
||||
<td colspan="3">
|
||||
<ul class="input_box address_input">
|
||||
<li>
|
||||
<input type="text" name="resRoadAddr1_<c:out value='${status.index+1}'/>" id="resRoadAddr1_<c:out value='${status.index+1}'/>" class="input_text" readonly="readonly" value="<c:out value='${data.ROAD_ADDR1}'/>">
|
||||
<input type="text" name="resRoadAddr1_<c:out value='${sts.index+1}'/>" id="resRoadAddr1_<c:out value='${sts.index+1}'/>" class="input_text" readonly="readonly" value="<c:out value='${data.ROAD_ADDR1}'/>">
|
||||
</li>
|
||||
<li>
|
||||
<input type="text" maxlength="250" name="resRoadAddr2_<c:out value='${status.index+1}'/>" id="resRoadAddr2_<c:out value='${status.index+1}'/>" class="input_text" value="<c:out value='${data.ROAD_ADDR2}'/>">
|
||||
<input type="text" maxlength="250" name="resRoadAddr2_<c:out value='${sts.index+1}'/>" id="resRoadAddr2_<c:out value='${sts.index+1}'/>" class="input_text" value="<c:out value='${data.ROAD_ADDR2}'/>">
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@ -1297,7 +1299,7 @@
|
||||
<div class="phone_wrap">
|
||||
<c:choose>
|
||||
<c:when test="${fn:length(data.TEL) == 9}">
|
||||
<select name="resTel1_<c:out value='${status.index+1}'/>" id="resTel1_<c:out value='${status.index+1}'/>" title="핸드폰 첫번째 자리 선택" class="select">
|
||||
<select name="resTel1_<c:out value='${sts.index+1}'/>" id="resTel1_<c:out value='${sts.index+1}'/>" title="핸드폰 첫번째 자리 선택" class="select">
|
||||
<option value="010">010</option>
|
||||
<option value="011">011</option>
|
||||
<option value="016">016</option>
|
||||
@ -1324,12 +1326,12 @@
|
||||
<option value="064">064</option>
|
||||
<option value="" selected="selected">없음</option>
|
||||
</select> -
|
||||
<input name="resTel2_<c:out value='${status.index+1}'/>" type="text" id="resTel2_<c:out value='${status.index+1}'/>" class="input_text resTel2" title="대표 전화번호 중간번호" maxlength="4" onkeyup="removeChar(event);" onkeydown='onlyNumber(event);' style="ime-mode:disabled;" value="${fn:split(data.TEL, '-')[0]}" title="핸드폰 가운데 자리 입력">
|
||||
<input name="resTel2_<c:out value='${sts.index+1}'/>" type="text" id="resTel2_<c:out value='${sts.index+1}'/>" class="input_text resTel2" title="대표 전화번호 중간번호" maxlength="4" onkeyup="removeChar(event);" onkeydown='onlyNumber(event);' style="ime-mode:disabled;" value="${fn:split(data.TEL, '-')[0]}" title="핸드폰 가운데 자리 입력">
|
||||
-
|
||||
<input name="resTel3_<c:out value='${status.index+1}'/>" type="text" id="resTel3_<c:out value='${status.index+1}'/>" class="input_text resTel3" title="대표 전화번호 끝번호" maxlength="4" onkeyup="removeChar(event);" onkeydown='onlyNumber(event);' style="ime-mode:disabled;" value="${fn:split(data.TEL, '-')[1]}" title="핸드폰 마지막 자리 입력">
|
||||
<input name="resTel3_<c:out value='${sts.index+1}'/>" type="text" id="resTel3_<c:out value='${sts.index+1}'/>" class="input_text resTel3" title="대표 전화번호 끝번호" maxlength="4" onkeyup="removeChar(event);" onkeydown='onlyNumber(event);' style="ime-mode:disabled;" value="${fn:split(data.TEL, '-')[1]}" title="핸드폰 마지막 자리 입력">
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<select name="resTel1_<c:out value='${status.index+1}'/>" id="resTel1_<c:out value='${status.index+1}'/>" title="핸드폰 첫번째 자리 선택" class="select">
|
||||
<select name="resTel1_<c:out value='${sts.index+1}'/>" id="resTel1_<c:out value='${sts.index+1}'/>" title="핸드폰 첫번째 자리 선택" class="select">
|
||||
<option value="010" <c:if test="${fn:split(data.TEL, '-')[0] == '010'}">selected="selected"</c:if>>010</option>
|
||||
<option value="011" <c:if test="${fn:split(data.TEL, '-')[0] == '011'}">selected="selected"</c:if>>011</option>
|
||||
<option value="016" <c:if test="${fn:split(data.TEL, '-')[0] == '016'}">selected="selected"</c:if>>016</option>
|
||||
@ -1356,9 +1358,9 @@
|
||||
<option value="064" <c:if test="${fn:split(data.TEL, '-')[0] == '064'}">selected="selected"</c:if>>064</option>
|
||||
<option value="">없음</option>
|
||||
</select> -
|
||||
<input name="resTel2_<c:out value='${status.index+1}'/>" type="text" id="resTel2_<c:out value='${status.index+1}'/>" class="input_text resTel2" title="대표 전화번호 중간번호" maxlength="4" onkeyup="removeChar(event);" onkeydown='onlyNumber(event);' style="ime-mode:disabled;" value="${fn:split(data.TEL, '-')[0]}" title="핸드폰 가운데 자리 입력">
|
||||
<input name="resTel2_<c:out value='${sts.index+1}'/>" type="text" id="resTel2_<c:out value='${sts.index+1}'/>" class="input_text resTel2" title="대표 전화번호 중간번호" maxlength="4" onkeyup="removeChar(event);" onkeydown='onlyNumber(event);' style="ime-mode:disabled;" value="${fn:split(data.TEL, '-')[0]}" title="핸드폰 가운데 자리 입력">
|
||||
-
|
||||
<input name="resTel3_<c:out value='${status.index+1}'/>" type="text" id="resTel3_<c:out value='${status.index+1}'/>" class="input_text resTel3" title="대표 전화번호 끝번호" maxlength="4" onkeyup="removeChar(event);" onkeydown='onlyNumber(event);' style="ime-mode:disabled;" value="${fn:split(data.TEL, '-')[1]}" title="핸드폰 마지막 자리 입력">
|
||||
<input name="resTel3_<c:out value='${sts.index+1}'/>" type="text" id="resTel3_<c:out value='${sts.index+1}'/>" class="input_text resTel3" title="대표 전화번호 끝번호" maxlength="4" onkeyup="removeChar(event);" onkeydown='onlyNumber(event);' style="ime-mode:disabled;" value="${fn:split(data.TEL, '-')[1]}" title="핸드폰 마지막 자리 입력">
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</div>
|
||||
@ -1366,9 +1368,9 @@
|
||||
<th>FAX</th>
|
||||
<td>
|
||||
<div class="phone_wrap fax_wrap">
|
||||
<input type="text" name="resFax1_<c:out value='${status.index+1}'/>" id="resFax1_1" class="input_text" title="FAX 앞번호" maxlength="3" onkeyup="removeChar(event);" onkeydown='onlyNumber(event);' style="ime-mode:disabled;" value="${fn:split(data.FAX, '-')[0]}">-
|
||||
<input type="text" name="resFax2_<c:out value='${status.index+1}'/>" id="" class="input_text" title="FAX 중간번호" maxlength="4" onkeyup="removeChar(event);" onkeydown='onlyNumber(event);' style="ime-mode:disabled;" value="${fn:split(data.FAX, '-')[0]}">-
|
||||
<input type="text" name="resFax3_<c:out value='${status.index+1}'/>" id="" class="input_text" title="FAX 끝번호" maxlength="4" onkeyup="removeChar(event);" onkeydown='onlyNumber(event);' style="ime-mode:disabled;" value="${fn:split(data.FAX, '-')[0]}">
|
||||
<input type="text" name="resFax1_<c:out value='${sts.index+1}'/>" id="resFax1_1" class="input_text" title="FAX 앞번호" maxlength="3" onkeyup="removeChar(event);" onkeydown='onlyNumber(event);' style="ime-mode:disabled;" value="${fn:split(data.FAX, '-')[0]}">-
|
||||
<input type="text" name="resFax2_<c:out value='${sts.index+1}'/>" id="" class="input_text" title="FAX 중간번호" maxlength="4" onkeyup="removeChar(event);" onkeydown='onlyNumber(event);' style="ime-mode:disabled;" value="${fn:split(data.FAX, '-')[0]}">-
|
||||
<input type="text" name="resFax3_<c:out value='${sts.index+1}'/>" id="" class="input_text" title="FAX 끝번호" maxlength="4" onkeyup="removeChar(event);" onkeydown='onlyNumber(event);' style="ime-mode:disabled;" value="${fn:split(data.FAX, '-')[0]}">
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@ -1377,11 +1379,11 @@
|
||||
<p class="required_text">*<span>필수입력</span></p>사업자등록번호<br>('-'제외)
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" maxlength="15" name="resBizrNo_<c:out value='${status.index+1}'/>" id="resBizrNo_<c:out value='${status.index+1}'/>" class="input_text w100per resBizrNo" value="<c:out value='${data.BIZR_NO}'/>" onkeyup="removeChar(event);" onkeydown='onlyNumber(event);' style="ime-mode:disabled;">
|
||||
<input type="text" maxlength="15" name="resBizrNo_<c:out value='${sts.index+1}'/>" id="resBizrNo_<c:out value='${sts.index+1}'/>" class="input_text w100per resBizrNo" value="<c:out value='${data.BIZR_NO}'/>" onkeyup="removeChar(event);" onkeydown='onlyNumber(event);' style="ime-mode:disabled;">
|
||||
</td>
|
||||
<th>법인등록번호<br>('-'제외)</th>
|
||||
<td>
|
||||
<input type="text" maxlength="15" name="resCprNo_<c:out value='${status.index+1}'/>" id="resCprNo_<c:out value='${status.index+1}'/>" class="input_text w100per" value="<c:out value='${data.CPR_NO}'/>" onkeyup="removeChar(event);" onkeydown='onlyNumber(event);' style="ime-mode:disabled;">
|
||||
<input type="text" maxlength="15" name="resCprNo_<c:out value='${sts.index+1}'/>" id="resCprNo_<c:out value='${sts.index+1}'/>" class="input_text w100per" value="<c:out value='${data.CPR_NO}'/>" onkeyup="removeChar(event);" onkeydown='onlyNumber(event);' style="ime-mode:disabled;">
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
@ -24,6 +24,8 @@
|
||||
*/
|
||||
var directory = "";
|
||||
var divVar = "";
|
||||
//첨부파일 추가 유무 - 중복 등록 방지
|
||||
var controlChg = 'N';
|
||||
|
||||
$(document).ready(function(){
|
||||
$(document).keydown(function(event) {
|
||||
@ -65,6 +67,25 @@
|
||||
fn_callBackInnorix(p.files); // 파일 정보 DB isnert function
|
||||
});
|
||||
|
||||
// 파일전송 컨트롤 로딩 완료
|
||||
var downFileArr =${innorixFileListInfoStr};
|
||||
|
||||
control.on('loadComplete', function (p) {
|
||||
resetFileArr = downFileArr; // 다운로드 정보 초기화 정보 생성
|
||||
resetFileArr = resetFileArr.slice(0); // 배열 깊은 복사
|
||||
control.presetDownloadFiles(resetFileArr); // 다운로드 파일 추가
|
||||
});
|
||||
|
||||
// 파일 삭제 이벤트
|
||||
control.on('removeFiles', function (p) {
|
||||
fn_deleteCallBackInnorix(p[0].dataIdx)
|
||||
});
|
||||
|
||||
// 파일 추가 이벤트
|
||||
control.on('afterAddFiles', function (p) {
|
||||
controlChg = 'Y';
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
/* innorix-4
|
||||
@ -83,7 +104,7 @@
|
||||
/*담당자 유효성 검사 END*/
|
||||
|
||||
divVar = div;
|
||||
if(control.getUploadFiles().length > 0){
|
||||
if(control.getUploadFiles().length > 0 && controlChg == 'Y'){
|
||||
var postObj = new Object();
|
||||
postObj.directory = directory;
|
||||
control.setPostData(postObj);
|
||||
@ -101,6 +122,15 @@
|
||||
$("input[name='innorixFileListVO']").val(JSON.stringify(data));
|
||||
tempAppBtn_step(divVar)
|
||||
}
|
||||
function fn_deleteCallBackInnorix(dataIdx){
|
||||
var deleteFileData = $("#deleteFileDataId").val();
|
||||
if(deleteFileData != ""){
|
||||
deleteFileData = deleteFileData+","+dataIdx
|
||||
}else{
|
||||
deleteFileData = dataIdx
|
||||
}
|
||||
$("#deleteFileDataId").val(deleteFileData);
|
||||
}
|
||||
var doubleSubmitFlag = false;
|
||||
|
||||
//신규 우편번호
|
||||
@ -783,6 +813,11 @@
|
||||
// document.applyForm.rceptNo.value = response.rceptNo;
|
||||
if(div == "tmp"){
|
||||
alert("임시저장 되었습니다.");
|
||||
//저장 후 이노릭스 파일 정보 초기화 - 임시저장 후 다음단계 이동 시 중복 등록 방지
|
||||
$("#innorixFileListVO").val("");
|
||||
//임시 저장 후 대리인이 중복 등록 방지
|
||||
$("#appagentDataYn").val("Y");
|
||||
controlChg = "N";
|
||||
}
|
||||
else{
|
||||
$("#applyForm").submit();
|
||||
@ -1142,6 +1177,8 @@
|
||||
<input type="hidden" id="existDataCnt" name="existDataCnt" value="${fn:length(respondentData)}">
|
||||
<input type="hidden" id="existDataCnt2" name="existDataCnt2" value="${fn:length(applcntData)}">
|
||||
<input type="hidden" id="presidentAssign" name="presidentAssign" value=""/>
|
||||
<input type="hidden" id="appagentDataSeqNo" name="appagentDataSeqNo" value="${appagentData.SEQ_NO}"/>
|
||||
<input type="hidden" id="appagentDataYn" name="appagentDataYn" value="N"/>
|
||||
|
||||
|
||||
<!-- page_location -->
|
||||
@ -1376,9 +1413,10 @@
|
||||
<div id="fileControl" class="w100per dragdrop_wrap"></div>
|
||||
<input type="button" value="파일선택" class="btn btn_text btn_36 blue_border temp-file-button" onclick="control.openFileDialogSingle();"/>
|
||||
<input type="hidden" id="fileFuncType" name="fileFuncType" value="mediation" />
|
||||
<input type="hidden" name="innorixFileListVO" value="" />
|
||||
<input type="hidden" id="innorixFileListVO" name="innorixFileListVO" value="" />
|
||||
<input type="hidden" id="copyContractYn" name="copyContractYn" value="Y" />
|
||||
<input type="hidden" id="fileGubun" name="fileGubun" value="4801000000" />
|
||||
<input type="hidden" name="deleteFileData" value="" id="deleteFileDataId" />
|
||||
<!-- 첨부파일 -->
|
||||
<!-- <label for="upFile" class="ex_filename mgl5i" id="47">첨부파일</label> -->
|
||||
<%-- <button class="btn btn_text btn_40 darkblue_border ex_filename mgl5i" id="47">파일선택</button>
|
||||
|
||||
@ -24,8 +24,12 @@
|
||||
*/
|
||||
var directory = "";
|
||||
var divVar = "";
|
||||
//첨부파일 추가 유무 - 중복 등록 방지
|
||||
var controlChg = 'N';
|
||||
|
||||
$(document).ready(function(){
|
||||
|
||||
$('#applyEtc').show();
|
||||
/* innorix-2
|
||||
첨부파일 업로드 경로 설정
|
||||
fileFuncType와 세션의 siteId등의 정보를 이용해 업로드 경로 설정
|
||||
@ -59,6 +63,26 @@
|
||||
fn_callBackInnorix(p.files); // 파일 정보 DB isnert function
|
||||
});
|
||||
|
||||
// 파일전송 컨트롤 로딩 완료
|
||||
var downFileArr =${innorixFileListInfoStr};
|
||||
|
||||
control.on('loadComplete', function (p) {
|
||||
resetFileArr = downFileArr; // 다운로드 정보 초기화 정보 생성
|
||||
resetFileArr = resetFileArr.slice(0); // 배열 깊은 복사
|
||||
control.presetDownloadFiles(resetFileArr); // 다운로드 파일 추가
|
||||
});
|
||||
|
||||
// 파일 삭제 이벤트
|
||||
control.on('removeFiles', function (p) {
|
||||
fn_deleteCallBackInnorix(p[0].dataIdx)
|
||||
});
|
||||
|
||||
// 파일 추가 이벤트
|
||||
control.on('afterAddFiles', function (p) {
|
||||
controlChg = 'Y';
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
|
||||
var doubleSubmitFlag = false;
|
||||
@ -79,7 +103,7 @@
|
||||
/*담당자 유효성 검사 END*/
|
||||
|
||||
divVar = div;
|
||||
if(control.getUploadFiles().length > 0){
|
||||
if(control.getUploadFiles().length > 0 && controlChg == 'Y'){
|
||||
var postObj = new Object();
|
||||
postObj.directory = directory;
|
||||
control.setPostData(postObj);
|
||||
@ -98,6 +122,16 @@
|
||||
tempAppBtn_step(divVar)
|
||||
}
|
||||
|
||||
function fn_deleteCallBackInnorix(dataIdx){
|
||||
var deleteFileData = $("#deleteFileDataId").val();
|
||||
if(deleteFileData != ""){
|
||||
deleteFileData = deleteFileData+","+dataIdx
|
||||
}else{
|
||||
deleteFileData = dataIdx
|
||||
}
|
||||
$("#deleteFileDataId").val(deleteFileData);
|
||||
}
|
||||
|
||||
//신규 우편번호
|
||||
function jusoCallBack(roadFullAddr,roadAddrPart1,addrDetail,roadAddrPart2,engAddr, jibunAddr, zipNo, admCd, rnMgtSn, bdMgtSn, command){
|
||||
var f = document.applyForm;
|
||||
@ -314,7 +348,7 @@
|
||||
$("#rCnt").val(Number($("#rCnt").val()) - 1);
|
||||
|
||||
if($("#subCntrSeqNoR_"+childLength).val() != "" && $("#subCntrSeqNoR_"+childLength).val() != undefined){
|
||||
$("#existBSubCntrData").val(Number($("#existBSubCntrData").val()) - 1);
|
||||
$("#existRSubCntrData").val(Number($("#existRSubCntrData").val()) - 1);
|
||||
|
||||
var subCntrSeqArr = "";
|
||||
if($("#subCntrDelSeq").val() != ""){
|
||||
@ -1259,19 +1293,6 @@
|
||||
|
||||
function tempAppBtn_step(div){
|
||||
|
||||
//해외체크시 기타로 입력 start
|
||||
//피신청인
|
||||
var resListJuso = $(".resZip");
|
||||
for(var i = 0; i < resListJuso.length; i++){
|
||||
if($("#res_foreignCountry-"+(i+1)).is(":checked") == true){
|
||||
$("input:text[name=resZip_"+(i+1)+"]").val("기타");
|
||||
$("input:text[name=resAddr1_"+(i+1)+"]").val("기타");
|
||||
$("input:text[name=resAddr2_"+(i+1)+"]").val("기타");
|
||||
$("input:text[name=resRoadAddr1_"+(i+1)+"]").val("기타");
|
||||
$("input:text[name=resRoadAddr2_"+(i+1)+"]").val("기타");
|
||||
}
|
||||
}
|
||||
//해외체크시 기타로 입력 end
|
||||
$("#requestCheck").val('1601000000');
|
||||
/* var frmAction = "/web/user/mediation/${siteIdx}/05/${siteMenuIdx}/updateAjax.do"; */
|
||||
var frmAction = "/web/user/mediation/${siteIdx}/05/${siteMenuIdx}/updateAjax04_3.do";
|
||||
@ -1286,6 +1307,11 @@
|
||||
if(response.sts == "success"){
|
||||
if(div == "tmp"){
|
||||
alert("임시저장 되었습니다.");
|
||||
//저장 후 이노릭스 파일 정보 초기화 - 임시저장 후 다음단계 이동 시 중복 등록 방지
|
||||
$("#innorixFileListVO").val("");
|
||||
//임시 저장 후 신천 경로
|
||||
$("#reaseonYn").val("Y");
|
||||
controlChg = "N";
|
||||
}
|
||||
else{
|
||||
$("#applyForm").submit();
|
||||
@ -1658,6 +1684,8 @@
|
||||
<input type="hidden" id="existDataCnt" name="existDataCnt" value="${fn:length(respondentData)}">
|
||||
<input type="hidden" id="existDataCnt2" name="existDataCnt2" value="${fn:length(applcntData)}">
|
||||
<input type="hidden" id="presidentAssign" name="presidentAssign" value=""/>
|
||||
<input type="hidden" id="reaseonCnt" name="reaseonCnt" value="${fn:length(selectReason)}">
|
||||
<input type="hidden" id="reaseonYn" name="reaseonYn" value="N">
|
||||
|
||||
|
||||
<!-- page_location -->
|
||||
@ -1912,9 +1940,10 @@
|
||||
<div id="fileControl" class="w100per dragdrop_wrap"></div>
|
||||
<input type="button" value="파일선택" class="btn btn_text btn_36 blue_border temp-file-button" onclick="control.openFileDialogSingle();"/>
|
||||
<input type="hidden" id="fileFuncType" name="fileFuncType" value="mediation" />
|
||||
<input type="hidden" name="innorixFileListVO" value="" />
|
||||
<input type="hidden" id="innorixFileListVO" name="innorixFileListVO" value="" />
|
||||
<input type="hidden" id="copyContractYn" name="copyContractYn" value="N" />
|
||||
<input type="hidden" id="fileGubun" name="fileGubun" value="4801000000" />
|
||||
<input type="hidden" name="deleteFileData" value="" id="deleteFileDataId" />
|
||||
<%-- <div class="file_upload_wrap">
|
||||
<div class="file_button">
|
||||
<input type="file" id="file" class="input_file">
|
||||
|
||||
@ -894,21 +894,8 @@ document.addEventListener('DOMContentLoaded', function() {
|
||||
|
||||
function tempAppBtn_step(div){
|
||||
|
||||
//해외체크시 기타로 입력 start
|
||||
//피신청인
|
||||
var resListJuso = $(".resZip");
|
||||
for(var i = 0; i < resListJuso.length; i++){
|
||||
if($("#res_foreignCountry-"+(i+1)).is(":checked") == true){
|
||||
$("input:text[name=resZip_"+(i+1)+"]").val("기타");
|
||||
$("input:text[name=resAddr1_"+(i+1)+"]").val("기타");
|
||||
$("input:text[name=resAddr2_"+(i+1)+"]").val("기타");
|
||||
$("input:text[name=resRoadAddr1_"+(i+1)+"]").val("기타");
|
||||
$("input:text[name=resRoadAddr2_"+(i+1)+"]").val("기타");
|
||||
}
|
||||
}
|
||||
//해외체크시 기타로 입력 end
|
||||
$("#requestCheck").val('1601000000');
|
||||
var frmAction = "/web/user/mediation/${siteIdx}/05/${siteMenuIdx}/updateAjax.do";
|
||||
var frmAction = "/web/user/mediation/${siteIdx}/05/${siteMenuIdx}/updateAjax04_4.do";
|
||||
|
||||
$.ajax({
|
||||
url: frmAction,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user