SMLLP01600_TAT조회.xrw 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : TAT조회.xrw
  4. * 설 명 : TAT조회
  5. * 설 계 자 : (주)에이씨케이 -
  6. * 작 성 자 : (주)에이씨케이 - 조철형
  7. * 작 성 일 : 2008.01.29
  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>TAT조회</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <gettattotal>
  20. <tsectscrnnm/>
  21. <tclsscrnnm/>
  22. <spcscrnnm/>
  23. <cnt/>
  24. <nocnt/>
  25. <avgs/>
  26. <std/>
  27. <mindt/>
  28. <maxdt/>
  29. <overcnt/>
  30. <per/>
  31. </gettattotal>
  32. </main>
  33. <send>
  34. <usdt/>
  35. <uedt/>
  36. <dtgbn/>
  37. <iogbn/>
  38. <overtime/>
  39. <ergbn/>
  40. <tclscdlist/>
  41. <tsectcd/>
  42. <sectcd/>
  43. </send>
  44. <init>
  45. </init>
  46. <hidden>
  47. <casegbn>1</casegbn>
  48. <ref>
  49. <usdd/>
  50. <uedd/>
  51. <dtgbn>1</dtgbn>
  52. <usdt/>
  53. <uedt/>
  54. <iogbn>1</iogbn>
  55. <overtime>1</overtime>
  56. <ergbn>1</ergbn>
  57. <tclscdlist>
  58. <tclsnmlist/>
  59. <tclscdlist/>
  60. <tclscdlist2/>
  61. <testgrup/>
  62. <tclsnmlist2/>
  63. </tclscdlist>
  64. <tsectcd/>
  65. <sectcd/>
  66. </ref>
  67. </hidden>
  68. </root>
  69. </instance>
  70. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  71. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  72. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  73. <script type="javascript" src="../../../lis/commonweb/js/LLZ001.js"/>
  74. <script type="javascript" ev:event="xforms-ready">
  75. <![CDATA[
  76. fSetInit();
  77. ]]>
  78. </script>
  79. <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/LB0106"/>
  80. <submission id="TRLLP01601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/gettattotal"/>
  81. </model>
  82. <script type="javascript">
  83. <![CDATA[
  84. function fSetInit(){
  85. var toDay = getCurrentDate();
  86. model.setValue("/root/hidden/ref/usdd", toDay);
  87. model.setValue("/root/hidden/ref/uedd", toDay);
  88. model.setValue("/root/hidden/ref/usdt", "000000");
  89. model.setValue("/root/hidden/ref/uedt", "235959");
  90. fBaseInfoRef("0106|0111|");
  91. model.setvalue("/root/hidden/ref/sectcd", model.getvalue("/root/init/LB0111/cd"));
  92. model.setvalue("/root/hidden/ref/tsectcd", model.getvalue("/root/init/LB0106/cd"));
  93. model.refresh();
  94. }
  95. function fGetTATRef(){
  96. model.setvalue("/root/send/usdt" , model.getvalue("/root/hidden/ref/usdd") + model.getvalue("/root/hidden/ref/usdt")) ;
  97. model.setvalue("/root/send/uedt" , model.getvalue("/root/hidden/ref/uedd") + model.getvalue("/root/hidden/ref/uedt")) ;
  98. model.setvalue("/root/send/dtgbn" ,model.getvalue("/root/hidden/ref/dtgbn"));
  99. model.setvalue("/root/send/iogbn" , model.getvalue("/root/hidden/ref/iogbn"));
  100. model.setvalue("/root/send/overtime" , model.getvalue("/root/hidden/ref/overtime"));
  101. model.setvalue("/root/send/ergbn" , model.getvalue("/root/hidden/ref/ergbn"));
  102. model.setvalue("/root/send/tclscdlist" , model.getvalue("/root/hidden/ref/tclscdlist/tclscdlist"));
  103. submit("TRLLP01601" ,false);
  104. model.resetInstanceNode("/root/send");
  105. model.refresh();
  106. }
  107. ]]>
  108. </script>
  109. </xhtml:head>
  110. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  111. <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744; ">
  112. <group id="group1" style="left:0px; top:10px; width:1195px; height:100px; ">
  113. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:95px; "/>
  114. <line id="line3" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; "/>
  115. <button id="btn_search" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  116. <caption>조회</caption>
  117. <script type="javascript" ev:event="DOMActivate">
  118. <![CDATA[
  119. fGetTATRef();
  120. ]]>
  121. </script>
  122. </button>
  123. <caption id="cap_rgstdd" class="search_name" style="left:15px; top:9px; width:90px; height:17px; ">등록일자 :</caption>
  124. <select1 id="combo3" ref="/root/hidden/ref/sectcd" class="combo_default" appearance="minimal" style="left:535px; top:10px; width:90px; height:19px; ">
  125. <choices>
  126. <itemset nodeset="/root/init/LB0111">
  127. <label ref="nm"/>
  128. <value ref="cd"/>
  129. </itemset>
  130. </choices>
  131. <script type="javascript" ev:event="xforms-value-changed">
  132. <![CDATA[
  133. var etc = model.getvalue("/root/hidden/ref/sectcd");
  134. if(etc == "00"){
  135. combo4.choices.itemset.attribute("nodeset") = "/root/init/LB0106";
  136. model.setvalue("/root/hidden/ref/tsectcd" , "00");
  137. combo4.disabled = true;
  138. }
  139. else{
  140. combo4.choices.itemset.attribute("nodeset") = "/root/init/LB0106[cd= '00' or etc01='"+ etc +"']";
  141. model.setvalue("/root/hidden/ref/tsectcd" , "00");
  142. combo4.disabled = false;
  143. }
  144. combo4.refresh();
  145. ]]>
  146. </script>
  147. </select1>
  148. <caption id="caption5" class="search_name" style="left:445px; top:11px; width:94px; height:17px; ">시행부서 :</caption>
  149. <select1 id="combo4" ref="/root/hidden/ref/tsectcd" class="combo_default" appearance="minimal" style="left:625px; top:10px; width:110px; height:19px; ">
  150. <choices>
  151. <itemset nodeset="/root/init/LB0106">
  152. <label ref="nm"/>
  153. <value ref="cd"/>
  154. </itemset>
  155. </choices>
  156. </select1>
  157. <caption id="caption1" class="search_name" style="left:15px; top:34px; width:91px; height:17px; ">일자구분 :</caption>
  158. <select1 id="radio2" ref="/root/hidden/ref/dtgbn" overflow="visible" appearance="full" cellspacing="10" cols="4" style="left:106px; top:34px; width:240px; height:20px; border-style:none; ">
  159. <choices>
  160. <item>
  161. <label>접수일시</label>
  162. <value>1</value>
  163. </item>
  164. <item>
  165. <label>처방일시</label>
  166. <value>2</value>
  167. </item>
  168. <item>
  169. <label>채혈일시</label>
  170. <value>3</value>
  171. </item>
  172. </choices>
  173. </select1>
  174. <caption id="caption13" class="search_name" style="left:445px; top:35px; width:129px; height:17px; ">입원/외래 구분 :</caption>
  175. <select1 id="radio5" ref="/root/hidden/ref/iogbn" overflow="visible" appearance="full" cellspacing="10" cols="4" style="left:580px; top:35px; width:160px; height:20px; border-style:none; ">
  176. <choices>
  177. <item>
  178. <label>전체</label>
  179. <value>1</value>
  180. </item>
  181. <item>
  182. <label>입원</label>
  183. <value>2</value>
  184. </item>
  185. <item>
  186. <label>외래</label>
  187. <value>3</value>
  188. </item>
  189. </choices>
  190. </select1>
  191. <caption id="caption7" class="cell_1" style="left:765px; top:40px; width:100px; height:40px; background-color:#eaeaea; border-style:solid; ">접수</caption>
  192. <caption id="caption2" class="cell_1" style="left:910px; top:40px; width:100px; height:40px; background-color:#ffff00; border-style:solid; ">중간보고</caption>
  193. <caption id="caption8" class="cell_1" style="left:1060px; top:40px; width:100px; height:40px; background-color:#ffffff; border-style:solid; ">최종보고</caption>
  194. <input id="ipt_tclscdlist" ref="/root/hidden/ref/tclscdlist/tclsnmlist" class="input_search" style="left:107px; top:60px; width:543px; height:19px; "/>
  195. <button id="button61" class="icon_search" style="left:655px; top:60px; width:16px; height:16px; background-image:../../../com/commonweb/images/icon_search.gif; ">
  196. <caption/>
  197. <script type="javascript" ev:event="DOMActivate">
  198. <![CDATA[
  199. modal("SMLLF90400", "", "", "", "", "/root/hidden/ref/tclscdlist/testgrup", "/root/hidden/tclscdlist/testgrup");
  200. ]]>
  201. </script>
  202. </button>
  203. <caption id="caption9" class="search_name" style="left:15px; top:60px; width:90px; height:17px; ">검사항목 :</caption>
  204. <select id="checkbox1" ref="/root/hidden/ref/overtime" overflow="visible" appearance="full" style="left:765px; top:10px; width:110px; height:20px; font-weight:bold; color:#ff0000; border-style:none; ">
  205. <choices>
  206. <item>
  207. <label>OverTime Item</label>
  208. <value>1</value>
  209. </item>
  210. </choices>
  211. <script type="javascript" ev:event="xforms-select">
  212. <![CDATA[
  213. if(model.getvalue("/root/hidden/pat") == "1"){
  214. model.removeNodeset("/root/main/testpatlist/patlist");
  215. fSetClear2();
  216. }
  217. ]]>
  218. </script>
  219. </select>
  220. <select id="checkbox2" ref="/root/hidden/ref/ergbn" overflow="visible" appearance="full" style="left:890px; top:10px; width:110px; height:20px; border-style:none; ">
  221. <choices>
  222. <item>
  223. <label>응급검사</label>
  224. <value>1</value>
  225. </item>
  226. </choices>
  227. <script type="javascript" ev:event="xforms-select">
  228. <![CDATA[
  229. if(model.getvalue("/root/hidden/pat") == "1"){
  230. model.removeNodeset("/root/main/testpatlist/patlist");
  231. fSetClear2();
  232. }
  233. ]]>
  234. </script>
  235. </select>
  236. <line id="line2" style="x1:865px; y1:58px; x2:910px; y2:58px; "/>
  237. <line id="line4" style="x1:1010px; y1:58px; x2:1060px; y2:58px; "/>
  238. <caption id="caption3" class="search_no_b" style="left:262px; top:10px; width:15px; height:17px; ">~</caption>
  239. <input id="input1" ref="/root/hidden/ref/usdt" format="hh:nn:ss" style="left:206px; top:10px; width:54px; height:19px; "/>
  240. <input id="input2" ref="/root/hidden/ref/uedt" format="hh:nn:ss" style="left:378px; top:10px; width:57px; height:19px; "/>
  241. <input id="ipt_usdd" ref="/root/hidden/ref/usdd" class="input_search" inputtype="date" style="left:105px; top:10px; width:100px; height:19px; "/>
  242. <input id="ipt_uedd" ref="/root/hidden/ref/uedd" class="input_search" inputtype="date" style="left:277px; top:10px; width:100px; height:19px; "/>
  243. </group>
  244. <switch id="switch1" style="left:0px; top:140px; width:1190px; height:595px; ">
  245. <case id="case1" selected="true">
  246. <datagrid id="grd_incgspc" nodeset="/root/main/gettattotal" caption="시행부서명^검사명^검체명^총검사건수^유효건수^평균소요시간^표준편차^최소시간^최대시간^초과건수^백분율" colsep="^" colwidth="121, 145, 135, 72, 71, 100, 100, 100, 100, 72, 71" dataheight="23" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:2px; top:7px; width:1178px; height:578px; border-style:none; ">
  247. <col ref="tsectscrnnm" format="yyyy-mm-dd hh:mm"/>
  248. <col ref="tclsscrnnm"/>
  249. <col ref="spcscrnnm"/>
  250. <col ref="cnt"/>
  251. <col ref="nocnt"/>
  252. <col ref="avgs"/>
  253. <col ref="std"/>
  254. <col ref="mindt" format="hh:nn:ss"/>
  255. <col ref="maxdt" format="hh:nn:ss"/>
  256. <col ref="overcnt"/>
  257. <col ref="per"/>
  258. <script type="javascript" ev:event="onaftersort">
  259. <![CDATA[
  260. grd_incgspc.gridToInstance();
  261. ]]>
  262. </script>
  263. </datagrid>
  264. <line id="line1" class="line_1" style="x1:2px; y1:2px; x2:1178px; y2:2px; "/>
  265. </case>
  266. <case id="case2"/>
  267. </switch>
  268. </group>
  269. <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
  270. <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  271. <button id="btn_reset" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
  272. <caption>초기화</caption>
  273. <script type="javascript" ev:event="DOMActivate">
  274. <![CDATA[
  275. fSetInit();
  276. ]]>
  277. </script>
  278. </button>
  279. <button id="btn_excel" class="btn2_letter2" style="left:0px; top:5px; width:42px; height:19px; ">
  280. <caption>엑셀</caption>
  281. <script type="javascript" ev:event="DOMActivate">
  282. <![CDATA[
  283. fExeExcel(datagrid1);
  284. ]]>
  285. </script>
  286. </button>
  287. </group>
  288. <group id="group2" style="left:0px; top:0px; width:1195px; height:13px; ">
  289. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">TAT 조회</caption>
  290. </group>
  291. <button id="button6" class="btn_sw" group="tab" selected="true" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:0px; top:155px; width:89px; height:22px; background-image:../../../com/commonweb/images/tab_hide.gif; ">
  292. <caption>건수통계</caption>
  293. <script type="javascript" ev:event="DOMActivate">
  294. <![CDATA[
  295. model.toggle("case1");
  296. model.setvalue("/root/hidden/casegbn" , "1");
  297. ]]>
  298. </script>
  299. </button>
  300. <button id="button1" class="btn_sw" group="tab" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:90px; top:155px; width:89px; height:22px; background-image:../../../com/commonweb/images/tab_hide.gif; ">
  301. <caption>상세내역</caption>
  302. <script type="javascript" ev:event="DOMActivate">
  303. <![CDATA[
  304. model.toggle("case2");
  305. model.setvalue("/root/hidden/casegbn" , "2");
  306. ]]>
  307. </script>
  308. </button>
  309. </xhtml:body>
  310. </xhtml:html>