Merge branch 'JIWOO'

This commit is contained in:
JIWOO 2024-10-10 15:12:51 +09:00
commit 12d493b806
6 changed files with 2284 additions and 2133 deletions

View File

@ -0,0 +1,48 @@
package seed.utils;
public class SeedConstants {
/*조정유형*/
public static final String JOJEONGYUHYEONG = "0200000000"; //조정유형
public static final String GONGJEONGGEORAE = "0201000000"; //공정거래
public static final String GAMAENGGEORAE = "0202000000"; //가맹사업거래
public static final String HADOGEUPGEORAE = "0203000000"; //하도급거래
public static final String DAEGYUMOGEORAE = "0204000000"; //대규모유통거래
public static final String YAKGWANGEORAE = "0205000000"; //약관거래
public static final String DAERIJEOMGEORAE = "0206000000"; //대리점거래
/*부서(소속)*/
public static final String SOSOK = "1000000000"; //소속
public static final String HANGUK = "1001000000"; //한국공정거래조정원
public static final String UNYEONG = "1002000000"; //운영지원팀
public static final String BUNJAENG = "1003000000"; //분쟁조정실
public static final String GONGJEONG = "1004000000"; //공정거래팀
public static final String GAMAENG = "1005000000"; //가맹유통플랫폼팀
public static final String GEONSEOL = "1006000000"; //건설하도급팀
public static final String JEJO = "1007000000"; //제조하도급팀
public static final String YAKGWAN = "1008000000"; //약관팀
public static final String DAERIJEOM = "1009000000"; //대리점팀
public static final String MINWON = "1010000000"; //민원상담센터
public static final String GWANRI = "1020000000"; //관리팀
public static final String PEULLAETPOM = "1040000000"; //플랫폼팀
public static final String YUTONG = "1030000000"; //유통팀
/*직위*/
public static final String JIGWI = "0900000000"; //직위
public static final String YEONGUWIWON = "0901000000"; //연구위원
public static final String SENTEOJANG = "0902000000"; //센터장
public static final String BUWONJANG = "0903000000"; //부원장
public static final String BYEONHOSA = "0904000000"; //변호사
public static final String GAMSA = "0905000000"; //감사
public static final String JUIM = "0906000000"; //주임
public static final String UNJEONWON = "0907000000"; //운전원
public static final String WONJANG = "0908000000"; //원장
public static final String GUKJANG = "0909000000"; //국장
public static final String SILJANG = "0910000000"; //실장
public static final String TIMJANG = "0911000000"; //팀장
public static final String JOSAGWAN = "0912000000"; //조사관
public static final String SAWON = "0913000000"; //사원
public static final String BUYEONGUWON = "0914000000"; //부연구원
public static final String GWANRIJA = "0915000000"; //관리자
public static final String DAERI = "0916000000"; //대리
}

View File

@ -98,6 +98,37 @@ $(document).ready(function(){
}); });
$("#regIns").click(function(){ $("#regIns").click(function(){
if($("#caseGubun").val() == ""){
alert("조정유형을 선택해 주세요")
$("#caseGubun").focus();
return false;
}
if($("#caseReason1").val() == ""){
alert("신청사유를 선택해 주세요")
$("#caseReason1").focus();
return false;
}
if($('#caseGubun').val() == '0203000000' && $("#consignmentGubun").val() == ""){
alert("하도급 위탁유형을 선택해 주세요");
$('#consignmentGubun').focus();
return false;
}
if($("#docGubun").val() == ""){
alert("문서접수구분을 선택해 주세요");
$("#docGubun").focus();
return false;
}
if($("#docCheck").val() == ""){
alert("문서접수경로를 선택해 주세요");
$("#docCheck").focus();
return false;
}
$.blockUI({ message : '<h1><img src="/img/blockbusy.gif" />&nbsp;&nbsp;잠시만 기다려주세요.</h1>' }); $.blockUI({ message : '<h1><img src="/img/blockbusy.gif" />&nbsp;&nbsp;잠시만 기다려주세요.</h1>' });
var url = ""; var url = "";
$("#type").val("U"); $("#type").val("U");
@ -389,7 +420,7 @@ $(document).ready(function(){
//오늘을 기준으로 지난 날만 선택하려면 minDate를 maxDate로 변경, 전체 선택하려면 minDate나 maxDate 삭제 //오늘을 기준으로 지난 날만 선택하려면 minDate를 maxDate로 변경, 전체 선택하려면 minDate나 maxDate 삭제
}; };
//시작일 //시작일
jQuery("#firstContractDt, #ContractSt, #ContractEnd, #mrhstContractSt, #mrhstContractEnd, #mrhstFirstContractDt, #mrhstInfoDt, #joiningAmountDt, #s_subcntrDt-0, #s_cashDt-0, #s_bilPayday-0, #p_subcntrDt-0, #p_cashDt-0, #p_bilPayday-0").datepicker(dateOption); jQuery("#firstContractDt, #ContractSt, #ContractEnd, #mrhstContractSt, #mrhstContractEnd, #mrhstFirstContractDt, #mrhstInfoDt, #joiningAmountDt, #s_subcntrDt-0, #s_cashDt-0, #s_bilPayday-0, #p_subcntrDt-0, #p_cashDt-0, #p_bilPayday-0, #caseDate").datepicker(dateOption);
/* /*
제작자 : 최병기 제작자 : 최병기
@ -540,6 +571,7 @@ $(document).ready(function(){
$("#caseGubun").change(function(){ $("#caseGubun").change(function(){
//조정유형 변경 시 신청사유 셋팅 //조정유형 변경 시 신청사유 셋팅
resnCombo(); resnCombo();
showConsignmentGubun();
if($("#caseGubun").val() == '0203000000'){ if($("#caseGubun").val() == '0203000000'){
$("#isShow01").show(); $("#isShow01").show();
@ -628,6 +660,7 @@ $(document).ready(function(){
} }
resnCombo(); resnCombo();
showConsignmentGubun();
//}, 2000); //}, 2000);
//setTimeout(function() { //setTimeout(function() {
@ -652,6 +685,13 @@ $(document).ready(function(){
} }
} }
var consignmentGubunOptionList = $("#consignmentGubun option");
for(var i = 0; i < consignmentGubunOptionList.size(); i++){
if(consignmentGubunOptionList[i].value == '${recptmsData.consignmentGubun}'){
$(consignmentGubunOptionList[i]).attr("selected", true);
}
}
<c:if test="${not empty selectSubcntrsttusA}"> <c:if test="${not empty selectSubcntrsttusA}">
<c:forEach items="${selectSubcntrsttusA}" var="data" varStatus="status"> <c:forEach items="${selectSubcntrsttusA}" var="data" varStatus="status">
var list = $("#s_gubun-"+ "${status.index}" +" option"); var list = $("#s_gubun-"+ "${status.index}" +" option");
@ -756,6 +796,21 @@ function resnCombo(){
}); });
} }
function consignmentGubunCombo(){
var url = "";
$("#type").val("L");
//var param = jQuery('#applyForm').serialize();
var param = "";
url = "/user/case/common/ajax/ConsignmentGubun.do";
XHR2(url, param, function(r){
var objList = $("#consignmentGubun");
var sel = "";
if(objList.length > 0 && objList.val() == ""){
ajaxCombo(r.data, objList, sel);
}
});
}
//문서접수구분 //문서접수구분
function docGubunCombo(){ function docGubunCombo(){
var url = ""; var url = "";
@ -1100,6 +1155,17 @@ function removeChar(event) {
else else
event.target.value = event.target.value.replace(/[^0-9]/g, ""); event.target.value = event.target.value.replace(/[^0-9]/g, "");
} }
function showConsignmentGubun(){
if($('#caseGubun').val() == '0203000000'){
$('#consignmentGubunDiv').show();
consignmentGubunCombo();
}else{
$('#consignmentGubunDiv').hide();
$('#consignmentGubun').val('');
}
}
</script> </script>
<form name="frmTemp" id="frmTemp" action="" method="post"> <form name="frmTemp" id="frmTemp" action="" method="post">
@ -1226,6 +1292,18 @@ function removeChar(event) {
</div> </div>
</div> </div>
</div> </div>
<div id="consignmentGubunDiv" class="bbs-view-item">
<p class="item-title no-bullet"><span class="cs-essential"></span>하도급 위탁유형</p>
<div class="item-box">
<div class="form-inline">
<div class="form-group">
<select name="consignmentGubun" id="consignmentGubun" class="form-element">
<option value="">=하도급 위탁유형 선택=</option>
</select>
</div>
</div>
</div>
</div>
<div class="bbs-view-item"> <div class="bbs-view-item">
<p class="item-title no-bullet"><span class="cs-essential"></span>문서접수구분</p> <p class="item-title no-bullet"><span class="cs-essential"></span>문서접수구분</p>
<div class="item-box"> <div class="item-box">
@ -1256,6 +1334,17 @@ function removeChar(event) {
</div> </div>
</div> </div>
</div> </div>
<div class="bbs-view-item">
<p class="item-title no-bullet"><span class="cs-essential"></span>사건 접수일</p>
<div class="item-box">
<div class="form-inline">
<div class="form-group">
<fmt:formatDate var="caseDateFd" value="${recptmsData.caseDate}" pattern="yyyy-MM-dd" />
<input type="text" id="caseDate" name="caseDate" value="${caseDateFd}" style="width: 60%" readonly="readonly">
</div>
</div>
</div>
</div>
</div> </div>
@ -1492,11 +1581,35 @@ function removeChar(event) {
<th>신청경로</th> <th>신청경로</th>
<td colspan="3"> <td colspan="3">
<p> <p>
<c:if test="${selectReason.applyCheck eq '1'}">한국공정거래조정원 민원상담실</c:if> <c:choose>
<c:when test="${fn:substring(selectReason.rceptNo,0,8) >= 20220207}">
<c:if test="${selectReason.applyCheck eq '1'}">대중매체 광고(라디오,신문 등)</c:if>
<c:if test="${selectReason.applyCheck eq '2'}">옥외광고(지하철, 옥외간판 등)</c:if>
<c:if test="${selectReason.applyCheck eq '3'}">SNS채널(유튜브, 네이버 블로그, 인스타그램 등)</c:if>
<c:if test="${selectReason.applyCheck eq '4'}">공정거래위원회</c:if>
<c:if test="${selectReason.applyCheck eq '5'}">기타(지인소개, 인터넷 검색 등) - <c:out value='${selectReason.applyEtc}'/></c:if>
<c:if test="${selectReason.applyCheck eq '1_1'}">대중매체-광고라디오 광고</c:if>
<c:if test="${selectReason.applyCheck eq '1_2'}">대중매체-신문지면 광고</c:if>
<c:if test="${selectReason.applyCheck eq '1_3'}">대중매체-TV방송 광고</c:if>
<c:if test="${selectReason.applyCheck eq '2_1'}">옥외광고-지하철 스크린도어 광고</c:if>
<c:if test="${selectReason.applyCheck eq '2_2'}">옥외광고-버스 랩핑 광고</c:if>
<c:if test="${selectReason.applyCheck eq '2_3'}">옥외광고-옥외간판</c:if>
<c:if test="${selectReason.applyCheck eq '3_1'}">SNS채널-네이버 공식 블로그</c:if>
<c:if test="${selectReason.applyCheck eq '3_2'}">SNS채널-인스타그램·페이스북·트위터</c:if>
<c:if test="${selectReason.applyCheck eq '3_3'}">SNS채널-유튜브 (조정원TV)</c:if>
<c:if test="${selectReason.applyCheck eq '5_1'}">기타-지인소개</c:if>
<c:if test="${selectReason.applyCheck eq '5_2'}">기타-인터넷 검색</c:if>
<c:if test="${selectReason.applyCheck eq '5_3'}">기타-직접입력(<c:out value='${selectReason.applyEtc}'/>)</c:if>
</c:when>
<c:otherwise>
<c:if test="${selectReason.applyCheck eq '1'}">한국공정거래조정원 민원상담실</c:if>
<c:if test="${selectReason.applyCheck eq '2'}">공정거래위원회 고객지원담당관실</c:if> <c:if test="${selectReason.applyCheck eq '2'}">공정거래위원회 고객지원담당관실</c:if>
<c:if test="${selectReason.applyCheck eq '3'}">인터넷 검색</c:if> <c:if test="${selectReason.applyCheck eq '3'}">인터넷 검색</c:if>
<c:if test="${selectReason.applyCheck eq '4'}">언론기사</c:if> <c:if test="${selectReason.applyCheck eq '4'}">언론기사</c:if>
<c:if test="${selectReason.applyCheck eq '5'}">기타 - <c:out value='${selectReason.applyEtc}'/></c:if> <c:if test="${selectReason.applyCheck eq '5'}">기타 - <c:out value='${selectReason.applyEtc}'/></c:if>
</c:otherwise>
</c:choose>
</p> </p>
</td> </td>
</tr> </tr>
@ -1561,6 +1674,27 @@ function removeChar(event) {
<input type="text" id="ftcNote" name="ftcNote" value="${selectRceptsttus.ftcNote }" maxlength="100"> <input type="text" id="ftcNote" name="ftcNote" value="${selectRceptsttus.ftcNote }" maxlength="100">
</td> </td>
</tr> </tr>
<tr>
<th>당사자간 합의가 완료되어 조정조서 작성을 요청하는 사안인지 여부</th>
<td>
<input type="radio" id="parAgreement1" name="parAgreement" value="N" <c:if test="${selectRceptsttus.parAgreement == 'N'}">checked="checked"</c:if>>
<label for="radio03">아니오</label>
<input type="radio" id="parAgreement2" name="parAgreement" value="Y" <c:if test="${selectRceptsttus.parAgreement == 'Y'}">checked="checked"</c:if>>
<label for="radio04">예</label>
</td>
</tr>
<tr>
<th>동일사안 공정거래위원회 시정조치 여부</th>
<td>
<input type="radio" id="ftcCorrect1" name="ftcCorrect" value="N" <c:if test="${selectRceptsttus.ftcCorrect == 'N'}">checked="checked"</c:if>>
<label for="radio03">아니오</label>
<input type="radio" id="ftcCorrect2" name="ftcCorrect" value="Y" <c:if test="${selectRceptsttus.ftcCorrect == 'Y'}">checked="checked"</c:if>>
<label for="radio04">예</label>
</td>
<td colspan="2">
<input type="text" id="ftcCorrectNote" name="ftcCorrectNote" value="${selectRceptsttus.ftcCorrectNote }" maxlength="100">
</td>
</tr>
</tbody> </tbody>
</table> </table>
</div> </div>

View File

@ -3,6 +3,7 @@
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%> <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@page import="seed.utils.SeedConstants"%>
<script type="text/javascript"> <script type="text/javascript">
$(document) $(document)
.ready( .ready(
@ -213,22 +214,23 @@
<select name="searchGubun"> <select name="searchGubun">
<option value="">==분쟁유형==</option> <option value="">==분쟁유형==</option>
<option value="0201000000" <option value="0201000000"
<c:if test="${searchGubun == '0201000000'}">selected="selected"</c:if>>공정거래</option> <c:if test="${searchGubun == SeedConstants.GONGJEONGGEORAE}">selected="selected"</c:if>>공정거래</option>
<option value="0202000000" <option value="0202000000"
<c:if test="${searchGubun == '0202000000'}">selected="selected"</c:if>>가맹사업거래</option> <c:if test="${searchGubun == SeedConstants.GAMAENGGEORAE}">selected="selected"</c:if>>가맹사업거래</option>
<option value="0203000000" <option value="0203000000"
<c:if test="${searchGubun == '0203000000'}">selected="selected"</c:if>>하도급거래</option> <c:if test="${searchGubun == SeedConstants.HADOGEUPGEORAE}">selected="selected"</c:if>>하도급거래</option>
<option value="0204000000" <option value="0204000000"
<c:if test="${searchGubun == '0204000000'}">selected="selected"</c:if>>대규모유통거래</option> <c:if test="${searchGubun == SeedConstants.DAEGYUMOGEORAE}">selected="selected"</c:if>>대규모유통거래</option>
<option value="0205000000" <option value="0205000000"
<c:if test="${searchGubun == '0205000000'}">selected="selected"</c:if>>약관거래</option> <c:if test="${searchGubun == SeedConstants.YAKGWANGEORAE}">selected="selected"</c:if>>약관거래</option>
<option value="0206000000" <option value="0206000000"
<c:if test="${searchGubun == '0206000000'}">selected="selected"</c:if>>대리점거래</option> <c:if test="${searchGubun == SeedConstants.DAERIJEOMGEORAE}">selected="selected"</c:if>>대리점거래</option>
</select> </select>
<!--소속 : 유통팀, 한국공정거래조정원, 민원상담센터 소속
<%-- <c:if 직위 : 팀장이 아닌-->
test="${(memberDept == '1030000000' || memberDept == '1001000000' || memberDept == '1010000000') && memberPosition != '0911000000'}"> <c:if
test="${(memberDept == SeedConstants.YUTONG || memberDept == SeedConstants.HANGUK || memberDept == SeedConstants.MINWON) && memberPosition != SeedConstants.TIMJANG}">
<select name="searchMa"> <select name="searchMa">
<option value="N" <option value="N"
<c:if test="${searchMa == 'N' || searchMa == ''}">selected="selected"</c:if>>미배정</option> <c:if test="${searchMa == 'N' || searchMa == ''}">selected="selected"</c:if>>미배정</option>
@ -237,18 +239,7 @@
<option value="Y" <option value="Y"
<c:if test="${searchMa == 'Y' && searchMa != ''}">selected="selected"</c:if>>배정</option> <c:if test="${searchMa == 'Y' && searchMa != ''}">selected="selected"</c:if>>배정</option>
</select> </select>
</c:if> --%> </c:if>
<!-- tempSrc(조건없이 임시 사용 시작) -->
<select name="searchMa">
<option value="N"
<c:if test="${searchMa == 'N' || searchMa == ''}">selected="selected"</c:if>>미배정</option>
<option value="P"
<c:if test="${searchMa == 'P'}">selected="selected"</c:if>>배정중</option>
<option value="Y"
<c:if test="${searchMa == 'Y' && searchMa != ''}">selected="selected"</c:if>>배정</option>
</select>
<!-- tempSrc(조건없이 임시 사용 끝) -->
<input type="text" id="dateSt" name="dateSt" value="${dateSt }"> <input type="text" id="dateSt" name="dateSt" value="${dateSt }">
~ <input type="text" id="dateEnd" name="dateEnd" value="${dateEnd }"> ~ <input type="text" id="dateEnd" name="dateEnd" value="${dateEnd }">
</div> </div>
@ -260,7 +251,7 @@
</div> </div>
<div class="form-wrap"> <div class="form-wrap">
<div class="table-layout br-none"> <div class="table-layout br-none">
<%-- <table> <table>
<caption>분쟁사건에 대한 신청목록 화면 입니다.</caption> <caption>분쟁사건에 대한 신청목록 화면 입니다.</caption>
<colgroup> <colgroup>
<col width="3%"> <col width="3%">
@ -270,8 +261,9 @@
<col width="28%"> <col width="28%">
<col width="10%"> <col width="10%">
<col width="7%"> <col width="7%">
<!--소속 : 유통팀, 한국공정거래조정원, 민원상담센터 -->
<c:if <c:if
test="${(memberDept == '1030000000' || memberDept == '1001000000' || memberDept == '1010000000') }"> test="${(memberDept == SeedConstants.YUTONG || memberDept == SeedConstants.HANGUK || memberDept == SeedConstants.MINWON) }">
<col width="10%"> <col width="10%">
</c:if> </c:if>
</colgroup> </colgroup>
@ -279,8 +271,9 @@
<tr> <tr>
<th scope="col"><c:choose> <th scope="col"><c:choose>
<c:when test="${searchMa == 'N'}"> <c:when test="${searchMa == 'N'}">
<!--소속 : 유통팀, 민원상담센터 -->
<c:if <c:if
test="${memberDept == '1030000000' || memberDept == '1010000000' }"> test="${memberDept == SeedConstants.YUTONG || memberDept == SeedConstants.MINWON }">
<input type="checkbox" id="checkall" /> <input type="checkbox" id="checkall" />
</c:if> </c:if>
</c:when> </c:when>
@ -304,8 +297,9 @@
</th> </th>
<th scope="col">등록일</th> <th scope="col">등록일</th>
<th scope="col">분쟁유형</th> <th scope="col">분쟁유형</th>
<!--소속 : 유통팀, 한국공정거래조정원, 민원상담센터 -->
<c:if <c:if
test="${(memberDept == '1030000000' || memberDept == '1001000000' || memberDept == '1010000000') }"> test="${(memberDept == SeedConstants.YUTONG || memberDept == SeedConstants.HANGUK || memberDept == SeedConstants.MINWON) }">
<th scope="col">조사관</th> <th scope="col">조사관</th>
</c:if> </c:if>
</tr> </tr>
@ -314,12 +308,12 @@
<c:forEach items="${data}" var="list" varStatus="status"> <c:forEach items="${data}" var="list" varStatus="status">
<tr> <tr>
<td><c:choose> <td><c:choose>
<c:when test="${memberDept == '1030000000' && searchMa == 'N'}"> <c:when test="${memberDept == SeedConstants.YUTONG && searchMa == 'N'}">
<c:if test="${list.delGubun != 'R'}"> <c:if test="${list.delGubun != 'R'}">
<input type="checkbox" id="chk" value="${list.rceptNo }" /> <input type="checkbox" id="chk" value="${list.rceptNo }" />
</c:if> </c:if>
</c:when> </c:when>
<c:when test="${memberDept == '1010000000' && searchMa == 'N'}"> <c:when test="${memberDept == SeedConstants.MINWON && searchMa == 'N'}">
<c:if test="${list.delGubun != 'R'}"> <c:if test="${list.delGubun != 'R'}">
<input type="checkbox" id="chk" value="${list.rceptNo }" /> <input type="checkbox" id="chk" value="${list.rceptNo }" />
</c:if> </c:if>
@ -331,7 +325,7 @@
</c:choose></td> </c:choose></td>
<td><c:choose> <td><c:choose>
<c:when <c:when
test="${(searchMa != 'Y' && (memberDept == '1030000000' || memberDept == '1001000000')) && memberPosition != '0911000000'}"> test="${(searchMa != 'Y' && (memberDept == SeedConstants.YUTONG || memberDept == SeedConstants.HANGUK)) && memberPosition != SeedConstants.TIMJANG}">
<a <a
href="javascript:goPage('edit','${list.rceptNo}', '${list.delGubun}');" href="javascript:goPage('edit','${list.rceptNo}', '${list.delGubun}');"
<c:if test="${list.delGubun == 'R'}">style='color: red'</c:if>>${list.rceptNo}</a> <c:if test="${list.delGubun == 'R'}">style='color: red'</c:if>>${list.rceptNo}</a>
@ -358,117 +352,7 @@
<td>${list.regDt}</td> <td>${list.regDt}</td>
<td>${list.caseGubun}</td> <td>${list.caseGubun}</td>
<c:if <c:if
test="${(memberDept == '1030000000' || memberDept == '1001000000' || memberDept == '1010000000') }"> test="${(memberDept == SeedConstants.YUTONG || memberDept == SeedConstants.HANGUK || memberDept == SeedConstants.MINWON) }">
<c:choose>
<c:when test="${searchMa == 'Y'}">
<td>${list.memberName}</td>
</c:when>
<c:when test="${searchMa == 'P'}">
<td>배정중</td>
</c:when>
<c:otherwise>
<td>미배정</td>
</c:otherwise>
</c:choose>
</c:if>
</tr>
</c:forEach>
</tbody>
</table> --%>
<!-- tempSrc(조건없이 임시 사용 시작) -->
<table>
<caption>분쟁사건에 대한 신청목록 화면 입니다.</caption>
<colgroup>
<col width="3%">
<col width="9%">
<col width="5%">
<col width="28%">
<col width="28%">
<col width="10%">
<col width="7%">
<col width="10%">
</colgroup>
<thead>
<tr>
<th scope="col"><input type="checkbox" id="checkall" /></th>
<th scope="col">문서등록번호</th>
<th scope="col">접수구분</th>
<th scope="col" style="text-align: center;">신청인
<ul style="list-style-type: none;">
<li style="display: inline-block; width: 39%;">이름</li>
<li style="display: inline-block; width: 59%;">사업체명</li>
</ul>
</th>
<th scope="col" style="text-align: center;">피신청인
<ul style="list-style-type: none;">
<li style="display: inline-block; width: 39%;">이름</li>
<li style="display: inline-block; width: 59%;">사업체명</li>
</ul>
</th>
<th scope="col">등록일</th>
<th scope="col">분쟁유형</th>
<th scope="col">조사관</th>
</tr>
</thead>
<tbody>
<c:forEach items="${data}" var="list" varStatus="status">
<tr>
<!-- tempSrc(조건없이 임시 사용) -->
<%-- <td><c:choose>
<c:when test="${memberDept == '1030000000' && searchMa == 'N'}">
<c:if test="${list.delGubun != 'R'}">
<input type="checkbox" id="chk" value="${list.rceptNo }" />
</c:if>
</c:when>
<c:when test="${memberDept == '1010000000' && searchMa == 'N'}">
<c:if test="${list.delGubun != 'R'}">
<input type="checkbox" id="chk" value="${list.rceptNo }" />
</c:if>
</c:when>
<c:otherwise>
<c:out
value="${(pageMaker.totalCount - ((pageMaker.cri.page-1)*pageMaker.cri.perPageNum)) - status.index}" />
</c:otherwise>
</c:choose></td> --%>
<td>
<input type="checkbox" id="chk" value="${list.rceptNo }" />
</td>
<td><a
href="javascript:goPage('view','${list.rceptNo}', '${list.delGubun}');"
<c:if test="${list.delGubun == 'R'}">style='color: red'</c:if>>${list.rceptNo}</a>
</td>
<!-- tempSrc(조건없이 임시 사용) -->
<%-- <td><c:choose>
<c:when
test="${(searchMa != 'Y' && (memberDept == '1030000000' || memberDept == '1001000000')) && memberPosition != '0911000000'}">
<a
href="javascript:goPage('edit','${list.rceptNo}', '${list.delGubun}');"
<c:if test="${list.delGubun == 'R'}">style='color: red'</c:if>>${list.rceptNo}</a>
</c:when>
<c:otherwise>
<a
href="javascript:goPage('view','${list.rceptNo}', '${list.delGubun}');"
<c:if test="${list.delGubun == 'R'}">style='color: red'</c:if>>${list.rceptNo}</a>
</c:otherwise>
</c:choose></td> --%>
<td>${list.docGubun}</td>
<td style="text-align: center;">
<ul style="list-style-type: none;">
<li style="display: inline-block; width: 39%;">${list.companyCeo}</li>
<li style="display: inline-block; width: 59%;">${list.applcntCompany}</li>
</ul>
</td>
<td style="text-align: center;">
<ul style="list-style-type: none;">
<li style="display: inline-block; width: 39%;">${list.respondentCeo}</li>
<li style="display: inline-block; width: 59%;">${list.respondentCompany}</li>
</ul>
</td>
<td>${list.regDt}</td>
<td>${list.caseGubun}</td>
<c:if
test="${(memberDept == '1030000000' || memberDept == '1001000000' || memberDept == '1010000000') }">
<c:choose> <c:choose>
<c:when test="${searchMa == 'Y'}"> <c:when test="${searchMa == 'Y'}">
<td>${list.memberName}</td> <td>${list.memberName}</td>
@ -486,34 +370,24 @@
</c:forEach> </c:forEach>
</tbody> </tbody>
</table> </table>
<!-- tempSrc(조건없이 임시 사용 끝) -->
</div> </div>
<%-- <c:if <!--소속 : 유통팀
test="${(memberDept == '1030000000') && memberPosition != '0911000000'}"> 직위 : 팀장이 아닌-->
<c:if
test="${((memberDept == SeedConstants.YUTONG) && memberPosition != SeedConstants.TIMJANG) || memberPosition == SeedConstants.GWANRIJA}">
<c:if test="${searchMa != 'Y'}"> <c:if test="${searchMa != 'Y'}">
<div class="change-state-area" style="overflow: hidden;"> <div class="change-state-area" style="overflow: hidden;">
<div align="right"> <div align="right">
<button type="button" onclick="goPage('write', '')" <button type="button" onclick="goPage('write', '')"
class="btn-change-state" style="background-color: #5e66ab;">오프라인신청서 class="btn-change-state" style="background-color: #5e66ab;">오프라인신청서
작성 및 접수</button> 작성 및 접수</button>
<button type="button" onclick="asSign();" class="btn-change-state" <!-- <button type="button" onclick="asSign();" class="btn-change-state"
style="background-color: #5e66ab;">접수승인</button> style="background-color: #5e66ab;">접수승인</button> -->
</div> </div>
</div> </div>
</c:if> </c:if>
</c:if> --%> </c:if>
<!-- tempSrc(조건없이 임시 사용 시작) -->
<div class="change-state-area" style="overflow: hidden;">
<div align="right">
<button type="button" onclick="goPage('write', '')"
class="btn-change-state" style="background-color: #5e66ab;">오프라인신청서
작성 및 접수(임시)</button>
<button type="button" onclick="asSign();" class="btn-change-state"
style="background-color: #5e66ab;">접수승인(임시)</button>
</div>
</div>
<!-- tempSrc(조건없이 임시 사용 끝) -->
</div> </div>
<!-- 페이징 --> <!-- 페이징 -->
@ -632,83 +506,4 @@
} }
</script> </script>
</form:form> </form:form>
<div id="tempDiv">
<button class="tempBtn">부서 코드 값(MEMBER_DEPT)</button>
<div class="tempTooltip">
한국공정거래조정원 - 1001000000<br/>
운영지원팀 - 1002000000<br/>
분쟁조정실 - 1003000000<br/>
공정거래팀 - 1004000000<br/>
가맹유통플랫폼팀 - 1005000000<br/>
건설하도급팀 - 1006000000<br/>
제조하도급팀 - 1007000000<br/>
약관팀 - 1008000000<br/>
대리점팀 - 1009000000<br/>
민원상담센터 - 1010000000<br/>
관리팀 - 1020000000<br/>
플랫폼팀 - 1040000000<br/>
유통팀 - 1030000000<br/><br/>
</div><br/>
<button class="tempBtn">직위 코드 값(MEMBER_POSITION)</button>
<div class="tempTooltip">
연구위원 - 0901000000<br/>
센터장 - 0902000000<br/>
부원장 - 0903000000<br/>
변호사 - 0904000000<br/>
감사 - 0905000000<br/>
주임 - 0906000000<br/>
운전원 - 0907000000<br/>
원장 - 0908000000<br/>
국장 - 0909000000<br/>
실장 - 0910000000<br/>
팀장 - 0911000000<br/>
조사관 - 0912000000<br/>
사원 - 0913000000<br/>
부연구위원 - 0914000000<br/>
관리자 - 0915000000<br/>
대리 - 0916000000<br/>
</div><br/><br/>
<button class="tempBtn">배정 여부 검색조건 selectbox 노출 조건</button>
<div class="tempTooltip">
회원 부서가 한국공정거래조정원 or 민원상담센터 or 유통팀 이면서 직위가 팀장이 아닌 경우
</div><br/>
<button class="tempBtn">table 항목</button>
<div class="tempTooltip">
회원 부서가 한국공정거래조정원 or 분쟁조정실일 경우 체크박스 노출<br/>
회원 부서가 한국공정거래조정원 or 분쟁조정실일 or 민원상담센터이면 조사관명 또는 배정상태 노출
</div><br/>
<button class="tempBtn">목록 클릭 시 이벤트</button>
<div class="tempTooltip">
사건이 배정 완료 상태가 아니면서 회원부서가 한국공정거래조정원 or 민원상담센터 or 유통팀 이면서 직위가 팀장이 아닌 경우 수정 화면으로 이동<br/>
위의 조건이 아닐 시 상세화면으로 이동
</div><br/>
<button class="tempBtn">오프라인 신청서 작성 및 접수 승인 버튼</button>
<div class="tempTooltip">
회원 부서가 분쟁조정실이면서 직위가 팀장이 아닌 경우 노출
</div><br/>
</div>
<style>
.tempTooltip {
position: absolute;
background-color: #f9f9f9;
border: 1px solid #ccc;
border-radius: 5px;
padding: 10px;
z-index: 1000;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
display: none;
}
</style>
<script>
$(".tempBtn").click(function(){
var tooltip = $(this).next(".tempTooltip");
$(".tempTooltip").not(tooltip).hide(); // 다른 툴팁 숨기기
tooltip.toggle();
});
</script>

View File

@ -3,6 +3,7 @@
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%> <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@page import="seed.utils.SeedConstants"%>
<script type="text/javascript"> <script type="text/javascript">
$(document).ready(function(){ $(document).ready(function(){
@ -265,7 +266,7 @@ $(document).ready(function(){
//오늘을 기준으로 지난 날만 선택하려면 minDate를 maxDate로 변경, 전체 선택하려면 minDate나 maxDate 삭제 //오늘을 기준으로 지난 날만 선택하려면 minDate를 maxDate로 변경, 전체 선택하려면 minDate나 maxDate 삭제
}; };
//시작일 //시작일
jQuery("#firstContractDt, #ContractSt, #ContractEnd, #mrhstContractSt, #mrhstContractEnd, #mrhstFirstContractDt, #mrhstInfoDt, #joiningAmountDt, #s_subcntrDt-0, #s_cashDt-0, #s_bilPayday-0, #p_subcntrDt-0, #p_cashDt-0, #p_bilPayday-0").datepicker(dateOption); jQuery("#firstContractDt, #ContractSt, #ContractEnd, #mrhstContractSt, #mrhstContractEnd, #mrhstFirstContractDt, #mrhstInfoDt, #joiningAmountDt, #s_subcntrDt-0, #s_cashDt-0, #s_bilPayday-0, #p_subcntrDt-0, #p_cashDt-0, #p_bilPayday-0, #caseDate").datepicker(dateOption);
/* /*
제작자 : 최병기 제작자 : 최병기
@ -454,33 +455,12 @@ $(document).ready(function(){
$("#caseGubun").change(function(){ $("#caseGubun").change(function(){
//조정유형 변경 시 신청사유 셋팅 //조정유형 변경 시 신청사유 셋팅
resnCombo(); resnCombo();
showConsignmentGubun();
/* var optionList = $("#presidentAssign option");
for(var i = 0; i < optionList.size(); i++){
if(optionList[i].value == ''){
$(optionList[i]).attr("selected", true);
}
} */
var presidentAssignVal = "";
if($("#caseGubun").val() == '0201000000'){//공정거래
presidentAssignVal = "1004000000";
}else if($("#caseGubun").val() == '0202000000'){//가맹사업거래
presidentAssignVal = "1005000000";
}else if($("#caseGubun").val() == '0203000000'){//하도급거래
presidentAssignVal = "1006000000";
}else if($("#caseGubun").val() == '0204000000'){//대규모유통거래
presidentAssignVal = "1030000000";
}else if($("#caseGubun").val() == '0205000000'){//약관거래
presidentAssignVal = "1008000000";
}else if($("#caseGubun").val() == '0206000000'){//대리점거래
presidentAssignVal = "1009000000";
}
var optionList = $("#presidentAssign option"); var optionList = $("#presidentAssign option");
for(var i = 0; i < optionList.size(); i++){ for(var i = 0; i < optionList.size(); i++){
$(optionList[i]).prop("selected", false); $(optionList[i]).prop("selected", false);
if(optionList[i].value == presidentAssignVal){ if(optionList[i].value == '${recptmsData.presidentAssign}'){
$(optionList[i]).prop("selected", true); $(optionList[i]).prop("selected", true);
} }
} }
@ -507,15 +487,8 @@ $(document).ready(function(){
$("#presidentAssign").change(function(){ $("#presidentAssign").change(function(){
/* var optionList = $("#presidentAssign option");
for(var i = 0; i < optionList.size(); i++){
if(optionList[i].value == ''){
$(optionList[i]).attr("selected", true);
}
} */
var presidentAssignVal = ""; var presidentAssignVal = "";
if($("#presidentAssign").val() == '1004000000'){ if($("#presidentAssign").val() == '1004000000' || $("#presidentAssign").val() == '1040000000'){
presidentAssignVal = "0201000000"; presidentAssignVal = "0201000000";
}else if($("#presidentAssign").val() == '1005000000'){ }else if($("#presidentAssign").val() == '1005000000'){
presidentAssignVal = "0202000000"; presidentAssignVal = "0202000000";
@ -524,7 +497,7 @@ $(document).ready(function(){
}else if($("#presidentAssign").val() == '1008000000'){ }else if($("#presidentAssign").val() == '1008000000'){
presidentAssignVal = "0205000000"; presidentAssignVal = "0205000000";
}else if($("#presidentAssign").val() == '1030000000'){ }else if($("#presidentAssign").val() == '1030000000'){
presidentAssignVal = ""; presidentAssignVal = "0204000000";
}else if($("#presidentAssign").val() == '1009000000'){ }else if($("#presidentAssign").val() == '1009000000'){
presidentAssignVal = "0206000000"; presidentAssignVal = "0206000000";
} }
@ -557,6 +530,7 @@ $(document).ready(function(){
//조정유형 변경 시 신청사유 셋팅 //조정유형 변경 시 신청사유 셋팅
resnCombo(); resnCombo();
showConsignmentGubun();
}); });
@ -588,6 +562,7 @@ $(document).ready(function(){
} }
resnCombo(); resnCombo();
showConsignmentGubun();
// } // }
//}, 1600); //}, 1600);
@ -613,6 +588,13 @@ $(document).ready(function(){
if(optionList[i].value == '${recptmsData.caseReason3}'){ if(optionList[i].value == '${recptmsData.caseReason3}'){
$(optionList[i]).attr("selected", true); $(optionList[i]).attr("selected", true);
} }
}
var consignmentGubunOptionList = $("#consignmentGubun option");
for(var i = 0; i < consignmentGubunOptionList.size(); i++){
if(consignmentGubunOptionList[i].value == '${recptmsData.consignmentGubun}'){
$(consignmentGubunOptionList[i]).attr("selected", true);
}
} }
//} //}
@ -650,10 +632,10 @@ $(document).ready(function(){
}else if(caseGubunVal == '0202000000'){//가맹 }else if(caseGubunVal == '0202000000'){//가맹
tempAssign = '1005000000'; tempAssign = '1005000000';
}else if(caseGubunVal == '0203000000'){//하도 }else if(caseGubunVal == '0203000000'){//하도
if('${selectRceptsttus.subcntrConName}' == '등록' || '${selectRceptsttus.subcntrConName}' != ""){ if($('#consignmentGubun').val() == '5901000000'){
tempAssign = '1006000000';
}else{
tempAssign = '1007000000'; tempAssign = '1007000000';
}else{
tempAssign = '1006000000';
} }
}else if(caseGubunVal == '0204000000'){//유통 }else if(caseGubunVal == '0204000000'){//유통
tempAssign = '1030000000'; tempAssign = '1030000000';
@ -671,10 +653,10 @@ $(document).ready(function(){
}else if(caseGubunVal == '0202000000'){//가맹 }else if(caseGubunVal == '0202000000'){//가맹
tempAssign = '1005000000'; tempAssign = '1005000000';
}else if(caseGubunVal == '0203000000'){//하도 }else if(caseGubunVal == '0203000000'){//하도
if('${selectRceptsttus.subcntrConName}' == '등록' || '${selectRceptsttus.subcntrConName}' != ""){ if($('#consignmentGubun').val() == '5901000000'){
tempAssign = '1006000000';
}else{
tempAssign = '1007000000'; tempAssign = '1007000000';
}else{
tempAssign = '1006000000';
} }
}else if(caseGubunVal == '0204000000'){//유통 }else if(caseGubunVal == '0204000000'){//유통
tempAssign = '1030000000'; tempAssign = '1030000000';
@ -743,6 +725,20 @@ function resnCombo(){
}); });
} }
function consignmentGubunCombo(){
var url = "";
$("#type").val("L");
var param = jQuery('#frm').serialize();
url = "/user/case/common/ajax/ConsignmentGubun.do";
XHR2(url, param, function(r){
var objList = $("#consignmentGubun");
var sel = "";
if(objList.length > 0 && objList.val() == ""){
ajaxCombo(r.data, objList, sel);
}
});
}
function memberDeptCombo(){ function memberDeptCombo(){
var url = ""; var url = "";
$("#type").val("L"); $("#type").val("L");
@ -1047,6 +1043,17 @@ function changeAssign(){
} }
} }
function showConsignmentGubun(){
if($('#caseGubun').val() == '0203000000'){
$('#consignmentGubunDiv').show();
consignmentGubunCombo();
}else{
$('#consignmentGubun').val('');
$('#consignmentGubunDiv').hide();
}
}
</script> </script>
<form name="frmTemp" id="frmTemp" action="" method="post"> <form name="frmTemp" id="frmTemp" action="" method="post">
@ -1146,6 +1153,18 @@ function changeAssign(){
</c:choose> --%> </c:choose> --%>
</div> </div>
</div> </div>
<div id="consignmentGubunDiv" class="bbs-view-item">
<p class="item-title no-bullet">하도급 위탁유형</p>
<div class="item-box">
<div class="form-inline">
<div class="form-group">
<select name="consignmentGubun" id="consignmentGubun" class="form-element">
<option value="">=하도급 위탁유형 선택=</option>
</select>
</div>
</div>
</div>
</div>
<div class="bbs-view-item"> <div class="bbs-view-item">
<p class="item-title no-bullet">문서접수구분</p> <p class="item-title no-bullet">문서접수구분</p>
<div class="item-box"> <div class="item-box">
@ -1172,6 +1191,17 @@ function changeAssign(){
</div> </div>
</div> </div>
</div> </div>
<div class="bbs-view-item">
<p class="item-title no-bullet">사건 접수일</p>
<div class="item-box">
<div class="form-inline">
<div class="form-group">
<fmt:formatDate var="caseDateFd" value="${recptmsData.caseDate}" pattern="yyyy-MM-dd" />
<input type="text" id="caseDate" name="caseDate" value="${caseDateFd}" style="width: 60%" readonly="readonly">
</div>
</div>
</div>
</div>
<div class="bbs-view-item"> <div class="bbs-view-item">
<p class="item-title no-bullet">다음사건번호</p> <p class="item-title no-bullet">다음사건번호</p>
<div class="item-box"> <div class="item-box">
@ -1184,7 +1214,8 @@ function changeAssign(){
</div> </div>
</div> </div>
<%-- <c:if test="${(memberDept == '1001000000' && memberPosition == '0903000000') || (memberDept == '1003000000' && memberPosition == '0910000000')}"> <!-- 한국공정거래조정원 부원장 or 분쟁조정실 실장 -->
<c:if test="${(memberDept == SeedConstants.HANGUK && memberPosition == SeedConstants.BUWONJANG) || (memberDept == SeedConstants.BUNJAENG && memberPosition == SeedConstants.SILJANG)}">
<h3 class="mb10 mt30">담당부서배정</h3> <h3 class="mb10 mt30">담당부서배정</h3>
<div class="bbs-view-layout"> <div class="bbs-view-layout">
<div class="bbs-view-item"> <div class="bbs-view-item">
@ -1198,9 +1229,21 @@ function changeAssign(){
</div> </div>
</c:if> </c:if>
<c:if test="${memberPosition == '0911000000'}"><!-- 팀장들 --> <!-- 팀장들 -->
<c:if test="${memberPosition == SeedConstants.TIMJANG}">
<%-- <h3 class="mb10 mt30">담당부서배정</h3>
<div class="bbs-view-layout">
<div class="bbs-view-item">
<p class="item-title no-bullet"><span class="cs-essential"></span>부서명</p>
<div class="item-box">
<input type="hidden" id="presidentAssign" name="presidentAssign" value="${recptmsData.scchfAssign}"/>
${recptmsData.scchfAssignName}
</div>
</div>
</div> --%>
<!-- 팀장이고, 해당 부서면, 해당 부서가 셀렉트 박스에 체크되어 있도록 하기. --> <!-- 팀장이고, 해당 부서면, 해당 부서가 셀렉트 박스에 체크되어 있도록 하기. -->
<h3 class="mb10 mt30">담당부서배정</h3> <h3 class="mb10 mt30">담당부서배정</h3>
<div class="bbs-view-layout"> <div class="bbs-view-layout">
<div class="bbs-view-item"> <div class="bbs-view-item">
@ -1226,48 +1269,8 @@ function changeAssign(){
</div> </div>
</div> </div>
</div> </div>
</c:if> --%> </c:if>
<!-- tempSrc(조건없이 임시 사용 시작) -->
<h3 class="mb10 mt30">담당부서배정</h3>
<!-- <div class="bbs-view-layout">
<div class="bbs-view-item">
<p class="item-title no-bullet">부서명</p>
<div class="item-box">
<select name="presidentAssign" id="presidentAssign">
<option value="">선택</option>
</select>
</div>
</div>
</div> -->
<!-- 팀장이고, 해당 부서면, 해당 부서가 셀렉트 박스에 체크되어 있도록 하기. -->
<h3 class="mb10 mt30">담당부서배정</h3>
<div class="bbs-view-layout">
<div class="bbs-view-item">
<p class="item-title no-bullet"><span class="cs-essential"></span>부서명</p>
<div class="item-box">
<select name="presidentAssign" id="presidentAssign" onchange="changeAssign();">
<option value="">선택</option>
</select>
</div>
</div>
</div>
<div id="examinerHide">
<h3 class="mb10 mt30">담당자배정</h3>
<div class="bbs-view-layout">
<div class="bbs-view-item">
<p class="item-title no-bullet"><span class="cs-essential"></span>담당자</p>
<div class="item-box">
<select name="examinerAssign" id="examinerAssign">
<option value="">선택</option>
</select>
</div>
</div>
</div>
</div>
<!-- tempSrc(조건없이 임시 사용 끝) -->
<h3 class="mb10 mt30">분쟁정보</h3> <h3 class="mb10 mt30">분쟁정보</h3>
<div class="bbs-view-layout" style="margin-bottom: 20px;"> <div class="bbs-view-layout" style="margin-bottom: 20px;">
<div class="bbs-view-layout" id="fileCnt" data-forms-addnum="0"> <div class="bbs-view-layout" id="fileCnt" data-forms-addnum="0">
@ -1473,16 +1476,40 @@ function changeAssign(){
<th>신청경로</th> <th>신청경로</th>
<td colspan="3"> <td colspan="3">
<p> <p>
<c:if test="${selectReason.applyCheck eq '1'}">한국공정거래조정원 민원상담실</c:if> <c:choose>
<c:when test="${fn:substring(selectReason.rceptNo,0,8) >= 20220207}">
<c:if test="${selectReason.applyCheck eq '1'}">대중매체 광고(라디오,신문 등)</c:if>
<c:if test="${selectReason.applyCheck eq '2'}">옥외광고(지하철, 옥외간판 등)</c:if>
<c:if test="${selectReason.applyCheck eq '3'}">SNS채널(유튜브, 네이버 블로그, 인스타그램 등)</c:if>
<c:if test="${selectReason.applyCheck eq '4'}">공정거래위원회</c:if>
<c:if test="${selectReason.applyCheck eq '5'}">기타(지인소개, 인터넷 검색 등) - <c:out value='${selectReason.applyEtc}'/></c:if>
<c:if test="${selectReason.applyCheck eq '1_1'}">대중매체-광고라디오 광고</c:if>
<c:if test="${selectReason.applyCheck eq '1_2'}">대중매체-신문지면 광고</c:if>
<c:if test="${selectReason.applyCheck eq '1_3'}">대중매체-TV방송 광고</c:if>
<c:if test="${selectReason.applyCheck eq '2_1'}">옥외광고-지하철 스크린도어 광고</c:if>
<c:if test="${selectReason.applyCheck eq '2_2'}">옥외광고-버스 랩핑 광고</c:if>
<c:if test="${selectReason.applyCheck eq '2_3'}">옥외광고-옥외간판</c:if>
<c:if test="${selectReason.applyCheck eq '3_1'}">SNS채널-네이버 공식 블로그</c:if>
<c:if test="${selectReason.applyCheck eq '3_2'}">SNS채널-인스타그램·페이스북·트위터</c:if>
<c:if test="${selectReason.applyCheck eq '3_3'}">SNS채널-유튜브 (조정원TV)</c:if>
<c:if test="${selectReason.applyCheck eq '5_1'}">기타-지인소개</c:if>
<c:if test="${selectReason.applyCheck eq '5_2'}">기타-인터넷 검색</c:if>
<c:if test="${selectReason.applyCheck eq '5_3'}">기타-직접입력(<c:out value='${selectReason.applyEtc}'/>)</c:if>
</c:when>
<c:otherwise>
<c:if test="${selectReason.applyCheck eq '1'}">한국공정거래조정원 민원상담실</c:if>
<c:if test="${selectReason.applyCheck eq '2'}">공정거래위원회 고객지원담당관실</c:if> <c:if test="${selectReason.applyCheck eq '2'}">공정거래위원회 고객지원담당관실</c:if>
<c:if test="${selectReason.applyCheck eq '3'}">인터넷 검색</c:if> <c:if test="${selectReason.applyCheck eq '3'}">인터넷 검색</c:if>
<c:if test="${selectReason.applyCheck eq '4'}">언론기사</c:if> <c:if test="${selectReason.applyCheck eq '4'}">언론기사</c:if>
<c:if test="${selectReason.applyCheck eq '5'}">기타 - <c:out value='${selectReason.applyEtc}'/></c:if> <c:if test="${selectReason.applyCheck eq '5'}">기타 - <c:out value='${selectReason.applyEtc}'/></c:if>
</c:otherwise>
</c:choose>
</p> </p>
</td> </td>
</tr> </tr>
<tr style="border-bottom: 1px solid #e8e8e8"> <tr style="border-bottom: 1px solid #e8e8e8">
<th rowspan="5">기타 확인사항</th> <th rowspan="7">기타 확인사항</th>
<th>소송</th> <th>소송</th>
<td colspan="3"> <td colspan="3">
<c:out value="${selectRceptsttus.lawsuitCheckName}" /> <c:out value="${selectRceptsttus.lawsuitCheckName}" />
@ -1506,11 +1533,23 @@ function changeAssign(){
<c:out value="${selectRceptsttus.regulatingOrganName}" /> <c:out value="${selectRceptsttus.regulatingOrganName}" />
</td> </td>
</tr> </tr>
<tr> <tr style="border-bottom: 1px solid #e8e8e8">
<th>공정거래위원회 조사</th> <th>공정거래위원회 조사</th>
<td colspan="3"> <td colspan="3">
<c:out value="${selectRceptsttus.ftcInvestigationName}" /> <c:out value="${selectRceptsttus.ftcInvestigationName}" />
</td> </td>
</tr>
<tr style="border-bottom: 1px solid #e8e8e8">
<th>동일사안 공정거래위원회<br>시정조치 여부</th>
<td colspan="3">
<c:out value="${selectRceptsttus.ftcCorrectName}" />
</td>
</tr>
<tr style="border-bottom: 1px solid #e8e8e8">
<th>당사자간 합의가 완료되어<br> 조정조서 작성을 <br>요청하는 사안인지 여부</th>
<td colspan="3">
<c:out value="${selectRceptsttus.parAgreement == 'Y' ? '예' : '아니오'}" />
</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
@ -2610,13 +2649,13 @@ function changeAssign(){
</div> </div>
</div> </div>
<br> <br>
<!-- 한국공정거래조정원 부원장 or 분쟁조정실 실장 -->
<c:if test="${(memberDept == '1001000000' && memberPosition == '0903000000') || (memberDept == '1003000000' && memberPosition == '0910000000')}"> <c:if test="${(memberDept == SeedConstants.HANGUK && memberPosition == SeedConstants.BUWONJANG) || (memberDept == SeedConstants.BUNJAENG && memberPosition == SeedConstants.SILJANG)}">
<div class="bbs-view-layout"> <div class="bbs-view-layout">
<div class="tit-box"> <div class="tit-box">
<div> <div>
<c:choose> <c:choose>
<c:when test="${memberDept == '1001000000' && memberPosition == '0903000000'}"><!-- 부원장 --> <c:when test="${memberDept == SeedConstants.HANGUK && memberPosition == SeedConstants.BUWONJANG}"> <!-- 부원장 -->
<%-- <c:if test="${recptmsData.delGubun != 'R' }"> <%-- <c:if test="${recptmsData.delGubun != 'R' }">
<button type="button" class="btn-default violet" id="deptConfirm">승인</button> <button type="button" class="btn-default violet" id="deptConfirm">승인</button>
</c:if> </c:if>
@ -2634,7 +2673,7 @@ function changeAssign(){
</div> </div>
</div> </div>
</c:if> </c:if>
<c:if test="${memberPosition == '0911000000'}"><!-- 팀장들 --> <c:if test="${memberPosition == SeedConstants.TIMJANG}"><!-- 팀장들 -->
<div class="tit-box"> <div class="tit-box">
<div> <div>
<c:if test="${recptmsData.delGubun != 'R' }"> <c:if test="${recptmsData.delGubun != 'R' }">
@ -2647,98 +2686,12 @@ function changeAssign(){
</div> </div>
</c:if> </c:if>
<c:if test="${memberDept == '1030000000' || memberDept == '1010000000'}"><!-- 유통 --> <c:if test="${memberDept == SeedConstants.YUTONG || memberDept == SeedConstants.MINWON}"><!-- 유통팀 or 민원관리센터 -->
<div class="tit-box"> <div class="tit-box">
<div> <div>
<button type="button" class="btn-default gray" onclick="location.href='/gtm/case/trublreqstmng/administList/AdministPagingList.do'">목록</button> <button type="button" class="btn-default gray" onclick="location.href='/gtm/case/trublreqstmng/administList/AdministPagingList.do'">목록</button>
</div> </div>
</div> </div>
</c:if> </c:if>
<!-- tempSrc(조건없이 임시 사용 시작) -->
<button type="button" class="btn-default violet" id="deptConfirm2">승인(임시-분쟁조정실 실장용)</button>
<span id="confirmBtnHide1"><button type="button" class="btn-default violet" id="deptConfirm3">승인(임시-팀장 본인부서용)</button></span>
<span id="confirmBtnHide2"><button type="button" class="btn-default violet" id="deptConfirm4">승인(임시-팀장 타부서용)</button></span>
<button type="button" class="btn-default red assignCancel">배정취소</button>
<!-- tempSrc(조건없이 임시 사용 끝) -->
</div> </div>
</form> </form>
<div id="tempDiv">
<button class="tempBtn">부서 코드 값(MEMBER_DEPT)</button>
<div class="tempTooltip">
한국공정거래조정원 - 1001000000<br/>
운영지원팀 - 1002000000<br/>
분쟁조정실 - 1003000000<br/>
공정거래팀 - 1004000000<br/>
가맹유통플랫폼팀 - 1005000000<br/>
건설하도급팀 - 1006000000<br/>
제조하도급팀 - 1007000000<br/>
약관팀 - 1008000000<br/>
대리점팀 - 1009000000<br/>
민원상담센터 - 1010000000<br/>
관리팀 - 1020000000<br/>
플랫폼팀 - 1040000000<br/>
유통팀 - 1030000000<br/><br/>
</div><br/>
<button class="tempBtn">직위 코드 값(MEMBER_POSITION)</button>
<div class="tempTooltip">
연구위원 - 0901000000<br/>
센터장 - 0902000000<br/>
부원장 - 0903000000<br/>
변호사 - 0904000000<br/>
감사 - 0905000000<br/>
주임 - 0906000000<br/>
운전원 - 0907000000<br/>
원장 - 0908000000<br/>
국장 - 0909000000<br/>
실장 - 0910000000<br/>
팀장 - 0911000000<br/>
조사관 - 0912000000<br/>
사원 - 0913000000<br/>
부연구위원 - 0914000000<br/>
관리자 - 0915000000<br/>
대리 - 0916000000<br/>
</div><br/><br/>
<button class="tempBtn">담당부서 배정만 노출 조건</button>
<div class="tempTooltip">
회원 부서가 한국공정거래조정원이면서 직위가 부원장인 경우 or<br/>
회원 부서가 분쟁조정실이면서 직위가 실장인 경우
</div><br/>
<button class="tempBtn">담당부서 배정과 담당자 배정 노출 조건</button>
<div class="tempTooltip">
회원 직위가 팀장인 경우
</div><br/>
<button class="tempBtn">승인,배정취소 버튼 노출 조건</button>
<div class="tempTooltip">
회원 부서가 분쟁조정실이면서 직위가 실장인 경우<br/>
부서 상관없이 직위가 팀장인 경우
</div><br/>
<button class="tempBtn">승인 버튼별 차이</button>
<div class="tempTooltip">
실장용 - 실장팀배정, 팀장팀 배정 update<br/>
팀장 본인부서 - 팀장팀배정, 조사관 배정 update<br>
팀장 타부서 - 팀장팀배정 update
</div><br/>
</div>
<style>
.tempTooltip {
position: absolute;
background-color: #f9f9f9;
border: 1px solid #ccc;
border-radius: 5px;
padding: 10px;
z-index: 1000;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
display: none;
}
</style>
<script>
$(".tempBtn").click(function(){
var tooltip = $(this).next(".tempTooltip");
$(".tempTooltip").not(tooltip).hide(); // 다른 툴팁 숨기기
tooltip.toggle();
});
</script>

View File

@ -5,6 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
$(document).ready(function(){ $(document).ready(function(){
$("#consignmentGubunDiv").hide();
$("#otherAgency").hide(); $("#otherAgency").hide();
$("#otherOffice").hide(); $("#otherOffice").hide();
$("#otherCode").hide(); $("#otherCode").hide();
@ -42,6 +43,42 @@ $(document).ready(function(){
} }
$("#regIns").click(function(){ $("#regIns").click(function(){
if($("#caseGubun").val() == ""){
alert("조정유형을 선택해 주세요")
$("#caseGubun").focus();
return false;
}
if($("#caseReason1").val() == ""){
alert("신청사유를 선택해 주세요")
$("#caseReason1").focus();
return false;
}
if($('#caseGubun option:selected').val() == '0203000000' && $("#consignmentGubun option:selected").val() == ""){
alert("하도급 위탁유형을 선택해 주세요");
$('#consignmentGubun').focus();
return false;
}
if($("#docCheck").val() == ""){
alert("문서접수경로를 선택해 주세요");
$("#docCheck").focus();
return false;
}
if($("#caseDate").val() == ""){
alert("사건접수일을 선택해 주세요");
$("#caseDate").focus();
return false;
}
if(!$("input[name=applyCheck]").is(":checked")){
alert("신청 확인사항을 선택해 주세요");
$("input[name=applyCheck]:eq(1)").focus();
return false;
}
var url = ""; var url = "";
$("#type").val("I"); $("#type").val("I");
var param = jQuery('#frm').serialize(); var param = jQuery('#frm').serialize();
@ -233,12 +270,52 @@ $(document).ready(function(){
} }
} }
$("#type").val("I");
var param = jQuery('#frm').serialize();
url = "/gtm/case/trublreqstmng/ajax/ReasonInsert.do"; //접수경로 등록
XHR2(url, param, function(r){
});
$("#type").val("FILE"); $("#type").val("FILE");
var param = jQuery('#frm').serialize(); var param = jQuery('#frm').serialize();
url = "/gtm/case/trublreqstmng/ajax/CaseFileInsert.do"; //피신청인대리인정보 등록 url = "/gtm/case/trublreqstmng/ajax/CaseFileInsert.do"; //피신청인대리인정보 등록
XHR2(url, param, function(r){ XHR2(url, param, function(r){
}); });
$("#type").val("U");
var param = jQuery('#frm').serialize();
url = "/gtm/case/trublreqstmng/ajax/AsSign.do";
XHR2(url, param, function(r){
});
var caseGubunVal = $("#caseGubun option:selected").val();
if(caseGubunVal == "0201000000"){//공정거래
$("#presidentAssign").val("1004000000");
}else if(caseGubunVal == "0202000000"){//가맹사업거래
$("#presidentAssign").val("1005000000");
}else if(caseGubunVal == "0203000000"){//하도급거래
if($("#consignmentGubun option:selected").val() == "5901000000"){
$("#presidentAssign").val("1007000000");//제조하도급
}else{
$("#presidentAssign").val("1006000000");//건설하도급
}
}else if(caseGubunVal == "0204000000"){//대규모유통거래
$("#presidentAssign").val("1030000000");
}else if(caseGubunVal == "0205000000"){//약관거래
$("#presidentAssign").val("1008000000");
}else if(caseGubunVal == "0206000000"){//대리점거래
$("#presidentAssign").val("1009000000");
}
$("#type").val("U");
var param = jQuery('#frm').serialize();
url = "/gtm/case/trublreqstmng/ajax/DeptConfirm5.do";
XHR2(url, param, function(r){
});
}); });
}); });
@ -269,7 +346,7 @@ $(document).ready(function(){
//오늘을 기준으로 지난 날만 선택하려면 minDate를 maxDate로 변경, 전체 선택하려면 minDate나 maxDate 삭제 //오늘을 기준으로 지난 날만 선택하려면 minDate를 maxDate로 변경, 전체 선택하려면 minDate나 maxDate 삭제
}; };
//시작일 //시작일
jQuery("#firstContractDt, #ContractSt, #ContractEnd, #mrhstContractSt, #mrhstContractEnd, #mrhstFirstContractDt, #mrhstInfoDt, #joiningAmountDt, #s_subcntrDt-0, #s_cashDt-0, #s_bilPayday-0, #p_subcntrDt-0, #p_cashDt-0, #p_bilPayday-0").datepicker(dateOption); jQuery("#firstContractDt, #ContractSt, #ContractEnd, #mrhstContractSt, #mrhstContractEnd, #mrhstFirstContractDt, #mrhstInfoDt, #joiningAmountDt, #s_subcntrDt-0, #s_cashDt-0, #s_bilPayday-0, #p_subcntrDt-0, #p_cashDt-0, #p_bilPayday-0, #caseDate").datepicker(dateOption);
/* /*
제작자 : 최병기 제작자 : 최병기
@ -429,6 +506,7 @@ $(document).ready(function(){
$("#caseGubun").change(function(){ $("#caseGubun").change(function(){
//조정유형 변경 시 신청사유 셋팅 //조정유형 변경 시 신청사유 셋팅
resnCombo(); resnCombo();
showConsignmentGubun();
if($("#caseGubun").val() == '0203000000'){ if($("#caseGubun").val() == '0203000000'){
$("#isShow01").show(); $("#isShow01").show();
@ -491,6 +569,31 @@ $(document).ready(function(){
} }
}); });
$('input[type="checkbox"][name="applyCheck"]').click(function(){
if($(this).prop('checked')){
$('input[type="checkbox"][name="applyCheck"]').prop('checked',false);
$('input[type="radio"][name="applyCheck"]').prop('checked',false);
if($(this).val() == '5_3'){
$('#applyEtc').show();
$('#applyEtc').focus();
}else{
$('#applyEtc').hide();
}
$(this).prop('checked',true);
}else{
$('#applyEtc').hide();
}
});
$('input[type="radio"][name="applyCheck"]').click(function(){
if($(this).prop('checked')){
$('input[type="checkbox"][name="applyCheck"]').prop('checked',false);
$('#applyEtc').hide();
$(this).prop('checked',true);
}
});
}); });
//조정유형 //조정유형
@ -525,6 +628,21 @@ function resnCombo(){
}); });
} }
function consignmentGubunCombo(){
var url = "";
$("#type").val("L");
//var param = jQuery('#applyForm').serialize();
var param = "";
url = "/user/case/common/ajax/ConsignmentGubun.do";
XHR2(url, param, function(r){
var objList = $("#consignmentGubun");
var sel = "";
if(objList.length > 0 && objList.val() == ""){
ajaxCombo(r.data, objList, sel);
}
});
}
//문서접수방법 //문서접수방법
function docCheckCombo(){ function docCheckCombo(){
var url = ""; var url = "";
@ -677,6 +795,17 @@ function removeChar(event) {
else else
event.target.value = event.target.value.replace(/[^0-9]/g, ""); event.target.value = event.target.value.replace(/[^0-9]/g, "");
} }
function showConsignmentGubun(){
if($('#caseGubun').val() == '0203000000'){
$('#consignmentGubunDiv').show();
consignmentGubunCombo();
}else{
$('#consignmentGubunDiv').hide();
$('#consignmentGubun').val('');
}
}
</script> </script>
<form name="frmTemp" id="frmTemp" action="" method="post"> <form name="frmTemp" id="frmTemp" action="" method="post">
@ -756,6 +885,7 @@ function removeChar(event) {
<input type="hidden" id="bizno" name="bizno" value=""/> <input type="hidden" id="bizno" name="bizno" value=""/>
<input type="hidden" id="rceptNo" name="rceptNo" value=""/> <input type="hidden" id="rceptNo" name="rceptNo" value=""/>
<input type="hidden" id="fileFuncType" name="fileFuncType" value="trublreqstmng"/> <input type="hidden" id="fileFuncType" name="fileFuncType" value="trublreqstmng"/>
<input type="hidden" id="presidentAssign" name="presidentAssign" value=""/>
<div class="cs-container"> <div class="cs-container">
<h2 class="mt20">분쟁사건 신청</h2> <h2 class="mt20">분쟁사건 신청</h2>
@ -799,6 +929,18 @@ function removeChar(event) {
</div> </div>
</div> </div>
</div> </div>
<div id="consignmentGubunDiv" class="bbs-view-item">
<p class="item-title no-bullet"><span class="cs-essential"></span>하도급 위탁유형</p>
<div class="item-box">
<div class="form-inline">
<div class="form-group">
<select name="consignmentGubun" id="consignmentGubun" class="form-element">
<option value="">=하도급 위탁유형 선택=</option>
</select>
</div>
</div>
</div>
</div>
<div class="bbs-view-item"> <div class="bbs-view-item">
<p class="item-title no-bullet"><span class="cs-essential"></span>문서접수구분</p> <p class="item-title no-bullet"><span class="cs-essential"></span>문서접수구분</p>
<div class="item-box"> <div class="item-box">
@ -829,7 +971,16 @@ function removeChar(event) {
</div> </div>
</div> </div>
</div> </div>
<div class="bbs-view-item">
<p class="item-title no-bullet"><span class="cs-essential"></span>사건 접수일</p>
<div class="item-box">
<div class="form-inline">
<div class="form-group">
<input type="text" id="caseDate" name="caseDate" value="" style="width: 60%" readonly="readonly">
</div>
</div>
</div>
</div>
<div class="data-table layout-type col-table"> <div class="data-table layout-type col-table">
<table> <table>
@ -949,6 +1100,35 @@ function removeChar(event) {
<input type="text" id="pContactEmail" name="pContactEmail" maxlength="40"> <input type="text" id="pContactEmail" name="pContactEmail" maxlength="40">
</td> </td>
</tr> </tr>
<tr style="border-bottom: 1px solid #e8e8e8">
<th rowspan="2" colspan="2">신청 확인사항<br><span style="color:red;">(필수)</span></th>
<th colspan="3">
귀하는 ‘한국공정거래조정원’을 어떤 경로로 알게 되셨습니까?
</th>
</tr>
<tr class="applyCheck" style="border-bottom: 1px solid #e8e8e8">
<td colspan="3">
<p>
<input type="radio" id="applyCheck1" name="applyCheck" value="" class="num01" disabled="disabled"><label for="applyCheck1">대중매체 광고</label><br>
<input type="checkbox" id="applyCheck1_1" name="applyCheck" value="1_1" <c:if test="${selectReason.APPLY_CHECK eq '1_1'}">checked="checked"</c:if>><label for="applyCheck1_1">라디오 광고</label><br>
<input type="checkbox" id="applyCheck1_2" name="applyCheck" value="1_2" <c:if test="${selectReason.APPLY_CHECK eq '1_2'}">checked="checked"</c:if>><label for="applyCheck1_2">신문지면 광고</label><br>
<input type="checkbox" id="applyCheck1_3" name="applyCheck" value="1_3" <c:if test="${selectReason.APPLY_CHECK eq '1_3'}">checked="checked"</c:if>><label for="applyCheck1_3">TV방송 광고</label><br>
<input type="radio" id="applyCheck2" name="applyCheck" value="" class="num02" disabled="disabled"><label for="applyCheck2">옥외광고</label><br>
<input type="checkbox" id="applyCheck2_1" name="applyCheck" value="2_1" <c:if test="${selectReason.APPLY_CHECK eq '2_1'}">checked="checked"</c:if>><label for="applyCheck2_1">지하철 스크린도어 광고</label><br>
<input type="checkbox" id="applyCheck2_2" name="applyCheck" value="2_2" <c:if test="${selectReason.APPLY_CHECK eq '2_2'}">checked="checked"</c:if>><label for="applyCheck2_2">버스 랩핑 광고</label><br>
<input type="checkbox" id="applyCheck2_3" name="applyCheck" value="2_3" <c:if test="${selectReason.APPLY_CHECK eq '2_3'}">checked="checked"</c:if>><label for="applyCheck2_3">옥외간판</label><br>
<input type="radio" id="applyCheck3" name="applyCheck" value="" class="num03" disabled="disabled"><label for="applyCheck3">SNS채널</label><br>
<input type="checkbox" id="applyCheck3_1" name="applyCheck" value="3_1" <c:if test="${selectReason.APPLY_CHECK eq '3_1'}">checked="checked"</c:if>><label for="applyCheck3_1">네이버 공식 블로그</label><br>
<input type="checkbox" id="applyCheck3_2" name="applyCheck" value="3_2" <c:if test="${selectReason.APPLY_CHECK eq '3_2'}">checked="checked"</c:if>><label for="applyCheck3_2">인스타그램·페이스북·트위터</label><br>
<input type="checkbox" id="applyCheck3_3" name="applyCheck" value="3_3" <c:if test="${selectReason.APPLY_CHECK eq '3_3'}">checked="checked"</c:if>><label for="applyCheck3_3">유튜브 (조정원TV)</label><br>
<input type="radio" id="applyCheck4" name="applyCheck" value="4" <c:if test="${selectReason.APPLY_CHECK eq '4'}">checked="checked"</c:if> class="num04"><label for="applyCheck4">공정거래위원회</label><br>
<input type="radio" id="applyCheck5" name="applyCheck" value="" class="num05" disabled="disabled"><label for="applyCheck5">기 타</label><br>
<input type="checkbox" id="applyCheck5_1" name="applyCheck" value="5_1" <c:if test="${selectReason.APPLY_CHECK eq '5_1'}">checked="checked"</c:if>><label for="applyCheck5_1">지인소개</label><br>
<input type="checkbox" id="applyCheck5_2" name="applyCheck" value="5_2" <c:if test="${selectReason.APPLY_CHECK eq '5_2'}">checked="checked"</c:if>><label for="applyCheck5_2">인터넷 검색</label><br>
<input type="checkbox" id="applyCheck5_3" name="applyCheck" value="5_3" <c:if test="${selectReason.APPLY_CHECK eq '5_3'}">checked="checked"</c:if>><label for="applyCheck5_3">직접입력</label><input type="text" maxlength="50" name="applyEtc" id="applyEtc" class="inp_default" style="display:none; width: 42%;" >
</p>
</td>
</tr>
<tr style="border-bottom: 1px solid #e8e8e8"> <tr style="border-bottom: 1px solid #e8e8e8">
<th rowspan="5">기타 확인사항</th> <th rowspan="5">기타 확인사항</th>
<th>소송</th> <th>소송</th>
@ -1010,6 +1190,27 @@ function removeChar(event) {
<input type="text" id="ftcNote" name="ftcNote" maxlength="100"> <input type="text" id="ftcNote" name="ftcNote" maxlength="100">
</td> </td>
</tr> </tr>
<tr>
<th>당사자간 합의가 완료되어 조정조서 작성을 요청하는 사안인지 여부</th>
<td>
<input type="radio" id="parAgreement1" name="parAgreement" value="N" checked>
<label for="radio03">아니오</label>
<input type="radio" id="parAgreement2" name="parAgreement" value="Y">
<label for="radio04">예</label>
</td>
</tr>
<tr>
<th>동일사안 공정거래위원회 시정조치 여부</th>
<td>
<input type="radio" id="ftcCorrect1" name="ftcCorrect" value="N" checked>
<label for="radio03">아니오</label>
<input type="radio" id="ftcCorrect2" name="ftcCorrect" value="Y">
<label for="radio04">예</label>
</td>
<td colspan="2">
<input type="text" id="ftcCorrectNote" name="ftcCorrectNote" maxlength="100">
</td>
</tr>
</tbody> </tbody>
</table> </table>
</div> </div>