SMAER00600_실시현황조회.xrw 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262
  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. <prcpdd/>
  13. <pid/>
  14. <hngnm/>
  15. <age/>
  16. <sex/>
  17. <depthngnm/>
  18. <prcpnm/>
  19. <execdt/>
  20. <rgstdt/>
  21. <roomcd/>
  22. </execprescond>
  23. </execprescondlist>
  24. <patinfo>
  25. <patinfolist/>
  26. </patinfo>
  27. </main>
  28. <send>
  29. <fromdd/>
  30. <todd/>
  31. <excucd/>
  32. <excucdnm/>
  33. <globalinstance>
  34. <instance1/>
  35. </globalinstance>
  36. <pid/>
  37. <patnm/>
  38. <retroomcd/>
  39. </send>
  40. <init>
  41. <cmb_info/>
  42. <baseinfo>
  43. <initmerge/>
  44. </baseinfo>
  45. </init>
  46. <hidden/>
  47. <temp/>
  48. </root>
  49. </instance>
  50. <submission id="TRAER00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/execprescondlist"/>
  51. <submission id="TRAEA01201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/globalinstance/instance1" resultref="/root/init/cmb_info"/>
  52. <submission id="TRAAA00001"/>
  53. <script type="javascript" ev:event="xforms-ready">
  54. <![CDATA[
  55. aezfSetSuppDeptcd();
  56. model.removeNodeset("/root/main/execprescondlist/execprescond");
  57. model.setValue("/root/send/fromdd", getCurrentDate());
  58. model.setValue("/root/send/todd", getCurrentDate());
  59. submit("TRAEA01201");
  60. astGetComboList( new Array("A510"), new Array("/root/init/baseinfo/initmerge") );
  61. submit("TRAAA00001", false);
  62. model.removeNodeset("/root/init/baseinfo/initmerge/A510[" + 1 + "]");
  63. if (model.getValue("/root/init/baseinfo/initmerge/A510[" + 1 + "]/cdid") == "Y"){
  64. grd_mainordlist.mergecells = "bycol";
  65. grd_mainordlist.mergeCol(0) = false;
  66. grd_mainordlist.mergeCol(1) = false;
  67. grd_mainordlist.mergeCol(2) = true;
  68. grd_mainordlist.mergeCol(3) = true;
  69. grd_mainordlist.mergeCol(4) = false;
  70. grd_mainordlist.mergeCol(5) = false;
  71. grd_mainordlist.mergeCol(6) = false;
  72. grd_mainordlist.mergeCol(7) = false;
  73. grd_mainordlist.mergeCol(8) = false;
  74. grd_mainordlist.mergeCol(9) = false;
  75. grd_mainordlist.merge();
  76. }
  77. cmb_excuroom.select(0);
  78. model.refresh();
  79. ]]>
  80. </script>
  81. </model>
  82. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  83. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  84. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  85. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  86. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  87. <script type="javascript" src="../../../ast/examcureweb/js/combolist.js"/>
  88. </xhtml:head>
  89. <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  90. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  91. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:142px; height:14px; background-image:../../../com/commonweb/images/tit_bullet1.gif; ">검사별 실시현황 조회</caption>
  92. </group>
  93. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  94. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  95. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  96. <caption id="caption1" class="search_name" style="left:295px; top:10px; width:86px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">검사명 :</caption>
  97. <caption id="caption3" class="search_name" style="left:10px; top:10px; width:86px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">기준 월 :</caption>
  98. <line id="line13" class="line_4" style="x1:1120px; y1:7px; x2:1120px; y2:29px; "/>
  99. <button id="btn_sea" class="btn1_letter2" style="left:1129px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  100. <caption>조회</caption>
  101. <script type="javascript" ev:event="DOMActivate">
  102. <![CDATA[
  103. submit("TRAER00601");
  104. if (model.getValue("/root/init/baseinfo/initmerge/A510[" + 1 + "]/cdid") == "Y"){
  105. grd_mainordlist.mergecells = "bycol";
  106. grd_mainordlist.mergeCol(0) = false;
  107. grd_mainordlist.mergeCol(1) = false;
  108. grd_mainordlist.mergeCol(2) = true;
  109. grd_mainordlist.mergeCol(3) = true;
  110. grd_mainordlist.mergeCol(4) = false;
  111. grd_mainordlist.mergeCol(5) = false;
  112. grd_mainordlist.mergeCol(6) = false;
  113. grd_mainordlist.mergeCol(7) = false;
  114. grd_mainordlist.mergeCol(8) = false;
  115. grd_mainordlist.mergeCol(9) = false;
  116. grd_mainordlist.merge();
  117. }
  118. model.refresh();
  119. ]]>
  120. </script>
  121. </button>
  122. <img id="img1" class="icon_search" style="left:595px; top:10px; width:16px; height:16px; background-image:../../../com/commonweb/images/icon_search.gif; background-stretch:stretch; ">
  123. <script type="javascript" ev:event="onclick">
  124. <![CDATA[
  125. modal("SPAEA02302", "", "200", "200", "SPAEA02302","","");
  126. ]]>
  127. </script>
  128. </img>
  129. <input id="ipt_pid" ref="/root/send/pid" class="input_search" style="left:710px; top:8px; width:70px; height:19px; ">
  130. <script type="javascript" ev:event="onkeydown">
  131. <![CDATA[
  132. inputEnterKey("btn_sea","DOMActivate");
  133. ]]>
  134. </script>
  135. </input>
  136. <caption id="caption8" class="search_name" style="left:620px; top:8px; width:95px; height:17px; text-align:left; background-image:../../../com/commonweb/images/search_bullet1.gif; ">등록번호 :</caption>
  137. <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; "/>
  138. <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; "/>
  139. <caption id="caption11" class="search_name" style="left:885px; top:8px; width:106px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">검사/치료실 :</caption>
  140. <select1 id="cmb_excuroom" ref="/root/send/retroomcd" class="combo_default" navindex="3" appearance="minimal" style="left:995px; top:8px; width:107px; height:19px; ">
  141. <choices>
  142. <itemset nodeset="/root/init/cmb_info/initexecroom">
  143. <label ref="excuroomcdnm"/>
  144. <value ref="excuroomcdid"/>
  145. </itemset>
  146. </choices>
  147. <script type="javascript" ev:event="xforms-value-changed">
  148. <![CDATA[
  149. ]]>
  150. </script>
  151. </select1>
  152. <input id="opt_excunm" ref="/root/send/excucdnm" style="left:375px; top:8px; width:205px; height:19px; ">
  153. <script type="javascript" ev:event="xforms-value-changed">
  154. <![CDATA[
  155. if (model.getValue("/root/send/excucdnm") == ""){
  156. model.setValue("/root/send/excucd", "");
  157. model.refresh();
  158. }
  159. ]]>
  160. </script>
  161. </input>
  162. </group>
  163. <line id="line2" class="line_1" style="x1:0px; y1:70px; x2:1195px; y2:70px; "/>
  164. <caption id="caption10" class="tit_2" style="left:5px; top:55px; width:134px; height:14px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">검사별 실시현황</caption>
  165. <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; ">
  166. <caption>엑셀저장</caption>
  167. <script type="javascript" ev:event="DOMActivate">
  168. <![CDATA[
  169. if (model.getValue("/root/init/baseinfo/initmerge/A510[" + 1 + "]/cdid") == "Y"){
  170. grd_mainordlist.mergecells = "bycol";
  171. grd_mainordlist.mergeCol(0) = false;
  172. grd_mainordlist.mergeCol(1) = false;
  173. grd_mainordlist.mergeCol(2) = false;
  174. grd_mainordlist.mergeCol(3) = false;
  175. grd_mainordlist.mergeCol(4) = false;
  176. grd_mainordlist.mergeCol(5) = false;
  177. grd_mainordlist.mergeCol(6) = false;
  178. grd_mainordlist.mergeCol(7) = false;
  179. grd_mainordlist.mergeCol(8) = false;
  180. grd_mainordlist.mergeCol(9) = false;
  181. grd_mainordlist.merge();
  182. }
  183. var file = window.fileDialog("save","","true","","xls","Excel Files(*.xls)|*.xls");
  184. if (model.getValue("/root/init/baseinfo/initmerge/A510[" + 1 + "]/cdid") == "Y"){
  185. grd_mainordlist.mergecells = "bycol";
  186. grd_mainordlist.mergeCol(0) = false;
  187. grd_mainordlist.mergeCol(1) = false;
  188. grd_mainordlist.mergeCol(2) = true;
  189. grd_mainordlist.mergeCol(3) = true;
  190. grd_mainordlist.mergeCol(4) = false;
  191. grd_mainordlist.mergeCol(5) = false;
  192. grd_mainordlist.mergeCol(6) = false;
  193. grd_mainordlist.mergeCol(7) = false;
  194. grd_mainordlist.mergeCol(8) = false;
  195. grd_mainordlist.mergeCol(9) = false;
  196. grd_mainordlist.merge();
  197. }
  198. if(file == "") return;
  199. grd_mainordlist.saveExcel(file, "sheet1");
  200. ]]>
  201. </script>
  202. </button>
  203. <datagrid id="grd_mainordlist" nodeset="/root/main/execprescondlist/execprescond" caption="처방일자^등록번호^환자명^나이^성별^처방과^처방명^실시일시^실시자^처방등록일시^병실" colsep="^" colwidth="99, 100, 100, 60, 50, 130, 387, 142, 89, 126, 76" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:75px; width:1195px; height:669px; ">
  204. <col ref="prcpdd" format="yyyy-mm-dd" style="text-align:center; "/>
  205. <col ref="pid"/>
  206. <col ref="hngnm"/>
  207. <col ref="age" style="text-align:center; "/>
  208. <col ref="sex" style="text-align:center; "/>
  209. <col ref="depthngnm"/>
  210. <col ref="excucdnm"/>
  211. <col ref="excuexecfromdt1" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
  212. <col ref="usernm"/>
  213. <col ref="rgstdt" format="yyyy-mm-dd hh:nn:ss"/>
  214. <col ref="roomcd"/>
  215. <script type="javascript" ev:event="onaftersort">
  216. <![CDATA[
  217. grd_mainordlist.gridToInstance();
  218. if (model.getValue("/root/init/baseinfo/initmerge/A510[" + 1 + "]/cdid") == "Y"){
  219. grd_mainordlist.mergecells = "bycol";
  220. grd_mainordlist.mergeCol(0) = false;
  221. grd_mainordlist.mergeCol(1) = false;
  222. grd_mainordlist.mergeCol(2) = true;
  223. grd_mainordlist.mergeCol(3) = true;
  224. grd_mainordlist.mergeCol(4) = false;
  225. grd_mainordlist.mergeCol(5) = false;
  226. grd_mainordlist.mergeCol(6) = false;
  227. grd_mainordlist.mergeCol(7) = false;
  228. grd_mainordlist.mergeCol(8) = false;
  229. grd_mainordlist.mergeCol(9) = false;
  230. grd_mainordlist.merge();
  231. }
  232. model.refresh();
  233. ]]>
  234. </script>
  235. </datagrid>
  236. <output id="opt_patnm" ref="/root/send/patnm" class="output_fix" style="left:806px; top:17px; width:64px; height:19px; "/>
  237. <button id="button61" class="icon_search" style="left:784px; top:18px; width:16px; height:16px; background-image:../../../com/commonweb/images/icon_search.gif; ">
  238. <caption/>
  239. <script type="javascript" ev:event="DOMActivate">
  240. <![CDATA[
  241. modal("SPPMC02500", "", "200", "200", "SPPMC02500","/root/send/pid","/root/send");
  242. model.setValue("/root/send/patnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
  243. model.setValue("/root/send/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
  244. model.refresh();
  245. ]]>
  246. </script>
  247. </button>
  248. </group>
  249. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; "/>
  250. <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; ">
  251. <caption>출력</caption>
  252. </button>
  253. </xhtml:body>
  254. </xhtml:html>