SPAEA02312_주사부위코드관리(핵의학체내).xrw 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  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>Untitle</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <bodypartlist>
  11. <list>
  12. <sortno/>
  13. <basecd/>
  14. <basecdflagdesc/>
  15. <basecdcnts/>
  16. </list>
  17. </bodypartlist>
  18. </main>
  19. <send>
  20. <req>
  21. <data/>
  22. </req>
  23. <basecd/>
  24. <globalinstance>
  25. <instance1/>
  26. </globalinstance>
  27. <basecdnm/>
  28. <basecdflag>L</basecdflag>
  29. </send>
  30. <init/>
  31. <hidden>
  32. <item/>
  33. </hidden>
  34. </root>
  35. </instance>
  36. <submission id="TRAEA02312" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/bodypartlist"/>
  37. <submission id="TXAEA02312" ref="/root/send/req" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/hidden"/>
  38. <script type="javascript" ev:event="xforms-ready">
  39. <![CDATA[
  40. aezfSetSuppDeptcd();
  41. model.removeNodeset("/root/main/bodypartlist/list");
  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 pagewidth="604" pageheight="493" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  54. <group id="grp_biz" scroll="auto" style="left:0px; top:0px; width:587px; height:465px; ">
  55. <group id="grp_sea" style="left:0px; top:0px; width:587px; height:35px; vertical-align:top; ">
  56. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:586px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  57. <caption id="caption2" class="search_name" style="left:15px; top:9px; width:65px; height:17px; ">코드 :</caption>
  58. <input id="ipt_basecd" ref="/root/send/basecd" class="input_search" style="left:83px; top:8px; width:135px; height:19px; ">
  59. <script type="javascript" ev:event="onkeydown">
  60. <![CDATA[
  61. inputEnterKey("btn_sea","DOMActivate");
  62. ]]>
  63. </script>
  64. </input>
  65. <caption id="caption3" class="search_name" style="left:250px; top:9px; width:80px; height:17px; ">코드명 :</caption>
  66. <input id="ipt_basecdnm" ref="/root/send/basecdnm" class="input_search" style="left:333px; top:8px; width:135px; height:19px; ">
  67. <script type="javascript" ev:event="onkeydown">
  68. <![CDATA[
  69. inputEnterKey("btn_sea","DOMActivate");
  70. ]]>
  71. </script>
  72. </input>
  73. <line id="line13" class="line_4" style="x1:500px; y1:5px; x2:500px; y2:28px; "/>
  74. <button id="btn_sea" class="btn1_letter2" style="left:515px; top:7px; width:56px; height:22px; ">
  75. <caption>조회</caption>
  76. <script type="javascript" ev:event="DOMActivate">
  77. <![CDATA[
  78. submit("TRAEA02312");
  79. ]]>
  80. </script>
  81. </button>
  82. </group>
  83. <caption id="caption1" class="tit_2" style="left:5px; top:45px; width:125px; height:13px; ">주사부위코드관리</caption>
  84. <line id="line1" class="line_1" style="x1:0px; y1:61px; x2:586px; y2:61px; "/>
  85. <datagrid id="grd_bodypart" nodeset="/root/main/bodypartlist/list" caption="순번 ^주사부위코드^주사부위코드명^비고^basecdflag^basesuppdeptcd" colwidth="35, 113, 183, 233, 0, 0" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" colsep="^" style="left:0px; top:65px; width:586px; height:400px; ">
  86. <col ref="sortno" type="input"/>
  87. <col ref="basecd" type="input" maxlength="12" _chartype="upper" _key="true"/>
  88. <col ref="basecdflagdesc" type="input"/>
  89. <col ref="basecdcnts" type="input"/>
  90. <col ref="basecdflag"/>
  91. <col ref="basesuppdeptcd"/>
  92. </datagrid>
  93. <button id="btn_excsave" class="btn2_letter4" style="left:522px; top:40px; width:64px; height:19px; ">
  94. <caption>엑셀저장</caption>
  95. <script type="javascript" ev:event="DOMActivate">
  96. <![CDATA[
  97. var file = window.fileDialog("save","","false","","xls","Excel Files(*.xls)|*.xls");
  98. grd_bodypart.saveExcel(file);
  99. ]]>
  100. </script>
  101. </button>
  102. <button id="btn_grddel" class="btn2_letter3" style="left:466px; top:40px; width:53px; height:19px; ">
  103. <caption>행삭제</caption>
  104. <script type="javascript" ev:event="DOMActivate">
  105. <![CDATA[
  106. deleteSelectedRows(grd_bodypart, true);
  107. ]]>
  108. </script>
  109. </button>
  110. <button id="btn_grdadd" class="btn2_letter3" style="left:410px; top:40px; width:53px; height:19px; ">
  111. <caption>행추가</caption>
  112. <script type="javascript" ev:event="DOMActivate">
  113. <![CDATA[
  114. grd_bodypart.addItem();
  115. var i = parseInt(grd_bodypart.row);
  116. model.setValue("/root/main/bodypartlist/list[" + i + "]/basesuppdeptcd",
  117. model.getValue("/root/send/globalinstance/instance1") );
  118. ]]>
  119. </script>
  120. </button>
  121. </group>
  122. <group id="grp_btn" style="left:0px; top:466px; width:587px; height:27px; ">
  123. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:586px; y2:0px; "/>
  124. <button id="btn_clear" class="btn4_letter3" style="left:518px; top:5px; width:68px; height:22px; ">
  125. <caption>초기화</caption>
  126. <script type="javascript" ev:event="DOMActivate">
  127. <![CDATA[
  128. if ( messageBox("초기화하시겠습니까?", "Q") == 6) {
  129. model.reset();
  130. }
  131. model.setFocus("ipt_basecd");
  132. ]]>
  133. </script>
  134. </button>
  135. <button id="btn_save" class="btn4_letter2" style="left:459px; top:5px; width:56px; height:22px; ">
  136. <caption>저장</caption>
  137. <script type="javascript" ev:event="DOMActivate">
  138. <![CDATA[
  139. if ( messageBox("", "Q002") == 6 ) {
  140. var update = getGridUpdateData(grd_bodypart);
  141. if (update == "" ) {
  142. messageBox("업데이트 정보가 없습니다.", "I");
  143. model.setFocus("ipt_basecd");
  144. }
  145. else {
  146. model.setValue("/root/send/req/data", update);
  147. submit("TXAEA02312");
  148. }
  149. submit("TRAEA02312");
  150. model.setValue("/root/send/basecd", "");
  151. model.setValue("/root/send/basecdnm", "");
  152. }
  153. model.refresh();
  154. ]]>
  155. </script>
  156. </button>
  157. </group>
  158. </xhtml:body>
  159. </xhtml:html>