2024-12-12 18:20 일반기안문 내용 수정

This commit is contained in:
myname 2024-12-12 18:21:19 +09:00
parent 485eb1a522
commit 9bfc02620a
3 changed files with 307 additions and 21 deletions

View File

@ -629,29 +629,26 @@ public class GwBaseController {
EgovMap paramsCnt = new EgovMap();
if (false
//소재기 내부보고
|| "1".equals(s_jobID)
) {
if ("1".equals(s_jobID)) //소재기 내부보고
{
paramsCnt.put("docId", "22");
}else if (false
//당사자 통지
|| "2".equals(s_jobID)
) {
}else if ("2".equals(s_jobID)) //당사자 통지
{
paramsCnt.put("docId", "22");
}else if (false
//수소법원 통지
|| "3".equals(s_jobID)
) {
paramsCnt.put("docId", "22");
}else if ("3".equals(s_jobID)) //수소법원 통지
{
paramsCnt.put("docId", "22");
}else if ("4".equals(s_jobID)) //회의개최 통보(추가)
{
paramsCnt.put("docId", "22");
}else if ("5".equals(s_jobID)) //협의회 종료통지(사무소별)
{
paramsCnt.put("docId", "22");
}
params.put("data0", paramsCnt);

View File

@ -2,6 +2,11 @@
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<spring:eval expression="@property['gw.url']" var="gwUrl"/> <!--그룹웨어 개발,운영 서버 구분 -->
<spring:eval expression="@property['ngw.url']" var="ngwUrl"/> <!--그룹웨어 개발,운영 서버 구분 -->
<script type="text/javascript">
$(document).ready(function(){
//jQuery DatePicker Option
@ -1300,6 +1305,59 @@ function backGo() {
}
}
//일반기안 띄우기
function nanumCallGeneral(p_jobID, nanumSubject){
if(confirm(nanumSubject + " 등록하시겠습니까?")){
var url = "";
$("#typeNanum").val("S");
$("#jobID").val(p_jobID);
$("#nanumCaseGubun").val('${masterData.caseGubun}');
var param = jQuery('#nanumFrm').serialize();
//url = "/gtm/case/ajax/SanctnhistoryInsNew.do";
url = "/gtm/newcase/ajax/SanctnhistoryInsNewGeneral.do";
XHR2(url, param, function(r){ //C_SANCTNHISTORY 에 데이터 생성
if (!r.gwId){
alert('G/W 연동 기안문 작성을 위해서는 G/W아이디가 필요합니다.\n담당자 관리 개인정보 수정 화면에서 G/W아이디를 넣어주세요! ');
}else {
//alert(r.gwId);
//alert(r.data0.docId);
//$("#nanumViewFrm #compSeqView").val('1000');
//$("#nanumViewFrm #approKeyView").val(r.data0.docId);
//$("#approKeyView").val('H20241120063050');
//$("#docIdImsi").val(r.data.docId);
$("#nanumViewFrm #formIdView").val(r.data0.docId);
//$("#nanumViewFrm #modView").val('w'); //작성 고정
//$("#approKeyImsi").val(r.data2.docId); //외부시스템 연동키 외부시스템 연동키
$("#nanumViewFrm #loginIdView").val('test04'); //그룹웨어로그인아이디
$("#nanumViewFrm #loginIdView").val('admin'); //그룹웨어로그인아이디
$("#nanumViewFrm #loginIdView").val(r.gwId); //그룹웨어로그인아이디
//$("#nanumViewFrm #subjectStrView").val(r.title); //그룹웨어로그인아이디
//$("#nanumViewFrm #contentsStrView").val(r.contents);
//$("#subjectStrImsi").val(r.title); //그룹웨어로그인아이디
//$("#contentsStrImsi").val(r.contents); //그룹웨어로그인아이디
var f = document.nanumViewFrm;
f.action = $("#nanumViewFrm #gwCallUrlView").val();
f.target = "_blank";
f.submit();
}
location.reload();
});
}
}
</script>
<!-- 나눔폼 -->
@ -1387,6 +1445,7 @@ function backGo() {
<option value="7" onclick="nanumCallTest2('7', '추가안건 상정(2차)');">추가안건 상정(2차) TEST</option>
<option value="8" onclick="nanumCallTest2('8', '추가안건 상정(3차)');">추가안건 상정(3차) TEST</option>
</select>
<button type="button" class="btn-default btn btn_text btn_36 blue_border fl" onclick="nanumCallGeneral('5', '협의회 종료통지(사무소별)');">협의회 종료통지(사무소별)</button>
<a href="/gtm/case/trublcfrncmng/trublcfrncmngList/TrublcfrncmngPagingList.do" class="btn-default btn btn_text btn_36 gray_fill" style="display:flex;justify-content:center;align-items:center;">목록</a>
</div>
</c:if>
@ -1401,6 +1460,7 @@ function backGo() {
<option value="7" onclick="nanumCall2('7', '추가안건 상정(2차)');">추가안건 상정(2차)</option>
<option value="8" onclick="nanumCall2('8', '추가안건 상정(3차)');">추가안건 상정(3차)</option>
</select>
<button type="button" class="btn-default btn btn_text btn_36 blue_border fl" onclick="nanumCallGeneral('5', '협의회 종료통지(사무소별)');">협의회 종료통지(사무소별)</button>
<a href="/gtm/case/trublcfrncmng/trublcfrncmngList/TrublcfrncmngPagingList.do" class="btn-default btn btn_text btn_36 gray_fill" style="display:flex;justify-content:center;align-items:center;">목록</a>
</div>
</c:if>
@ -1957,6 +2017,7 @@ function backGo() {
<c:if test="${memberPosition == '0915000000'}">
<button type="button" onclick="regData();" class="btn-default btn btn_text btn_46 blue_fill violet responsive">등록</button>
</c:if>
<button type="button" class="btn-default btn btn_text btn_36 blue_border fl" onclick="nanumCallGeneral('5', '협의회 종료통지(사무소별)');">협의회 종료통지(사무소별)</button>
<button type="button" class="btn-default btn btn_text btn_46 gray_fill responsive" onclick="location.href='/gtm/case/trublcfrncmng/trublcfrncmngList/TrublcfrncmngPagingList.do'">목록</button>
</div>
@ -2110,4 +2171,88 @@ function backGo() {
<div class="temp-file-area">
<input type="file" name="upFile10" id="upFile_10" class="essential temp-file-hideen" onchange="fileTempUp(this, '4827000000');" required title="첨부파일" value="" style="ime-mode: disabled;" >
</div>
</form>
</form>
<!-- 비즈박스 그룹웨어 연동 폼 -->
<form name="nanumFrm2" id="nanumFrm2" action="" method="get">
<!-- 기안문서생성 url -->
<input type="hidden" id="callUrl" name="callUrl"
value="${gwUrl}/servlet/com.nanum.xf.servlet.job.XFJobServlet"/>
<!-- 기안문서 callurl -->
<input type="hidden" id="callProcessUrl" name="callProcessUrl"
value="${gwUrl}/gw/outProcessLogOn.do"/>
<!-- 결재진행문서 callurl -->
<input type="hidden" id="nanumProcessUrl" name="nanumProcessUrl"
value="${gwUrl}/gw/outProcessLogOn.do"/>
<!-- 비즈박스 그룹웨어 callurl -->
<input type="hidden" id="gwCallUrl" name="gwCallUrl"
value="${ngwUrl}/gw/outProcessLogOn.do"/>
<input type="hidden" id="typeNanum" name="type" value="">
<input type="hidden" id="nanumProcess" name="nanumProcess" value="start">
<input type="hidden" id="protID" name="protID" value="createDoc"/>
<input type="hidden" id="userID" name="userID" value="${memberId }"/>
<input type="hidden" id="param3" name="param3" value="${memberId }"/>
<input type="hidden" id="jobID" name="jobID" value=""/>
<input type="hidden" id="nanumSubject" name="nanumSubject" value=""/>
<input type="hidden" id="modifyType" name="modifyType" value="0"/>
<input type="hidden" id="docID" name="docID" value=""/>
<input type="hidden" id="doc" name="docId" value=""/>
<input type="hidden" id="content1" name="content1" value=""/>
<input type="hidden" id="content2" name="content2" value=""/>
<input type="hidden" id="content3" name="content3" value=""/>
<input type="hidden" id="content4" name="content4" value=""/>
<input type="hidden" id="content5" name="content5" value=""/>
<input type="hidden" id="content6" name="content6" value=""/>
<input type="hidden" id="content7" name="content7" value=""/>
<input type="hidden" id="content8" name="content8" value=""/>
<input type="hidden" id="content9" name="content9" value=""/>
<input type="hidden" id="content10" name="content10" value=""/>
<input type="hidden" id="content11" name="content11" value=""/>
<input type="hidden" id="content12" name="content12" value=""/>
<input type="hidden" id="content13" name="content13" value=""/>
<input type="hidden" id="content14" name="content14" value=""/>
<input type="hidden" id="content15" name="content15" value=""/>
<input type="hidden" id="codeNo" name="codeNo" value=""/>
<input type="hidden" id="nanumFrmCaseNo" name="caseNo" value=""/>
<input type="hidden" id="nanumCaseGubun" name="caseGubun" value=""/>
<input type="hidden" id="compSeq" name="compSeq" value=""/>
<input type="hidden" id="deptSeq" name="deptSeq" value=""/>
<input type="hidden" id="approKey" name="approKey" value=""/>
<input type="hidden" id="docId" name="docId" value=""/>
<input type="hidden" id="outProcessCode" name="outProcessCode" value=""/>
<input type="hidden" id="formId" name="formId" value=""/>
<input type="hidden" id="empSeq" name="empSeq" value=""/>
<input type="hidden" id="fileKey" name="fileKey" value=""/>
<input type="hidden" id="loginId" name="loginId" value=""/>
<input type="hidden" id="mod" name="mod" value=""/>
<input type="hidden" id="subjectStr" name="subjectStr" value=""/>
<input type="hidden" id="contentsStr" name="contentsStr" value=""/>
</form>
<!-- 비즈박스 그룹웨어 연동 폼 -->
<form name="nanumViewFrm" id="nanumViewFrm" action="" method="post">
<!-- 비즈박스 그룹웨어 callurl -->
<input type="hidden" id="gwCallUrlView" name="gwCallUrl" value="https://gw.kofair.or.kr/gw/outProcessLogOn.do"/>
<input type="hidden" id="compSeqView" name="compSeq" value=""/>
<input type="hidden" id="approKeyView" name="approKey" value=""/>
<input type="hidden" id="formIdView" name="formId" value=""/>
<input type="hidden" id="fileKeyView" name="fileKey" value=""/>
<input type="hidden" id="loginIdView" name="loginId" value=""/>
<input type="hidden" id="modView" name="mod" value=""/>
<input type="hidden" id="subjectStrView" name="subjectStr" value=""/>
<input type="hidden" id="contentsStrView" name="contentsStr" value=""/>
</form>
<!-- 나눔폼 끝 -->

View File

@ -2,6 +2,11 @@
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<spring:eval expression="@property['gw.url']" var="gwUrl"/> <!--그룹웨어 개발,운영 서버 구분 -->
<spring:eval expression="@property['ngw.url']" var="ngwUrl"/> <!--그룹웨어 개발,운영 서버 구분 -->
<script type="text/javascript">
$(document).ready(function(){
//jQuery DatePicker Option
@ -609,6 +614,60 @@ function resultGo(){
}
//일반기안 띄우기
function nanumCallGeneral(p_jobID, nanumSubject){
if(confirm(nanumSubject + " 등록하시겠습니까?")){
var url = "";
$("#typeNanum").val("S");
$("#jobID").val(p_jobID);
$("#nanumCaseGubun").val('${masterData.caseGubun}');
var param = jQuery('#nanumFrm').serialize();
//url = "/gtm/case/ajax/SanctnhistoryInsNew.do";
url = "/gtm/newcase/ajax/SanctnhistoryInsNewGeneral.do";
XHR2(url, param, function(r){ //C_SANCTNHISTORY 에 데이터 생성
if (!r.gwId){
alert('G/W 연동 기안문 작성을 위해서는 G/W아이디가 필요합니다.\n담당자 관리 개인정보 수정 화면에서 G/W아이디를 넣어주세요! ');
}else {
//alert(r.gwId);
//alert(r.data0.docId);
//$("#nanumViewFrm #compSeqView").val('1000');
//$("#nanumViewFrm #approKeyView").val(r.data0.docId);
//$("#approKeyView").val('H20241120063050');
//$("#docIdImsi").val(r.data.docId);
$("#nanumViewFrm #formIdView").val(r.data0.docId);
//$("#nanumViewFrm #modView").val('w'); //작성 고정
//$("#approKeyImsi").val(r.data2.docId); //외부시스템 연동키 외부시스템 연동키
$("#nanumViewFrm #loginIdView").val('test04'); //그룹웨어로그인아이디
$("#nanumViewFrm #loginIdView").val('admin'); //그룹웨어로그인아이디
$("#nanumViewFrm #loginIdView").val(r.gwId); //그룹웨어로그인아이디
//$("#nanumViewFrm #subjectStrView").val(r.title); //그룹웨어로그인아이디
//$("#nanumViewFrm #contentsStrView").val(r.contents);
//$("#subjectStrImsi").val(r.title); //그룹웨어로그인아이디
//$("#contentsStrImsi").val(r.contents); //그룹웨어로그인아이디
var f = document.nanumViewFrm;
f.action = $("#nanumViewFrm #gwCallUrlView").val();
f.target = "_blank";
f.submit();
}
location.reload();
});
}
}
</script>
<form:form name="frm" id="frm" action="" method="post" enctype="multipart/form-data">
<input type="hidden" id="type" name="type" value="N">
@ -637,6 +696,7 @@ function resultGo(){
</div>
<div class="btn_wrap right mb40">
<button type="button" class="btn-default btn btn_text btn_36 blue_border fl" onclick="nanumCallGeneral('4', '회의개최 통보(추가)');">회의개최 통보(추가)</button>
<a href="/gtm/case/trublcfrncmng/trublcfrncmngList/TrublcfrncmngPagingList.do" class="btn-default btn btn_text btn_36 gray_fill" style="display:flex;justify-content:center;align-items:center;">목록</a>
<!-- <button type="button" class="btn-default fl">안건상정 결제</button> -->
</div>
@ -1260,4 +1320,88 @@ function resultGo(){
<div class="temp-file-area">
<input type="file" name="upFile19" id="upFile_19" class="essential temp-file-hideen" onchange="fileTempUp(this, '4838000000');" required title="첨부파일" value="" style="ime-mode: disabled;" >
</div>
</form>
</form>
<!-- 비즈박스 그룹웨어 연동 폼 -->
<form name="nanumFrm" id="nanumFrm" action="" method="get">
<!-- 기안문서생성 url -->
<input type="hidden" id="callUrl" name="callUrl"
value="${gwUrl}/servlet/com.nanum.xf.servlet.job.XFJobServlet"/>
<!-- 기안문서 callurl -->
<input type="hidden" id="callProcessUrl" name="callProcessUrl"
value="${gwUrl}/gw/outProcessLogOn.do"/>
<!-- 결재진행문서 callurl -->
<input type="hidden" id="nanumProcessUrl" name="nanumProcessUrl"
value="${gwUrl}/gw/outProcessLogOn.do"/>
<!-- 비즈박스 그룹웨어 callurl -->
<input type="hidden" id="gwCallUrl" name="gwCallUrl"
value="${ngwUrl}/gw/outProcessLogOn.do"/>
<input type="hidden" id="typeNanum" name="type" value="">
<input type="hidden" id="nanumProcess" name="nanumProcess" value="start">
<input type="hidden" id="protID" name="protID" value="createDoc"/>
<input type="hidden" id="userID" name="userID" value="${memberId }"/>
<input type="hidden" id="param3" name="param3" value="${memberId }"/>
<input type="hidden" id="jobID" name="jobID" value=""/>
<input type="hidden" id="nanumSubject" name="nanumSubject" value=""/>
<input type="hidden" id="modifyType" name="modifyType" value="0"/>
<input type="hidden" id="docID" name="docID" value=""/>
<input type="hidden" id="doc" name="docId" value=""/>
<input type="hidden" id="content1" name="content1" value=""/>
<input type="hidden" id="content2" name="content2" value=""/>
<input type="hidden" id="content3" name="content3" value=""/>
<input type="hidden" id="content4" name="content4" value=""/>
<input type="hidden" id="content5" name="content5" value=""/>
<input type="hidden" id="content6" name="content6" value=""/>
<input type="hidden" id="content7" name="content7" value=""/>
<input type="hidden" id="content8" name="content8" value=""/>
<input type="hidden" id="content9" name="content9" value=""/>
<input type="hidden" id="content10" name="content10" value=""/>
<input type="hidden" id="content11" name="content11" value=""/>
<input type="hidden" id="content12" name="content12" value=""/>
<input type="hidden" id="content13" name="content13" value=""/>
<input type="hidden" id="content14" name="content14" value=""/>
<input type="hidden" id="content15" name="content15" value=""/>
<input type="hidden" id="codeNo" name="codeNo" value=""/>
<input type="hidden" id="nanumFrmCaseNo" name="caseNo" value=""/>
<input type="hidden" id="nanumCaseGubun" name="caseGubun" value=""/>
<input type="hidden" id="compSeq" name="compSeq" value=""/>
<input type="hidden" id="deptSeq" name="deptSeq" value=""/>
<input type="hidden" id="approKey" name="approKey" value=""/>
<input type="hidden" id="docId" name="docId" value=""/>
<input type="hidden" id="outProcessCode" name="outProcessCode" value=""/>
<input type="hidden" id="formId" name="formId" value=""/>
<input type="hidden" id="empSeq" name="empSeq" value=""/>
<input type="hidden" id="fileKey" name="fileKey" value=""/>
<input type="hidden" id="loginId" name="loginId" value=""/>
<input type="hidden" id="mod" name="mod" value=""/>
<input type="hidden" id="subjectStr" name="subjectStr" value=""/>
<input type="hidden" id="contentsStr" name="contentsStr" value=""/>
</form>
<!-- 비즈박스 그룹웨어 연동 폼 -->
<form name="nanumViewFrm" id="nanumViewFrm" action="" method="post">
<!-- 비즈박스 그룹웨어 callurl -->
<input type="hidden" id="gwCallUrlView" name="gwCallUrl" value="https://gw.kofair.or.kr/gw/outProcessLogOn.do"/>
<input type="hidden" id="compSeqView" name="compSeq" value=""/>
<input type="hidden" id="approKeyView" name="approKey" value=""/>
<input type="hidden" id="formIdView" name="formId" value=""/>
<input type="hidden" id="fileKeyView" name="fileKey" value=""/>
<input type="hidden" id="loginIdView" name="loginId" value=""/>
<input type="hidden" id="modView" name="mod" value=""/>
<input type="hidden" id="subjectStrView" name="subjectStr" value=""/>
<input type="hidden" id="contentsStrView" name="contentsStr" value=""/>
</form>
<!-- 나눔폼 끝 -->