SMMCT00200_수술방별가동율.xrw 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. * 제 목 : SMMCT00106_외래진료예약시간준수.xrw
  4. * 설 명 : 외래진료예약시간준수
  5. * 설 계 자 : 손주연
  6. * 작 성 자 : 손주연
  7. * 작 성 일 : 2009.09.12
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  12. <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">
  13. <xhtml:head>
  14. <xhtml:title>외래진료예약 준수</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <condition>
  20. <fromdd/>
  21. <todd/>
  22. <oproomcd/>
  23. <subdeptcd/>
  24. <orddrid>R</orddrid>
  25. <tab>R</tab>
  26. <inrmtm>0800</inrmtm>
  27. </condition>
  28. <oproomuserateinfo>
  29. <oproomuseratelist>
  30. <oproomnm/>
  31. <regtm/>
  32. <realoptime/>
  33. <optime/>
  34. <userate/>
  35. <useratetotal/>
  36. <mainopcnt/>
  37. <opcnt/>
  38. </oproomuseratelist>
  39. </oproomuserateinfo>
  40. <opdeptdoctopinfo>
  41. <opdeptdoctoplist>
  42. <deptengabbr/>
  43. <perfdrnm/>
  44. <realoptime/>
  45. <optime/>
  46. <mainopcnt/>
  47. <opcnt/>
  48. </opdeptdoctoplist>
  49. </opdeptdoctopinfo>
  50. </main>
  51. <send>
  52. <fromdd/>
  53. <todd/>
  54. <oproomcd/>
  55. <subdeptcd/>
  56. <orddrid/>
  57. <tab/>
  58. <inrmtm/>
  59. </send>
  60. <init>
  61. <orddeptlist/>
  62. <info/>
  63. <orddr/>
  64. <oproominfo>
  65. <oproomlist>
  66. <cd/>
  67. <nm/>
  68. </oproomlist>
  69. </oproominfo>
  70. </init>
  71. </root>
  72. </instance>
  73. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  74. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  75. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  76. <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
  77. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  78. <script type="javascript" src="../../../emr/emrctlweb/js/SMMCT00200.js"/>
  79. <script type="javascript" ev:event="xforms-ready">
  80. <![CDATA[
  81. fInit();
  82. ]]>
  83. </script>
  84. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  85. <submission id="TRZSD00206" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  86. <submission id="TRMCT00200" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/oproomuserateinfo"/>
  87. <submission id="TRMNO00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/orddr"/>
  88. <submission id="TRMCT00206" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/opdeptdoctopinfo"/>
  89. <submission id="TRMCT00207" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/oproominfo"/>
  90. <submission id="TRMCT00208" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/orddeptlist"/>
  91. </model>
  92. </xhtml:head>
  93. <xhtml:body accesskey="f2" guideline="2,763;2,765;2,763;1,1187;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  94. <datagrid id="grd_opdeptdoctlist" nodeset="/root/main/opdeptdoctopinfo/opdeptdoctoplist" backcoloralternate="#ffffff" caption="집도과^집도의^총 수술시간(분)^정규 시간 내 수술시간(분)^수술(명)^수술(건)" colsep="^" colwidth="127, 100, 100, 150, 100, 100" ellipsis="true" explorerbar="sortshow" rowheader="seq" rowsep="|" subtotalposition="below" tooltip="true" style="left:0px; top:88px; width:1187px; height:677px; ">
  95. <col ref="deptengabbr" style="text-align:center; "/>
  96. <col ref="perfdrnm" style="text-align:center; "/>
  97. <col ref="realoptime" style="text-align:center; "/>
  98. <col ref="optime" style="text-align:center; "/>
  99. <col ref="mainopcnt" style="text-align:center; "/>
  100. <col ref="opcnt" style="text-align:center; "/>
  101. </datagrid>
  102. <datagrid id="grd_oproomuseratelst" nodeset="/root/main/oproomuserateinfo/oproomuseratelist" backcoloralternate="#ffffff" caption="수술방^정규시간^총 수술시간(분)^정규시간 내 수술 시간(분)^정규 시간 가동율^전체 시간 가동율^전체수술(명)^전체수술(건)" colsep="^" colwidth="80, 100, 100, 150, 114, 114, 100, 100" ellipsis="true" explorerbar="sortshow" rowheader="seq" rowsep="|" tooltip="true" navindex="9" style="left:0px; top:88px; width:1187px; height:677px; ">
  103. <col ref="oproomnm" style="text-align:center; "/>
  104. <col ref="regtm" style="text-align:center; "/>
  105. <col ref="realoptime" style="text-align:center; "/>
  106. <col ref="optime" style="text-align:center; "/>
  107. <col ref="userate" style="text-align:center; "/>
  108. <col ref="useratetotal" style="text-align:center; "/>
  109. <col ref="mainopcnt" style="text-align:center; "/>
  110. <col ref="opcnt" style="text-align:center; "/>
  111. </datagrid>
  112. <caption id="cap_title" class="tit_1" style="left:0px; top:0px; width:300px; height:14px; ">수술방별 가동율</caption>
  113. <shape id="roundrect1" appearance="roundrect" style="left:0px; top:20px; width:1194px; height:40px; "/>
  114. <button id="btn_req" class="btn1_letter2" navindex="8" style="left:1125px; top:30px; width:56px; height:22px; ">
  115. <caption>조회</caption>
  116. <script type="javascript" ev:event="DOMActivate">
  117. <![CDATA[
  118. fClickSearchBtn();
  119. ]]>
  120. </script>
  121. </button>
  122. <line id="line5" style="x1:1118px; y1:30px; x2:1118px; y2:52px; border-color:#ffe4bb; border-left-style:solid; "/>
  123. <caption id="caption20" class="tit_2" style="left:0px; top:67px; width:270px; height:14px; ">수술방별, 과별/의사별</caption>
  124. <input id="ipt_srchfromdd" ref="/root/main/condition/todd" class="input_s_essential" navindex="3" inputtype="date" style="left:310px; top:32px; width:90px; height:19px; "/>
  125. <input id="ipt_srchtodd" ref="/root/main/condition/fromdd" class="input_s_essential" navindex="2" inputtype="date" style="left:210px; top:32px; width:90px; height:19px; "/>
  126. <caption id="caption8" style="left:299px; top:34px; width:15px; height:15px; ">~</caption>
  127. <caption id="caption9" class="search_name" style="left:145px; top:32px; width:86px; height:17px; ">기간 :</caption>
  128. <caption id="caption14" class="search_name" style="left:591px; top:33px; width:66px; height:17px; ">진료과</caption>
  129. <select1 id="cmb_subdept" ref="/root/main/condition/subdeptcd" class="combo" navindex="5" appearance="minimal" style="left:660px; top:33px; width:115px; height:19px; ">
  130. <choices>
  131. <itemset nodeset="/root/init/orddeptlist/dept">
  132. <label ref="depthngnm"/>
  133. <value ref="deptcd"/>
  134. </itemset>
  135. </choices>
  136. <script type="javascript" ev:event="xforms-value-changed">
  137. <![CDATA[
  138. fValueChangedOrddrCombo();
  139. ]]>
  140. </script>
  141. </select1>
  142. <caption id="caption7" class="search_name" style="left:421px; top:33px; width:66px; height:17px; ">수술방</caption>
  143. <caption id="caption1" class="search_name" style="left:791px; top:33px; width:76px; height:17px; ">집도의</caption>
  144. <line id="line1" class="line_1" style="x1:0px; y1:85px; x2:1187px; y2:85px; "/>
  145. <select1 id="cmb_orddrid" ref="/root/main/condition/orddrid" class="combo_search" navindex="6" appearance="minimal" editmode="search" itemcount="30" style="left:860px; top:33px; width:80px; height:19px; ">
  146. <choices>
  147. <itemset nodeset="/root/init/orddr/orddr">
  148. <label ref="usernm"/>
  149. <value ref="userid"/>
  150. </itemset>
  151. </choices>
  152. </select1>
  153. <caption id="caption2" class="search_name" style="left:5px; top:32px; width:65px; height:17px; ">검색 :</caption>
  154. <select1 id="combo1" ref="/root/main/condition/tab" class="combo_search" navindex="1" appearance="minimal" itemcount="30" style="left:68px; top:32px; width:70px; height:19px; ">
  155. <choices>
  156. <item>
  157. <label>방별</label>
  158. <value>R</value>
  159. </item>
  160. <item>
  161. <label>과별</label>
  162. <value>E</value>
  163. </item>
  164. <item>
  165. <label>과/의사별</label>
  166. <value>D</value>
  167. </item>
  168. </choices>
  169. <script type="javascript" ev:event="xforms-value-changed">
  170. <![CDATA[
  171. fValueChangedSchCombo();
  172. ]]>
  173. </script>
  174. </select1>
  175. <select1 id="combo2" ref="/root/main/condition/inrmtm" class="combo_search" navindex="7" appearance="minimal" editmode="search" itemcount="30" style="left:1030px; top:33px; width:80px; height:19px; ">
  176. <choices>
  177. <item>
  178. <label>07:30</label>
  179. <value>0730</value>
  180. </item>
  181. <item>
  182. <label>07:40</label>
  183. <value>0740</value>
  184. </item>
  185. <item>
  186. <label>07:50</label>
  187. <value>0750</value>
  188. </item>
  189. <item>
  190. <label>08:00</label>
  191. <value>0800</value>
  192. </item>
  193. </choices>
  194. </select1>
  195. <caption id="caption3" class="search_name" style="left:951px; top:33px; width:76px; height:17px; ">입실시간</caption>
  196. <select1 id="cmb_oproom" ref="/root/main/condition/oproomcd" class="combo_search" navindex="4" appearance="minimal" editmode="search" style="left:490px; top:33px; width:85px; height:19px; ">
  197. <choices>
  198. <itemset nodeset="/root/init/oproominfo/oproomlist">
  199. <label ref="nm"/>
  200. <value ref="cd"/>
  201. </itemset>
  202. </choices>
  203. </select1>
  204. <button id="button1" class="btn2_letter2" style="left:1145px; top:65px; width:42px; height:19px; ">
  205. <caption>엑셀</caption>
  206. <script type="javascript" ev:event="DOMActivate">
  207. <![CDATA[
  208. var title = "";
  209. var tab = model.getValue("/root/main/condition/tab");
  210. var fileName = "";
  211. if(tab == "R") {
  212. title = "수술방별가동율(방별)_"+getCurrentDate();
  213. fileName = window.fileDialog("save", ",", false, title, "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  214. } else if(tab == "E") {
  215. title = "수술방별가동율(과별)_"+getCurrentDate();
  216. fileName = window.fileDialog("save", ",", false, title, "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  217. } else {
  218. title = "수술방별가동율(의사별)_"+getCurrentDate();
  219. fileName = window.fileDialog("save", ",", false, title, "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  220. }
  221. if (fileName != ""){
  222. if(tab == "R") {
  223. grd_oproomuseratelst.saveExcel(fileName, title, true, true, "", "", false);
  224. } else if(tab == "E" || tab == "D") {
  225. grd_opdeptdoctlist.saveExcel(fileName, "sheetname: "+title+"; colhiddenextend: false; rowhiddenextend: true;");
  226. }
  227. var s = fileName.lastIndexOf("\\");
  228. var fileName=fileName.substring(s+1);
  229. var rmsg = messageBox("저장된 Excel을", "Q004");
  230. if( rmsg == 6 ){
  231. window.exec("excel.exe", fileName);
  232. }
  233. }
  234. ]]>
  235. </script>
  236. </button>
  237. </xhtml:body>
  238. </xhtml:html>