분쟁사건 처리관리 삭제기능 추가

This commit is contained in:
wyh 2025-01-14 16:57:46 +09:00
parent 6e7e4fbc45
commit 3d07b07944
3 changed files with 42 additions and 17 deletions

View File

@ -357,6 +357,10 @@ public class BaseController {
//내부결제 첨부파일 조회 //내부결제 첨부파일 조회
params.put("sql", pageFolder+".selectGWFileList"); params.put("sql", pageFolder+".selectGWFileList");
params.put("selectGWFileList", JSPUtil.fixNull(bservice.list(params))); params.put("selectGWFileList", JSPUtil.fixNull(bservice.list(params)));
}else if("MASTER_DELETE".equals(type)){
//내부결제 첨부파일 조회
params.put("data", JSPUtil.fixNull(bservice.update(params)).toString());
} }

View File

@ -2909,4 +2909,12 @@
AND RESULT IS NOT NULL AND RESULT IS NOT NULL
) )
</select> </select>
<!--삭제처리 업데이트 -->
<update id="trublreqstmngmasterDelete" parameterType="egovMap">
UPDATE C_MASTER
SET
DEL_YN = 'Y'
WHERE CASE_NO = #{caseNo}
</update>
</mapper> </mapper>

View File

@ -716,6 +716,17 @@ $("#periodCalulation").click(function(){
} }
}); });
$("#deleteInsBtn").click(function(){
if(confirm("삭제 하시겠습니까?")){
$("#type").val("MASTER_DELETE");
var param = jQuery('#frm').serialize();
url = "/gtm/case/trublreqstmng/ajax/masterDelete.do";
XHR2(url, param, function(r){
location.href='/gtm/case/trublprocessmng/trublprocessmngList/TrublprocessmngPagingList.do';
});
}
});
$(".regIns").click(function() { $(".regIns").click(function() {
if($("#mediationSmall") != undefined){ if($("#mediationSmall") != undefined){
$("#mediationSmall").attr("readonly",false); $("#mediationSmall").attr("readonly",false);
@ -9726,26 +9737,28 @@ function docOpen(obj) {
<!-- 팀장 조사관 변경 기능 END--> <!-- 팀장 조사관 변경 기능 END-->
</c:if> </c:if>
<div class="btn_wrap ac mt40 mb60"> <div class="btn_wrap ac mt40 mb60">
<c:if test="${(memberId == masterData.caseExaminer || memberPosition == '0915000000') && (memberPosition == '0912000000' || memberPosition == '0911000000' || memberPosition == '0915000000')}"> <c:if test="${(memberId == masterData.caseExaminer || memberPosition == '0915000000') && (memberPosition == '0912000000' || memberPosition == '0911000000' || memberPosition == '0915000000')}">
<div class="area_left"> <div class="area_left">
<c:if test="${masterData.statePro != '0405000000' && masterData.statePro != '0404000000' && masterData.statePro != '0401000000'}"> <c:if test="${masterData.statePro != '0405000000' && masterData.statePro != '0404000000' && masterData.statePro != '0401000000'}">
<button type="button" id="nextStepBtn" class="btn-default btn btn_text btn_46 subgray_border responsive">다음</button> <button type="button" id="nextStepBtn" class="btn-default btn btn_text btn_46 subgray_border responsive">다음</button>
</c:if> </c:if>
<c:if test="${masterData.statePro != '0405000000' && masterData.statePro != '0402000000' && masterData.statePro != '0401000000'}"> <c:if test="${masterData.statePro != '0405000000' && masterData.statePro != '0402000000' && masterData.statePro != '0401000000'}">
<button type="button" id="preStepBtn" class="btn-default btn btn_text btn_46 subgray_border responsive">이전</button> <button type="button" id="preStepBtn" class="btn-default btn btn_text btn_46 subgray_border responsive">이전</button>
</c:if>
<c:if test="${masterData.statePro == '0401000000' && masterData.statePro != '0402000000' && memberPosition == '0915000000'}">
<button type="button" id="deleteInsBtn" class="btn-default btn btn_text btn_46 red_fill responsive">삭제</button>
</c:if>
</div>
<div class="area_right">
<c:if test="${masterData.statePro != '0405000000'}">
<button type="button" id="regIns" class="btn-default violet btn btn_text btn_46 blue_fill responsive regIns">저장</button>
</c:if>
</c:if> </c:if>
<button type="button" class="btn-default responsive btn btn_text btn_46 gray_fill returnList">목록</button>
</div> </div>
<div class="area_right">
<c:if test="${masterData.statePro != '0405000000'}">
<button type="button" id="regIns" class="btn-default violet btn btn_text btn_46 blue_fill responsive regIns">저장</button>
</c:if>
</c:if>
<button type="button" class="btn-default responsive btn btn_text btn_46 gray_fill returnList">목록</button>
</div> </div>
</div> </div>
</div>
</form:form> </form:form>
<form id="fileTempUpFrm1" action="/seed/extra/temp/file.do" method="post" enctype="multipart/form-data"> <form id="fileTempUpFrm1" action="/seed/extra/temp/file.do" method="post" enctype="multipart/form-data">