SPCVO02400_VOC임의종결등록.xrw 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * Name : SPCVO02400_VOC임의종결등록
  4. * Summary : VOC임의종결등록
  5. * Programmer : 김준규
  6. * Date Written : 2007.10.21
  7. * History :
  8. * Remark :
  9. -->
  10. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  11. <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">
  12. <xhtml:head>
  13. <xhtml:title>VOC 임의종결 사유</xhtml:title>
  14. <model id="model1">
  15. <instance id="instance1">
  16. <root xmlns="">
  17. <main>
  18. <vocdata>
  19. <enddata>
  20. <acptseq/>
  21. <acptdd/>
  22. <rgstseq/>
  23. <forceendyn>Y</forceendyn>
  24. <forceendreasoncnts/>
  25. </enddata>
  26. </vocdata>
  27. <temp>
  28. <key>
  29. <sndacptdd/>
  30. <sndacptseq/>
  31. <sndrgstseq/>
  32. <sndendflag/>
  33. </key>
  34. </temp>
  35. </main>
  36. <temp/>
  37. <init/>
  38. </root>
  39. </instance>
  40. <submission id="TRCVO02401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/temp/key" resultref="/root/main/vocdata"/>
  41. <submission id="TXCVO02401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/vocdata/enddata"/>
  42. </model>
  43. <script type="javascript" ev:event="xforms-ready">
  44. <![CDATA[
  45. var reAcptDD = model.getValue("/root/main/temp/key/sndacptdd")
  46. var reAcptSeq = model.getValue("/root/main/temp/key/sndacptseq")
  47. var reRgstSeq = model.getValue("/root/main/temp/key/sndrgstseq")
  48. var reEndFlag = model.getValue("/root/main/temp/key/sndendflag")
  49. if (( reAcptDD == "" || reAcptDD == null ) || ( reAcptSeq == "" || reAcptSeq == null ) || ( reRgstSeq == "" || reRgstSeq == null )) {
  50. var rtn = messageBox("조회에 필요한 항목이 전달되지", "E007");
  51. if(rtn == 1){
  52. window.close();
  53. }
  54. } else {
  55. if ( reEndFlag == "Y" ){
  56. model.makeValue("/root/main/vocdata/enddata/acptdd", reAcptDD);
  57. model.makeValue("/root/main/vocdata/enddata/acptseq", reAcptSeq);
  58. model.makeValue("/root/main/vocdata/enddata/rgstseq", reRgstSeq);
  59. model.makeValue("/root/main/vocdata/enddata/forceendyn", "Y");
  60. btn_input.disabled = false;
  61. } else {
  62. submit("TRCVO02401");
  63. btn_input.disabled = true;
  64. cpt_notes.attribute("visibility") = "hidden";
  65. tar_Cnts.attribute("editable") = "false";
  66. }
  67. }
  68. fCheckAuth();
  69. model.refresh();
  70. ]]>
  71. </script>
  72. <script type="javascript">
  73. <![CDATA[
  74. function fCheckAuth() {
  75. // 권한체크
  76. if (!checkAuth("r")) {
  77. }
  78. if (!checkAuth("x")) {
  79. }
  80. if (!checkAuth("p")) {
  81. }
  82. }
  83. ]]>
  84. </script>
  85. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  86. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  87. </xhtml:head>
  88. <xhtml:body pagewidth="630" pageheight="310" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  89. <group id="grp_tle" style="left:0px; top:0px; width:610px; height:13px; ">
  90. <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:150px; height:13px; ">VOC 임의종결 사유</caption>
  91. </group>
  92. <group id="grp_cnts" style="left:0px; top:13px; width:610px; height:252px; ">
  93. <line id="line2" class="line_1" style="x1:0px; y1:5px; x2:610px; y2:5px; "/>
  94. <line id="line7" class="line_3" style="x1:0px; y1:249px; x2:610px; y2:249px; "/>
  95. <caption id="caption10" class="cell_1" style="left:0px; top:10px; width:105px; height:240px; text-align:center; vertical-align:middle; ">임의종결사유</caption>
  96. <textarea id="tar_Cnts" ref="/root/main/vocdata/enddata/forceendreasoncnts" scroll="vertical" style="left:108px; top:10px; width:500px; height:236px; "/>
  97. </group>
  98. <group id="grp_btn" scroll="auto" style="left:0px; top:265px; width:610px; height:27px; ">
  99. <caption id="cpt_notes" class="hand" style="left:5px; top:7px; width:477px; height:17px; ">임의종결하시면 부서 회신이 오지 않더라도 다음 단계로 진행할 수 있습니다.</caption>
  100. <button id="btn_input" class="btn4_letter2" disabled="true" style="left:492px; top:5px; width:56px; height:22px; ">
  101. <caption>등록</caption>
  102. <script type="javascript" ev:event="DOMActivate">
  103. <![CDATA[
  104. var reAcptDD = model.getValue("/root/main/temp/key/sndacptdd")
  105. var reAcptSeq = model.getValue("/root/main/temp/key/sndacptseq")
  106. var reRgstSeq = model.getValue("/root/main/temp/key/sndrgstseq")
  107. var strContents = model.getValue("/root/main/vocdata/enddata/forceendreasoncnts")
  108. model.makeValue("/root/main/vocdata/enddata/acptdd", reAcptDD);
  109. model.makeValue("/root/main/vocdata/enddata/acptseq", reAcptSeq);
  110. model.makeValue("/root/main/vocdata/enddata/rgstseq", reRgstSeq);
  111. model.makeValue("/root/main/vocdata/enddata/forceendyn", "Y");
  112. if (isRequiredControls("tar_Cnts") ){
  113. if(submit("TXCVO02401")){
  114. var rtn = messageBox("VOC 임의종결 처리가 ", "I002");
  115. parent.javaScript.fNavigateFEnd();
  116. window.close();
  117. }
  118. }
  119. ]]>
  120. </script>
  121. </button>
  122. <button id="btn_close" class="btn4_letter2" style="left:550px; top:5px; width:56px; height:22px; ">
  123. <caption>닫기</caption>
  124. <close ev:event="DOMActivate"/>
  125. </button>
  126. </group>
  127. </xhtml:body>
  128. </xhtml:html>