SPMMO08020_권역외상수술리스트.xrw 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  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. <mtrainfo>
  11. <troplist/>
  12. </mtrainfo>
  13. </main>
  14. <send>
  15. </send>
  16. <init>
  17. <srch_kind>2</srch_kind>
  18. <srch_startdd/>
  19. <srch_enddd/>
  20. <srch_outrmcdyn/>
  21. <srch_gbn>1</srch_gbn>
  22. <srch_excel/>
  23. </init>
  24. <hidden/>
  25. </root>
  26. </instance>
  27. <submission id="TRMMO08021" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/troplist"/>
  28. <submission id="TRMNE05805" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/userinfo"/>
  29. </model>
  30. <script type="javascript" ev:event="xforms-ready">
  31. <![CDATA[
  32. model.removeNodeset("/root/main/mtrainfo/troplist");
  33. var sSdate = getCurrentDate().substr(0, 6) + "01";
  34. var sEdate = getCurrentDate();
  35. model.makeValue("/root/init/srch_startdd", sSdate);
  36. model.makeValue("/root/init/srch_enddd", sEdate);
  37. model.refresh();
  38. model.makeValue("/root/send/userid", getUserInfo("userid"));
  39. model.makeValue("/root/send/dutplcecd", getUserInfo("dutplcecd"));
  40. model.makeValue("/root/send/workdd", getCurrentDate());
  41. submit("TRMNE05805");
  42. var sSuperUser = model.getValue("/root/main/userinfo/superuser");
  43. if (sSuperUser == "Y") {
  44. btn_excel.disabled = false;
  45. } else {
  46. btn_excel.disabled = true;
  47. }
  48. ]]>
  49. </script>
  50. <script type="javascript">
  51. <![CDATA[
  52. ]]>
  53. </script>
  54. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  55. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  56. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  57. <!--script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  58. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/-->
  59. </xhtml:head>
  60. <xhtml:body pagewidth="1200" pageheight="800" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  61. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:20px; width:1180px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
  62. <line id="line1" class="line_1" style="x1:0px; y1:65px; x2:1180px; y2:65px; "/>
  63. <button id="btn_search" class="btn1_letter2" style="left:1042px; top:30px; width:56px; height:22px; ">
  64. <caption>조회</caption>
  65. <script type="javascript" ev:event="DOMActivate">
  66. <![CDATA[
  67. model.removeNodeSet ("/root/send" );
  68. model.makeValue("/root/send/cond/srch_kind", model.getValue("/root/init/srch_kind") );
  69. model.makeValue("/root/send/cond/srch_startdd", model.getValue("/root/init/srch_startdd") );
  70. model.makeValue("/root/send/cond/srch_enddd", model.getValue("/root/init/srch_enddd") );
  71. model.makeValue("/root/send/cond/srch_gbn", model.getValue("/root/init/srch_gbn") );
  72. model.makeValue("/root/send/cond/srch_excel", "N");
  73. model.removeNodeSet ("/root/main/mtrainfo/troplist");
  74. submit("TRMMO08021");
  75. ]]>
  76. </script>
  77. </button>
  78. <datagrid id="grd_troplist" nodeset="/root/main/mtrainfo/troplist" class="datagrid2" autoresize="true" caption="집도과^월^환자번호^환자명^성별/나이^수술일^수술명^진단명^집도의^내원일시^내원일시^head^face^chest^abdomen^extremity^external^iss" colsep="^" colwidth="110, 60, 60, 70, 65, 70, 275, 275, 60, 70, 40, 100, 100, 100, 100, 100, 100, 100" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:0px; top:70px; width:1180px; height:675px; ">
  79. <col ref="perfdept"/>
  80. <col ref="dategbn" style="text-align:center; "/>
  81. <col ref="pid"/>
  82. <col ref="hngnm"/>
  83. <col ref="sa" style="text-align:center; "/>
  84. <col ref="opschedd" format="yyyy-mm-dd" style="text-align:center; "/>
  85. <col ref="opnm"/>
  86. <col ref="dgnm"/>
  87. <col ref="perfdr"/>
  88. <col ref="chosdd" format="yyyy-mm-dd" style="text-align:center; "/>
  89. <col ref="chostm" format="hh:nn" style="text-align:center; "/>
  90. <col ref="head" visibility="hidden"/>
  91. <col ref="face" visibility="hidden"/>
  92. <col ref="chest" visibility="hidden"/>
  93. <col ref="abdomen" visibility="hidden"/>
  94. <col ref="extremity" visibility="hidden"/>
  95. <col ref="external" visibility="hidden"/>
  96. <col ref="iss" visibility="hidden"/>
  97. </datagrid>
  98. <select1 id="combo3" ref="/root/init/srch_kind" class="combo_search" appearance="minimal" style="left:100px; top:31px; width:85px; height:19px; ">
  99. <choices>
  100. <item>
  101. <label>퇴원일</label>
  102. <value>1</value>
  103. </item>
  104. <item>
  105. <label>내원일</label>
  106. <value>2</value>
  107. </item>
  108. </choices>
  109. </select1>
  110. <input id="input3" ref="/root/init/srch_startdd" class="input_search" inputtype="date" style="left:200px; top:31px; width:93px; height:19px; ">
  111. <script type="javascript" ev:event="onclick">
  112. <![CDATA[
  113. ]]>
  114. </script>
  115. </input>
  116. <input id="input1" ref="/root/init/srch_enddd" class="input_search" inputtype="date" style="left:318px; top:31px; width:93px; height:19px; ">
  117. <script type="javascript" ev:event="onclick">
  118. <![CDATA[
  119. ]]>
  120. </script>
  121. </input>
  122. <caption id="caption1" style="left:300px; top:31px; width:20px; height:20px; ">~</caption>
  123. <caption id="caption8" class="search_name" style="left:10px; top:31px; width:95px; height:17px; ">검색조건 :</caption>
  124. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:315px; height:13px; ">권역 외상센터 대상자 수술리스트</caption>
  125. <line id="line2" style="x1:1022px; y1:29px; x2:1022px; y2:52px; border-color:#ffe4bb; border-left-style:solid; "/>
  126. <select1 id="radio1" ref="/root/init/srch_gbn" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:505px; top:32px; width:270px; height:20px; border-style:none; ">
  127. <choices>
  128. <item>
  129. <label>응급실 내 수술만</label>
  130. <value>1</value>
  131. </item>
  132. <item>
  133. <label>입원기간 내 전체수술</label>
  134. <value>2</value>
  135. </item>
  136. </choices>
  137. </select1>
  138. <caption id="caption2" class="search_name" style="left:435px; top:31px; width:95px; height:17px; ">구 분:</caption>
  139. <datagrid id="grd_troplist_ex" nodeset="/root/main/mtrainfo/troplist_ex" class="datagrid2" visibility="hidden" autoresize="true" caption="집도과^월^환자번호^환자명^성별/나이^수술일^수술명^진단명^집도의^내원일시^내원일시^head^face^chest^abdomen^extremity^external^iss" colsep="^" colwidth="110, 60, 60, 70, 65, 70, 275, 275, 60, 70, 40, 100, 100, 100, 100, 100, 100, 100" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:170px; top:295px; width:815px; height:260px; ">
  140. <col ref="perfdept"/>
  141. <col ref="dategbn" style="text-align:center; "/>
  142. <col ref="pid"/>
  143. <col ref="hngnm"/>
  144. <col ref="sa" style="text-align:center; "/>
  145. <col ref="opschedd" format="yyyy-mm-dd" style="text-align:center; "/>
  146. <col ref="opnm"/>
  147. <col ref="dgnm"/>
  148. <col ref="perfdr"/>
  149. <col ref="chosdd" format="yyyy-mm-dd" style="text-align:center; "/>
  150. <col ref="chostm" format="hh:nn" style="text-align:center; "/>
  151. <col ref="head"/>
  152. <col ref="face"/>
  153. <col ref="chest"/>
  154. <col ref="abdomen"/>
  155. <col ref="extremity"/>
  156. <col ref="external"/>
  157. <col ref="iss"/>
  158. </datagrid>
  159. <button id="btn_excel" class="btn1_letter3" style="left:1100px; top:30px; width:68px; height:22px; ">
  160. <caption>Excel</caption>
  161. <script type="javascript" ev:event="DOMActivate">
  162. <![CDATA[
  163. model.removeNodeSet ("/root/send" );
  164. model.makeValue("/root/send/cond/srch_kind", model.getValue("/root/init/srch_kind") );
  165. model.makeValue("/root/send/cond/srch_startdd", model.getValue("/root/init/srch_startdd") );
  166. model.makeValue("/root/send/cond/srch_enddd", model.getValue("/root/init/srch_enddd") );
  167. model.makeValue("/root/send/cond/srch_gbn", model.getValue("/root/init/srch_gbn") );
  168. model.makeValue("/root/send/cond/srch_excel", "E");
  169. model.removeNodeSet ("/root/main/mtrainfo/troplist");
  170. submit("TRMMO08021");
  171. /*
  172. var fileName = window.fileDialog("save", ",", false, "권역외상센터수술리스트", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  173. if(fileName != ""){
  174. grd_troplist_ex.saveExcel(fileName, "SheetName", true, true, "", "", false);
  175. }
  176. */
  177. //20160503 수정
  178. var fileName = window.fileDialog("save", ",", false, "권역외상센터수술리스트" + input3.value, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  179. if (fileName != ""){
  180. grd_troplist.saveExcel(fileName, "SheetName", true, true, "", "", "false");
  181. }
  182. ]]>
  183. </script>
  184. </button>
  185. </xhtml:body>
  186. </xhtml:html>