Merge branch 'tolag3'

This commit is contained in:
leejunho 2024-12-18 09:38:25 +09:00
parent 9c312e3f2d
commit 8385129a8e
5 changed files with 188 additions and 294 deletions

2
.gitignore vendored
View File

@ -75,3 +75,5 @@ buildNumber.properties
# jrebel
rebel.xml
/fairnet.iml
/fairnet/src/main/webapp/WEB-INF/clipreport4/temp/

View File

@ -160,6 +160,7 @@
<pattern>/web/user/mypage/case/01/168/devCiMakePop.do</pattern>
<pattern>/web/user/siren/case/04/154/check.do</pattern>
<pattern>*/web/user/mediation/case/caseSignPop/popup.do*</pattern>
<pattern>*/web/user/mediation/case/caseCommentPop/popup.do*</pattern>
<pattern>/web/user/mediation/case/pdf/pdfDownload.do</pattern>
<pattern>/web/user/mediation/case/pdf/viewer.do</pattern>

View File

@ -71,11 +71,13 @@
</c:choose>
if(confirm(message+ " 사유를 등록 하시겠습니까?")){
AnySign.SignDataCMS(AnySign.mXgateAddress, AnySign.aCAList, '이 내용이 전자서명됩니다.', 16777216, '', AnySign.mLimitedTrial,aUserCallback);
// AnySign.SignDataCMS(AnySign.mXgateAddress, AnySign.aCAList, '이 내용이 전자서명됩니다.', 16777216, '', AnySign.mLimitedTrial,aUserCallback);
caseWrite();
}
}
function caseWrite() {
var message = "";
<c:choose>
<c:when test="${commentType eq 'B'}">
@ -87,7 +89,7 @@
</c:choose>
var url = "";
var param = jQuery('#frm').serialize();
url = "/user/mediation/case/caseCommentPop/write.do";
url = "/web/user/mediation/case/caseCommentPop/write.do";
XHR(url, param, function(r){
alert(message + " 사유 등록이 완료되었습니다.");
opener.stateUpdate('${commentType}');
@ -102,8 +104,10 @@
<input type="hidden" id="commentType" name="commentType" value="${commentType}"/>
<input type="hidden" id="caseNo" name="caseNo" value="${caseNo}"/>
<input type="hidden" id="isGubun" name="isGubun" value="${isGubun}"/>
<input type="hidden" id="caseSign" name="caseSign" value=""/>
<input type="hidden" id="caseSignName" name="caseSignName" value=""/>
<!-- <input type="hidden" id="caseSign" name="caseSign" value=""/>
<input type="hidden" id="caseSignName" name="caseSignName" value=""/> -->
<input type="hidden" id="caseSign" name="caseSign" value="${certId}"/>
<input type="hidden" id="caseSignName" name="caseSignName" value="${certId}"/>
<article class="menu_none">
<div class="titleWrap" style="margin-top: 20px;margin-left: 10px;">
<c:choose>

View File

@ -73,7 +73,8 @@
if(confirm(message+ "에 서명 하시겠습니까?")){
// AnySign.SignDataCMS(AnySign.mXgateAddress, AnySign.aCAList, '이 내용이 전자서명됩니다.', 16777216, '', AnySign.mLimitedTrial,aUserCallback);
AnySign.SignDataCMS(AnySign.mXgateAddress, AnySign.aCAList, '이 내용이 전자서명됩니다.', 16777472, '', AnySign.mLimitedTrial,aUserCallback);
// AnySign.SignDataCMS(AnySign.mXgateAddress, AnySign.aCAList, '이 내용이 전자서명됩니다.', 16777472, '', AnySign.mLimitedTrial,aUserCallback);
caseWrite();
}
}
@ -113,8 +114,10 @@
<input type="hidden" id="commentType" name="commentType" value="${commentType}"/>
<input type="hidden" id="caseNo" name="caseNo" value="${caseNo}"/>
<input type="hidden" id="isGubun" name="isGubun" value="${isGubun}"/>
<input type="hidden" id="caseSign" name="caseSign" value=""/>
<input type="hidden" id="caseSignName" name="caseSignName" value=""/>
<!-- <input type="hidden" id="caseSign" name="caseSign" value=""/>
<input type="hidden" id="caseSignName" name="caseSignName" value=""/> -->
<input type="hidden" id="caseSign" name="caseSign" value="${certId}"/>
<input type="hidden" id="caseSignName" name="caseSignName" value="${certId}"/>
<article class="menu_none" style="overflow: hidden;">
<div class="titleWrap" style="margin-top: 20px;margin-left: 10px;">
<c:choose>

View File

@ -35,93 +35,8 @@
<!-- GPL라이센스 -->
<script type='text/javascript'>
$(document).ready(function() {
var toYear = '${toYear}';
var toMonth = '${toMonth}';
var lastDay = ( new Date( toYear, toMonth, 0) ).getDate();
var startDt = toYear+"-"+toMonth+"-01";
var endDt = toYear+"-"+toMonth+"-"+lastDay;
$("#listArr").val(fn_callScheduleData());
fn_callCalendar($("#listArr").val());
//a태그에 href가 없을시 seed.tab.js와 충돌이 일어나므로 추가함.
$(".fc-day-grid-event").attr("href", "javascript:void(0)");
//년월을 만든다.
var strArray = $('.fc-center').text().split(' '); // 텍스트 분리
$('.fc-center h2').replaceWith('<h2>' + strArray[1] + '년 '+ strArray[0] +'월</h2>');
//라이센스를 가린다.
$(".fc-license-message").hide();
//이전버튼을 클릭시,
$(".fc-prev-button").click(function(){
$(".fc-license-message").hide();
var strArray = $('.fc-center').text().split(' '); // 텍스트 분리
var prevToYear = strArray[1];
var prevToMonth = strArray[0];
//10월이전이라면 0을 붙여준다.
if(prevToMonth < 10){
prevToMonth = "0"+prevToMonth;
}
var prevLastDay = ( new Date( prevToYear, prevToMonth, 0) ).getDate();
var prevStartDt = prevToYear+"-"+prevToMonth+"-01"
var prevEndDt = prevToYear+"-"+prevToMonth+"-"+prevLastDay;
//일정초기화.
$("#listArr").val("");
$("#listArr").val(fn_callScheduleData());
fn_callCalendar($("#listArr").val());
//년월을 만든다.
$('.fc-center h2').replaceWith('<h2>' + strArray[1] + '년 '+ strArray[0] +'월</h2>');
//a태그에 href가 없을시 seed.tab.js와 충돌이 일어나므로 추가함.
$(".fc-day-grid-event").attr("href", "javascript:void(0)");
});
//다음버튼을 클릭시,
$(".fc-next-button").click(function(){
$(".fc-license-message").hide();
var strArray = $('.fc-center').text().split(' '); // 텍스트 분리
var nextToYear = strArray[1];
var nextToMonth = strArray[0];
//10월이전이라면 0을 붙여준다.
if(nextToMonth < 10){
nextToMonth = "0"+nextToMonth;
}
var nextLastDay = ( new Date( nextToYear, nextToMonth, 0) ).getDate();
var nextStartDt = nextToYear+"-"+nextToMonth+"-01"
var nextEndDt = nextToYear+"-"+nextToMonth+"-"+nextLastDay;
//일정초기화.
$("#listArr").val("");
$("#listArr").val(fn_callScheduleData());
fn_callCalendar($("#listArr").val());
//년월을 만든다.
$('.fc-center h2').replaceWith('<h2>' + strArray[1] + '년 '+ strArray[0] +'월</h2>');
//a태그에 href가 없을시 seed.tab.js와 충돌이 일어나므로 추가함.
$(".fc-day-grid-event").attr("href", "javascript:void(0)");
});
//오늘버튼을 클릭시,
$(".fc-today-button").click(function(){
$(".fc-license-message").hide();
$("#listArr").val(fn_callScheduleData());
fn_callCalendar($("#listArr").val());
$('.fc-center h2').replaceWith('<h2>' + strArray[1] + '년 '+ strArray[0] +'월</h2>');
//a태그에 href가 없을시 seed.tab.js와 충돌이 일어나므로 추가함.
$(".fc-day-grid-event").attr("href", "javascript:void(0)");
});
fn_callScheduleData();
});
function fn_callScheduleData(){
@ -129,7 +44,7 @@
var url = "";
$("#type").val("L");
var param = jQuery("#scheduleFrm").serialize();
url = "/user/case/mediation/ajax/Schedule.do";
url = "/web/user/case/mediation/ajax/Schedule.do";
var arr = [];
var i = 0;
XHR2(url, param, function(r){
@ -153,68 +68,37 @@
}
});
return JSON.stringify(arr);
var data = JSON.parse(JSON.stringify(arr));
new FullCalendar.Calendar(document.getElementById('calendar'), {
initialView: 'dayGridMonth',
titleFormat: function (date) {
year = date.date.year;
month = date.date.month + 1;
return year + "년 " + month + "월";
},
locale: "ko",
buttonText: {
today: "오늘"
},
height: "auto",
dayCellContent: function (info) {
var number = document.createElement('a');
number.classList.add('fc-daygrid-day-number');
number.innerHTML = info.dayNumberText.replace("일", "");
if (info.view.type === 'dayGridMonth') {
return {
html: number.outerHTML
};
}
return {
domNodes: []
}
},
events: data
}).render();
}
function fn_callCalendar(schedule){
var date = new Date();
var d = date.getDate();
var m = date.getMonth();
var y = date.getFullYear();
$('#calendar').fullCalendar({
header: {
left: "",
center: "title",
right: "today prev,next"
},
eventMouseover: function(data, event, view) {
var start = moment(data.start).format("YYYY-MM-DD");
var content = '<h3>'+data.title+'</h3>' +
'<p><b>일시:</b> '+start+'<br />';
tooltip = '<div class="tooltiptopicevent" style="width:auto;height:auto;background:#e6e6e6;position:absolute;z-index:10001;padding:5px 5px 5px 5px ; line-height: 200%;">' +content +'</div>';
$("body").append(tooltip);
$(this).mouseover(function (e) {
$(this).css('z-index', 10000);
$('.tooltiptopicevent').fadeIn('500');
$('.tooltiptopicevent').fadeTo('10', 1.9);
}).mousemove(function (e) {
$('.tooltiptopicevent').css('top', e.pageY + 10);
$('.tooltiptopicevent').css('left', e.pageX + 20);
});
},
eventMouseout: function (data, event, view) {
$(this).css('z-index', 8);
$('.tooltiptopicevent').remove();
},
dayClick: function() { tooltip.hide() },
eventResizeStart: function() { tooltip.hide() },
eventDragStart: function() { tooltip.hide() },
viewDisplay: function() { tooltip.hide() },
defaultView: "month",
editable: false,
monthNames: ["1","2","3","4","5","6","7","8","9","10","11","12"],
monthNamesShort: ["1","2","3","4","5","6","7","8","9","10","11","12"],
dayNames: ["일요일","월요일","화요일","수요일","목요일","금요일","토요일"],
dayNamesShort: ["일","월","화","수","목","금","토"],
buttonText: {
today : "오늘",
month : "월별",
week : "주별",
day : "일별",
},
events:eval(schedule)
});
}
function fn_caseComment(type) {
$('#commentType').val(type);
@ -227,13 +111,7 @@
}
function stateUpdate(type) {
$('.case'+type+'Btn').text("서명완료");
if(type=="B" || type=="C") {
$('.case' + type + 'Print').show();
} else if(type=="A" || type=="D") {
$('.case' + type + 'Print').show();
}
location.reload();
}
//클립리포트 호출
@ -256,11 +134,24 @@
f.action = "/web/user/mediation/case/caseSignPop/popup.do";
f.submit();
}
//기존 등록된 파일삭제
function fileDel(fileSeqNo, obj){
$("#fileSeqNo").val(fileSeqNo);
var url = "";
$("#type").val("U");
var param = jQuery('#delFrm').serialize();
url = "/web/user/case/trublcfrncmng/ajax/CasefileDel.do";
XHR(url, param, function(r){
alert("파일이 삭제되었습니다.");
});
$(obj).closest('div').remove();
}
</script>
</head>
<body>
<c:set var="appASignCnt" value="0"/>
<c:set var="resASignCnt" value="0"/>
<c:set var="appBSignCnt" value="0"/>
@ -278,6 +169,8 @@
<input type="hidden" name="listArr" id="listArr" value=""/>
<input type="hidden" name="commentType" id="commentType" value=""/>
<input type="hidden" id="caseSign" name="caseSign" value=""/>
<input type="hidden" id="certId" name="certId" value="${caseAuthVO.certId}"/>
</form>
<!-- page_location -->
<ul class="page_location">
@ -342,16 +235,16 @@
<c:when test="${isGubun == 'app'}">
<dt>신청인 제출자료</dt>
<dd>
<!-- <div class="file_upload_wrap"> -->
<div class="file_button">
<label for="upFile_1" class="file btn btn_text btn_40 darkblue_border" style="display:flex;justify-content:center;align-items:center;">파일선택</label>
</div>
<c:if test="${caseAuthVO.caseAuthYn eq 'Y'}">
<div class="file_button">
<label for="upFile_1" class="file btn btn_text btn_40 darkblue_border" style="display:flex;justify-content:center;align-items:center;">파일선택</label>
</div>
</c:if>
<ul class="file_list fill">
<div class="cs-files fl" id="upFileHtml1">
<c:forEach items="${trublreqstmngCaseFileList}" var="file" varStatus="status">
<c:if test="${file.fileGubun == '4801000000'}">
<div id="fileUploadP${status.count}">
<%-- <img src="/img/user/bbs/icon_file.gif" alt="gif" style="margin-top: 14px">&nbsp;&nbsp;<a href="/seed/extra/down/file.do?dataIdx=${file.seqNo}&funcType=${file.fileFunc}&pathKey1=${siteIdx}&downUserl=user">${file.fileName} (${file.regDt}, ${file.fileOwner})</a> --%>
<ul class="file_list fill">
<li>
<a href="/seed/extra/down/file.do?dataIdx=${file.seqNo}&funcType=${file.fileFunc}&pathKey1=${siteIdx}&downUserl=user" download="download">
@ -360,7 +253,7 @@
</span>
</a>
<c:if test="${file.memberSeq eq isSeq}">
<button type="button" class="btn only_icon round">
<button type="button" class="btn only_icon round" onclick="fileDel('${file.seqNo}', this);">
<i class="icon delete gray_fill"></i>
</button>
</c:if>
@ -371,45 +264,32 @@
</c:forEach>
</div>
</ul>
<!-- </div> -->
</dd>
<!--<dd>
<div class="file_upload_wrap">
<div class="file_button">
<input type="file" id="file" class="input_file">
<label for="file" class="file btn btn_text btn_40 darkblue_border">파일선택</label>
</div>
<ul class="file_list fill">
<li><a href="#none" download="download"><i class="icon file clip"></i><span class="file_name">분쟁조정신청 관련_필요한 첨부이미지_10310.png </span><span class="file_size">457kb</span></a> <button type="button" class="btn only_icon round"><i class="icon delete gray_fill"></i></button></li>
<li><a href="#none" download="download"><i class="icon file clip"></i><span class="file_name">분쟁조정신청 관련_필요한 첨부이미지_10310.png </span><span class="file_size">457kb</span></a> <button type="button" class="btn only_icon round"><i class="icon delete gray_fill"></i></button></li>
</ul>
</div>
</dd> -->
<dt>우편제출 자료</dt>
<dd>
<c:forEach items="${trublreqstmngCaseFileList}" var="file" varStatus="status">
<c:if test="${file.fileGubun == '4811000000'}">
<div id="fileUploadP${status.count}">
<%-- <img src="/img/user/bbs/icon_file.gif" alt="gif" style="margin-top: 14px">&nbsp;&nbsp;<a href="/seed/extra/down/file.do?dataIdx=${file.seqNo}&funcType=${file.fileFunc}&pathKey1=${siteIdx}&downUserl=user">${file.fileName} (${file.regDt}, ${file.fileOwner})</a> --%>
<ul class="file_list fill">
<li><a href="/seed/extra/down/file.do?dataIdx=${file.seqNo}&funcType=${file.fileFunc}&pathKey1=${siteIdx}&downUserl=user" download="download"><i class="icon file clip"></i><span class="file_name">${file.fileName} (${file.regDt}, ${file.fileOwner})</span></a> <button type="button" class="btn only_icon round"><!-- <i class="icon delete gray_fill"></i> --></button></li>
</ul>
</div>
</c:if>
</c:forEach>
<c:forEach items="${trublreqstmngCaseFileList}" var="file" varStatus="status">
<c:if test="${file.fileGubun == '4811000000'}">
<div id="fileUploadP${status.count}">
<ul class="file_list fill">
<li><a href="/seed/extra/down/file.do?dataIdx=${file.seqNo}&funcType=${file.fileFunc}&pathKey1=${siteIdx}&downUserl=user" download="download"><i class="icon file clip"></i><span class="file_name">${file.fileName} (${file.regDt}, ${file.fileOwner})</span></a> <button type="button" class="btn only_icon round"><!-- <i class="icon delete gray_fill"></i> --></button></li>
</ul>
</div>
</c:if>
</c:forEach>
</dd>
<dt>조정안 수락 여부 제출</dt>
<dd>
<div class="file_upload_wrap">
<div class="file_button">
<label for="upFile_2" class="file btn btn_text btn_40 darkblue_border" style="display:flex;justify-content:center;align-items:center;">파일선택</label>
</div>
<c:if test="${caseAuthVO.caseAuthYn eq 'Y'}">
<div class="file_button">
<label for="upFile_2" class="file btn btn_text btn_40 darkblue_border" style="display:flex;justify-content:center;align-items:center;">파일선택</label>
</div>
</c:if>
<ul class="file_list fill">
<div class="cs-files fl" id="upFileHtml2">
<c:forEach items="${trublreqstmngCaseFileList}" var="file" varStatus="status">
<c:if test="${file.fileGubun == '4819000000' and file.memberSeq eq isSeq}">
<div id="fileUploadP${status.count}">
<%-- <img src="/img/user/bbs/icon_file.gif" alt="gif" style="margin-top: 14px">&nbsp;&nbsp;<a href="/seed/extra/down/file.do?dataIdx=${file.seqNo}&funcType=${file.fileFunc}&pathKey1=${siteIdx}&downUserl=user">${file.fileName} (${file.regDt}, ${file.fileOwner})</a> --%>
<ul class="file_list fill">
<li><a href="/seed/extra/down/file.do?dataIdx=${file.seqNo}&funcType=${file.fileFunc}&pathKey1=${siteIdx}&downUserl=user" download="download"><i class="icon file clip"></i><span class="file_name">${file.fileName} (${file.regDt}, ${file.fileOwner})</span></a> <button type="button" class="btn only_icon round"><!-- <i class="icon delete gray_fill"></i> --></button></li>
</ul>
@ -444,17 +324,16 @@
<dt>피신청인 제출자료</dt>
<dd>
<!-- <div class="file_upload_wrap"> -->
<div class="file_button">
<label for="upFile_3" class="file btn btn_text btn_40 darkblue_border" style="display:flex;justify-content:center;align-items:center;">파일선택</label>
</div>
<c:if test="${caseAuthVO.caseAuthYn eq 'Y'}">
<div class="file_button">
<label for="upFile_3" class="file btn btn_text btn_40 darkblue_border" style="display:flex;justify-content:center;align-items:center;">파일선택</label>
</div>
</c:if>
<ul class="file_list fill">
<div class="cs-files fl" id="upFileHtml3">
<c:forEach items="${trublreqstmngCaseFileList}" var="file" varStatus="status">
<%-- <c:if test="${file.fileGubun == '4802000000' and file.memberSeq eq isSeq}"> --%>
<c:if test="${file.fileGubun == '4802000000'}">
<div id="fileUploadP${status.count}">
<%-- <img src="/img/user/bbs/icon_file.gif" alt="gif" style="margin-top: 14px">&nbsp;&nbsp;<a href="/seed/extra/down/file.do?dataIdx=${file.seqNo}&funcType=${file.fileFunc}&pathKey1=${siteIdx}&downUserl=user">${file.fileName} (${file.regDt}, ${file.fileOwner})</a> --%>
<ul class="file_list fill">
<li>
<a href="/seed/extra/down/file.do?dataIdx=${file.seqNo}&funcType=${file.fileFunc}&pathKey1=${siteIdx}&downUserl=user" download="download">
@ -463,7 +342,7 @@
</span>
</a>
<c:if test="${file.memberSeq eq isSeq}">
<button type="button" class="btn only_icon round">
<button type="button" class="btn only_icon round" onclick="fileDel('${file.seqNo}', this);">
<i class="icon delete gray_fill"></i>
</button>
</c:if>
@ -474,7 +353,6 @@
</c:forEach>
</div>
</ul>
<!-- </div> -->
</dd>
<dt>조사관 추가자료</dt>
<dd>
@ -483,7 +361,6 @@
<c:forEach items="${trublreqstmngCaseFileList}" var="file" varStatus="status">
<c:if test="${file.fileGubun == '4812000000'}">
<div id="fileUploadP${status.count}">
<%-- <img src="/img/user/bbs/icon_file.gif" alt="gif" style="margin-top: 14px">&nbsp;&nbsp;<a href="/seed/extra/down/file.do?dataIdx=${file.seqNo}&funcType=${file.fileFunc}&pathKey1=${siteIdx}&downUserl=user">${file.fileName} (${file.regDt}, ${file.fileOwner})</a> --%>
<ul class="file_list fill">
<li><a href="/seed/extra/down/file.do?dataIdx=${file.seqNo}&funcType=${file.fileFunc}&pathKey1=${siteIdx}&downUserl=user" download="download"><span class="file_name">${file.fileName} (${file.regDt}, ${file.fileOwner})</span></a> <button type="button" class="btn only_icon round"><!-- <i class="icon delete gray_fill"></i> --></button></li>
</ul>
@ -496,15 +373,16 @@
<dt>조정안 수락 여부 제출</dt>
<dd>
<div class="file_upload_wrap">
<div class="file_button">
<label for="upFile_4" class="file btn btn_text btn_40 darkblue_border" style="display:flex;justify-content:center;align-items:center;">파일선택</label>
</div>
<c:if test="${caseAuthVO.caseAuthYn eq 'Y'}">
<div class="file_button">
<label for="upFile_4" class="file btn btn_text btn_40 darkblue_border" style="display:flex;justify-content:center;align-items:center;">파일선택</label>
</div>
</c:if>
<ul class="file_list fill">
<div class="cs-files fl" id="upFileHtml4">
<c:forEach items="${trublreqstmngCaseFileList}" var="file" varStatus="status">
<c:if test="${file.fileGubun == '4820000000' and file.memberSeq eq isSeq}">
<div id="fileUploadP${status.count}">
<%-- <img src="/img/user/bbs/icon_file.gif" alt="gif" style="margin-top: 14px">&nbsp;&nbsp;<a href="/seed/extra/down/file.do?dataIdx=${file.seqNo}&funcType=${file.fileFunc}&pathKey1=${siteIdx}&downUserl=user">${file.fileName} (${file.regDt}, ${file.fileOwner})</a> --%>
<ul class="file_list fill">
<li><a href="/seed/extra/down/file.do?dataIdx=${file.seqNo}&funcType=${file.fileFunc}&pathKey1=${siteIdx}&downUserl=user" download="download"><span class="file_name">${file.fileName} (${file.regDt}, ${file.fileOwner})</span></a> <button type="button" class="btn only_icon round"><!-- <i class="icon delete gray_fill"></i> --></button></li>
</ul>
@ -583,91 +461,92 @@
<b class="title depth02">절차진행 관련 서명 제출</b>
<dl class="blue_row_dl">
<!-- 합의서 섹션 추가 -->
<c:if test="${masterData.CASE_A_TYPE eq '2'}">
<c:if test="${masterData.CASE_A_USER eq '3' or (isGubun eq 'app' and masterData.CASE_A_USER eq '1') or (isGubun eq 'res' and masterData.CASE_A_USER eq '2')}">
<dt>합의서</dt>
<dd>
<c:set var="caseAFile" value="0" />
<c:forEach items="${trublreqstmngCaseFileList}" var="file" varStatus="status">
<c:if test="${file.fileGubun == '4806000000'}">
<c:if test="${caseAFile eq '0'}">
<c:choose>
<c:when test="${empty caseComment.CASE_A_SIGN}">
<button type="button" class="btn_inner_violet caseABtn" style="line-height: 22px;" onclick="fn_caseSign('A');">서명</button>
</c:when>
<c:otherwise>
<button type="button" class="btn_inner_violet caseABtn" style="line-height: 22px; background:#04B431;" onclick="fn_caseSign('A');">서명완료</button>
</c:otherwise>
</c:choose>
</c:if>
<c:set var="caseAFile" value="1" />
<div id="fileUploadP${status.count}" class="caseAPrint" <c:if test="${empty caseComment.CASE_A_SIGN}">style="display:none;"</c:if>>
<img src="/img/user/bbs/icon_file.gif" alt="gif" style="margin-top: 14px">&nbsp;&nbsp;<a href="/seed/extra/down/file.do?dataIdx=${file.seqNo}&funcType=${file.fileFunc}&pathKey1=${siteIdx}&downUserl=user">${file.fileName}</a>
</div>
</c:if>
</c:forEach>
</dd>
</c:if>
</c:if>
<c:if test="${masterData.CASE_B_TYPE eq '2'}">
<c:if test="${(isGubun eq 'app' and masterData.CASE_B_USER eq '1') or (isGubun eq 'res' and masterData.CASE_B_USER eq '2')}">
<dt>종료요청서</dt>
<dd>
<c:choose>
<c:when test="${empty caseComment.CASE_B_SIGN}">
<button type="button" class="btn_inner_violet caseBBtn" style="line-height: 22px;" onclick="fn_caseComment('B');">사유기재</button>
</c:when>
<c:otherwise>
<button type="button" class="btn_inner_violet caseDBtn" style="line-height: 22px;" onclick="fn_caseComment('B');">서명완료</button>
</c:otherwise>
</c:choose>
<button type="button" class="btn_inner_gray caseBPrint" style="line-height: 22px; <c:if test="${empty caseComment.CASE_B_SIGN}">display:none;</c:if>" onclick="clipCall('overPrint');">종료요청서</button>
<button type="button" class="btn_inner_gray caseBPrint" style="line-height: 22px; " onclick="clipCall('overPrint');">종료요청서</button>
</dd>
</c:if>
</c:if>
<c:if test="${masterData.CASE_C_TYPE eq '2'}">
<c:if test="${(isGubun eq 'app' and masterData.CASE_C_USER eq '1') or (isGubun eq 'res' and masterData.CASE_C_USER eq '2')}">
<dt>신청취하서</dt>
<dd>
<c:choose>
<c:when test="${empty caseComment.CASE_C_SIGN}">
<button type="button" class="btn_inner_violet caseCBtn" style="line-height: 22px;" onclick="fn_caseComment('C');">사유기재</button>
</c:when>
<c:otherwise>
<button type="button" class="btn_inner_violet caseCBtn" style="line-height: 22px;" onclick="fn_caseComment('C');">서명완료</button>
</c:otherwise>
</c:choose>
<button type="button" class="btn_inner_gray caseCPrint" style="line-height: 22px; <c:if test="${empty caseComment.CASE_C_SIGN}">display:none;</c:if>" onclick="clipCall('cancelPrint');">신청취하서</button>
</dd>
</c:if>
</c:if>
<c:if test="${masterData.CASE_D_TYPE eq '2'}">
<c:if test="${masterData.CASE_D_USER eq '3' or (isGubun eq 'app' and masterData.CASE_D_USER eq '1') or (isGubun eq 'res' and masterData.CASE_D_USER eq '2')}">
<dt>조정조서</dt>
<dd>
<c:set var="caseDFile" value="0" />
<c:forEach items="${trublreqstmngCaseFileList}" var="file" varStatus="status">
<c:if test="${file.fileGubun == '4808000000'}">
<c:if test="${caseDFile eq '0'}">
<c:choose>
<c:when test="${empty caseComment.CASE_D_SIGN}">
<button type="button" class="btn_inner_violet caseDBtn" style="line-height: 22px;" onclick="fn_caseSign('D');">서명</button>
</c:when>
<c:otherwise>
<button type="button" class="btn_inner_violet caseDBtn" style="line-height: 22px; background:#04B431;" onclick="fn_caseSign('D');">서명완료</button>
</c:otherwise>
</c:choose>
</c:if>
<c:set var="caseDFile" value="1" />
<div id="fileUploadP${status.count}" class="caseDPrint" <c:if test="${empty caseComment.CASE_D_SIGN}">style="display:none;"</c:if>>
<img src="/img/user/bbs/icon_file.gif" alt="gif" style="margin-top: 14px">&nbsp;&nbsp;<a href="/seed/extra/down/file.do?dataIdx=${file.seqNo}&funcType=${file.fileFunc}&pathKey1=${siteIdx}&downUserl=user">${file.fileName}</a>
</div>
</c:if>
</c:forEach>
</dd>
</c:if>
<c:if test="${caseAuthVO.caseAuthYn eq 'Y'}">
<!-- 합의서 섹션 추가 -->
<c:if test="${masterData.CASE_A_TYPE eq '2'}">
<c:if test="${masterData.CASE_A_USER eq '3' or (isGubun eq 'app' and masterData.CASE_A_USER eq '1') or (isGubun eq 'res' and masterData.CASE_A_USER eq '2')}">
<dt>합의서</dt>
<dd>
<c:set var="caseAFile" value="0" />
<c:forEach items="${trublreqstmngCaseFileList}" var="file" varStatus="status">
<c:if test="${file.fileGubun == '4806000000'}">
<c:if test="${caseAFile eq '0'}">
<c:choose>
<c:when test="${empty caseComment.CASE_A_SIGN}">
<button type="button" class="btn btn_text btn_35 darkblue_fill btn_search" onclick="fn_caseSign('A');">서명</button>
</c:when>
<c:otherwise>
<button type="button" class="btn btn_text btn_35 darkblue_fill btn_search" style="line-height: 22px; background:#04B431;" onclick="fn_caseSign('A');">서명완료</button>
</c:otherwise>
</c:choose>
</c:if>
<c:set var="caseAFile" value="1" />
<ul class="file_list fill" id="fileUploadP${status.count}" <c:if test="${empty caseComment.CASE_A_SIGN}">style="display:none;"</c:if>>
<li><a href="/seed/extra/down/file.do?dataIdx=${file.seqNo}&funcType=${file.fileFunc}&pathKey1=${siteIdx}&downUserl=user"><i class="icon file clip"></i><span class="file_name">${file.fileName}</span></a></li>
</ul>
</c:if>
</c:forEach>
</dd>
</c:if>
</c:if>
<c:if test="${masterData.CASE_B_TYPE eq '2'}">
<c:if test="${(isGubun eq 'app' and masterData.CASE_B_USER eq '1') or (isGubun eq 'res' and masterData.CASE_B_USER eq '2')}">
<dt>종료요청서</dt>
<dd>
<c:choose>
<c:when test="${empty caseComment.CASE_B_SIGN}">
<button type="button" class="btn btn_text btn_35 darkblue_fill btn_search" style="line-height: 22px;" onclick="fn_caseComment('B');">사유기재</button>
</c:when>
<c:otherwise>
<button type="button" class="btn btn_text btn_35 darkblue_fill btn_search" style="line-height: 22px;" onclick="fn_caseComment('B');">서명완료</button>
</c:otherwise>
</c:choose>
<button type="button" class="btn btn_text btn_35 darkblue_fill btn_search" style="line-height: 22px; <c:if test="${empty caseComment.CASE_B_SIGN}">display:none;</c:if>" onclick="clipCall('overPrint');">종료요청서</button>
</dd>
</c:if>
</c:if>
<c:if test="${masterData.CASE_C_TYPE eq '2'}">
<c:if test="${(isGubun eq 'app' and masterData.CASE_C_USER eq '1') or (isGubun eq 'res' and masterData.CASE_C_USER eq '2')}">
<dt>신청취하서</dt>
<dd>
<c:choose>
<c:when test="${empty caseComment.CASE_C_SIGN}">
<button type="button" class="btn btn_text btn_35 darkblue_fill btn_search" style="line-height: 22px;" onclick="fn_caseComment('C');">사유기재</button>
</c:when>
<c:otherwise>
<button type="button" class="btn btn_text btn_35 darkblue_fill btn_search" style="line-height: 22px;" onclick="fn_caseComment('C');">서명완료</button>
</c:otherwise>
</c:choose>
<button type="button" class="btn btn_text btn_35 darkblue_fill btn_search" style="line-height: 22px; <c:if test="${empty caseComment.CASE_C_SIGN}">display:none;</c:if>" onclick="clipCall('cancelPrint');">신청취하서</button>
</dd>
</c:if>
</c:if>
<c:if test="${masterData.CASE_D_TYPE eq '2'}">
<c:if test="${masterData.CASE_D_USER eq '3' or (isGubun eq 'app' and masterData.CASE_D_USER eq '1') or (isGubun eq 'res' and masterData.CASE_D_USER eq '2')}">
<dt>조정조서</dt>
<dd>
<c:set var="caseDFile" value="0" />
<c:forEach items="${trublreqstmngCaseFileList}" var="file" varStatus="status">
<c:if test="${file.fileGubun == '4808000000'}">
<c:if test="${caseDFile eq '0'}">
<c:choose>
<c:when test="${empty caseComment.CASE_D_SIGN}">
<button type="button" class="btn btn_text btn_35 darkblue_fill btn_search" style="line-height: 22px;" onclick="fn_caseSign('D');">서명</button>
</c:when>
<c:otherwise>
<button type="button" class="btn btn_text btn_35 darkblue_fill btn_search" style="line-height: 22px; background:#04B431;" onclick="fn_caseSign('D');">서명완료</button>
</c:otherwise>
</c:choose>
</c:if>
<c:set var="caseDFile" value="1" />
<ul class="file_list fill" id="fileUploadP${status.count}" <c:if test="${empty caseComment.CASE_D_SIGN}">style="display:none;"</c:if>>
<li><a href="/seed/extra/down/file.do?dataIdx=${file.seqNo}&funcType=${file.fileFunc}&pathKey1=${siteIdx}&downUserl=user"><i class="icon file clip"></i><span class="file_name">${file.fileName}</span></a></li>
</ul>
</c:if>
</c:forEach>
</dd>
</c:if>
</c:if>
</c:if>
</dl>
@ -720,6 +599,11 @@
</c:if>
<input type="hidden" id="CLIPDATA_SEQNO" name="CLIPDATA_SEQNO" value="${isSeq}">
</form:form>
<form id="delFrm" name="delFrm" action="/web/user/case/trublcfrncmng/ajax/CasefileDel.do" method="post">
<input type="hidden" name="fileSeqNo" id="fileSeqNo" value=""/>
<input type="hidden" name="type" id="type" value=""/>
</form>
</div>
</body>