123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * Name : SPCVO02400_VOC임의종결등록
- * Summary : VOC임의종결등록
- * Programmer : 김준규
- * Date Written : 2007.10.21
- * History :
- * Remark :
- -->
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>VOC 임의종결 사유</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <vocdata>
- <enddata>
- <acptseq/>
- <acptdd/>
- <rgstseq/>
- <forceendyn>Y</forceendyn>
- <forceendreasoncnts/>
- </enddata>
- </vocdata>
- <temp>
- <key>
- <sndacptdd/>
- <sndacptseq/>
- <sndrgstseq/>
- <sndendflag/>
- </key>
- </temp>
- </main>
- <temp/>
- <init/>
- </root>
- </instance>
- <submission id="TRCVO02401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/temp/key" resultref="/root/main/vocdata"/>
- <submission id="TXCVO02401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/vocdata/enddata"/>
- </model>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- var reAcptDD = model.getValue("/root/main/temp/key/sndacptdd")
- var reAcptSeq = model.getValue("/root/main/temp/key/sndacptseq")
- var reRgstSeq = model.getValue("/root/main/temp/key/sndrgstseq")
- var reEndFlag = model.getValue("/root/main/temp/key/sndendflag")
-
- if (( reAcptDD == "" || reAcptDD == null ) || ( reAcptSeq == "" || reAcptSeq == null ) || ( reRgstSeq == "" || reRgstSeq == null )) {
- var rtn = messageBox("조회에 필요한 항목이 전달되지", "E007");
- if(rtn == 1){
- window.close();
- }
- } else {
- if ( reEndFlag == "Y" ){
- model.makeValue("/root/main/vocdata/enddata/acptdd", reAcptDD);
- model.makeValue("/root/main/vocdata/enddata/acptseq", reAcptSeq);
- model.makeValue("/root/main/vocdata/enddata/rgstseq", reRgstSeq);
- model.makeValue("/root/main/vocdata/enddata/forceendyn", "Y");
- btn_input.disabled = false;
- } else {
- submit("TRCVO02401");
- btn_input.disabled = true;
- cpt_notes.attribute("visibility") = "hidden";
- tar_Cnts.attribute("editable") = "false";
- }
- }
-
- fCheckAuth();
- model.refresh();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function fCheckAuth() {
- // 권한체크
- if (!checkAuth("r")) {
- }
- if (!checkAuth("x")) {
- }
- if (!checkAuth("p")) {
- }
- }
- ]]>
- </script>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="630" pageheight="310" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="grp_tle" style="left:0px; top:0px; width:610px; height:13px; ">
- <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:150px; height:13px; ">VOC 임의종결 사유</caption>
- </group>
- <group id="grp_cnts" style="left:0px; top:13px; width:610px; height:252px; ">
- <line id="line2" class="line_1" style="x1:0px; y1:5px; x2:610px; y2:5px; "/>
- <line id="line7" class="line_3" style="x1:0px; y1:249px; x2:610px; y2:249px; "/>
- <caption id="caption10" class="cell_1" style="left:0px; top:10px; width:105px; height:240px; text-align:center; vertical-align:middle; ">임의종결사유</caption>
- <textarea id="tar_Cnts" ref="/root/main/vocdata/enddata/forceendreasoncnts" scroll="vertical" style="left:108px; top:10px; width:500px; height:236px; "/>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:265px; width:610px; height:27px; ">
- <caption id="cpt_notes" class="hand" style="left:5px; top:7px; width:477px; height:17px; ">임의종결하시면 부서 회신이 오지 않더라도 다음 단계로 진행할 수 있습니다.</caption>
- <button id="btn_input" class="btn4_letter2" disabled="true" style="left:492px; top:5px; width:56px; height:22px; ">
- <caption>등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var reAcptDD = model.getValue("/root/main/temp/key/sndacptdd")
- var reAcptSeq = model.getValue("/root/main/temp/key/sndacptseq")
- var reRgstSeq = model.getValue("/root/main/temp/key/sndrgstseq")
- var strContents = model.getValue("/root/main/vocdata/enddata/forceendreasoncnts")
-
- model.makeValue("/root/main/vocdata/enddata/acptdd", reAcptDD);
- model.makeValue("/root/main/vocdata/enddata/acptseq", reAcptSeq);
- model.makeValue("/root/main/vocdata/enddata/rgstseq", reRgstSeq);
- model.makeValue("/root/main/vocdata/enddata/forceendyn", "Y");
-
- if (isRequiredControls("tar_Cnts") ){
- if(submit("TXCVO02401")){
- var rtn = messageBox("VOC 임의종결 처리가 ", "I002");
-
- parent.javaScript.fNavigateFEnd();
-
- window.close();
- }
- }
- ]]>
- </script>
- </button>
- <button id="btn_close" class="btn4_letter2" style="left:550px; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <close ev:event="DOMActivate"/>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|