SMAEB04400_통계대분류관리.xrw 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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. <bodypartlist>
  11. <bodypart>
  12. <sortno/>
  13. <basecd/>
  14. <basecdflagdesc/>
  15. <basecdcnts/>
  16. <basecdflag/>
  17. <basesuppdeptcd/>
  18. </bodypart>
  19. </bodypartlist>
  20. </main>
  21. <send>
  22. <req>
  23. <data/>
  24. </req>
  25. <basecd/>
  26. <globalinstance>
  27. <instance1/>
  28. </globalinstance>
  29. </send>
  30. <init/>
  31. <hidden>
  32. <item/>
  33. </hidden>
  34. </root>
  35. </instance>
  36. <submission id="TXAEB04401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" replace="instance" resultref="/root/hidden"/>
  37. <submission id="TRAEB04401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/bodypartlist"/>
  38. <script type="javascript" ev:event="xforms-ready">
  39. <![CDATA[
  40. aezfSetSuppDeptcd();
  41. model.removeNodeset("/root/main/bodypartlist/bodypart");
  42. model.refresh();
  43. model.setFocus("ipt_basecd");
  44. ]]>
  45. </script>
  46. </model>
  47. </xhtml:head>
  48. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  49. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  50. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  51. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  52. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  53. <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  54. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  55. <caption id="caption19" class="tit_1" style="left:0px; top:0px; width:106px; height:15px; ">통계대분류코드관리</caption>
  56. </group>
  57. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  58. <line id="line1" class="line_1" style="x1:1px; y1:69px; x2:1194px; y2:69px; "/>
  59. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  60. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  61. <button id="btn_sea" class="btn1_letter2" style="left:1124px; top:8px; width:56px; height:22px; ">
  62. <caption>조회</caption>
  63. <script type="javascript" ev:event="DOMActivate">
  64. <![CDATA[
  65. submit("TRAEB04401");
  66. ]]>
  67. </script>
  68. </button>
  69. </group>
  70. <button id="btn_grdadd" class="btn2_letter3" style="left:1086px; top:48px; width:53px; height:19px; ">
  71. <caption>행추가</caption>
  72. <script type="javascript" ev:event="DOMActivate">
  73. <![CDATA[
  74. // grd_bodypart.addItem();
  75. // model.setValue("/root/main/bodypartlist/bodypart[" + grd_bodypart.row + "]/basesuppdeptcd",model.getValue("/root/send/globalinstance/instance1"));
  76. grd_bodypart.addRow();
  77. var irow = grd_bodypart.row;
  78. model.setValue("/root/main/bodypartlist/bodypart[" + irow + "]/basesuppdeptcd",model.getValue("/root/send/globalinstance/instance1"));
  79. grd_bodypart.topRow = irow;
  80. model.refresh();
  81. ]]>
  82. </script>
  83. </button>
  84. <button id="btn_grddel" class="btn2_letter3" style="left:1142px; top:48px; width:53px; height:19px; ">
  85. <caption>행삭제</caption>
  86. <script type="javascript" ev:event="DOMActivate">
  87. <![CDATA[
  88. // grd_bodypart.addStatus(grd_bodypart.row,"delete");
  89. deleteSelectedRows(grd_bodypart, true);
  90. ]]>
  91. </script>
  92. </button>
  93. <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:145px; height:13px; ">통계대분류코드관리</caption>
  94. <datagrid id="grd_bodypart" nodeset="/root/main/bodypartlist/bodypart" caption="순번 ^통계대분류코드^통계대분류명^통계대분류그룹^basecdflag^basesuppdeptcd" colsep="^" colwidth="79, 113, 762, 209, 0, 0" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:1px; top:74px; width:1193px; height:670px; ">
  95. <col ref="sortno" type="input"/>
  96. <col ref="basecd" type="input" maxlength="12" _chartype="upper" _key="true"/>
  97. <col ref="basecdflagdesc" type="input"/>
  98. <col ref="basecdcnts" type="input"/>
  99. <col ref="basecdflag"/>
  100. <col ref="basesuppdeptcd" type="input"/>
  101. </datagrid>
  102. </group>
  103. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
  104. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  105. <button id="btn_save" class="btn4_letter2" style="left:1139px; top:4px; width:56px; height:22px; ">
  106. <caption>저장</caption>
  107. <script type="javascript" ev:event="DOMActivate">
  108. <![CDATA[
  109. if ( messageBox("","Q002")==6 ) {
  110. var update = getGridUpdateData(grd_bodypart);
  111. // var update = model.getValue("/root/send/req/data");
  112. if(update == ""){
  113. messageBox("업데이트 정보가 없습니다.", "I");
  114. return 0;
  115. } else {
  116. model.setValue("/root/send/req/data", update);
  117. submit("TXAEB04401");
  118. }
  119. }
  120. submit("TRAEB04401");
  121. ]]>
  122. </script>
  123. <script type="javascript" ev:event="DOMFocusIn">
  124. <![CDATA[
  125. checkKeyColumn("grd_bodypart");
  126. ]]>
  127. </script>
  128. </button>
  129. </group>
  130. <caption id="caption2" class="search_name" style="left:15px; top:31px; width:125px; height:17px; ">통계대분류코드 :</caption>
  131. <button id="button61" class="icon_search" style="left:285px; top:32px; width:16px; height:16px; ">
  132. <caption/>
  133. </button>
  134. <input id="ipt_basecd" ref="/root/send/basecd" class="input_search" style="left:145px; top:31px; width:135px; height:19px; ">
  135. <script type="javascript" ev:event="onkeydown">
  136. <![CDATA[
  137. inputEnterKey("btn_sea","DOMActivate");
  138. ]]>
  139. </script>
  140. </input>
  141. </xhtml:body>
  142. </xhtml:html>