SMAEB04200_그룹코드관리.xrw 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  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="TXAEB04201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" replace="instance" resultref="/root/hidden"/>
  37. <submission id="TRAEB04201" 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("TRAEB04201");
  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.addRow();
  75. var irow = grd_bodypart.row;
  76. model.setValue("/root/main/bodypartlist/bodypart[" + irow + "]/basesuppdeptcd",model.getValue("/root/send/globalinstance/instance1"));
  77. grd_bodypart.topRow = irow;
  78. model.refresh();
  79. ]]>
  80. </script>
  81. </button>
  82. <button id="btn_grddel" class="btn2_letter3" style="left:1142px; top:48px; width:53px; height:19px; ">
  83. <caption>행삭제</caption>
  84. <script type="javascript" ev:event="DOMActivate">
  85. <![CDATA[
  86. // grd_bodypart.addStatus(grd_bodypart.row,"delete");
  87. deleteSelectedRows(grd_bodypart, true);
  88. ]]>
  89. </script>
  90. </button>
  91. <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:120px; height:14px; ">그룹코드관리</caption>
  92. <datagrid id="grd_bodypart" nodeset="/root/main/bodypartlist/bodypart" caption="순번 ^그룹코드^그룹코드명^비고^basecdflag^basesuppdeptcd" colsep="^" colwidth="79, 124, 385, 563, 0, 0" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:1px; top:74px; width:1193px; height:670px; ">
  93. <col ref="sortno" type="input"/>
  94. <col ref="basecd" type="input" maxlength="12" _chartype="upper" _key="true"/>
  95. <col ref="basecdflagdesc" type="input"/>
  96. <col ref="basecdcnts" type="input"/>
  97. <col ref="basecdflag"/>
  98. <col ref="basesuppdeptcd" type="input"/>
  99. </datagrid>
  100. </group>
  101. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
  102. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  103. <button id="btn_save" class="btn4_letter2" style="left:1139px; top:4px; width:56px; height:22px; ">
  104. <caption>저장</caption>
  105. <script type="javascript" ev:event="DOMActivate">
  106. <![CDATA[
  107. if ( messageBox("","Q002")==6 ) {
  108. var update = getGridUpdateData(grd_bodypart);
  109. // var update = model.getValue("/root/send/req/data");
  110. if(update == ""){
  111. messageBox("업데이트 정보가 없습니다.", "I");
  112. return 0;
  113. } else {
  114. model.setValue("/root/send/req/data", update);
  115. submit("TXAEB04201");
  116. }
  117. }
  118. submit("TRAEB04201");
  119. ]]>
  120. </script>
  121. <script type="javascript" ev:event="DOMFocusIn">
  122. <![CDATA[
  123. checkKeyColumn("grd_bodypart");
  124. ]]>
  125. </script>
  126. </button>
  127. </group>
  128. <caption id="caption2" class="search_name" style="left:15px; top:31px; width:96px; height:17px; ">그룹코드 :</caption>
  129. <button id="button61" class="icon_search" style="left:245px; top:32px; width:16px; height:16px; ">
  130. <caption/>
  131. </button>
  132. <input id="ipt_basecd" ref="/root/send/basecd" class="input_search" style="left:105px; top:31px; width:135px; height:19px; ">
  133. <script type="javascript" ev:event="onkeydown">
  134. <![CDATA[
  135. inputEnterKey("btn_sea","DOMActivate");
  136. ]]>
  137. </script>
  138. </input>
  139. </xhtml:body>
  140. </xhtml:html>