SPSOC00401_변경요청입력.xrw 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  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>Data 변경요청</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <data>
  11. <boardseqno/>
  12. <subjtypecd/>
  13. <boardrelacd/>
  14. <boardtitl/>
  15. <appcnts/>
  16. <appresncnts/>
  17. <mngerremfact/>
  18. <tretcd/>
  19. <instcd/>
  20. <suggdeptcd/>
  21. <fstrgstrid/>
  22. <lastupdtrid/>
  23. </data>
  24. <hidden>
  25. <session/>
  26. <define/>
  27. <usernm/>
  28. </hidden>
  29. </main>
  30. <send>
  31. <savedata>
  32. <data/>
  33. </savedata>
  34. <sessuserid/>
  35. </send>
  36. <temp/>
  37. </root>
  38. </instance>
  39. <submission id="TXSOC00401" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/temp"/>
  40. </model>
  41. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  42. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  43. <script type="javascript" ev:event="xforms-ready">
  44. <![CDATA[
  45. model.setvalue("/root/main/data/subjtypecd", model.property("iParam_itemflag"));
  46. model.setvalue("/root/main/data/boardrelacd", model.property("iParam_code"));
  47. model.setvalue("/root/main/hidden/define", model.property("iParam_desc"));
  48. model.setvalue("/root/main/data/boardtitl", model.property("iParam_name"));
  49. model.setvalue("/root/main/data/instcd", model.property("iParam_instcd"));
  50. model.setvalue("/root/main/data/suggdeptcd", model.property("iParam_deptcd"));
  51. model.setvalue("/root/main/data/fstrgstrid", model.property("iParam_userid"));
  52. model.setvalue("/root/main/data/lastupdtrid", model.property("iParam_userid"));
  53. model.setvalue("/root/main/hidden/usernm", model.property("iParam_usernm"));
  54. model.setvalue("/root/main/data/tretcd", "01");
  55. model.refresh();
  56. ]]>
  57. </script>
  58. <script type="javascript">
  59. <![CDATA[
  60. //빈값이 있는지 체크
  61. function fNullCheck() {
  62. if(model.getvalue("/root/main/data/appcnts") =="") {
  63. alert("변경요청 사항을 입력하세요.");
  64. return false;
  65. }
  66. }
  67. ]]>
  68. </script>
  69. </xhtml:head>
  70. <xhtml:body pagewidth="718" pageheight="485" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  71. <group id="grp_biz" scroll="auto" style="left:0px; top:0px; width:700px; height:450px; ">
  72. <caption id="caption1" class="tit_2" style="left:5px; top:9px; width:103px; height:13px; ">Data 변경요청</caption>
  73. <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:700px; y2:25px; "/>
  74. <textarea id="tar_cnts" ref="/root/main/data/appcnts" scroll="vertical" style="left:132px; top:159px; width:565px; height:153px; "/>
  75. <caption id="caption2" class="cell_1" style="left:0px; top:158px; width:130px; height:155px; ">변경요청 내용</caption>
  76. <caption id="caption32" class="cell_1" style="left:0px; top:54px; width:130px; height:23px; text-align:left; vertical-align:middle; ">변경 요청자</caption>
  77. <caption id="caption12" class="cell_1" style="left:0px; top:30px; width:130px; height:23px; text-align:left; vertical-align:middle; ">항목 구분</caption>
  78. <caption id="caption5" class="cell_1" style="left:0px; top:78px; width:130px; height:23px; text-align:left; vertical-align:middle; ">명 칭</caption>
  79. <textarea id="tar_resn" ref="/root/main/data/appresncnts" scroll="vertical" style="left:132px; top:315px; width:565px; height:93px; "/>
  80. <caption id="caption3" class="cell_1" style="left:0px; top:314px; width:130px; height:95px; ">변경 사유</caption>
  81. <output id="opt_title" ref="/root/main/data/boardtitl" style="left:132px; top:80px; width:565px; height:19px; text-align:left; "/>
  82. <output id="opt_usernm" ref="/root/main/hidden/usernm" style="left:132px; top:56px; width:200px; height:19px; text-align:left; "/>
  83. <caption id="caption6" class="cell_1" style="left:447px; top:30px; width:130px; height:23px; text-align:left; vertical-align:middle; ">현재 상태</caption>
  84. <select1 id="cbo_statcd" ref="/root/main/data/tretcd" disabled="true" appearance="minimal" style="left:578px; top:32px; width:120px; height:19px; text-align:left; ">
  85. <choices>
  86. <item>
  87. <label>요청접수</label>
  88. <value>01</value>
  89. </item>
  90. <item>
  91. <label>처리완료</label>
  92. <value>02</value>
  93. </item>
  94. <item>
  95. <label>반려</label>
  96. <value>03</value>
  97. </item>
  98. </choices>
  99. </select1>
  100. <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; ">
  101. <choices>
  102. <item>
  103. <label>KPI</label>
  104. <value>K</value>
  105. </item>
  106. <item>
  107. <label>세분변수</label>
  108. <value>V</value>
  109. </item>
  110. <item>
  111. <label>Report</label>
  112. <value>R</value>
  113. </item>
  114. </choices>
  115. </select1>
  116. <caption id="caption8" class="hand" style="left:2px; top:419px; width:696px; height:14px; vertical-align:middle; ">저장후 처리결과는 "신청관리" 메뉴에서 확인하실 수 있습니다. * 문의 : 박종택 (02-590-7891)</caption>
  117. <output id="opt_code" ref="/root/main/data/boardrelacd" visibility="hidden" style="left:578px; top:56px; width:80px; height:19px; text-align:left; "/>
  118. <caption id="caption4" class="cell_1" style="left:0px; top:102px; width:130px; height:55px; ">정 의</caption>
  119. <textarea id="tar_define" ref="/root/main/hidden/define" disabled="true" scroll="vertical" maxlength="240" style="left:132px; top:103px; width:565px; height:53px; "/>
  120. <output id="opt_userid" ref="/root/main/data/fstrgstrid" visibility="hidden" style="left:349px; top:56px; width:80px; height:19px; text-align:left; "/>
  121. </group>
  122. <group id="grp_btn" scroll="auto" style="left:0px; top:450px; width:700px; height:27px; ">
  123. <button id="button4" class="btn4_letter2" style="left:582px; top:2px; width:56px; height:22px; ">
  124. <caption>저장</caption>
  125. <script type="javascript" ev:event="DOMActivate">
  126. <![CDATA[
  127. if (fNullCheck() == false) return; //빈값이 있는지 체크
  128. // model.setValue("/root/send/sessuserid",model.getValue("/root/hidden/session/userid"));
  129. model.copyNode("/root/send/savedata/data", "/root/main/data");
  130. var rslt = submit("TXSOC00401");
  131. if (rslt) {
  132. model.alert("변경요청 내역이 저장되었습니다.");
  133. window.close();
  134. }else{
  135. model.alert("저장에 실패하였습니다.");
  136. }
  137. ]]>
  138. </script>
  139. </button>
  140. <button id="button9" class="btn4_letter2" style="left:641px; top:2px; width:56px; height:22px; ">
  141. <script type="javascript" ev:event="xforms-activate">
  142. <![CDATA[
  143. window.close();
  144. ]]>
  145. </script>
  146. <caption>취소</caption>
  147. </button>
  148. </group>
  149. </xhtml:body>
  150. </xhtml:html>