SPSOC00402_변경신청처리.xrw 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>변경요청 확인및 처리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <data>
  11. <boardseqno/>
  12. <boardrelacd/>
  13. <usernm/>
  14. <subjtypecd/>
  15. <boardtitl/>
  16. <appcnts/>
  17. <appresncnts/>
  18. <mngerremfact/>
  19. <suggdeptcd/>
  20. <lastupdtrid/>
  21. <lastupdtdt/>
  22. <tretcd/>
  23. </data>
  24. <hidden>
  25. <session/>
  26. <dept>
  27. <userid/>
  28. </dept>
  29. <define/>
  30. </hidden>
  31. <send>
  32. <savedata>
  33. <data/>
  34. </savedata>
  35. <sessuserid/>
  36. </send>
  37. <temp/>
  38. </main>
  39. <send>
  40. <savedata>
  41. <data/>
  42. </savedata>
  43. <sessuserid/>
  44. </send>
  45. <temp/>
  46. </root>
  47. </instance>
  48. <submission id="TXSOC00402" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/temp"/>
  49. </model>
  50. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  51. <script type="javascript" src="../../../sts/stsmngtweb/js/SOC004.js"/>
  52. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  53. <script type="javascript" ev:event="xforms-ready">
  54. <![CDATA[
  55. fGetUserSessionInfo();
  56. //ITC 관리자만 버튼을 열어준다.
  57. if(model.getValue("/root/hidden/session/userid") == "95031902" ||
  58. model.getValue("/root/hidden/session/userid") == "94010034" ||
  59. model.getValue("/root/hidden/session/userid") == "sts") {
  60. btn_update.visible = true; //저장처리버튼
  61. tar_admin_comment.disabled = false; //관리자 메모
  62. } else {
  63. btn_update.visible = false; //저장처리버튼
  64. tar_admin_comment.disabled = true;
  65. }
  66. model.setvalue("/root/main/data/boardseqno", model.getAttribute("boardseqno"));
  67. model.setvalue("/root/main/data/boardrelacd", model.getAttribute("boardrelacd"));
  68. model.setvalue("/root/main/data/usernm", model.getAttribute("usernm"));
  69. model.setvalue("/root/main/data/subjtypecd", model.getAttribute("subjtypecd"));
  70. model.setvalue("/root/main/data/boardtitl", model.getAttribute("boardtitl"));
  71. model.setvalue("/root/main/data/appcnts", model.getAttribute("appcnts"));
  72. model.setvalue("/root/main/data/appresncnts", model.getAttribute("appresncnts"));
  73. model.setvalue("/root/main/data/mngerremfact", model.getAttribute("mngerremfact"));
  74. model.setvalue("/root/main/data/suggdeptcd", model.getAttribute("suggdeptcd"));
  75. model.setvalue("/root/main/data/lastupdtrid", model.getAttribute("lastupdtrid"));
  76. model.setvalue("/root/main/data/tretcd", model.getAttribute("tretcd"));
  77. model.refresh();
  78. ]]>
  79. </script>
  80. </xhtml:head>
  81. <xhtml:body pagewidth="718" pageheight="485" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  82. <group id="grp_biz" scroll="auto" style="left:0px; top:0px; width:700px; height:450px; ">
  83. <caption id="caption1" class="tit_2" style="left:5px; top:9px; width:103px; height:14px; ">변경요청 사항</caption>
  84. <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:700px; y2:25px; "/>
  85. <textarea id="tar_cnts" ref="/root/main/data/appcnts" class="output_default" disabled="true" scroll="vertical" style="left:132px; top:149px; width:565px; height:143px; "/>
  86. <caption id="caption2" class="cell_1" style="left:0px; top:148px; width:130px; height:145px; ">변경요청 내용</caption>
  87. <caption id="caption32" class="cell_1" style="left:0px; top:54px; width:130px; height:23px; text-align:left; vertical-align:middle; ">변경 요청자</caption>
  88. <caption id="caption12" class="cell_1" style="left:0px; top:30px; width:130px; height:23px; text-align:left; vertical-align:middle; ">항목 구분</caption>
  89. <caption id="caption5" class="cell_1" style="left:0px; top:78px; width:130px; height:23px; text-align:left; vertical-align:middle; ">명 칭</caption>
  90. <textarea id="tar_resn" ref="/root/main/data/appresncnts" class="output_default" disabled="true" scroll="vertical" style="left:132px; top:295px; width:565px; height:78px; "/>
  91. <caption id="caption3" class="cell_1" style="left:0px; top:294px; width:130px; height:80px; ">변경 사유</caption>
  92. <output id="opt_title" ref="/root/main/data/boardtitl" style="left:132px; top:80px; width:565px; height:19px; text-align:left; "/>
  93. <output id="opt_usernm" ref="/root/main/data/usernm" style="left:132px; top:56px; width:123px; height:19px; text-align:left; "/>
  94. <caption id="caption6" class="cell_1" style="left:445px; top:30px; width:130px; height:23px; text-align:left; vertical-align:middle; ">현재 상태</caption>
  95. <select1 id="cbo_statcd" ref="/root/main/data/tretcd" disabled="false" appearance="minimal" style="left:577px; top:32px; width:120px; height:19px; text-align:left; ">
  96. <choices>
  97. <item>
  98. <label>요청접수</label>
  99. <value>01</value>
  100. </item>
  101. <item>
  102. <label>처리완료</label>
  103. <value>02</value>
  104. </item>
  105. <item>
  106. <label>반려</label>
  107. <value>03</value>
  108. </item>
  109. </choices>
  110. </select1>
  111. <select1 id="rdo_gubun" ref="/root/main/data/subjtypecd" overflow="visible" appearance="full" rows="1" cols="3" cellspacing="50" style="left:140px; top:33px; width:290px; height:20px; border-style:none; ">
  112. <choices>
  113. <item>
  114. <label>KPI</label>
  115. <value>K</value>
  116. </item>
  117. <item>
  118. <label>세분변수</label>
  119. <value>V</value>
  120. </item>
  121. <item>
  122. <label>Report</label>
  123. <value>R</value>
  124. </item>
  125. </choices>
  126. </select1>
  127. <output id="opt_code" ref="/root/main/data/lastupdtrid" visibility="hidden" style="left:285px; top:56px; width:55px; height:19px; text-align:left; "/>
  128. <caption id="caption4" class="cell_1" style="left:0px; top:102px; width:130px; height:45px; ">정 의</caption>
  129. <textarea id="tar_define" ref="/root/main/hidden/define" class="output_default" disabled="true" maxlength="240" style="left:132px; top:103px; width:565px; height:43px; "/>
  130. <textarea id="tar_admin_comment" ref="/root/main/data/mngerremfact" scroll="vertical" style="left:132px; top:376px; width:565px; height:68px; "/>
  131. <caption id="caption7" class="cell_1" style="left:0px; top:375px; width:130px; height:70px; ">관리자 답변</caption>
  132. <output id="opt_relacd" ref="/root/main/data/boardrelacd" visibility="hidden" style="left:365px; top:56px; width:60px; height:19px; text-align:left; "/>
  133. </group>
  134. <group id="grp_btn" scroll="auto" style="left:0px; top:450px; width:700px; height:27px; ">
  135. <button id="btn_delete" class="btn4_letter2" style="left:582px; top:2px; width:56px; height:22px; ">
  136. <caption>저장</caption>
  137. <script type="javascript" ev:event="DOMActivate">
  138. <![CDATA[
  139. model.copyNode("/root/send/savedata/data", "/root/main/data");
  140. var rslt = submit("TXSOC00402");
  141. if (rslt) {
  142. model.alert("내역이 저장되었습니다.");
  143. opener.btn_search.dispatch("DOMActivate");
  144. window.close();
  145. }else{
  146. model.alert("저장에 실패하였습니다.");
  147. }
  148. ]]>
  149. </script>
  150. </button>
  151. <button id="button9" class="btn4_letter2" style="left:641px; top:2px; width:56px; height:22px; ">
  152. <script type="javascript" ev:event="xforms-activate">
  153. <![CDATA[
  154. window.close();
  155. ]]>
  156. </script>
  157. <caption>닫기</caption>
  158. </button>
  159. </group>
  160. </xhtml:body>
  161. </xhtml:html>