Merge branch 'hylee'
This commit is contained in:
commit
884574a608
@ -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;
|
||||
|
||||
|
||||
@ -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);
|
||||
|
||||
@ -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 {
|
||||
|
||||
@ -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 {
|
||||
|
||||
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -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);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -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,8 +375,34 @@ 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";
|
||||
}
|
||||
|
||||
@ -541,6 +571,7 @@ public class AdjstConciliatorController {
|
||||
|
||||
int rs = adjstConciliatorService.insertAdjstRecommendationCommentSave(adjstConciliatorVO);
|
||||
modelAndView.addObject("rs", (rs>0));
|
||||
modelAndView.addObject("rs", 0);
|
||||
return modelAndView;
|
||||
}
|
||||
|
||||
|
||||
@ -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">
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -1235,7 +1235,7 @@ var AdjstReq = {
|
||||
// 이전신청데이터 팝업 호출..
|
||||
commonPopLayeropen(
|
||||
"/web/kccadr/adjcclt/popup/adjstOpinionsPopList.do"
|
||||
, 500
|
||||
, 1000
|
||||
, 600
|
||||
, paramObj
|
||||
, "N"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user