이지우 - 사용자 마이페이지 / 관리자 배정 처리상세에 사건권한 승인요청 기능 개발 완료

This commit is contained in:
JIWOO 2024-12-04 16:03:46 +09:00
parent 4b428efd7f
commit e30577738b
14 changed files with 619 additions and 608 deletions

View File

@ -299,6 +299,10 @@ public class BaseController {
params.put("sql", pageFolder+".selectCaseTrublResult");
params.put("selectCaseTrublResult", JSPUtil.fixNull(bservice.list(params)));
}
//사건 승인권한 조회
params.put("sql", pageFolder+".selectCaseAuth");
params.put("selectCaseAuthData", JSPUtil.fixNull(bservice.list(params)));
}

View File

@ -1,5 +1,6 @@
package seed.com.gtm.cases;
import java.util.HashMap;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
@ -8,6 +9,8 @@ import javax.servlet.http.HttpSession;
import org.apache.ibatis.logging.Log;
import org.apache.ibatis.logging.LogFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
@ -19,6 +22,8 @@ import seed.com.gtm.seedfile.SeedFileService;
import seed.com.gtm.service.BaseService;
import seed.com.gtm.util.JSONView;
import seed.com.gtm.util.JSPUtil;
import seed.com.user.mypage.CaseAuthService;
import seed.com.user.mypage.CaseAuthVO;
@Controller
@ -34,6 +39,9 @@ public class CaseController {
@Autowired
private SeedFileService fileService;
@Autowired
private CaseAuthService caseAuthService;
/**
* 접수 -> 사건 이관
* @param request
@ -95,4 +103,27 @@ public class CaseController {
return new ModelAndView("redirect:/uat/uia/EgovLoginUsr.do");
}
/**
* 사용자 사건권한 승인 변경 처리
* @param request
* @param session
* @param map
* @return
* @throws Exception
*/
@RequestMapping(value="/gtm/case/updateCaseAuthAjax.do")
public ResponseEntity<?> updateCaseAuthAjax(HttpServletRequest request, HttpSession session, CaseAuthVO caseAuthVO) throws Exception{
Map<String, String> returnData = new HashMap<String, String>();
try {
caseAuthService.updateCaseAuth(caseAuthVO);
returnData.put("result", "success");
returnData.put("msg", "변경되었습니다.");
}catch(Exception e) {
returnData.put("result", "faile");
returnData.put("msg", "실패하였습니다.");
}
return new ResponseEntity<>(returnData, HttpStatus.OK);
}
}

View File

@ -23,7 +23,11 @@ import org.springframework.web.servlet.ModelAndView;
import com.ibm.icu.text.SimpleDateFormat;
import kcc.let.uat.uia.service.CertService;
import kcc.let.uat.uia.service.CertVO;
import seed.com.gtm.seedfile.SeedFileService;
import seed.com.user.mypage.CaseAuthService;
import seed.com.user.mypage.CaseAuthVO;
import seed.com.user.mypage.MyPageService;
import seed.common.service.InnorixFileService;
import seed.manager.group.service.ManagerGroupService;
@ -71,6 +75,12 @@ public class WebMediationController {
@Autowired
private SeedFileService fileService;
@Autowired
private CaseAuthService caseAuthService;
@Autowired
private CertService certService;
@Value("#{config['member.merge']}")
private String memberMerge;
@ -2889,6 +2899,7 @@ public class WebMediationController {
map.put("rceptNo", paramMap.get("rceptNo"));
map.put("applcntCompany", paramMap.get("applcntCompany"));
map.put("hpCi1", session.getAttribute("hpCi1"));
paramMap.put("hpName", session.getAttribute("certNm"));
//접수마스터 INSERT
service.rceptmstInsert(paramMap);
@ -2936,6 +2947,22 @@ public class WebMediationController {
service.rceInsert(paramMap);
paramMap.put("sts", "success");
//접수 처리 사건권한 테이블 insert
CaseAuthVO caseAuthVO = new CaseAuthVO();
//rceptNo구하기
caseAuthVO.setRceptNo(SeedUtils.setReplaceNull(paramMap.get("rceptNo")));
//certId 구하기
CertVO certVO = certService.selectCert(FairnetUtils.getCertSession(request));
caseAuthVO.setCertId(certVO.getCertId());
//등록자 승인 완료 설정
caseAuthVO.setCaseAuthType("REG");
caseAuthVO.setCaseAuthYn("Y");
caseAuthService.insertCaseAuth(caseAuthVO);
}catch (Exception e) {
log.error("CHECK ERROR:",e);
paramMap.put("sts", "fail");

View File

@ -7,4 +7,6 @@ public interface CaseAuthService {
public List<CaseAuthVO> selectCaseAuthList(CaseAuthVO caseAuthVO) throws Exception;
public void insertCaseAuth(CaseAuthVO caseAuthVO) throws Exception;
public CaseAuthVO selectRceptNo(CaseAuthVO caseAuthVO) throws Exception;
public CaseAuthVO selectCaseAuthExist(CaseAuthVO caseAuthVO) throws Exception;
public void updateCaseAuth(CaseAuthVO caseAuthVO) throws Exception;
}

View File

@ -461,6 +461,15 @@ private Logger log = Logger.getLogger(this.getClass());
ex.printStackTrace();
}
//사건권한 설정
try {
CertVO certVO = certService.selectCert(FairnetUtils.getCertSession(req));
paramMap.put("certName", certVO.getName());
paramMap.put("certPhone", certVO.getPhone());
}catch(Exception ex) {
ex.printStackTrace();
}
//페이지용 추가 2
try {
PageMaker pageMaker = new PageMaker();
@ -634,6 +643,23 @@ private Logger log = Logger.getLogger(this.getClass());
map.put("selectSubcntrsttus", service.selectSubcntrsttus(paramMap));//하도급대급 내역 리스
map.put("selectSubcntrsttusTot", service.selectSubcntrsttusTot(paramMap));//하도급 소계 그룹바이
map.put("caseFileList", fileService.caseFileList(paramMap));//파일 리스트
map.put("mediType", paramMap.get("mediType"));//구분
//사건권한 조회하기
try {
CertVO certVO = certService.selectCert(FairnetUtils.getCertSession(req));
if(certVO != null) {
CaseAuthVO caseAuthVO = new CaseAuthVO();
caseAuthVO.setCertId(certVO.getCertId());
caseAuthVO.setRceptNo(SeedUtils.setReplaceNull(paramMap.get("rceptNo")));
caseAuthVO = caseAuthService.selectCaseAuthExist(caseAuthVO);
map.put("caseAuthVO", caseAuthVO);//구분
}
}catch(Exception e) {
e.printStackTrace();
}
return new ModelAndView("/_extra/web/user/myPage/myMediationView");
}
@ -1063,11 +1089,11 @@ private Logger log = Logger.getLogger(this.getClass());
List<Map<String,Object>> applCnt = mediationService.selectCaseApplcnt(paramMap);
List<Map<String,Object>> respondentCnt = mediationService.selectCaseRespondent(paramMap);
if((applCnt == null || applCnt.size() == 0) && (respondentCnt == null || respondentCnt.size() == 0)){
/*if((applCnt == null || applCnt.size() == 0) && (respondentCnt == null || respondentCnt.size() == 0)){
result.put("stauts", "fail");
result.put("msg", "해당 조정 사건이 존재하지 않습니다.");
return new ResponseEntity<>(result, HttpStatus.OK);
}
}*/
String caseAuthType = "";
@ -1092,12 +1118,12 @@ private Logger log = Logger.getLogger(this.getClass());
}
}
if(status == false) {
/*if(status == false) {
result.put("status", "fail");
result.put("msg", "비밀번호가 일치 하지 않습니다.");
return new ResponseEntity<>(result, HttpStatus.OK);
}
}*/
try {
CaseAuthVO caseAuthVO = new CaseAuthVO();
@ -1128,6 +1154,34 @@ private Logger log = Logger.getLogger(this.getClass());
return new ResponseEntity<>(result, HttpStatus.OK);
}
@RequestMapping("/web/user/mypage/{siteIdx}/01/{siteMenuIdx}/delReq.do")
public ModelAndView delReq(ModelMap map, HttpServletRequest request, HttpSession session,@RequestParam Map<String,Object> paramMap,
@PathVariable(value="siteIdx") String siteIdx,
@PathVariable(value="siteMenuIdx") Integer siteMenuIdx){
if(SeedUtils.setReplaceNull(session.getAttribute("certName")).equals("")){
map.put("siteIdx", "case");
map.put("url", "/web/user/mypage/case/01/168/myCheck.do");
map.put("message", "common.message.my.check");
map.put("opener", "");
map.put("append", "");
map.put("self", "");
return new ModelAndView("/_common/jsp/umessage");
}
service.delReq(paramMap);
map.put("siteIdx", "case");
map.put("url", "/user/mypage/case/01/169/myMediationList.do");
map.put("message", "user.message.mod");
map.put("opener", "");
map.put("append", "");
map.put("self", "");
return new ModelAndView("/_common/jsp/umessage");
}
private Boolean ciCheck(ModelMap map, HttpSession session) {
String certNm = SeedUtils.setReplaceNull(session.getAttribute("certNm"));
String certHpNo = SeedUtils.setReplaceNull(session.getAttribute("certHpNo"));

View File

@ -19,4 +19,10 @@ public class CaseAuthDAO extends EgovAbstractDAO {
public CaseAuthVO selectRceptNo(CaseAuthVO caseAuthVO) throws Exception{
return (CaseAuthVO) select("caseAuthDAO.selectRceptNo", caseAuthVO);
}
public CaseAuthVO selectCaseAuthExist(CaseAuthVO caseAuthVO) throws Exception{
return (CaseAuthVO) select("caseAuthDAO.selectCaseAuthExist", caseAuthVO);
}
public void updateCaseAuth(CaseAuthVO caseAuthVO) throws Exception {
update("caseAuthDAO.updateCaseAuth", caseAuthVO);
}
}

View File

@ -34,5 +34,13 @@ public class CaseAuthServiceImpl extends EgovAbstractServiceImpl implements Case
public CaseAuthVO selectRceptNo(CaseAuthVO caseAuthVO) throws Exception{
return caseAuthDAO.selectRceptNo(caseAuthVO);
}
@Override
public CaseAuthVO selectCaseAuthExist(CaseAuthVO caseAuthVO) throws Exception{
return caseAuthDAO.selectCaseAuthExist(caseAuthVO);
}
@Override
public void updateCaseAuth(CaseAuthVO caseAuthVO) throws Exception {
caseAuthDAO.updateCaseAuth(caseAuthVO);
}
}

View File

@ -61,13 +61,18 @@
)AS RES_CNT,
REQUEST_CHECK
FROM C_RCEPTMST CR
WHERE 1=1
<choose>
<when test="hpDi == null">AND APPLCNT_DI IS NULL</when>
<otherwise>AND APPLCNT_DI = #{hpDi}</otherwise>
</choose>
WHERE ( RCEPT_NO IN (
SELECT UCA.RCEPT_NO
FROM UNP_CASE_AUTH UCA
JOIN UNP_CERT UC
ON UCA.CERT_ID = UC.CERT_ID
WHERE UCA.RCEPT_NO = RCEPT_NO
AND UC.CERT_NAME = #{certName}
AND UC.CERT_PHONE = #{certPhone}
AND UCA.CASE_AUTH_YN = 'Y'
)
<if test="hpDi != null"> OR APPLCNT_DI = #{hpDi}</if>
)
AND DEL_GUBUN = 'N'
<choose>
<when test="command == 'temp'">AND REQUEST_CHECK = '1601000000'</when>
@ -83,14 +88,19 @@
/* mypage.selectCnt */
SELECT COUNT(*)
FROM C_RCEPTMST
WHERE 1=1
<choose>
<when test="hpDi == null">AND APPLCNT_DI IS NULL</when>
<otherwise>AND APPLCNT_DI = #{hpDi}</otherwise>
</choose>
WHERE (
RCEPT_NO IN (
SELECT UCA.RCEPT_NO
FROM UNP_CASE_AUTH UCA
JOIN UNP_CERT UC
ON UCA.CERT_ID = UC.CERT_ID
WHERE UCA.RCEPT_NO = RCEPT_NO
AND UC.CERT_NAME = #{certName}
AND UC.CERT_PHONE = #{certPhone}
AND UCA.CASE_AUTH_YN = 'Y'
)
<if test="hpDi != null"> OR APPLCNT_DI = #{hpDi}</if>
)
AND DEL_GUBUN = 'N'
<choose>
<when test="command == 'temp'">AND REQUEST_CHECK = '1601000000'</when>
@ -121,7 +131,9 @@
CASE_REASON1,
CASE_REASON2,
CASE_REASON3,
CONSIGNMENT_GUBUN
(SELECT CODE_NAME FROM C_CODE WHERE CODE_IDXS = CR.CONSIGNMENT_GUBUN) AS CONSIGNMENT_GUBUN_NAME,
CONSIGNMENT_GUBUN,
DEL_GUBUN
FROM C_RCEPTMST CR
WHERE RCEPT_NO = #{rceptNo}
</select>

View File

@ -2202,4 +2202,28 @@
SET REPORT_PAYMENT_DT = REPLACE(#{reportPaymentDt},'-','')
WHERE CASE_NO = #{caseNo}
</update>
<!--사건 승인권한 조회 -->
<select id="selectCaseAuth" parameterType="egovMap" resultType="egovMap">
SELECT UCA.CASE_AUTH_ID,
UCA.RCEPT_NO,
UCA.CERT_ID,
UCA.CASE_AUTH_TYPE,
CASE
WHEN UCA.CASE_AUTH_TYPE = 'REG' THEN '등록인'
WHEN UCA.CASE_AUTH_TYPE = 'APP' THEN '신청인'
WHEN UCA.CASE_AUTH_TYPE = 'RES' THEN '피신청인'
ELSE ''
END AS CASE_AUTH_TYPE_NAME,
UCA.CASE_AUTH_YN,
UCA.FRST_REGIST_PNTTM,
UCA.LAST_UPDT_PNTTM,
UC.CERT_NAME,
UC.CERT_PHONE
FROM UNP_CASE_AUTH UCA
LEFT JOIN UNP_CERT UC
ON UCA.CERT_ID = UC.CERT_ID
WHERE RCEPT_NO = #{rceptNo}
ORDER BY CASE_AUTH_ID
</select>
</mapper>

View File

@ -68,4 +68,34 @@
</select>
<select id="caseAuthDAO.selectCaseAuthExist" parameterClass="caseAuthVO" resultClass="caseAuthVO">
SELECT
A.CASE_AUTH_ID as caseAuthId,
A.RCEPT_NO as rceptNo,
A.CERT_ID as certId,
A.CASE_AUTH_TYPE as caseAuthType,
A.CASE_AUTH_YN as caseAuthYn,
A.FRST_REGIST_PNTTM as frstRegistPnttm,
A.LAST_UPDT_PNTTM as lastUpdtPnttm
FROM
UNP_CASE_AUTH A
WHERE
A.CERT_ID = #certId#
AND
A.RCEPT_NO = #rceptNo#
</select>
<update id="caseAuthDAO.updateCaseAuth" parameterClass="caseAuthVO">
UPDATE
UNP_CASE_AUTH
SET
CASE_AUTH_YN = #caseAuthYn#,
LAST_UPDT_PNTTM = SYSDATE
WHERE
CASE_AUTH_ID = #caseAuthId#
</update>
</sqlMap>

View File

@ -65,7 +65,7 @@
<div class="tab_contents active">
<div class="table_top">
<p class="list_total_number">전체 <span class="color_blue">3</span>건 (<span class="color_blue">1</span>/1페이지)</p>
<p class="list_total_number">전체 <span class="color_blue"><c:out value='${pageMaker.totalCount}'/></span>건 (<span class="color_blue">1</span>/1페이지)</p>
<button type="button" class="btn btn_text btn_35 orange_border" onclick="mediationPop();">사건조회</button>
</div>
@ -132,44 +132,6 @@
</div>
<div class="tab_contents">
<div class="table_top">
<p class="list_total_number">전체 <span class="color_blue">3</span>건 (<span class="color_blue">1</span>/1페이지)</p>
</div>
<div class="table_type_cols">
<table>
<colgroup>
<col style="width:120px;">
<col style="width:auto;">
<col style="width:20%;">
<col style="width:20%;">
<col style="width:20%;">
</colgroup>
<thead>
<tr>
<th>번호</th>
<th>신청인</th>
<th>조정유형</th>
<th>보관일</th>
<th>수정</th>
</tr>
</thead>
<tbody>
<tr>
<td class="table_number">3</td>
<td class="td_person"><i class="icon hide td_icon td_person"></i>홍길동</td>
<td class="td_type"><i class="icon hide td_icon td_type"></i>공정거래</td>
<td class="td_hide">2024-08-20</td>
<td class="td_title"><button type="button" class="btn btn btn_35 darkblue_border btn_edit">수정하기</button></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>

View File

@ -67,7 +67,7 @@
<div class="tab_contents active">
<div class="table_top">
<p class="list_total_number">전체 <span class="color_blue">3</span>건 (<span class="color_blue">1</span>/1페이지)</p>
<p class="list_total_number">전체 <span class="color_blue"><c:out value='${pageMaker.totalCount}'/></span>건 (<span class="color_blue">1</span>/1페이지)</p>
<button type="button" class="btn btn_text btn_35 orange_border">사건조회</button>
</div>
@ -130,7 +130,7 @@
<div class="tab_contents">
<div class="table_top">
<p class="list_total_number">전체 <span class="color_blue">3</span>건 (<span class="color_blue">1</span>/1페이지)</p>
<p class="list_total_number">전체 <span class="color_blue"><c:out value='${pageMaker.totalCount}'/></span>/span>건 (<span class="color_blue">1</span>/1페이지)</p>
</div>
<div class="table_type_cols">

View File

@ -83,12 +83,14 @@
</td>
</tr>
<c:if test="${not empty recptmsData.CONSIGNMENT_GUBUN_NAME }">
<tr>
<th>
<p class="required_text">*<span>필수입력</span></p>하도급 위탁유형
</th>
<td>건설</td>
<td><c:out value='${recptmsData.CONSIGNMENT_GUBUN_NAME }'/></td>
</tr>
</c:if>
</tbody>
</table>
</div>
@ -97,12 +99,12 @@
<div class="table_top title">
<b class="title blue_border orange_border">신청인 기입사항</b>
</div>
<ul class="apl_list">
<c:forEach items="${applcntData}" var="appData" varStatus="sts">
<li>
<div class="apl_title">
<button type="button" class="btn_apl_slide" onclick="aplSlide(this);">
신청인1 <i class="icon slide up"></i>
신청인${sts.index +1} <i class="icon slide up"></i>
</button>
</div>
<div class="table_type_rows">
@ -170,148 +172,7 @@
</table>
</div>
</li>
<li>
<div class="apl_title">
<button type="button" class="btn_apl_slide" onclick="aplSlide(this);">
신청인2 <i class="icon slide up"></i>
</button>
</div>
<div class="table_type_rows">
<table>
<colgroup>
<col style="width:200px;">
<col style="width:auto;">
<col style="width:200px;">
<col style="width:auto;">
</colgroup>
<tbody>
<tr>
<th>
<p class="required_text">*<span>필수입력</span></p>상호
</th>
<td>(주)김상호</td>
<th>
<p class="required_text">*<span>필수입력</span></p>대표자
</th>
<td>김상호</td>
</tr>
<tr>
<th>
<p class="required_text">*<span>필수입력</span></p>개인/법인
</th>
<td colspan="3">개인</td>
</tr>
<tr>
<th>
<p class="required_text">*<span>필수입력</span></p>우편번호
</th>
<td colspan="3">12345</td>
</tr>
<tr>
<th>
<p class="required_text">*<span>필수입력</span></p>도로명 주소
</th>
<td colspan="3">경기도 남양주시 다산순환로 20 111호</td>
</tr>
<tr>
<th>
<p class="required_text">*<span>필수입력</span></p>이메일
</th>
<td colspan="3">abc@abc.com</td>
</tr>
<tr>
<th>
<p class="required_text">*<span>필수입력</span></p>휴대폰
</th>
<td>010-1234-5678</td>
<th>FAX</th>
<td>-</td>
</tr>
<tr>
<th>
<p class="required_text">*<span>필수입력</span></p>사업자 등록번호<br>('-' 제외)
</th>
<td>6138165278</td>
<th>법인등록번호<br>('-' 제외)</th>
<td>-</td>
</tr>
</tbody>
</table>
</div>
</li>
<li>
<div class="apl_title">
<button type="button" class="btn_apl_slide" onclick="aplSlide(this);">
신청인3 <i class="icon slide up"></i>
</button>
</div>
<div class="table_type_rows">
<table>
<colgroup>
<col style="width:200px;">
<col style="width:auto;">
<col style="width:200px;">
<col style="width:auto;">
</colgroup>
<tbody>
<tr>
<th>
<p class="required_text">*<span>필수입력</span></p>상호
</th>
<td>(주)김상호</td>
<th>
<p class="required_text">*<span>필수입력</span></p>대표자
</th>
<td>김상호</td>
</tr>
<tr>
<th>
<p class="required_text">*<span>필수입력</span></p>개인/법인
</th>
<td colspan="3">개인</td>
</tr>
<tr>
<th>
<p class="required_text">*<span>필수입력</span></p>우편번호
</th>
<td colspan="3">12345</td>
</tr>
<tr>
<th>
<p class="required_text">*<span>필수입력</span></p>도로명 주소
</th>
<td colspan="3">경기도 남양주시 다산순환로 20 111호</td>
</tr>
<tr>
<th>
<p class="required_text">*<span>필수입력</span></p>이메일
</th>
<td colspan="3">abc@abc.com</td>
</tr>
<tr>
<th>
<p class="required_text">*<span>필수입력</span></p>휴대폰
</th>
<td>010-1234-5678</td>
<th>FAX</th>
<td>-</td>
</tr>
<tr>
<th>
<p class="required_text">*<span>필수입력</span></p>사업자 등록번호<br>('-' 제외)
</th>
<td>6138165278</td>
<th>법인등록번호<br>('-' 제외)</th>
<td>-</td>
</tr>
</tbody>
</table>
</div>
</li>
</c:forEach>
</ul>
<!-- //신청인 기입사항 -->
@ -321,10 +182,11 @@
</div>
<ul class="apl_list">
<c:forEach items="${respondentData}" var="data" varStatus="status">
<li>
<div class="apl_title">
<button type="button" class="btn_apl_slide" onclick="aplSlide(this);">
피신청인1 <i class="icon slide up"></i>
피신청인${status.index+1} <i class="icon slide up"></i>
</button>
</div>
<div class="table_type_rows">
@ -340,200 +202,53 @@
<th>
<p class="required_text">*<span>필수입력</span></p>상호
</th>
<td>(주)김상호</td>
<td><c:out value='${data.RESPONDENT_COMPANY}'/></td>
<th>
<p class="required_text">*<span>필수입력</span></p>대표자
</th>
<td>김상호</td>
<td><c:out value='${data.RESPONDENT_CEO}'/></td>
</tr>
<tr>
<th>
<p class="required_text">*<span>필수입력</span></p>개인/법인
</th>
<td colspan="3">개인</td>
<td colspan="3"><c:out value='${data.RESPONDENT_GUBUN_NAME}'/></td>
</tr>
<tr>
<th>
<p class="required_text">*<span>필수입력</span></p>우편번호
</th>
<td colspan="3">12345</td>
<td colspan="3"><c:out value='${data.ZIP}'/></td>
</tr>
<tr>
<th>
<p class="required_text">*<span>필수입력</span></p>도로명 주소
</th>
<td colspan="3">경기도 남양주시 다산순환로 20 111호</td>
</tr>
<tr>
<th>
<p class="required_text">*<span>필수입력</span></p>이메일
</th>
<td colspan="3">abc@abc.com</td>
<td colspan="3"><c:out value='${data.ROAD_ADDR1}'/> <c:out value='${data.ROAD_ADDR2}'/></td>
</tr>
<tr>
<th>
<p class="required_text">*<span>필수입력</span></p>휴대폰
</th>
<td>010-1234-5678</td>
<td><c:out value='${data.TEL}'/></td>
<th>FAX</th>
<td>-</td>
<td><c:out value='${data.FAX}'/></td>
</tr>
<tr>
<th>
<p class="required_text">*<span>필수입력</span></p>사업자 등록번호<br>('-' 제외)
</th>
<td>6138165278</td>
<td><c:out value='${data.BIZR_NO}'/></td>
<th>법인등록번호<br>('-' 제외)</th>
<td>-</td>
</tr>
</tbody>
</table>
</div>
</li>
<li>
<div class="apl_title">
<button type="button" class="btn_apl_slide" onclick="aplSlide(this);">
피신청인2 <i class="icon slide up"></i>
</button>
</div>
<div class="table_type_rows">
<table>
<colgroup>
<col style="width:200px;">
<col style="width:auto;">
<col style="width:200px;">
<col style="width:auto;">
</colgroup>
<tbody>
<tr>
<th>
<p class="required_text">*<span>필수입력</span></p>상호
</th>
<td>(주)김상호</td>
<th>
<p class="required_text">*<span>필수입력</span></p>대표자
</th>
<td>김상호</td>
</tr>
<tr>
<th>
<p class="required_text">*<span>필수입력</span></p>개인/법인
</th>
<td colspan="3">개인</td>
</tr>
<tr>
<th>
<p class="required_text">*<span>필수입력</span></p>우편번호
</th>
<td colspan="3">12345</td>
</tr>
<tr>
<th>
<p class="required_text">*<span>필수입력</span></p>도로명 주소
</th>
<td colspan="3">경기도 남양주시 다산순환로 20 111호</td>
</tr>
<tr>
<th>
<p class="required_text">*<span>필수입력</span></p>이메일
</th>
<td colspan="3">abc@abc.com</td>
</tr>
<tr>
<th>
<p class="required_text">*<span>필수입력</span></p>휴대폰
</th>
<td>010-1234-5678</td>
<th>FAX</th>
<td>-</td>
</tr>
<tr>
<th>
<p class="required_text">*<span>필수입력</span></p>사업자 등록번호<br>('-' 제외)
</th>
<td>6138165278</td>
<th>법인등록번호<br>('-' 제외)</th>
<td>-</td>
</tr>
</tbody>
</table>
</div>
</li>
<li>
<div class="apl_title">
<button type="button" class="btn_apl_slide" onclick="aplSlide(this);">
피신청인3 <i class="icon slide up"></i>
</button>
</div>
<div class="table_type_rows">
<table>
<colgroup>
<col style="width:200px;">
<col style="width:auto;">
<col style="width:200px;">
<col style="width:auto;">
</colgroup>
<tbody>
<tr>
<th>
<p class="required_text">*<span>필수입력</span></p>상호
</th>
<td>(주)김상호</td>
<th>
<p class="required_text">*<span>필수입력</span></p>대표자
</th>
<td>김상호</td>
</tr>
<tr>
<th>
<p class="required_text">*<span>필수입력</span></p>개인/법인
</th>
<td colspan="3">개인</td>
</tr>
<tr>
<th>
<p class="required_text">*<span>필수입력</span></p>우편번호
</th>
<td colspan="3">12345</td>
</tr>
<tr>
<th>
<p class="required_text">*<span>필수입력</span></p>도로명 주소
</th>
<td colspan="3">경기도 남양주시 다산순환로 20 111호</td>
</tr>
<tr>
<th>
<p class="required_text">*<span>필수입력</span></p>이메일
</th>
<td colspan="3">abc@abc.com</td>
</tr>
<tr>
<th>
<p class="required_text">*<span>필수입력</span></p>휴대폰
</th>
<td>010-1234-5678</td>
<th>FAX</th>
<td>-</td>
</tr>
<tr>
<th>
<p class="required_text">*<span>필수입력</span></p>사업자 등록번호<br>('-' 제외)
</th>
<td>6138165278</td>
<th>법인등록번호<br>('-' 제외)</th>
<td>-</td>
<td><c:out value='${data.CPR_NO}'/></td>
</tr>
</tbody>
</table>
</div>
</li>
</c:forEach>
</ul>
<!-- //피신청인 기입사항 -->
@ -557,27 +272,27 @@
<tbody>
<tr>
<th>상호</th>
<td>-</td>
<td><c:out value='${appagentData.AGENT_COMPANY}'/></td>
<th>대표자</th>
<td>-</td>
<td><c:out value='${appagentData.AGENT_CEO}'/></td>
</tr>
<tr>
<th>전화번호</th>
<td>-</td>
<td><c:out value='${appagentData.AGENT_TEL}'/></td>
<th>휴대폰</th>
<td>-</td>
<td><c:out value='${appagentData.AGENT_HP}'/></td>
</tr>
<tr>
<th>이메일</th>
<td colspan="3"></td>
<td colspan="3"><c:out value='${appagentData.AGENT_EMAIL}'/></td>
</tr>
<tr>
<th>우편번호</th>
<td colspan="3"></td>
<td colspan="3"><c:out value='${appagentData.ZIP}'/></td>
</tr>
<tr>
<th>도로명주소</th>
<td colspan="3"></td>
<td colspan="3"><c:out value='${appagentData.ROAD_ADDR1}'/> <c:out value='${appagentData.ROAD_ADDR2}'/></td>
</tr>
</tbody>
@ -598,15 +313,15 @@
<tbody>
<tr>
<th>자본금</th>
<td>-</td>
<td><fmt:formatNumber><c:out value='${selectRceptsttus.CAPITAL}'/></fmt:formatNumber></td>
<th>자산총액</th>
<td>-</td>
<td><fmt:formatNumber><c:out value='${selectRceptsttus.TOTAL_ASSETS}'/></fmt:formatNumber></td>
</tr>
<tr>
<th>총매출액</th>
<td>-</td>
<td><fmt:formatNumber><c:out value='${selectRceptsttus.TOTAL_SALES}'/></fmt:formatNumber></td>
<th>영업이익</th>
<td>-</td>
<td><fmt:formatNumber><c:out value='${selectRceptsttus.BUSINESS_PROFITS}'/></fmt:formatNumber></td>
</tr>
</tbody>
</table>
@ -626,15 +341,23 @@
<tbody>
<tr>
<th>최초 계약일</th>
<td>2024-03-25</td>
<td><c:out value='${selectRceptsttus.FIRST_CONTRACT_DT}'/></td>
<th>계약기간</th>
<td>2024-03-25 ~ 2024-10-25</td>
<td>
${fn:substring(selectRceptsttus.START_CONTRACT, 0, 4)}-${fn:substring(selectRceptsttus.START_CONTRACT, 4, 6)}-${fn:substring(selectRceptsttus.START_CONTRACT, 6, 8)}
~
${fn:substring(selectRceptsttus.END_CONTRACT, 0, 4)}-${fn:substring(selectRceptsttus.END_CONTRACT, 4, 6)}-${fn:substring(selectRceptsttus.END_CONTRACT, 6, 8)}
</td>
</tr>
<tr>
<th>계약서 사본</th>
<td colspan="3">
<ul class="view_file_list border_0">
<li><a href="#" download="download"><i class="icon file clip blue"></i>계약서_20240325.pdf</a></li>
<c:forEach items="${caseFileList}" var="file" varStatus="status">
<c:if test="${file.COPY_CONTRACT_YN == 'Y' }">
<li><a href="/seed/extra/down/file.do?dataIdx=${file.SEQ_NO}&funcType=${file.FILE_FUNC}&pathKey1=${siteIdx}" download="download"><i class="icon file clip blue"></i>${file.FILE_NAME}</a></li>
</c:if>
</c:forEach>
</ul>
</td>
</tr>
@ -658,31 +381,31 @@
<tbody>
<tr>
<th>성함</th>
<td>-</td>
<td><c:out value='${selectRceptsttus.PERSON_CHARGE}'/></td>
<th>FAX</th>
<td>-</td>
<td><c:out value='${selectRceptsttus.CONTACT_FAX}'/></td>
</tr>
<tr>
<th>전화번호</th>
<td>-</td>
<td><c:out value='${selectRceptsttus.CONTACT_TEL}'/></td>
<th>휴대폰</th>
<td>-</td>
<td><c:out value='${selectRceptsttus.CONTACT_HP}'/></td>
</tr>
<tr>
<th>부서/직위</th>
<td colspan="3">-</td>
<td colspan="3"><c:out value='${selectRceptsttus.CONTACT_OFCPS}'/></td>
</tr>
<tr>
<th>이메일</th>
<td colspan="3">-</td>
<td colspan="3"><c:out value='${selectRceptsttus.CONTACT_EMAIL}'/></td>
</tr>
<tr>
<th>우편번호</th>
<td colspan="3">-</td>
<td colspan="3"><c:out value='${selectRceptsttus.ZIP}'/></td>
</tr>
<tr>
<th>도로명 주소</th>
<td colspan="3"></td>
<td colspan="3"><c:out value='${selectRceptsttus.ROAD_ADDR1}'/> <c:out value='${selectRceptsttus.ROAD_ADDR2}'/></td>
</tr>
</tbody>
</table>
@ -698,8 +421,40 @@
1. 귀하는 ‘한국공정거래조정원’을 어떤 경로로 알게 되셨습니까?
</dt>
<dd class="request_check">
<p class="check_title">3) 기 타</p>
<p class="check_text">직접입력 : <span>거래처의 권유로 알게되었음</span></p>
<p class="check_title">
<c:choose>
<c:when test="${fn:substring(selectReason.RCEPT_NO,0,8) >= 20220207}">
<c:if test="${selectReason.APPLY_CHECK eq '1'}">대중매체 광고(라디오,신문 등)</c:if>
<c:if test="${selectReason.APPLY_CHECK eq '2'}">옥외광고(지하철, 옥외간판 등)</c:if>
<c:if test="${selectReason.APPLY_CHECK eq '3'}">SNS채널(유튜브, 네이버 블로그, 인스타그램 등)</c:if>
<c:if test="${selectReason.APPLY_CHECK eq '4'}">공정거래위원회</c:if>
<c:if test="${selectReason.APPLY_CHECK eq '5'}">기타(지인소개, 인터넷 검색 등) - <c:out value='${selectReason.APPLY_ETC}'/></c:if>
<c:if test="${selectReason.APPLY_CHECK eq '1_1'}">대중매체-광고라디오 광고</c:if>
<c:if test="${selectReason.APPLY_CHECK eq '1_2'}">대중매체-신문지면 광고</c:if>
<c:if test="${selectReason.APPLY_CHECK eq '1_3'}">대중매체-TV방송 광고</c:if>
<c:if test="${selectReason.APPLY_CHECK eq '2_1'}">옥외광고-지하철 스크린도어 광고</c:if>
<c:if test="${selectReason.APPLY_CHECK eq '2_2'}">옥외광고-버스 랩핑 광고</c:if>
<c:if test="${selectReason.APPLY_CHECK eq '2_3'}">옥외광고-옥외간판</c:if>
<c:if test="${selectReason.APPLY_CHECK eq '3_1'}">SNS채널-네이버 공식 블로그</c:if>
<c:if test="${selectReason.APPLY_CHECK eq '3_2'}">SNS채널-인스타그램·페이스북·트위터</c:if>
<c:if test="${selectReason.APPLY_CHECK eq '3_3'}">SNS채널-유튜브 (조정원TV)</c:if>
<c:if test="${selectReason.APPLY_CHECK eq '5_1'}">기타-지인소개</c:if>
<c:if test="${selectReason.APPLY_CHECK eq '5_2'}">기타-인터넷 검색</c:if>
<c:if test="${selectReason.APPLY_CHECK eq '5_3'}">기타</c:if>
</c:when>
<c:otherwise>
<c:if test="${selectReason.APPLY_CHECK eq '1'}">한국공정거래조정원 민원상담실</c:if>
<c:if test="${selectReason.APPLY_CHECK eq '2'}">공정거래위원회 고객지원담당관실</c:if>
<c:if test="${selectReason.APPLY_CHECK eq '3'}">인터넷 검색</c:if>
<c:if test="${selectReason.APPLY_CHECK eq '4'}">언론기사</c:if>
<c:if test="${selectReason.APPLY_CHECK eq '5'}">기타</c:if>
</c:otherwise>
</c:choose>
</p>
<c:if test="${selectReason.APPLY_CHECK eq '5_3'}">
<p class="check_text">직접입력 : <span><c:out value='${selectReason.APPLY_ETC}'/></span></p>
</c:if>
</dd>
</dl>
<!-- //신청 확인사항 -->
@ -710,30 +465,30 @@
<dl class="blue_row_dl confirm_check">
<dt>1. 소송이 진행중인가요?</dt>
<dd>
<p class="check_text">진행 : <span>의정부지방법원, 2024 가합 2035412</span></p>
<p class="check_text"><c:out value='${selectRceptsttus.LAWSUIT_CHECK_NAME}'/></span></p>
</dd>
<dt>2. 소송 내용이 조정신청 내용과 동일한가요?</dt>
<dd>
<p class="check_text">동일</p>
<p class="check_text"><c:out value="${selectRceptsttus.FTC_CORRECT_NAME}"/></p>
</dd>
<dt>3. 타 협의회 조정이 진행중인가요?</dt>
<dd>
<p class="check_text">진행 : <span>중소기업 기술분쟁조정위원회</span></p>
<p class="check_text"><c:out value='${selectRceptsttus.CONFERENCE_RESULT_NAME}'/></p>
</dd>
<dt>4. 중재가 진행중인가요?</dt>
<dd>
<p class="check_text">진행 : <span>중소기업 기술분쟁조정위원회</span></p>
<p class="check_text"><c:out value='${selectRceptsttus.ARBITRATION_CHECK_NAME}'/></p>
</dd>
<dt>5. 타 조정기구 조정이 진행중인가요?</dt>
<dd>
<p class="check_text">진행 : <span>중소기업 기술분쟁조정위원회</span></p>
<p class="check_text"><c:out value='${selectRceptsttus.REGULATING_ORGAN_NAME}'/></p>
</dd>
<dt>6. 공정거래위원회 조사가 진행중인가요?</dt>
<dd>
<p class="check_text">진행 : <span>기술유용조사과</span></p>
<p class="check_text"><c:out value='${selectRceptsttus.FTC_INVESTIGATION_NAME}'/></p>
</dd>
<dt>7. 당사자간 합의가 완료되어 조정조서 작성을 요청하는 사안인지 여부 </dt>
<dd>예</dd>
<dd><c:out value="${selectRceptsttus.PAR_AGREEMENT == 'Y' ? '' : '아니오'}"/></dd>
</dl>
<div class="table_type_rows">
@ -745,7 +500,15 @@
<tbody>
<tr>
<th>증빙자료 첨부</th>
<td></td>
<td>
<c:forEach items="${caseFileList}" var="file" varStatus="status">
<div>
<c:if test="${file.COPY_CONTRACT_YN == 'N' }">
<a href="/seed/extra/down/file.do?dataIdx=${file.SEQ_NO}&funcType=${file.FILE_FUNC}&pathKey1=${siteIdx}"><i class="icon file clip blue"></i>${file.FILE_NAME}</a>
</c:if>
</div>
</c:forEach>
</td>
</tr>
</tbody>
</table>
@ -753,7 +516,7 @@
<!-- //신청 확인사항 -->
<!-- //사건현황 -->
<c:if test="${mediType == '0203000000'}">
<!-- 협의회별 상세 현황 -->
<div class="table_top title">
<p class="title orange_border blue_border">협의회별 상세 현황</p>
@ -770,15 +533,15 @@
<tbody>
<tr>
<th>상시종업원수</th>
<td>2명</td>
<td><c:out value='${selectRceptsttus.SUBCNTR_NUM}'/>명</td>
<th>대/중소기업 구분</th>
<td>소기업</td>
<td><c:out value='${selectRceptsttus.SUBCNTR_GUBUN_NAME}'/></td>
</tr>
<tr>
<th>공사업등록여부</th>
<td>미등록</td>
<td><c:out value='${selectRceptsttus.SUBCNTR_CON_NAME}'/></td>
<th>시공능력 평가액</th>
<td>-</td>
<td><fmt:formatNumber><c:out value='${selectRceptsttus.SUBCNTR_AMOUNT}'/></fmt:formatNumber></td>
</tr>
</tbody>
</table>
@ -829,34 +592,59 @@
</tr>
</thead>
<tbody>
<c:forEach items="${selectSubcntrsttus}" var="data" varStatus="status">
<c:if test="${data.SUBCNTR_GUBUN == 'A'}">
<tr>
<td>가</td>
<td>20240823</td>
<td class="td_price">870,000,000</td>
<td>20240823</td>
<td class="td_price">870,000,000</td>
<td>20240823</td>
<td>20240823</td>
<td class="td_price">870,000,000</td>
<td class="td_price">2,000</td>
<td class="td_price">2,000</td>
<td>내용 없음</td>
<td><c:out value='${data.GUBUN_NAME}'/></td>
<td><c:out value='${data.SUBCNTR_DT}'/></td>
<td class="td_price"><fmt:formatNumber><c:out value='${data.SUBCNTR_AMOUNT}'/></fmt:formatNumber></td>
<td><c:out value='${data.CASH_DT}'/></td>
<td class="td_price"><fmt:formatNumber><c:out value='${data.CASH_AMOUNT}'/></fmt:formatNumber></td>
<td><c:out value='${data.BILL_PAYDAY}'/></td>
<td><c:out value='${data.BILL_LIMIT}'/></td>
<td class="td_price"><fmt:formatNumber><c:out value='${data.BILL_AMOUNT}'/></fmt:formatNumber></td>
<td class="td_price"><fmt:formatNumber><c:out value='${data.TOTAL_AMOUNT}'/></fmt:formatNumber></td>
<td class="td_price"><fmt:formatNumber><c:out value='${data.NON_PAYMENT}'/></fmt:formatNumber></td>
<td><c:out value='${data.NOTE}'/></td>
</tr>
<tr>
<td>소계:가</td>
<td>20240823</td>
<td class="td_price">870,000,000</td>
<td>20240823</td>
<td class="td_price">870,000,000</td>
<td>20240823</td>
<td>20240823</td>
<td class="td_price">870,000,000</td>
<td class="td_price">2,000</td>
<td class="td_price">2,000</td>
<td>내용 없음</td>
</c:if>
</c:forEach>
<c:forEach items="${selectSubcntrsttusTot}" var="data" varStatus="status">
<c:if test="${data.SUBCNTR_GUBUN == 'A'}">
<tr class="total_tr">
<c:choose>
<c:when test="${not empty data.GUBUN}">
<td>소계:<c:out value='${data.GUBUN_NAME}'/></td>
<td></td>
<td class="td_price"><fmt:formatNumber><c:out value='${data.SUBCNTR_AMOUNT}'/></fmt:formatNumber></td>
<td></td>
<td class="td_price"><fmt:formatNumber><c:out value='${data.CASH_AMOUNT}'/></fmt:formatNumber></td>
<td></td>
<td></td>
<td class="td_price"><fmt:formatNumber><c:out value='${data.BILL_AMOUNT}'/></fmt:formatNumber></td>
<td class="td_price"><fmt:formatNumber><c:out value='${data.TOTAL_AMOUNT}'/></fmt:formatNumber></td>
<td class="td_price"><fmt:formatNumber><c:out value='${data.NON_PAYMENT}'/></fmt:formatNumber></td>
<td></td>
</c:when>
<c:otherwise>
<td>계</td>
<td></td>
<td class="td_price"><fmt:formatNumber><c:out value='${data.SUBCNTR_AMOUNT}'/></fmt:formatNumber></td>
<td></td>
<td class="td_price"><fmt:formatNumber><c:out value='${data.CASH_AMOUNT}'/></fmt:formatNumber></td>
<td></td>
<td></td>
<td class="td_price"><fmt:formatNumber><c:out value='${data.BILL_AMOUNT}'/></fmt:formatNumber></td>
<td class="td_price"><fmt:formatNumber><c:out value='${data.TOTAL_AMOUNT}'/></fmt:formatNumber></td>
<td class="td_price"><fmt:formatNumber><c:out value='${data.NON_PAYMENT}'/></fmt:formatNumber></td>
<td></td>
</c:otherwise>
</c:choose>
</tr>
</c:if>
</c:forEach>
</tbody>
<tfoot>
<!-- <tfoot>
<tr class="total_tr">
<td>계</td>
<td></td>
@ -870,7 +658,7 @@
<td class="text_right"></td>
<td></td>
</tr>
</tfoot>
</tfoot> -->
</table>
</div>
@ -898,7 +686,7 @@
<thead>
<tr>
<th colspan="3">목적물인도(수)-기성청구서상</th>
<th colspan="7">도급대금수령</th>
<th colspan="7">도급대금수령(지급)</th>
<th rowspan="3">비고</th>
</tr>
<tr>
@ -919,34 +707,59 @@
</tr>
</thead>
<tbody>
<c:forEach items="${selectSubcntrsttus}" var="data" varStatus="status">
<c:if test="${data.SUBCNTR_GUBUN == 'R'}">
<tr>
<td>가</td>
<td>20240823</td>
<td class="td_price">870,000,000</td>
<td>20240823</td>
<td class="td_price">870,000,000</td>
<td>20240823</td>
<td>20240823</td>
<td class="td_price">870,000,000</td>
<td class="td_price">2,000</td>
<td class="td_price">2,000</td>
<td>내용 없음</td>
<td><c:out value='${data.GUBUN_NAME}'/></td>
<td><c:out value='${data.SUBCNTR_DT}'/></td>
<td class="td_price"><fmt:formatNumber><c:out value='${data.SUBCNTR_AMOUNT}'/></fmt:formatNumber></td>
<td><c:out value='${data.CASH_DT}'/></td>
<td class="td_price"><fmt:formatNumber><c:out value='${data.CASH_AMOUNT}'/></fmt:formatNumber></td>
<td><c:out value='${data.BILL_PAYDAY}'/></td>
<td><c:out value='${data.BILL_LIMIT}'/></td>
<td class="td_price"><fmt:formatNumber><c:out value='${data.BILL_AMOUNT}'/></fmt:formatNumber></td>
<td class="td_price"><fmt:formatNumber><c:out value='${data.TOTAL_AMOUNT}'/></fmt:formatNumber></td>
<td class="td_price"><fmt:formatNumber><c:out value='${data.NON_PAYMENT}'/></fmt:formatNumber></td>
<td><c:out value='${data.NOTE}'/></td>
</tr>
<tr>
<td>소계:가</td>
<td>20240823</td>
<td class="td_price">870,000,000</td>
<td>20240823</td>
<td class="td_price">870,000,000</td>
<td>20240823</td>
<td>20240823</td>
<td class="td_price">870,000,000</td>
<td class="td_price">2,000</td>
<td class="td_price">2,000</td>
<td>내용 없음</td>
</c:if>
</c:forEach>
<c:forEach items="${selectSubcntrsttusTot}" var="data" varStatus="status">
<c:if test="${data.SUBCNTR_GUBUN == 'R'}">
<tr class="total_tr">
<c:choose>
<c:when test="${not empty data.GUBUN}">
<td>소계:<c:out value='${data.GUBUN_NAME}'/></td>
<td></td>
<td class="td_price"><fmt:formatNumber><c:out value='${data.SUBCNTR_AMOUNT}'/></fmt:formatNumber></td>
<td></td>
<td class="td_price"><fmt:formatNumber><c:out value='${data.CASH_AMOUNT}'/></fmt:formatNumber></td>
<td></td>
<td></td>
<td class="td_price"><fmt:formatNumber><c:out value='${data.BILL_AMOUNT}'/></fmt:formatNumber></td>
<td class="td_price"><fmt:formatNumber><c:out value='${data.TOTAL_AMOUNT}'/></fmt:formatNumber></td>
<td class="td_price"><fmt:formatNumber><c:out value='${data.NON_PAYMENT}'/></fmt:formatNumber></td>
<td></td>
</c:when>
<c:otherwise>
<td>계</td>
<td></td>
<td class="td_price"><fmt:formatNumber><c:out value='${data.SUBCNTR_AMOUNT}'/></fmt:formatNumber></td>
<td></td>
<td class="td_price"><fmt:formatNumber><c:out value='${data.CASH_AMOUNT}'/></fmt:formatNumber></td>
<td></td>
<td></td>
<td class="td_price"><fmt:formatNumber><c:out value='${data.BILL_AMOUNT}'/></fmt:formatNumber></td>
<td class="td_price"><fmt:formatNumber><c:out value='${data.TOTAL_AMOUNT}'/></fmt:formatNumber></td>
<td class="td_price"><fmt:formatNumber><c:out value='${data.NON_PAYMENT}'/></fmt:formatNumber></td>
<td></td>
</c:otherwise>
</c:choose>
</tr>
</c:if>
</c:forEach>
</tbody>
<tfoot>
<!-- <tfoot>
<tr class="total_tr">
<td>계</td>
<td></td>
@ -960,12 +773,11 @@
<td class="text_right"></td>
<td></td>
</tr>
</tfoot>
</tfoot> -->
</table>
</div>
<!-- //도급대금 내역(피신청인) -->
</c:if>
<!-- //협의회별 상세 현황 -->
<!-- 분쟁정보 -->
@ -981,13 +793,16 @@
<th>
<p class="required_text">*<span>필수입력</span></p>신청취지
</th>
<td>신청취지 내용입니다.</td>
<td>
<%pageContext.setAttribute("enter","\n"); %>
<c:out escapeXml='false' value="${fn:replace(selectRceptsttus.APPLICATION_OBJ, enter,'<br>')}"/>
</td>
</tr>
<tr>
<th>
<p class="required_text">*<span>필수입력</span></p>신청이유
</th>
<td>신청취지 내용입니다.</td>
<td><c:out escapeXml='false' value="${fn:replace(selectRceptsttus.APPLICATION_REASON, enter,'<br>')}"/></td>
</tr>
</tbody>
</table>
@ -995,7 +810,9 @@
<!-- //분쟁정보 -->
<div class="btn_wrap right">
<c:if test="${caseAuthVO.caseAuthYn eq 'Y'}">
<button type="button" class="btn btn_text btn_45 darkgray_border" onclick="javascript:delReq();">삭제</button>
</c:if>
<button type="button" class="btn btn_text btn_45 gray_fill" onclick="javascript:goList();">목록</button>
</div>

View File

@ -4068,6 +4068,27 @@ function nanumProcessStartTmp(){
}
function authChg(caseAuthId, authYn){
$("#caseAuthId").val(caseAuthId)
$("#caseAuthYn").val(authYn)
$.ajax({
url : '/gtm/case/updateCaseAuthAjax.do',
type : 'POST',
processData: false,
contentType: false,
data: new FormData(document.caseAuthForm),
success: function(response) {
alert(response.msg);
if(response.result == 'success'){
location.reload();
}
},
error: function(error) {
alert("error");
}
})
}
</script>
<form:form name="clipFrm" id="clipFrm" action="" method="post">
@ -8779,20 +8800,27 @@ function nanumProcessStartTmp(){
</tr>
</thead>
<tbody>
<c:forEach items="${selectCaseAuthData}" var="data" varStatus="status">
<tr>
<td>1</td>
<td>사용자1</td>
<td>010-0000-0000</td>
<td>${status.count}</td>
<td>${data.certName}</td>
<td>${data.certPhone}</td>
<c:if test="${data.caseAuthYn eq 'Y'}">
<td class="color_blue fw_bold">승인완료</td>
<td><button type="button" class="btn-change-state btn btn_text btn_30 subgray_border" style="width:100px;">승인취소</button></td>
</tr>
<tr>
<td>2</td>
<td>사용자2</td>
<td>010-1111-1111</td>
</c:if>
<c:if test="${data.caseAuthYn ne 'Y'}">
<td class="color_333 fw_bold">승인요청</td>
<td><button type="button" class="btn-change-state btn btn_text btn_30 blue_border" style="width:100px;">승인처리</button></td>
</c:if>
<td>
<c:if test="${data.caseAuthYn eq 'Y'}">
<button type="button" onclick="authChg('<c:out value="${data.caseAuthId}"/>', 'N')" class="btn-change-state btn btn_text btn_30 subgray_border" style="width:100px;">승인취소</button>
</c:if>
<c:if test="${data.caseAuthYn ne 'Y'}">
<button type="button" onclick="authChg('<c:out value="${data.caseAuthId}"/>', 'Y')" class="btn-change-state btn btn_text btn_30 blue_border" style="width:100px;">승인처리</button>
</c:if>
</td>
</tr>
</c:forEach>
</tbody>
</table>
</div>
@ -9095,3 +9123,9 @@ function nanumProcessStartTmp(){
</form>
<!-- 나눔폼 끝 -->
<!-- 사건권한 폼 -->
<form name="caseAuthForm" id="caseAuthForm" action="" method="post">
<input type="hidden" id="caseAuthId" name="caseAuthId" value=""/>
<input type="hidden" id="caseAuthYn" name="caseAuthYn" value=""/>
</form>
<!-- 사건권한 끝 -->