이지우 - 분쟁조정 배정관리 목록/상세 완료. 상세 화면 내에 담당부서 및 담당자 배정 작업 중

This commit is contained in:
JIWOO 2024-09-10 18:33:16 +09:00
parent 5245c45ed7
commit b12032fff4
4 changed files with 332 additions and 23 deletions

View File

@ -97,7 +97,6 @@ public class EgovSessionMapping extends EgovUsersByUsernameMapping {
/*2024.08.12 AS-IS 분쟁조정 정보 추가 */
loginVO.setMemberName(strUserNm);
loginVO.setMemberDept(strDept);
loginVO.setMemberDept(strDept);
loginVO.setMemberPosition(strMemberPosition);
loginVO.setMemberTel(strOffmTelno);
loginVO.setMemberPhone(strMbtlnum);

View File

@ -22,6 +22,10 @@ import seed.utils.SeedUtils;
@Service
public class SeedFileService {
/*AS-IS 분쟁조정은 config.properties에서 프로퍼티 호출
현재는 globals.properties 프로퍼티 호출*/
@Autowired
private SeedFileDao dao;
@ -46,7 +50,8 @@ public class SeedFileService {
/*String tempPath = seedProperties.getConfigValue("file.temp.path");*/
String tempPath = propertyService.getString("Globals.fileStorePath");
if(fileFuncType.equals("trublchargermng")){
rootPath = seedProperties.getConfigValue("root.path");
/*rootPath = seedProperties.getConfigValue("root.path");*/
rootPath = propertyService.getString("root.path");
}else{
/*rootPath = seedProperties.getConfigValue("file.real.path");*/
rootPath = propertyService.getString("Globals.fileStorePath");
@ -136,8 +141,10 @@ public class SeedFileService {
SeedProperties seedProperties = new SeedProperties();
String rootPath = seedProperties.getConfigValue("file.real.path");
String tempPath = seedProperties.getConfigValue("file.temp.path");
/*String rootPath = seedProperties.getConfigValue("file.real.path");
String tempPath = seedProperties.getConfigValue("file.temp.path");*/
String rootPath = propertyService.getString("file.real.path");
String tempPath = propertyService.getString("file.temp.path");
SeedDateUtil seedDateUtil = new SeedDateUtil();
String toDate = seedDateUtil.getSimpleDateFormat(new Date(), "yyyyMMdd");

View File

@ -225,7 +225,9 @@
<option value="0206000000"
<c:if test="${searchGubun == '0206000000'}">selected="selected"</c:if>>대리점거래</option>
</select>
<c:if
<%-- <c:if
test="${(memberDept == '1030000000' || memberDept == '1001000000' || memberDept == '1010000000') && memberPosition != '0911000000'}">
<select name="searchMa">
<option value="N"
@ -235,7 +237,18 @@
<option value="Y"
<c:if test="${searchMa == 'Y' && searchMa != ''}">selected="selected"</c:if>>배정</option>
</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="dateEnd" name="dateEnd" value="${dateEnd }">
</div>
@ -247,7 +260,7 @@
</div>
<div class="form-wrap">
<div class="table-layout br-none">
<table>
<%-- <table>
<caption>분쟁사건에 대한 신청목록 화면 입니다.</caption>
<colgroup>
<col width="3%">
@ -358,14 +371,125 @@
</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('edit','${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: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(조건없이 임시 사용 끝) -->
</div>
<c:if
<%-- <c:if
test="${(memberDept == '1030000000') && memberPosition != '0911000000'}">
<c:if test="${searchMa != 'Y'}">
<div class="change-state-area" style="overflow: hidden;">
@ -378,7 +502,8 @@
</div>
</div>
</c:if>
</c:if>
</c:if> --%>
<!-- tempSrc(조건없이 임시 사용 시작) -->
<div class="change-state-area" style="overflow: hidden;">
<div align="right">
<button type="button" onclick="goPage('write', '')"
@ -388,6 +513,7 @@
style="background-color: #5e66ab;">접수승인(임시)</button>
</div>
</div>
<!-- tempSrc(조건없이 임시 사용 끝) -->
</div>
<!-- 페이징 -->
@ -506,4 +632,83 @@
}
</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

@ -1184,7 +1184,7 @@ function changeAssign(){
</div>
</div>
<c:if test="${(memberDept == '1001000000' && memberPosition == '0903000000') || (memberDept == '1003000000' && memberPosition == '0910000000')}">
<%-- <c:if test="${(memberDept == '1001000000' && memberPosition == '0903000000') || (memberDept == '1003000000' && memberPosition == '0910000000')}">
<h3 class="mb10 mt30">담당부서배정</h3>
<div class="bbs-view-layout">
<div class="bbs-view-item">
@ -1199,19 +1199,8 @@ function changeAssign(){
</c:if>
<c:if test="${memberPosition == '0911000000'}"><!-- 팀장들 -->
<%-- <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>
<div class="bbs-view-layout">
<div class="bbs-view-item">
@ -1237,8 +1226,48 @@ function changeAssign(){
</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>
<div class="bbs-view-layout" style="margin-bottom: 20px;">
<div class="bbs-view-layout" id="fileCnt" data-forms-addnum="0">
@ -2628,3 +2657,72 @@ function changeAssign(){
</div>
</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/>
</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>