This commit is contained in:
myname 2022-10-18 10:07:18 +09:00
commit daa79c8d75
32 changed files with 518 additions and 217 deletions

View File

@ -9,8 +9,12 @@ import kcc.kccadr.cmm.RestResponse;
public interface ExmpAppManageService {
Integer selectExmpAppManagerCount(ExmpManageVO exmpManageVO) throws Exception;
Integer selectExmpOpinionsManagerCount(ExmpManageVO exmpManageVO) throws Exception;
List<ExmpManageVO> selectExmpAppManagerList(ExmpManageVO exmpManageVO) throws Exception;
List<ExmpManageVO> selectExmpOpinionsManagerList(ExmpManageVO exmpManageVO) throws Exception;
Map<String, Object> selectExmpAppManagerInfo(ExmpManageVO exmpManageVO) throws Exception;

View File

@ -14,10 +14,18 @@ public class ExmpAppManageDAO extends EgovAbstractDAO {
public Integer selectExmpAppManagerCount(ExmpManageVO exmpManageVO) throws Exception {
return (Integer) select("ExmpAppManageDAO.selectExmpManagerCount", exmpManageVO);
}
public Integer selectExmpOpinionsManagerCount(ExmpManageVO exmpManageVO) throws Exception {
return (Integer) select("ExmpAppManageDAO.selectExmpOpinionsManagerCount", exmpManageVO);
}
public List<ExmpManageVO> selectExmpManagerList(ExmpManageVO exmpManageVO) throws Exception {
return (List<ExmpManageVO>) list("ExmpAppManageDAO.selectExmpManagerList", exmpManageVO);
}
public List<ExmpManageVO> selectExmpOpinionsManagerList(ExmpManageVO exmpManageVO) throws Exception {
return (List<ExmpManageVO>) list("ExmpAppManageDAO.selectExmpOpinionsManagerList", exmpManageVO);
}
public Integer deleteExmpCdList(ExmpManageVO exmpManageVO) throws Exception {
return delete("ExmpAppManageDAO.deleteExmpCdList", exmpManageVO);

View File

@ -39,11 +39,21 @@ public class ExmpAppManageServiceImpl implements ExmpAppManageService {
public Integer selectExmpAppManagerCount(ExmpManageVO exmpManageVO) throws Exception {
return exmpAppManageDAO.selectExmpAppManagerCount(exmpManageVO);
}
@Override
public Integer selectExmpOpinionsManagerCount(ExmpManageVO exmpManageVO) throws Exception {
return exmpAppManageDAO.selectExmpOpinionsManagerCount(exmpManageVO);
}
@Override
public List<ExmpManageVO> selectExmpAppManagerList(ExmpManageVO exmpManageVO) throws Exception {
return exmpAppManageDAO.selectExmpManagerList(exmpManageVO);
}
@Override
public List<ExmpManageVO> selectExmpOpinionsManagerList(ExmpManageVO exmpManageVO) throws Exception {
return exmpAppManageDAO.selectExmpOpinionsManagerList(exmpManageVO);
}
@Override
public Map<String, Object> selectExmpAppManagerInfo(ExmpManageVO exmpManageVO) throws Exception {

View File

@ -5,6 +5,37 @@ import kcc.kccadr.adjPgrMgr.cclt.service.ConciliatorManageVO;
import java.util.List;
/**
*
* @author : 이호영
* @fileName : ExmpManageVO.java
* @date : 2022.10.17
* @description :
* @exmp_cd
* - 01 : 신청취지
* - 02 : 신청원인
* - 03 : 의견
* - 04 : 답변서
* - 05 : 사건진행도움말
* @exmpCcTy
* - 의견일 경우 (exmp_cd == 03)
* exmpCcTy == CC045
* - 기일통지서 "10";
* - 기일조서 "20";
* - 조정권고안 "30";
* - 조정조서 "40";
* - 취하종결통보서 "50";
* - 직권조정결정서 "60";
* - 불성립종결통보서 "70";
* - 확정증명원 "80";
* ===========================================================
* DATE AUTHOR NOTE
* ----------------------------------------------------------- *
* 2022.10.17 이호영 최초 생성
*
*
*
*/
public class ExmpManageVO extends ConciliatorManageVO {

View File

@ -8,7 +8,12 @@ import kcc.com.cmm.service.FileVO;
public class AdjstConciliatorVO extends ComDefaultVO implements Serializable {
List<FileVO> fileList;
/**
*
*/
private static final long serialVersionUID = -1672039196841819050L;
List<FileVO> fileList;
private String adrSeq;
@ -213,6 +218,8 @@ public class AdjstConciliatorVO extends ComDefaultVO implements Serializable {
private String cmntCn;
private String cmntNm;
private Boolean cmntOftenFlag;
private String adrCnclSeq;
@ -1857,6 +1864,16 @@ public class AdjstConciliatorVO extends ComDefaultVO implements Serializable {
public void setPrtclCn(String prtclCn) {
this.prtclCn = prtclCn;
}
public Boolean getCmntOftenFlag() {
return cmntOftenFlag;
}
public void setCmntOftenFlag(Boolean cmntOftenFlag) {
this.cmntOftenFlag = cmntOftenFlag;
}
}

View File

@ -8,8 +8,11 @@ import javax.annotation.Resource;
import org.apache.commons.lang3.StringUtils;
import org.springframework.stereotype.Service;
import egovframework.rte.fdl.cmmn.exception.FdlException;
import egovframework.rte.fdl.idgnr.EgovIdGnrService;
import egovframework.rte.psl.dataaccess.util.EgovMap;
import kcc.kccadr.adjPgrMgr.exmp.app.service.impl.ExmpAppManageDAO;
import kcc.kccadr.adjPgrMgr.exmp.cmm.ExmpManageVO;
import kcc.kccadr.adjcclt.service.AdjstConciliatorService;
import kcc.kccadr.adjcclt.service.AdjstConciliatorVO;
import kcc.kccadr.cmm.KccadrConstants;
@ -22,7 +25,13 @@ public class AdjstConciliatorServiceImpl implements AdjstConciliatorService {
@Resource(name="egovCommentManageGnrService")
private EgovIdGnrService commentIdgen;
@Resource(name="ExmpAppManageDAO")
private ExmpAppManageDAO exmpAppManageDAO;
@Resource(name="egovExmpMrgManageGnrService")
private EgovIdGnrService idgenExmpMrgService;
@Override
public Integer selectAdjstConciliatorCount(AdjstConciliatorVO adjstConciliatorVO) throws Exception {
return adjstConciliatorDAO.selectAdjstConciliatorCount(adjstConciliatorVO);
@ -123,10 +132,15 @@ public class AdjstConciliatorServiceImpl implements AdjstConciliatorService {
@Override
public Integer insertAdjstRecommendationCommentSave(AdjstConciliatorVO adjstConciliatorVO) throws Exception {
adjstConciliatorVO.setCmntSeq(commentIdgen.getNextStringId());
return adjstConciliatorDAO.insertAdjstRecommendationCommentSave(adjstConciliatorVO);
int rs = adjstConciliatorDAO.insertAdjstRecommendationCommentSave(adjstConciliatorVO);
// 자주쓰는 의견 등록
this.insertCmntOften(rs, adjstConciliatorVO);
return rs;
}
@Override
@Override
public AdjstConciliatorVO selectAdjstRecommendationCommentDetail(AdjstConciliatorVO adjstConciliatorVO) throws Exception {
return adjstConciliatorDAO.selectAdjstRecommendationCommentDetail(adjstConciliatorVO);
}
@ -196,6 +210,24 @@ public class AdjstConciliatorServiceImpl implements AdjstConciliatorService {
adjstConciliatorDAO.insertEndAdrPdfConversionReq(adjstConciliatorVO);
}
private void insertCmntOften(int rs, AdjstConciliatorVO adjstConciliatorVO) throws FdlException {
if(rs > 0 && adjstConciliatorVO.getCmntOftenFlag())
{
ExmpManageVO exmpManageVO = new ExmpManageVO();
exmpManageVO.setExmpMgrId(idgenExmpMrgService.getNextStringId());
exmpManageVO.setExmpCd("03");
exmpManageVO.setExmpCcTy(adjstConciliatorVO.getCmntTy());
exmpManageVO.setExmpCn(adjstConciliatorVO.getCmntCn());
exmpManageVO.setFrstRegisterId(adjstConciliatorVO.getFrstRegisterId());
exmpAppManageDAO.insertExmpAppManager(exmpManageVO);
}
}
}

View File

@ -42,6 +42,8 @@ import kcc.kccadr.adjPgrMgr.dnt.service.DntVO;
import kcc.kccadr.adjPgrMgr.drt.service.AssVO;
import kcc.kccadr.adjPgrMgr.drt.service.DrtService;
import kcc.kccadr.adjPgrMgr.drt.service.DrtVO;
import kcc.kccadr.adjPgrMgr.exmp.app.service.ExmpAppManageService;
import kcc.kccadr.adjPgrMgr.exmp.cmm.ExmpManageVO;
import kcc.kccadr.adjcclt.service.AdjstConciliatorService;
import kcc.kccadr.adjcclt.service.AdjstConciliatorVO;
import kcc.kccadr.adjreqmgr.service.AdjReqMgrVO;
@ -110,7 +112,9 @@ public class AdjstConciliatorController {
//조정사건 이력관리 일련번호
@Resource(name="adrHstryMgrSeqGnrService")
private EgovIdGnrService adrHstryMgrSeqGnrService;
@Resource(name = "ExmpAppManageService")
private ExmpAppManageService exmpAppManageService;
/**
* 조정위원 대시보드 화면
*/
@ -371,10 +375,45 @@ public class AdjstConciliatorController {
* 기일조서 상세 > 자주쓰는 의견 목록 팝업
*/
@RequestMapping("/web/kccadr/adjcclt/popup/adjstOpinionsPopList.do")
public String adjstOpinionsPopList(@ModelAttribute("adjstConciliatorVO") AdjstConciliatorVO adjstConciliatorVO, ModelMap model) throws Exception {
// model.addAttribute("info", adjstConciliatorService.selectAdjstRecommendationCommentDetail(adjstConciliatorVO));
public String adjstOpinionsPopList(@ModelAttribute("exmpManageVO") ExmpManageVO exmpManageVO, ModelMap model) throws Exception {
if(exmpManageVO.getPageUnit() != 10) {
exmpManageVO.setPageUnit(exmpManageVO.getPageUnit());
}
if("".equals(exmpManageVO.getSearchSortCnd())){ //최초조회시 최신것 조회List
// exmpManageVO.setSearchSortCnd("T1.Exmp_CC_TY");
// exmpManageVO.setSearchSortOrd("asc");
}
System.out.println("exmpManageVO.getSearchCondition() :: "+exmpManageVO.getSearchCondition());
/** paging */
PaginationInfo paginationInfo = new PaginationInfo();
paginationInfo.setCurrentPageNo(exmpManageVO.getPageIndex());
paginationInfo.setRecordCountPerPage(exmpManageVO.getPageUnit());
paginationInfo.setPageSize(exmpManageVO.getPageSize());
exmpManageVO.setFirstIndex(paginationInfo.getFirstRecordIndex());
exmpManageVO.setLastIndex(paginationInfo.getLastRecordIndex());
exmpManageVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage());
// 의견 코드
exmpManageVO.setExmpCd("03");
paginationInfo.setTotalRecordCount(exmpAppManageService.selectExmpOpinionsManagerCount(exmpManageVO));
model.addAttribute("paginationInfo", paginationInfo);
model.addAttribute("list", exmpAppManageService.selectExmpOpinionsManagerList(exmpManageVO));
return "/web/kccadr/adjcclt/popup/adjstOpinionsPopList";
}
/**
* 의견관리 목록 > 자주쓰는 의견 등록 팝업
*/
@RequestMapping("/web/kccadr/adjcclt/popup/adjstOpinionsRegistPopList.do")
public String adjstOpinionsRegistPopList(@ModelAttribute("adjstConciliatorVO") AdjstConciliatorVO adjstConciliatorVO, ModelMap model) throws Exception {
// model.addAttribute("info", adjstConciliatorService.selectAdjstRecommendationCommentDetail(adjstConciliatorVO));
return "/web/kccadr/adjcclt/popup/adjstOpinionsRegistPopList";
}
/**
* 조정사건 목록 화면
@ -532,6 +571,7 @@ public class AdjstConciliatorController {
int rs = adjstConciliatorService.insertAdjstRecommendationCommentSave(adjstConciliatorVO);
modelAndView.addObject("rs", (rs>0));
modelAndView.addObject("rs", 0);
return modelAndView;
}

View File

@ -23,6 +23,35 @@
</isNotEmpty>
</select>
<select id="ExmpAppManageDAO.selectExmpOpinionsManagerCount" parameterClass="exmpManageVO" resultClass="int">
SELECT
COUNT(1) AS TOT
FROM ADR_EXMP_MGR T1
WHERE T1.EXMP_CD = #exmpCd#
<isNotEmpty property="searchKeyword">
<isEmpty prepend="AND" property="searchCondition">
T1.EXMP_CN LIKE CONCAT('%' , #searchKeyword#, '%')
</isEmpty>
<isNotEmpty prepend="AND" property="searchCondition">
T1.EXMP_CN LIKE CONCAT('%' , #searchKeyword#, '%')
AND T1.EXMP_CC_TY = #searchCondition#
</isNotEmpty>
</isNotEmpty>
<!-- <isNotEmpty property="searchKeyword"> -->
<!-- <isEqual prepend="AND" property="searchCondition" compareValue=""> -->
<!-- ( T1.EXMP_TIT LIKE CONCAT('%' , #searchKeyword#, '%') OR -->
<!-- T1.EXMP_NMS LIKE CONCAT('%' , #searchKeyword#, '%') ) -->
<!-- </isEqual> -->
<!-- <isEqual prepend="AND" property="searchCondition" compareValue="1"> -->
<!-- T1.EXMP_TIT LIKE CONCAT('%' , #searchKeyword#, '%') -->
<!-- </isEqual> -->
<!-- <isEqual prepend="AND" property="searchCondition" compareValue="2"> -->
<!-- T1.EXMP_NMS LIKE CONCAT('%' , #searchKeyword#, '%') -->
<!-- </isEqual> -->
<!-- </isNotEmpty> -->
</select>
<select id="ExmpAppManageDAO.selectExmpManagerList" parameterClass="exmpManageVO" resultClass="exmpManageVO">
SELECT
EXMP_MGR_ID AS exmpMgrId
@ -56,7 +85,42 @@
<isNotEmpty property="searchSortOrd">
$searchSortOrd$
</isNotEmpty>
<!-- LIMIT #recordCountPerPage# OFFSET #firstIndex# -->
</select>
<select id="ExmpAppManageDAO.selectExmpOpinionsManagerList" parameterClass="exmpManageVO" resultClass="exmpManageVO">
SELECT
EXMP_MGR_ID AS exmpMgrId
, T1.EXMP_CD AS exmpCd
, T1.EXMP_CC_TY AS exmpCcTy
, T1.EXMP_TIT AS exmpTit
, T1.EXMP_CN AS exmpCn
, T1.ATCH_FILE_ID AS atchFileId
, TO_CHAR(T1.FRST_REGIST_PNTTM, 'YYYY-MM-DD') AS frstRegistPnttm
, T1.FRST_REGISTER_ID AS frstRegisterId
, TO_CHAR(T1.LAST_UPDT_PNTTM, 'YYYY-MM-DD') AS lastUpdtPnttm
, T1.LAST_UPDUSR_ID AS lastUpdusrId
FROM ADR_EXMP_MGR T1
WHERE T1.EXMP_CD = #exmpCd#
<isNotEmpty property="searchKeyword">
<isEmpty prepend="AND" property="searchCondition">
T1.EXMP_CN LIKE CONCAT('%' , #searchKeyword#, '%')
</isEmpty>
<isNotEmpty prepend="AND" property="searchCondition">
T1.EXMP_CN LIKE CONCAT('%' , #searchKeyword#, '%')
AND T1.EXMP_CC_TY = #searchCondition#
</isNotEmpty>
</isNotEmpty>
ORDER BY 1=1
<!-- <isNotEmpty property="searchSortCnd"> -->
<!-- ,$searchSortCnd$ -->
<!-- </isNotEmpty> -->
<!-- <isNotEmpty property="searchSortOrd"> -->
<!-- $searchSortOrd$ -->
<!-- </isNotEmpty> -->
LIMIT #recordCountPerPage# OFFSET #firstIndex#
</select>
<update id="ExmpAppManageDAO.updateExmpManager" parameterClass="exmpManageVO">

View File

@ -563,7 +563,7 @@
<button type="button" class="btnType02" onclick="listDlvInfo();">송달정보조회</button>
</c:when>
<c:otherwise>
<button type="button" class="btnType02" onclick="sendDlvInfoPop();">송달정보입력</button>
<button type="button" class="btnType02" onclick="sendDlvInfo();">송달정보입력</button>
</c:otherwise>
</c:choose>
</c:if>

View File

@ -385,7 +385,7 @@
<button type="button" class="btnType02" onclick="listDlvInfo();">송달정보조회</button>
</c:when>
<c:otherwise>
<button type="button" class="btnType02" onclick="sendDlvInfoPop();">송달정보입력</button>
<button type="button" class="btnType02" onclick="sendDlvInfo();">송달정보입력</button>
</c:otherwise>
</c:choose>
<button type="button" class="btnType06" onclick="fncDel()">삭제</button>

View File

@ -466,7 +466,7 @@ $(document).ready(function() {
<button type="button" class="btnType02" onclick="listDlvInfo();">송달정보조회</button>
</c:when>
<c:otherwise>
<button type="button" class="btnType02" onclick="sendDlvInfoPop();">송달정보입력</button>
<button type="button" class="btnType02" onclick="sendDlvInfo();">송달정보입력</button>
</c:otherwise>
</c:choose>
<button type="button" class="btnType06" onclick="fncDel()">삭제</button>

View File

@ -592,7 +592,7 @@
<button type="button" class="btnType02" onclick="listDlvInfo();">송달정보조회</button>
</c:when>
<c:otherwise>
<button type="button" class="btnType02" onclick="sendDlvInfoPop();">송달정보입력</button>
<button type="button" class="btnType02" onclick="sendDlvInfo();">송달정보입력</button>
</c:otherwise>
</c:choose> --%>

View File

@ -442,7 +442,7 @@
<button type="button" class="btnType06" onclick="fncReg()">등록</button>
</c:if>
<%-- 기일변경 통지서 등록화면이라서 송달정보 입력은 주석처리했음 20220126 --%>
<%-- <button type="button" class="btnType02" onclick="sendDlvInfoPop();">송달정보입력</button> --%>
<%-- <button type="button" class="btnType02" onclick="sendDlvInfo();">송달정보입력</button> --%>
<button type="button" class="btnType04" onclick="fncGoList()">취소</button>
</div>
</div>

View File

@ -478,7 +478,7 @@
<button type="button" class="btnType02" onclick="listDlvInfo();">송달정보조회</button>
</c:when>
<c:otherwise>
<button type="button" class="btnType02" onclick="sendDlvInfoPop();">송달정보입력</button>
<button type="button" class="btnType02" onclick="sendDlvInfo();">송달정보입력</button>
</c:otherwise>
</c:choose>
</c:if>

View File

@ -311,7 +311,7 @@
<button type="button" class="btnType02" onclick="listDlvInfo();">송달정보조회</button>
</c:when>
<c:otherwise>
<button type="button" class="btnType02" onclick="sendDlvInfoPop();">송달정보입력</button>
<button type="button" class="btnType02" onclick="sendDlvInfo();">송달정보입력</button>
</c:otherwise>
</c:choose>
<button type="button" class="btnType06" onclick="fncDel()">삭제</button>

View File

@ -620,7 +620,8 @@
</c:when>
<c:otherwise>
<c:if test="${info.statCd*1 >= KccadrConstants.ADR_APP_NTC_APPR*1}">
<button type="button" class="btnType02" onclick="sendDlvInfoPop();">송달정보입력</button>
<!-- <button type="button" class="btnType02" onclick="sendDlvInfo();">송달정보입력</button> -->
<button type="button" class="btnType02" onclick="sendDlvInfo();">송달정보입력</button>
</c:if>
</c:otherwise>
</c:choose>

View File

@ -787,7 +787,7 @@
<c:otherwise>
<!-- 기일조서결재완료인 경우에만 송달정보입력이 보인다. -->
<c:if test="${info.statCd ge '302050' && info.statCd ne '302090' }">
<button type="button" class="btnType02" onclick="sendDlvInfoPop();">송달정보입력</button>
<button type="button" class="btnType02" onclick="sendDlvInfo();">송달정보입력</button>
</c:if>
</c:otherwise>
</c:choose>

View File

@ -646,7 +646,7 @@
<button type="button" class="btnType02" onclick="listDlvInfo();">송달정보조회</button>
</c:when>
<c:otherwise>
<button type="button" class="btnType02" onclick="sendDlvInfoPop();">송달정보입력</button>
<button type="button" class="btnType02" onclick="sendDlvInfo();">송달정보입력</button>
</c:otherwise>
</c:choose>
</c:if>

View File

@ -536,7 +536,7 @@
<button type="button" class="btnType02" onclick="listDlvInfo();">송달정보조회</button>
</c:when>
<c:otherwise>
<button type="button" class="btnType02" onclick="sendDlvInfoPop();">송달정보입력</button>
<button type="button" class="btnType02" onclick="sendDlvInfo();">송달정보입력</button>
</c:otherwise>
</c:choose>
<button type="button" class="btnType06" onclick="fncDel()">삭제</button>

View File

@ -441,7 +441,7 @@
<button type="button" class="btnType02" onclick="listDlvInfo();">송달정보조회</button>
</c:when>
<c:otherwise>
<button type="button" class="btnType02" onclick="sendDlvInfoPop();">송달정보입력</button>
<button type="button" class="btnType02" onclick="sendDlvInfo();">송달정보입력</button>
</c:otherwise>
</c:choose>
</c:if>

View File

@ -486,7 +486,7 @@
<button type="button" class="btnType02" onclick="listDlvInfo();">송달정보조회</button>
</c:when>
<c:otherwise>
<button type="button" class="btnType02" onclick="sendDlvInfoPop();">송달정보입력</button>
<button type="button" class="btnType02" onclick="sendDlvInfo();">송달정보입력</button>
</c:otherwise>
</c:choose>
<%-- </c:if> --%>

View File

@ -276,7 +276,7 @@
<button type="button" class="btnType02" onclick="listDlvInfo();">송달정보조회</button>
</c:when>
<c:otherwise>
<button type="button" class="btnType02" onclick="sendDlvInfoPop();">송달정보입력</button>
<button type="button" class="btnType02" onclick="sendDlvInfo();">송달정보입력</button>
</c:otherwise>
</c:choose>
<button type="button" class="btnType06" onclick="fncDel()">삭제</button>

View File

@ -267,7 +267,7 @@
<button type="button" class="btnType02" onclick="listDlvInfo();">송달정보조회</button>
</c:when>
<c:otherwise>
<button type="button" class="btnType02" onclick="sendDlvInfoPop();">송달정보입력</button>
<button type="button" class="btnType02" onclick="sendDlvInfo();">송달정보입력</button>
</c:otherwise>
</c:choose>
</c:if>

View File

@ -557,7 +557,7 @@
<button type="button" class="btnType02" onclick="listDlvInfo();">송달정보조회</button>
</c:when>
<c:otherwise>
<button type="button" class="btnType02" onclick="sendDlvInfoPop();">송달정보입력</button>
<button type="button" class="btnType02" onclick="sendDlvInfo();">송달정보입력</button>
</c:otherwise>
</c:choose>
</c:if>

View File

@ -16,8 +16,6 @@
<script type="text/javaScript" language="javascript">
$( document ).ready(function(){
fncGoCommentList();
if("${info.apmAppPlaceTy}" == "99"){
$("#apmPlaceTxt").text($("#apmPlaceTxt").text().replace("|", ", "));
}
@ -37,7 +35,7 @@
,{
"adrSeq" : $("#adrSeq").val(),
"adrSn" :$("#adrSn").val(),
"cmntTy" : KccadrConstants.ADR_CLOSE_DOC_TY_20,
"cmntTy" : "20",
"pageIndex" : pageIndex,
"pageUnit" : 5
}
@ -46,13 +44,24 @@
});
}
/*
* 기일통지서 "10"; 기일조서 ▼
* 기일조서 "20"; 조정권고안
* 조정권고안 "30"; 조정조서
* 조정조서 "40"; 직권조정결정서
* 취하종결통보서 "50";
* 직권조정결정서 "60";
* 불성립종결통보서 "70";
* 확정증명원 "80";
**/
function pastCommentPageLoad(pageIndex, adrSn){
$('#pastCommentArea_'+adrSn).load(
"/web/kccadr/adjcclt/comment/adjstRecommendationPastCommentList.do"
,{
"adrSeq" : $("#adrSeq").val(),
"adrSn" : adrSn,
"cmntTy" : KccadrConstants.ADR_CLOSE_DOC_TY_20,
// "cmntTy" : "<c:out value='${KccadrConstants.ADR_CLOSE_DOC_TY_20}'/>",
"cmntTy" : "20",
"pageIndex" : pageIndex,
"pageUnit" : 5
}
@ -328,55 +337,8 @@
</c:forEach>
</div>
<div class="tb_list01">
<table>
<colgroup>
<col style="width: 300px;">
<col style="width: auto;">
<col style="width: 12%;">
</colgroup>
<thead>
<tr>
<th scope="col">일자</th>
<th scope="col">내용</th>
<th scope="col">조정위원</th>
</tr>
</thead>
<tbody>
<tr>
<td>2021.07.15</td>
<td class="td_tit02">피신청인은 2020.9.18까지 신청인에게 금 3,000,000원을 지급한다.</td>
<td>김OO</td>
</tr>
<%-- <c:if test="${empty list}"> --%>
<tr><td colspan="3">등록된 의견이 없습니다.</td></tr>
<%-- </c:if> --%>
</tbody>
</table>
</div>
<div class="tb_wrap">
<table class="tbType01 tb_deputy">
<colgroup>
<col style="width: 300px;">
<col style="width: auto;">
</colgroup>
<tbody>
<tr>
<th>
<p>의견<button type="button" class="btnType01 btn_adr_search" data-tooltip="opinion_popup" onclick="AdjstReq.opinionsAdjstPopList();">자주쓰는 의견</button></p>
</th>
<td class="opinion">
<div class="text"><input type="checkbox" name="opinion" id="opinion" /><label for="opinion">자주쓰는 의견 등록</label></p>
<div class="box">
<textarea name="cn"></textarea>
<button type="button" class="btnType09">의견등록</button>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<%--의견등록--%>
<%--의견 목록--%>
<div id="commentArea" style="margin-bottom: 20px;"></div>
<!-- 하단 버튼 -->
@ -388,7 +350,7 @@
<button type="button" class="btnType11 btn_list" onclick="fncGoDetail(); return false;">사건정보</button>
</div>
</div>
<!-- //하단 버튼 -->
<%-- // 의견등록--%>
</div>
</div>
</body>

View File

@ -25,10 +25,11 @@
// 의견등록은 등록 의사를 묻지않는다.
var data = {
adrSeq : $("input[name=adrSeq]").val(),
adrSn : $("input[name=adrSn]").val(),
cmntCn : value,
cmntTy : $("#closeDocTy").val()
adrSeq : $("input[name=adrSeq]").val()
, adrSn : $("input[name=adrSn]").val()
, cmntCn : value
, cmntTy : $("#closeDocTy").val()
, cmntOftenFlag : $("#cmntOftenFlag").prop('checked')
}
$.ajax({
type: "POST",
@ -80,9 +81,12 @@
</script>
</head>
<body>
<div class="tb_top">
<p>의견</p>
</div>
<div class="mask"></div>
<div class="tooltip-wrap" id="layerPop"></div>
<div class="tb_wrap">
<div class="tb_list01">
<table class="tbType02">
<caption>
의견 목록 : 일자, 내용, 조정위원등 정보제공
@ -106,9 +110,9 @@
<p><c:out value='${list.frstRegistPnttm}' /></p>
</td>
<td>
<button type="button" class="btn_progress_info" onclick="fncDetailPop('<c:out value='${list.cmntSeq}' />'); return false;">
<p><c:out value='${list.cmntCn}' /></p>
</button>
<a href="javascript:;" class="td_tit02" onclick="fncDetailPop('<c:out value='${list.cmntSeq}' />'); return false;">
<c:out value='${list.cmntCn}' />
</a>
</td>
<td>
<p><c:out value='${list.cmntNm}' /></p>
@ -125,22 +129,37 @@
</tbody>
</table>
</div>
<ul class="cmmt_wrap">
<li class="cmmt_tit">
<p>의견</p>
</li>
<li class="cmmt_text">
<label for="commentInput">의견 입력</label>
<textarea name="commentInput" id="commentInput" cols="30" placeholder="의견을 등록해주세요." rows="3" style="resize: none;">
</textarea>
</li>
<li><button type="button" class="btn_add_cmmt" onclick="fncSaveCommnet(); return false;">의견등록</button></li>
</ul>
<!-- page -->
<div class="page">
<ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="commentPageLoad" />
</div>
<div class="tb_wrap" style="margin-top: 20px;">
<table class="tbType01 tb_deputy">
<colgroup>
<col style="width: 300px;">
<col style="width: auto;">
</colgroup>
<tbody>
<tr>
<th>
<p>의견<button type="button" class="btnType01 btn_adr_search" data-tooltip="opinion_popup" onclick="AdjstReq.opinionsAdjstPopList();">자주쓰는 의견</button></p>
</th>
<td class="opinion">
<div class="text"><input type="checkbox" name="cmntOftenFlag" id="cmntOftenFlag" /><label for="opinion">자주쓰는 의견 등록</label></p>
<div class="box">
<textarea name="commentInput" id="commentInput" ></textarea>
<button type="button" class="btnType09" onclick="fncSaveCommnet(); return false;">의견등록</button>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- page -->
<!-- //page -->
</body>
</html>

View File

@ -155,7 +155,7 @@
<!-- 하단 버튼 -->
<div class="btn_wrap btn_layout01">
<%--<button class="btnType09" onclick="fncGoCreate()">등록</button>--%>
<button class="btnType09" data-tooltip="opinion_regi_popup" onclick="AdjstReq.opinionsRegistAdjstPopList();">등록</button>
</div>
<!-- //하단 버튼 -->

View File

@ -26,7 +26,10 @@
searchCondition : $("#searchCondition").val(),
pageUnit : 5,
}
AdjstReq.historyAdjstPopList(data);
AdjstReq.opinionsAdjstPopList(data);
}
function fn_selected(){
}
$(document).ready(function(){
@ -38,7 +41,16 @@ $(document).ready(function(){
$('[data-tooltip="opinion_popup"]').focus();
});
})
$(".selectedVal").click(function(){
console.log($(this).data('info'));
$('#commentInput').val($(this).data('info'));
});
})
</script>
<style type="text/css">
.popup_list tbody td.text {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
@ -46,11 +58,13 @@ $(document).ready(function(){
</head>
<body>
<!-- 일정 상세 -->
<form:form commandName="adjstReqVO" id="popList" name="popList" method="post" onsubmit="return false;">
<input type="hidden" name="pageIndex" value="<c:out value='${adjstReqVO.pageIndex}' default='1' />"/>
<input type="hidden" name="searchSortCnd" value="<c:out value="${adjstReqVO.searchSortCnd}" />" />
<input type="hidden" name="searchSortOrd" value="<c:out value="${adjstReqVO.searchSortOrd}" />" />
</form:form>
<form id="popList" name="popList" method="post" onsubmit="return false;">
<input type="hidden" name="pageIndex" value="<c:out value='${exmpManageVO.pageIndex}' default='1' />"/>
<input type="hidden" name="searchSortCnd" value="<c:out value="${exmpManageVO.searchSortCnd}" />" />
<input type="hidden" name="searchSortOrd" value="<c:out value="${exmpManageVO.searchSortOrd}" />" />
</form>
<div class="popup_wrap opinion_popup" tabindex="0" data-tooltip-con="opinion_popup" data-focus="opinion_popup" data-focus-prev="opinion_popup_close">
<div class="popup_tit">
<p>자주쓰는 의견 목록</p> <button class="btn_popup_close tooltip-close" data-focus="opinion_popup_close" title="팝업 닫기"><i></i></button>
@ -58,9 +72,9 @@ $(document).ready(function(){
<div class="popup_cont">
<div class="popup_search">
<label for="searchCondition">검색조건 선택</label>
<kc:select codeId="CC002" name="searchCondition" id="searchCondition" defaultValue="" defaultText="전체" selectedValue="${adjstReqVO.searchCondition}"/>
<kc:select codeId="CC045" skipCd="10,50,70,80" name="searchCondition" id="searchCondition" defaultValue="" defaultText="전체" selectedValue="${exmpManageVO.searchCondition}"/>
<label for="searchKeyword">검색 조건 입력</label>
<input type="text" name="searchKeyword" id="searchKeyword" value="<c:out value='${adjstReqVO.searchKeyword}' />" placeholder="검색 조건 입력" size="20">
<input type="text" name="searchKeyword" id="searchKeyword" value="<c:out value='${exmpManageVO.searchKeyword}' />" placeholder="검색 조건 입력" size="20">
<button type="button" class="btnType07" onclick="fncGoList(); return false;">검색</button>
</div>
@ -72,29 +86,31 @@ $(document).ready(function(){
<col style="width: 20%;">
</colgroup>
<thead>
<tr>
<th scope="col">유형</th>
<th scope="col">내용</th>
<th scope="col">선택</th>
</tr>
<tr>
<th scope="col">유형</th>
<th scope="col">내용</th>
<th scope="col">선택</th>
</tr>
</thead>
<tbody>
<tr>
<td>기일조서</td>
<td class="text">피신청인이 제1항 의무를 성실히 이행할 경우 어쩌고저쩌고</td>
<td><button type="button" class="btnType01">선택</button></td>
</tr>
<c:if test="${fn:length(list) eq 0}">
<tr>
<td colspan="3"><spring:message code="common.nodata.msg" /></td>
</tr>
</c:if>
<c:forEach var="list" items="${list }">
<tr>
<td><kc:code codeId="CC045" code="${list.exmpCcTy }"/></td>
<td class="text"><c:out value="${list.exmpCn }" /></td>
<td><button type="button" class="tooltip-close btnType01 selectedVal" data-info="<c:out value="${list.exmpCn }" />">선택</button></td>
</tr>
</c:forEach>
<c:if test="${fn:length(list) eq 0}">
<tr>
<td colspan="3"><spring:message code="common.nodata.msg" /></td>
</tr>
</c:if>
</tbody>
</table>
<!-- page -->
<!-- <div class="page"> -->
<%-- <ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" /> --%>
<!-- </div> -->
<div class="page">
<ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
</div>
<!-- //page -->
<div class="btn_wrap">
<button class="btnType01 tooltip-close" data-focus="opinion_popup_close" data-focus-next="opinion_popup">닫기</button>

View File

@ -0,0 +1,99 @@
<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ 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>
<title>조정신청 수정요청</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<script type="text/javascript" src="/kccadrPb/usr/script/popup.js"></script>
<script type="text/javaScript" language="javascript">
function fncGoList(){
linkPage(1);
}
function linkPage(pageNo){
var data = {
pageIndex : pageNo,
searchKeyword : $("#searchKeyword").val(),
searchCondition : $("#searchCondition").val(),
pageUnit : 5,
}
AdjstReq.historyAdjstPopList(data);
}
$(document).ready(function(){
// 레이어팝업 포커싱 이동 수정
$(".tooltip-close").click(function(){
var activeTarget = $('[data-tooltip-con="opinion_regi_popup"]');
activeTarget.hide();
$('[data-tooltip="opinion_regi_popup"]').focus();
});
});
</script>
<style type="text/css">
.btn_wrap .btnType07 {vertical-align:middle;}
</style>
</head>
<body>
<!-- 일정 상세 -->
<form:form commandName="adjstReqVO" id="popList" name="popList" method="post" onsubmit="return false;">
<input type="hidden" name="pageIndex" value="<c:out value='${adjstReqVO.pageIndex}' default='1' />"/>
<input type="hidden" name="searchSortCnd" value="<c:out value="${adjstReqVO.searchSortCnd}" />" />
<input type="hidden" name="searchSortOrd" value="<c:out value="${adjstReqVO.searchSortOrd}" />" />
</form:form>
<div class="popup_wrap opinion_regi_popup" tabindex="0" data-tooltip-con="opinion_regi_popup" data-focus="opinion_regi_popup" data-focus-prev="opinion_regi_popup_close">
<div class="popup_tit">
<p>자주쓰는 의견 등록</p> <button class="btn_popup_close tooltip-close" data-focus="opinion_regi_popup_close" title="팝업 닫기"><i></i></button>
</div>
<div class="popup_cont">
<table class="popup_tbType01">
<colgroup>
<col style="width:100px;" />
<col style="width:auto;" />
</colgroup>
<tbody>
<tr>
<td>유형</td>
<td>
<select name="" id="">
<option value="">기일조서</option>
<option value="">조정권고안</option>
<option value="">조정조서</option>
<option value="">직권조정결정서</option>
</select>
</td>
</tr>
<tr>
<td>제목</td>
<td>
<input type="text" name="" id="" />
</td>
</tr>
<tr>
<td>제목</td>
<td>
<textarea name="" id="" rows="5"></textarea>
</td>
</tr>
</tbody>
</table>
<div class="btn_wrap">
<button class="btnType07">저장</button>
<button class="btnType01 tooltip-close" data-focus="opinion_regi_popup_close" data-focus-next="opinion_regi_popup">닫기</button>
</div>
</div>
</div>
</body>
</html>

View File

@ -15,106 +15,74 @@
<script type="text/javascript" src="/kccadrPb/usr/script/popup.js"></script>
<script type="text/javaScript" language="javascript">
$(document).ready(function(){
var exmpList = '';
// 레이어팝업 포커싱 이동 수정
var popupTit = $(".cont_tit03").text();
$(".tooltip-close").click(function(){
var activeTarget = $('[data-tooltip-con="fee_info_popup"]');
activeTarget.hide();
$('[data-tooltip="fee_info_popup"]').eq(0).focus();
$('.work_flow_wrap').each(function(){
$(this).find(".btn_open").on('click',function(){
if($(this).closest('.work_flow_wrap').is(".off") == true){
$(this).closest('.work_flow_wrap').removeClass("off");
$(this).addClass("btn_close").removeClass("btn_open").attr('title','닫힘');
}else{
$(this).closest('.work_flow_wrap').addClass("off");
$(this).removeClass("btn_close").addClass("btn_open").attr('title','열림');
}
});
var data = new FormData(document.getElementById("selectForm"));
$.ajax({
type:"POST",
url: "/web/kccadr/adjst/popup/adjstReqOpenExampleAjax.do",
data: data,
dataType:'json',
async: false,
processData: false,
contentType: false,
cache: false,
success:function(returnData){
exmpList = returnData.dataList;
},
error:function(request , status, error){
console.log('request : ', request);
console.log('status : ', status);
console.log('error : ', error);
}
});
/*
* 저작물 변경 event
*/
$('#selectId').on('change', function(){
var exmpCn = exmpList[$(this).val()].exmpCn;
$('#exmpCn').text(exmpCn);
$(".tooltip-close").click(function(){
var activeTarget = $('[data-tooltip-con="fee_info_popup"]');
activeTarget.hide();
$('[data-tooltip="fee_info_popup"]').eq(0).focus();
});
/*
* 등록버튼 event
*/
$('#redBtn').on('click', function(){
var exmpCd = $("#exmpCd").val();
console.log(exmpCd.replace(/(^0+)/, ""));
var perId = '#reqCn'+exmpCd.replace(/(^0+)/, "");
$(perId).val($('#exmpCn').text().trim());
});
})
</script>
<style type="text/css">
.fee_info_popup {overflow:hidden;overflow-y:auto;max-height:600px;}
</style>
</head>
<body>
<div class="popup_wrap fee_info_popup" style="max-width: 580px;" tabindex="0" data-tooltip-con="fee_info_popup" data-focus="fee_info_popup" data-focus-prev="fee_info_popup_close">
<div class="popup_tit">
<p>신청취지 예문</p> <button class="btn_popup_close tooltip-close" data-focus="fee_info_popup_close" title="팝업 닫기"><i></i></button>
<p>청구취지 작성예시</p> <button class="btn_popup_close tooltip-close" data-focus="fee_info_popup_close" title="팝업 닫기"><i></i></button>
</div>
<div class="popup_cont">
<c:if test="${not empty exmpCd}">
<div class="cont_tit03">
* <kc:code codeId="CC040" code="${exmpList[0].exmpCd}"/>
</div>
</c:if>
<table class="popup_tbType01 t_center">
<colgroup>
<col style="width: 20%;">
<col style="width: 80%;">
</colgroup>
<tbody>
<tr>
<td style="line-height: 30px; text-align: left;">
<kc:code codeId="CC040" code="${exmpList[0].exmpCd}"/>
</td>
<td style="line-height: 30px; text-align: left;">
<select id="selectId" style="width: 135px;">
<c:forEach var="exmp" items="${exmpList }" varStatus="stat">
<option value="${stat.index }"> <c:out value="${exmp.exmpTit }" /> </option>
</c:forEach>
</select>
</td>
</tr>
<tr>
<td style="line-height: 30px; text-align: left;">
내용
</td>
<td id="exmpCn" style="line-height: 30px; text-align: left;" >
<c:out value="${exmpList[0].exmpCn}" />
</td>
</tr>
</tbody>
</table>
<div class="work_flow_wrap off">
<div class="work_tit">
<p>금전청구 일반</p>
<button type="button" title="열림" class="btn_open"><i></i></button>
</div>
<div class="work_cont">
<dl>
<dt>- 기본형</dt>
<dd>피고는 원고에게 <span>△△,△△△,△△△원</span>을 지급하라.</dd>
</dl>
<dl>
<dt>- 부대청구(이자 등)가 있는 경우</dt>
<dd>피고는 원고에게 <span>△△,△△△,△△△원</span>과 이에 대하여 <span>△△△△.△△.△△</span>부터 다 갚믄 날까지 연 <span>△△%</span>의 비율로 계산한 돈을 지급하라.</dd>
</dl>
</div>
</div>
<div class="work_flow_wrap off">
<div class="work_tit">
<p>보증채무금</p>
<button type="button" title="열림" class="btn_open"><i></i></button>
</div>
<div class="work_cont">
<div class="text">
피고는 원고에게 <span>△△,△△△,△△△원</span>과 이에 대하여 <span>△△△△.△△.△△</span>부터 다 갚믄 날까지 연 <span>△△%</span>의 비율로 계산한 돈을 지급하라.
</div>
</div>
</div>
<div class="work_flow_wrap off">
<div class="work_tit">
<p>임대차보증금반환</p>
<button type="button" title="열림" class="btn_open"><i></i></button>
</div>
<div class="work_cont">
<div class="text">
피고는 원고에게 <span>△△,△△△,△△△원</span>과 이에 대하여 <span>△△△△.△△.△△</span>부터 다 갚믄 날까지 연 <span>△△%</span>의 비율로 계산한 돈을 지급하라.
</div>
</div>
</div>
<div class="btn_wrap">
<!-- <button class="btnType01 tooltip-close" data-focus="fee_info_popup_close" data-focus-next="fee_info_popup">닫기</button> -->
<button class="btnType01 tooltip-close" id="redBtn">등록</button>
<button class="btnType01 tooltip-close" data-focus="fee_info_popup_close" data-focus-next="fee_info_popup">닫기</button>
</div>
</div>
</div>

View File

@ -1235,13 +1235,32 @@ var AdjstReq = {
// 이전신청데이터 팝업 호출..
commonPopLayeropen(
"/web/kccadr/adjcclt/popup/adjstOpinionsPopList.do"
, 500
, 1000
, 600
, paramObj
, "N"
, "adjstOpinionsPop"
);
},
opinionsRegistAdjstPopList : function(paramObj){
if(paramObj == undefined || paramObj == ''){
paramObj = {
pageIndex : 1,
searchKeyword : "",
searchCondition : "",
pageUnit : 5
};
}
// 이전신청데이터 팝업 호출..
commonPopLayeropen(
"/web/kccadr/adjcclt/popup/adjstOpinionsRegistPopList.do"
, 1000
, 700
, paramObj
, "N"
, "adjstOpinionsRegistPop"
);
},
openExamplePop : function(exmpCd){
/*
- 01 : 신청취지

View File

@ -732,6 +732,17 @@ table .label{position: absolute;width: 1px; height: 1px; margin: 0; border: none
.work_cont p.status01{border: 1px solid #ea5404; color: #ea5404;}
.work_cont .status02 p{border: 2px solid #1b6fcd; color: #1b6fcd; font-weight: 500;width:208px;height:43px;}
.work_cont p.status02{border: 2px solid #1b6fcd; color: #1b6fcd; font-weight: 500;width:208px;height:43px;}
.popup_wrap .work_flow_wrap {padding:0 10px;margin:0 0 15px;}
.popup_wrap .work_flow_wrap .work_tit {padding:10px 0 10px 5px;font-size:16px;}
.popup_wrap .work_flow_wrap .work_cont {height:auto;padding:10px 15px;transition:none;}
.popup_wrap .work_flow_wrap .work_cont dl dt {margin:10px 0 0;line-height:30px;}
.popup_wrap .work_flow_wrap .work_cont dl dd {margin:5px 0 0;padding:10px;line-height:24px;background:#f1f2f4;border-radius:5px;}
.popup_wrap .work_flow_wrap .work_cont dl dd span {color:#d43403;}
.popup_wrap .work_flow_wrap .work_cont dl:first-child dt {margin:0;}
.popup_wrap .work_flow_wrap .work_cont .text {line-height:24px;}
.popup_wrap .work_flow_wrap .work_cont .text span {color:#d43403;}
.popup_wrap .work_flow_wrap.off .work_cont {height:0;padding:0 15px;}
/* //워크플로우 */
/* 익스플로어 */