SMAER00610_환자별mu량조회.xrw 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  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. <execprescondlist>
  11. <execprescond>
  12. <pid/>
  13. <hngnm/>
  14. <rtno/>
  15. <execdt/>
  16. <rtcnt/>
  17. </execprescond>
  18. </execprescondlist>
  19. <patinfo>
  20. <patinfolist/>
  21. </patinfo>
  22. </main>
  23. <send>
  24. <fromdd/>
  25. <todd/>
  26. <excucd/>
  27. <excucdnm/>
  28. <globalinstance>
  29. <instance1/>
  30. </globalinstance>
  31. <pid/>
  32. <patnm/>
  33. <retroomcd/>
  34. </send>
  35. <init>
  36. <cmb_info/>
  37. <baseinfo>
  38. <initmerge/>
  39. </baseinfo>
  40. </init>
  41. <hidden/>
  42. <temp/>
  43. </root>
  44. </instance>
  45. <submission id="TRAER00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/execprescondlist"/>
  46. <submission id="TRAEA01201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/globalinstance/instance1" resultref="/root/init/cmb_info"/>
  47. <submission id="TRAAA00001"/>
  48. <script type="javascript" ev:event="xforms-ready">
  49. <![CDATA[
  50. aezfSetSuppDeptcd();
  51. model.removeNodeset("/root/main/execprescondlist/execprescond");
  52. model.setValue("/root/send/fromdd", getCurrentDate());
  53. model.setValue("/root/send/todd", getCurrentDate());
  54. submit("TRAEA01201");
  55. astGetComboList( new Array("A510"), new Array("/root/init/baseinfo/initmerge") );
  56. submit("TRAAA00001", false);
  57. model.removeNodeset("/root/init/baseinfo/initmerge/A510[" + 1 + "]");
  58. if (model.getValue("/root/init/baseinfo/initmerge/A510[" + 1 + "]/cdid") == "Y"){
  59. grd_mainordlist.mergecells = "bycol";
  60. grd_mainordlist.mergeCol(0) = false;
  61. grd_mainordlist.mergeCol(1) = false;
  62. grd_mainordlist.mergeCol(2) = true;
  63. grd_mainordlist.mergeCol(3) = true;
  64. grd_mainordlist.mergeCol(4) = false;
  65. grd_mainordlist.mergeCol(5) = false;
  66. grd_mainordlist.mergeCol(6) = false;
  67. grd_mainordlist.mergeCol(7) = false;
  68. grd_mainordlist.mergeCol(8) = false;
  69. grd_mainordlist.mergeCol(9) = false;
  70. grd_mainordlist.merge();
  71. }
  72. model.refresh();
  73. ]]>
  74. </script>
  75. </model>
  76. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  77. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  78. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  79. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  80. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  81. <script type="javascript" src="../../../ast/examcureweb/js/combolist.js"/>
  82. </xhtml:head>
  83. <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  84. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  85. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:151px; height:15px; background-image:../../../com/commonweb/images/tit_bullet1.gif; ">환자별 MU량 조회</caption>
  86. </group>
  87. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  88. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  89. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  90. <caption id="caption3" class="search_name" style="left:10px; top:10px; width:86px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">기준 월 :</caption>
  91. <line id="line13" class="line_4" style="x1:1120px; y1:7px; x2:1120px; y2:29px; "/>
  92. <button id="btn_sea" class="btn1_letter2" style="left:1129px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  93. <caption>조회</caption>
  94. <script type="javascript" ev:event="DOMActivate">
  95. <![CDATA[
  96. submit("TRAER00602");
  97. // if (model.getValue("/root/init/baseinfo/initmerge/A510[" + 1 + "]/cdid") == "Y"){
  98. // grd_mainordlist.mergecells = "bycol";
  99. // grd_mainordlist.mergeCol(0) = false;
  100. // grd_mainordlist.mergeCol(1) = false;
  101. // grd_mainordlist.mergeCol(2) = true;
  102. // grd_mainordlist.mergeCol(3) = true;
  103. // grd_mainordlist.mergeCol(4) = false;
  104. // grd_mainordlist.mergeCol(5) = false;
  105. // grd_mainordlist.mergeCol(6) = false;
  106. // grd_mainordlist.mergeCol(7) = false;
  107. // grd_mainordlist.mergeCol(8) = false;
  108. // grd_mainordlist.mergeCol(9) = false;
  109. // grd_mainordlist.merge();
  110. // }
  111. // model.refresh();
  112. ]]>
  113. </script>
  114. </button>
  115. <input id="ipt_pid" ref="/root/send/pid" class="input_search" style="left:460px; top:8px; width:70px; height:19px; ">
  116. <script type="javascript" ev:event="onkeydown">
  117. <![CDATA[
  118. inputEnterKey("btn_sea","DOMActivate");
  119. ]]>
  120. </script>
  121. </input>
  122. <caption id="caption8" class="search_name" style="left:370px; top:8px; width:95px; height:17px; text-align:left; background-image:../../../com/commonweb/images/search_bullet1.gif; ">등록번호 :</caption>
  123. <input id="ipt_todd" ref="/root/send/todd" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:190px; top:8px; width:91px; height:19px; "/>
  124. <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:94px; top:8px; width:91px; height:19px; "/>
  125. </group>
  126. <line id="line2" class="line_1" style="x1:0px; y1:70px; x2:1195px; y2:70px; "/>
  127. <caption id="caption10" class="tit_2" style="left:5px; top:55px; width:141px; height:15px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">환자별 Mu량 조회</caption>
  128. <button id="btn_excel" class="btn2_letter4" disable.background-image="../../../com/commonweb/images/dis_btn2_letter4.gif" style="left:1126px; top:48px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter4.gif; ">
  129. <caption>엑셀저장</caption>
  130. <script type="javascript" ev:event="DOMActivate">
  131. <![CDATA[
  132. if (model.getValue("/root/init/baseinfo/initmerge/A510[" + 1 + "]/cdid") == "Y"){
  133. grd_mainordlist.mergecells = "bycol";
  134. grd_mainordlist.mergeCol(0) = false;
  135. grd_mainordlist.mergeCol(1) = false;
  136. grd_mainordlist.mergeCol(2) = false;
  137. grd_mainordlist.mergeCol(3) = false;
  138. grd_mainordlist.mergeCol(4) = false;
  139. grd_mainordlist.mergeCol(5) = false;
  140. grd_mainordlist.mergeCol(6) = false;
  141. grd_mainordlist.mergeCol(7) = false;
  142. grd_mainordlist.mergeCol(8) = false;
  143. grd_mainordlist.mergeCol(9) = false;
  144. grd_mainordlist.merge();
  145. }
  146. var file = window.fileDialog("save","","true","","xls","Excel Files(*.xls)|*.xls");
  147. if (model.getValue("/root/init/baseinfo/initmerge/A510[" + 1 + "]/cdid") == "Y"){
  148. grd_mainordlist.mergecells = "bycol";
  149. grd_mainordlist.mergeCol(0) = false;
  150. grd_mainordlist.mergeCol(1) = false;
  151. grd_mainordlist.mergeCol(2) = true;
  152. grd_mainordlist.mergeCol(3) = true;
  153. grd_mainordlist.mergeCol(4) = false;
  154. grd_mainordlist.mergeCol(5) = false;
  155. grd_mainordlist.mergeCol(6) = false;
  156. grd_mainordlist.mergeCol(7) = false;
  157. grd_mainordlist.mergeCol(8) = false;
  158. grd_mainordlist.mergeCol(9) = false;
  159. grd_mainordlist.merge();
  160. }
  161. if(file == "") return;
  162. grd_mainordlist.saveExcel(file, "sheet1");
  163. ]]>
  164. </script>
  165. </button>
  166. <datagrid id="grd_mainordlist" nodeset="/root/main/execprescondlist/execprescond" caption="등록번호^환자명^RTno^실시일시^MU 총량" colsep="^" colwidth="100, 100, 142, 100, 126" explorerbar="sortshow" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:75px; width:1195px; height:669px; ">
  167. <col ref="pid"/>
  168. <col ref="hngnm" style="text-align:center; "/>
  169. <col ref="rtno" style="text-align:center; "/>
  170. <col ref="execdt" style="text-align:center; "/>
  171. <col ref="rtcnt" style="text-align:right; "/>
  172. </datagrid>
  173. <output id="opt_patnm" ref="/root/send/patnm" class="output_fix" style="left:561px; top:17px; width:64px; height:19px; "/>
  174. <button id="button61" class="icon_search" style="left:539px; top:18px; width:16px; height:16px; background-image:../../../com/commonweb/images/icon_search.gif; ">
  175. <caption/>
  176. <script type="javascript" ev:event="DOMActivate">
  177. <![CDATA[
  178. modal("SPPMC02500", "", "200", "200", "SPPMC02500","/root/send/pid","/root/send");
  179. model.setValue("/root/send/patnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
  180. model.setValue("/root/send/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
  181. model.refresh();
  182. ]]>
  183. </script>
  184. </button>
  185. </group>
  186. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; "/>
  187. <button id="btn_prt" class="btn6_letter2" disable.background-image="../../../com/commonweb/images/dis_btn6_letter2.gif" style="left:0px; top:760px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn6_letter2.gif; ">
  188. <caption>출력</caption>
  189. </button>
  190. </xhtml:body>
  191. </xhtml:html>