SPRIS00202_보고서관리.xrw 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
  4. <xhtml:head>
  5. <xhtml:title>보고서 사용여부 관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <reportinfo>
  11. <reportlist/>
  12. </reportinfo>
  13. </main>
  14. <send>
  15. <reqdata>
  16. </reqdata>
  17. <savedata>
  18. <reportlist/>
  19. </savedata>
  20. <instcd/>
  21. </send>
  22. <hidden>
  23. </hidden>
  24. <init>
  25. </init>
  26. <temp/>
  27. </root>
  28. </instance>
  29. <script type="javascript" ev:event="xforms-ready">
  30. <![CDATA[
  31. fIni();
  32. ]]>
  33. </script>
  34. <submission id="TRRIF02102" mediatype="application/x-www-form-urlencoded" method="form-data-post" ref="/root/send" replace="instance" resultref="/root/main/reportinfo"/>
  35. <submission id="TXRIS00205" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" replace="instance" resultref="/root/temp"/>
  36. </model>
  37. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  38. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  39. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  40. <script type="javascript" src="../../../com/authinfoweb/js/ZSA001.js"/>
  41. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  42. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  43. <script type="javascript" src="../../../mis/ctmsweb/js/SPRIS00201.js"/>
  44. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  45. <script type="javascript">
  46. <![CDATA[
  47. function fIni(){
  48. model.setValue("/root/send/instcd", getUserInfo("dutplceinstcd") );
  49. btn_search.dispatch("DOMActivate");
  50. model.refresh();
  51. }
  52. function fSave(){
  53. model.removenode("/root/send/savedata/reportlist");
  54. var updtdata = getGridUpdateData(grd_reportlist);
  55. if (updtdata == "" ) {
  56. messageBox("변경된 데이터가","I004");
  57. return;
  58. }
  59. model.makeValue("/root/send/savedata/reportlist", grd_reportlist.getUpdateData());
  60. if( submit("TXRIS00205") ){
  61. btn_search.dispatch("DOMActivate");
  62. }
  63. model.refresh();
  64. }
  65. ]]>
  66. </script>
  67. </xhtml:head>
  68. <xhtml:body pagewidth="520" pageheight="540" guideline="1,66;1,210;">
  69. <caption id="cap_title" class="tit_1" style="left:0px; top:0px; width:176px; height:13px; ">보고서 사용여부 관리</caption>
  70. <group id="grp_reportlist" style="left:10px; top:20px; width:480px; height:490px; ">
  71. <datagrid id="grd_reportlist" nodeset="/root/main/reportinfo/reportlist" class="datagrid2" caption="구분^보고서코드^보고서명^사용&#xA;여부" colsep="^" colwidth="55, 75, 244, 57" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:31px; width:475px; height:455px; ">
  72. <col disabled="true" ref="reptgrp" type="combo" style="text-align:center; ">
  73. <choices>
  74. <item>
  75. <label>일반</label>
  76. <value>A</value>
  77. </item>
  78. <item>
  79. <label>동의서</label>
  80. <value>B</value>
  81. </item>
  82. <item>
  83. <label>제증명</label>
  84. <value>C</value>
  85. </item>
  86. </choices>
  87. </col>
  88. <col ref="reptcd" style="text-align:center; "/>
  89. <col ref="reptnm" style="text-align:left; "/>
  90. <col ref="useyn" type="combo" style="text-align:center; ">
  91. <choices>
  92. <item>
  93. <label>Y</label>
  94. <value>Y</value>
  95. </item>
  96. <item>
  97. <label>N</label>
  98. <value>N</value>
  99. </item>
  100. </choices>
  101. </col>
  102. <script type="javascript" ev:event="onaftersort">
  103. <![CDATA[
  104. grd_reportlist.gridToInstance();
  105. ]]>
  106. </script>
  107. </datagrid>
  108. <line id="line1" class="line_1" style="x1:0px; y1:27px; x2:476px; y2:27px; "/>
  109. <caption id="caption15" class="tit_2" style="left:5px; top:9px; width:123px; height:13px; ">보고서 리스트</caption>
  110. <button id="btn_save" class="btn4_letter2" navindex="26" style="left:421px; top:3px; width:56px; height:22px; ">
  111. <caption>저장</caption>
  112. <script type="javascript" ev:event="DOMActivate">
  113. <![CDATA[
  114. fSave();
  115. ]]>
  116. </script>
  117. </button>
  118. <button id="btn_search" class="btn1_letter2" navindex="26" visibility="hidden" style="left:355px; top:3px; width:56px; height:22px; ">
  119. <caption>조회</caption>
  120. <script type="javascript" ev:event="DOMActivate">
  121. <![CDATA[
  122. submit("TRRIF02102");
  123. ]]>
  124. </script>
  125. </button>
  126. </group>
  127. </xhtml:body>
  128. </xhtml:html>