SMAEB03600_통계대분류관리.xrw 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  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. <eqmtlist>
  11. <item>
  12. <sortno/>
  13. <basecd/>
  14. <basecdflagdesc/>
  15. <basecdcnts/>
  16. <basesuppdeptcd/>
  17. </item>
  18. </eqmtlist>
  19. </main>
  20. <send>
  21. <basecd/>
  22. <basecdflag/>
  23. <req>
  24. <data/>
  25. </req>
  26. <globalinstance>
  27. <instance1/>
  28. </globalinstance>
  29. </send>
  30. <hidden>
  31. <item>
  32. </item>
  33. </hidden>
  34. </root>
  35. </instance>
  36. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  37. <submission id="TRAEB03601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/eqmtlist"/>
  38. <submission id="TXAEB03601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" replace="instance" resultref="/root/hidden"/>
  39. <script type="javascript" ev:event="xforms-ready">
  40. <![CDATA[
  41. aezfSetSuppDeptcd();
  42. model.removeNodeset("/root/main/eqmtlist/item");
  43. model.setValue("/root/send/basecdflag", "H");
  44. model.refresh();
  45. model.setFocus("ipt_basecd");
  46. ]]>
  47. </script>
  48. </model>
  49. </xhtml:head>
  50. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  51. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  52. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  53. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  54. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  55. <script type="javascript">
  56. <![CDATA[
  57. ]]>
  58. </script>
  59. <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  60. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  61. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:142px; height:14px; ">통계대분류 코드 관리</caption>
  62. </group>
  63. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  64. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  65. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  66. <line id="line13" class="line_4" style="x1:1116px; y1:7px; x2:1116px; y2:29px; "/>
  67. <button id="btn_sea" class="btn1_letter2" style="left:1125px; top:7px; width:56px; height:22px; ">
  68. <caption>조회</caption>
  69. <script type="javascript" ev:event="DOMActivate">
  70. <![CDATA[
  71. submit("TRAEB03601");
  72. ]]>
  73. </script>
  74. </button>
  75. <input id="input8" ref="/root/send/basecd" class="input_search" style="left:149px; top:9px; width:100px; height:19px; ">
  76. <script type="javascript" ev:event="onkeydown">
  77. <![CDATA[
  78. if ( event.keyCode == 13 ) {
  79. setInputNodeCurText();
  80. submit("TRAEB03601");
  81. }
  82. ]]>
  83. </script>
  84. </input>
  85. <caption id="caption25" class="search_name" style="left:15px; top:9px; width:125px; height:17px; ">통계대분류코드 :</caption>
  86. </group>
  87. <line id="line2" class="line_1" style="x1:0px; y1:72px; x2:1194px; y2:72px; "/>
  88. <button id="btn_grdadd" class="btn2_letter3" style="left:1085px; top:50px; width:53px; height:19px; ">
  89. <caption>행추가</caption>
  90. <script type="javascript" ev:event="DOMActivate">
  91. <![CDATA[
  92. grd_eqmtlist.addRow();
  93. grd_eqmtlist.row = grd_eqmtlist.bottomRow;
  94. var cnt = parseInt(grd_eqmtlist.row);
  95. model.makeValue("/root/main/eqmtlist/item[" + cnt + "]/basesuppdeptcd", model.getValue("/root/send/globalinstance/instance1") );
  96. model.makeValue("/root/main/eqmtlist/item[" + cnt + "]/basecdflag", "H");
  97. ]]>
  98. </script>
  99. </button>
  100. <button id="btn_grddel" class="btn2_letter3" style="left:1142px; top:50px; width:53px; height:19px; ">
  101. <caption>행삭제</caption>
  102. <script type="javascript" ev:event="DOMActivate">
  103. <![CDATA[
  104. deleteSelectedRows(grd_eqmtlist, true);
  105. ]]>
  106. </script>
  107. </button>
  108. <datagrid id="grd_eqmtlist" nodeset="/root/main/eqmtlist/item" caption="순번^대분류코드^대분류명^비고" colsep="^" colwidth="100, 161, 409, 470, 100, 100" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:77px; width:1195px; height:667px; ">
  109. <col ref="sortno" type="input"/>
  110. <col ref="basecd" type="input" style="text-align:center; "/>
  111. <col ref="basecdflagdesc" type="input"/>
  112. <col ref="basecdcnts" type="input"/>
  113. <col ref="basecdflag" type="input" visibility="hidden"/>
  114. <col ref="basesuppdeptcd" visibility="hidden"/>
  115. <script type="javascript" ev:event="onaftersort">
  116. <![CDATA[
  117. grd_eqmtlist.gridToInstance();
  118. ]]>
  119. </script>
  120. </datagrid>
  121. <button id="button1" visibility="hidden" style="left:590px; top:45px; width:100px; height:20px; ">
  122. <caption>button1</caption>
  123. <script type="javascript" ev:event="DOMActivate">
  124. <![CDATA[
  125. alert(grd_eqmtlist.rowstatus(grd_eqmtlist.row));
  126. ]]>
  127. </script>
  128. </button>
  129. </group>
  130. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
  131. <button id="btn_save" class="btn4_letter2" style="left:1138px; top:5px; width:56px; height:22px; ">
  132. <caption>저장</caption>
  133. <script type="javascript" ev:event="DOMActivate">
  134. <![CDATA[
  135. if ( messageBox("","Q002")==6 ) {
  136. var update = getGridUpdateData(grd_eqmtlist);
  137. // var update = model.getValue("/root/send/req/data");
  138. if(update == ""){
  139. messageBox("업데이트 정보가 없습니다.", "I");
  140. return 0;
  141. } else {
  142. //alert(model.getValue("/root/send/globalinstance/instance1"));
  143. model.setValue("/root/send/req/data", update);
  144. //model.setV
  145. submit("TXAEB03601");
  146. }
  147. }
  148. submit("TRAEB03601");
  149. ]]>
  150. </script>
  151. <script type="javascript" ev:event="DOMFocusIn">
  152. <![CDATA[
  153. checkKeyColumn("grd_eqmtlist");
  154. ]]>
  155. </script>
  156. </button>
  157. </group>
  158. </xhtml:body>
  159. </xhtml:html>