SMMCT00203_수술실시점별소요시간.xrw 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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. <condition>
  11. <fromdd/>
  12. <todd/>
  13. <subdeptcd/>
  14. <orddrid/>
  15. <oproomcd/>
  16. <tab>R</tab>
  17. </condition>
  18. <oppnttmusetminfo>
  19. <oppnttmusetmlist>
  20. <oproomnm/>
  21. <deptengabbr/>
  22. <perfdrnm/>
  23. <waittm1/>
  24. <waittm2/>
  25. <waittm3/>
  26. <waittm4/>
  27. <waittm5/>
  28. <waittm6/>
  29. <waittm7/>
  30. <waittm8/>
  31. </oppnttmusetmlist>
  32. </oppnttmusetminfo>
  33. </main>
  34. <send>
  35. <fromdd/>
  36. <todd/>
  37. <oproomcd/>
  38. <subdeptcd/>
  39. <orddrid/>
  40. <tab/>
  41. </send>
  42. <init>
  43. <orddeptlist/>
  44. <info/>
  45. <orddr/>
  46. <oproominfo>
  47. <oproomlist>
  48. <cd/>
  49. <nm/>
  50. </oproomlist>
  51. </oproominfo>
  52. </init>
  53. </root>
  54. </instance>
  55. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  56. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  57. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  58. <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
  59. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  60. <script type="javascript" src="../../../emr/emrctlweb/js/SMMCT00203.js"/>
  61. <script type="javascript" ev:event="xforms-ready">
  62. <![CDATA[
  63. fInit();
  64. ]]>
  65. </script>
  66. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  67. <submission id="TRZSD00206" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  68. <submission id="TRMCT00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/oproomuserateinfo"/>
  69. <submission id="TRMNO00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/orddr"/>
  70. <submission id="TRMCT00206" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/opdeptdoctopinfo"/>
  71. <submission id="TRMCT00207" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/oproominfo"/>
  72. <submission id="TRMCT00208" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/orddeptlist"/>
  73. </model>
  74. <script type="javascript">
  75. <![CDATA[]]>
  76. </script>
  77. </xhtml:head>
  78. <xhtml:body accesskey="f2" guideline="2,764;2,765;2,763;1,1188;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  79. <caption id="cap_title" class="tit_1" style="left:0px; top:0px; width:300px; height:14px; ">수술실 시점별 소요시간</caption>
  80. <shape id="roundrect1" appearance="roundrect" style="left:0px; top:20px; width:1194px; height:40px; "/>
  81. <button id="btn_req" class="btn1_letter2" navindex="7" style="left:1125px; top:30px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  82. <caption>조회</caption>
  83. <script type="javascript" ev:event="DOMActivate">
  84. <![CDATA[
  85. fClickSearchBtn();
  86. ]]>
  87. </script>
  88. </button>
  89. <line id="line5" style="x1:1110px; y1:30px; x2:1110px; y2:52px; border-color:#ffe4bb; border-left-style:solid; "/>
  90. <caption id="caption20" class="tit_2" style="left:0px; top:67px; width:270px; height:14px; ">수술실 시점별 소요시간 조회 (분)</caption>
  91. <input id="ipt_srchfromdd" ref="/root/main/condition/todd" class="input_s_essential" navindex="3" inputtype="date" style="left:340px; top:32px; width:90px; height:19px; "/>
  92. <input id="ipt_srchtodd" ref="/root/main/condition/fromdd" class="input_s_essential" navindex="2" inputtype="date" style="left:240px; top:32px; width:90px; height:19px; "/>
  93. <caption id="caption8" style="left:329px; top:34px; width:15px; height:15px; ">~</caption>
  94. <caption id="caption9" class="search_name" style="left:175px; top:32px; width:86px; height:17px; ">기간 :</caption>
  95. <datagrid id="grd_oppnttmusetmlst" nodeset="/root/main/oppnttmusetminfo/oppnttmusetmlist" class="datagrid2" caption="방^과^의사^소요시간1&#xA;( B - A )^소요시간2&#xA;( C - B )^소요시간3&#xA;( D - C )^소요시간4&#xA;( E - D )^소요시간5&#xA;( F - E )^소요시간6&#xA;( G - F )^소요시간7&#xA;( H - G )^소요시간8&#xA;( H - C )" colsep="^" colwidth="80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:87px; width:1187px; height:678px; ">
  96. <col ref="oproomnm" style="text-align:center; "/>
  97. <col ref="deptengabbr" style="text-align:center; "/>
  98. <col ref="perfdrnm" style="text-align:center; "/>
  99. <col ref="waittm1" style="text-align:center; "/>
  100. <col ref="waittm2" style="text-align:center; "/>
  101. <col ref="waittm3" style="text-align:center; "/>
  102. <col ref="waittm4" style="text-align:center; "/>
  103. <col ref="waittm5" style="text-align:center; "/>
  104. <col ref="waittm6" style="text-align:center; "/>
  105. <col ref="waittm7" style="text-align:center; "/>
  106. <col ref="waittm8" style="text-align:center; "/>
  107. </datagrid>
  108. <caption id="caption7" class="search_name" style="left:641px; top:33px; width:76px; height:17px; ">진 료 과</caption>
  109. <caption id="caption1" class="search_name" style="left:856px; top:33px; width:76px; height:17px; ">집 도 의</caption>
  110. <line id="line1" class="line_1" style="x1:0px; y1:85px; x2:1187px; y2:85px; "/>
  111. <caption id="caption14" class="search_name" style="left:456px; top:33px; width:76px; height:17px; ">수 술 방</caption>
  112. <select1 id="cmb_oproom" ref="/root/main/condition/oproomcd" class="combo_search" navindex="4" appearance="minimal" editmode="search" style="left:535px; top:33px; width:85px; height:19px; ">
  113. <choices>
  114. <itemset nodeset="/root/init/oproominfo/oproomlist">
  115. <label ref="nm"/>
  116. <value ref="cd"/>
  117. </itemset>
  118. </choices>
  119. </select1>
  120. <select1 id="cmb_subdept" ref="/root/main/condition/subdeptcd" class="combo" navindex="5" appearance="minimal" style="left:720px; top:33px; width:115px; height:19px; ">
  121. <choices>
  122. <itemset nodeset="/root/init/orddeptlist/dept">
  123. <label ref="depthngnm"/>
  124. <value ref="deptcd"/>
  125. </itemset>
  126. </choices>
  127. <script type="javascript" ev:event="xforms-value-changed">
  128. <![CDATA[
  129. fValueChangedOrddrCombo();
  130. ]]>
  131. </script>
  132. </select1>
  133. <select1 id="cmb_orddrid" ref="/root/main/condition/orddrid" class="combo_search" navindex="6" appearance="minimal" editmode="search" itemcount="30" style="left:935px; top:33px; width:80px; height:19px; ">
  134. <choices>
  135. <itemset nodeset="/root/init/orddr/orddr">
  136. <label ref="usernm"/>
  137. <value ref="userid"/>
  138. </itemset>
  139. </choices>
  140. </select1>
  141. <caption id="caption2" style="left:250px; top:68px; width:850px; height:14px; ">* A: 수술예정시작시간 / B: 대기실도착시간 / C: 수술실입실시간 / D: 마취시작시간 / E: 수술시작시간 / F: 수술종료시간 / G: 마취종료시간 / H: 퇴실시간</caption>
  142. <button id="button1" class="btn2_letter2" style="left:1145px; top:65px; width:42px; height:19px; ">
  143. <caption>엑셀</caption>
  144. <script type="javascript" ev:event="DOMActivate">
  145. <![CDATA[
  146. var title = "";
  147. var tab = model.getValue("/root/main/condition/tab");
  148. var fileName = "";
  149. if(tab == "R") {
  150. title = "수술실시점별소요시간(방별)_"+getCurrentDate();
  151. fileName = window.fileDialog("save", ",", false, title, "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  152. } else if(tab == "E") {
  153. title = "수술실시점별소요시간(과별)_"+getCurrentDate();
  154. fileName = window.fileDialog("save", ",", false, title, "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  155. } else {
  156. title = "수술실시점별소요시간(의사별)_"+getCurrentDate();
  157. fileName = window.fileDialog("save", ",", false, title, "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  158. }
  159. if (fileName != ""){
  160. grd_oppnttmusetmlst.saveExcel(fileName, "sheetname: "+title+"; colhiddenextend: false; rowhiddenextend: true;");
  161. var s = fileName.lastIndexOf("\\");
  162. var fileName=fileName.substring(s+1);
  163. var rmsg = messageBox("저장된 Excel을", "Q004");
  164. if( rmsg == 6 ){
  165. window.exec("excel.exe", fileName);
  166. }
  167. }
  168. ]]>
  169. </script>
  170. </button>
  171. <caption id="caption3" class="search_name" style="left:15px; top:32px; width:65px; height:17px; ">검색 :</caption>
  172. <select1 id="combo1" ref="/root/main/condition/tab" class="combo_search" navindex="1" appearance="minimal" itemcount="30" style="left:78px; top:32px; width:70px; height:19px; ">
  173. <choices>
  174. <item>
  175. <label>방별</label>
  176. <value>R</value>
  177. </item>
  178. <item>
  179. <label>과별</label>
  180. <value>E</value>
  181. </item>
  182. <item>
  183. <label>과/의사별</label>
  184. <value>D</value>
  185. </item>
  186. </choices>
  187. <script type="javascript" ev:event="xforms-value-changed">
  188. <![CDATA[
  189. fValueChangedSchCombo();
  190. ]]>
  191. </script>
  192. </select1>
  193. </xhtml:body>
  194. </xhtml:html>