123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : TAT조회.xrw
- * 설 명 : TAT조회
- * 설 계 자 : (주)에이씨케이 -
- * 작 성 자 : (주)에이씨케이 - 조철형
- * 작 성 일 : 2008.01.29
- * 수정이력 :
- * 기 타 :
- -->
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <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">
- <xhtml:head>
- <xhtml:title>TAT조회</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <gettattotal>
- <tsectscrnnm/>
- <tclsscrnnm/>
- <spcscrnnm/>
- <cnt/>
- <nocnt/>
- <avgs/>
- <std/>
- <mindt/>
- <maxdt/>
- <overcnt/>
- <per/>
- </gettattotal>
- </main>
- <send>
- <usdt/>
- <uedt/>
- <dtgbn/>
- <iogbn/>
- <overtime/>
- <ergbn/>
- <tclscdlist/>
- <tsectcd/>
- <sectcd/>
- </send>
- <init>
- </init>
- <hidden>
- <casegbn>1</casegbn>
- <ref>
- <usdd/>
- <uedd/>
- <dtgbn>1</dtgbn>
- <usdt/>
- <uedt/>
- <iogbn>1</iogbn>
- <overtime>1</overtime>
- <ergbn>1</ergbn>
- <tclscdlist>
- <tclsnmlist/>
- <tclscdlist/>
- <tclscdlist2/>
- <testgrup/>
- <tclsnmlist2/>
- </tclscdlist>
- <tsectcd/>
- <sectcd/>
- </ref>
- </hidden>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LLZ001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fSetInit();
- ]]>
- </script>
- <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/LB0106"/>
- <submission id="TRLLP01601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/gettattotal"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
- function fSetInit(){
- var toDay = getCurrentDate();
-
- model.setValue("/root/hidden/ref/usdd", toDay);
- model.setValue("/root/hidden/ref/uedd", toDay);
-
- model.setValue("/root/hidden/ref/usdt", "000000");
- model.setValue("/root/hidden/ref/uedt", "235959");
-
- fBaseInfoRef("0106|0111|");
- model.setvalue("/root/hidden/ref/sectcd", model.getvalue("/root/init/LB0111/cd"));
- model.setvalue("/root/hidden/ref/tsectcd", model.getvalue("/root/init/LB0106/cd"));
-
- model.refresh();
- }
-
- function fGetTATRef(){
-
-
- model.setvalue("/root/send/usdt" , model.getvalue("/root/hidden/ref/usdd") + model.getvalue("/root/hidden/ref/usdt")) ;
- model.setvalue("/root/send/uedt" , model.getvalue("/root/hidden/ref/uedd") + model.getvalue("/root/hidden/ref/uedt")) ;
- model.setvalue("/root/send/dtgbn" ,model.getvalue("/root/hidden/ref/dtgbn"));
- model.setvalue("/root/send/iogbn" , model.getvalue("/root/hidden/ref/iogbn"));
- model.setvalue("/root/send/overtime" , model.getvalue("/root/hidden/ref/overtime"));
- model.setvalue("/root/send/ergbn" , model.getvalue("/root/hidden/ref/ergbn"));
- model.setvalue("/root/send/tclscdlist" , model.getvalue("/root/hidden/ref/tclscdlist/tclscdlist"));
-
- submit("TRLLP01601" ,false);
-
- model.resetInstanceNode("/root/send");
- model.refresh();
-
-
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744; ">
- <group id="group1" style="left:0px; top:10px; width:1195px; height:100px; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:95px; "/>
- <line id="line3" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetTATRef();
- ]]>
- </script>
- </button>
- <caption id="cap_rgstdd" class="search_name" style="left:15px; top:9px; width:90px; height:17px; ">등록일자 :</caption>
- <select1 id="combo3" ref="/root/hidden/ref/sectcd" class="combo_default" appearance="minimal" style="left:535px; top:10px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0111">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var etc = model.getvalue("/root/hidden/ref/sectcd");
-
- if(etc == "00"){
- combo4.choices.itemset.attribute("nodeset") = "/root/init/LB0106";
- model.setvalue("/root/hidden/ref/tsectcd" , "00");
- combo4.disabled = true;
- }
- else{
- combo4.choices.itemset.attribute("nodeset") = "/root/init/LB0106[cd= '00' or etc01='"+ etc +"']";
- model.setvalue("/root/hidden/ref/tsectcd" , "00");
- combo4.disabled = false;
- }
- combo4.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption5" class="search_name" style="left:445px; top:11px; width:94px; height:17px; ">시행부서 :</caption>
- <select1 id="combo4" ref="/root/hidden/ref/tsectcd" class="combo_default" appearance="minimal" style="left:625px; top:10px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0106">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption1" class="search_name" style="left:15px; top:34px; width:91px; height:17px; ">일자구분 :</caption>
- <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; ">
- <choices>
- <item>
- <label>접수일시</label>
- <value>1</value>
- </item>
- <item>
- <label>처방일시</label>
- <value>2</value>
- </item>
- <item>
- <label>채혈일시</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <caption id="caption13" class="search_name" style="left:445px; top:35px; width:129px; height:17px; ">입원/외래 구분 :</caption>
- <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; ">
- <choices>
- <item>
- <label>전체</label>
- <value>1</value>
- </item>
- <item>
- <label>입원</label>
- <value>2</value>
- </item>
- <item>
- <label>외래</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <caption id="caption7" class="cell_1" style="left:765px; top:40px; width:100px; height:40px; background-color:#eaeaea; border-style:solid; ">접수</caption>
- <caption id="caption2" class="cell_1" style="left:910px; top:40px; width:100px; height:40px; background-color:#ffff00; border-style:solid; ">중간보고</caption>
- <caption id="caption8" class="cell_1" style="left:1060px; top:40px; width:100px; height:40px; background-color:#ffffff; border-style:solid; ">최종보고</caption>
- <input id="ipt_tclscdlist" ref="/root/hidden/ref/tclscdlist/tclsnmlist" class="input_search" style="left:107px; top:60px; width:543px; height:19px; "/>
- <button id="button61" class="icon_search" style="left:655px; top:60px; width:16px; height:16px; background-image:../../../com/commonweb/images/icon_search.gif; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMLLF90400", "", "", "", "", "/root/hidden/ref/tclscdlist/testgrup", "/root/hidden/tclscdlist/testgrup");
- ]]>
- </script>
- </button>
- <caption id="caption9" class="search_name" style="left:15px; top:60px; width:90px; height:17px; ">검사항목 :</caption>
- <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; ">
- <choices>
- <item>
- <label>OverTime Item</label>
- <value>1</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if(model.getvalue("/root/hidden/pat") == "1"){
- model.removeNodeset("/root/main/testpatlist/patlist");
- fSetClear2();
- }
- ]]>
- </script>
- </select>
- <select id="checkbox2" ref="/root/hidden/ref/ergbn" overflow="visible" appearance="full" style="left:890px; top:10px; width:110px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>응급검사</label>
- <value>1</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if(model.getvalue("/root/hidden/pat") == "1"){
- model.removeNodeset("/root/main/testpatlist/patlist");
- fSetClear2();
- }
- ]]>
- </script>
- </select>
- <line id="line2" style="x1:865px; y1:58px; x2:910px; y2:58px; "/>
- <line id="line4" style="x1:1010px; y1:58px; x2:1060px; y2:58px; "/>
- <caption id="caption3" class="search_no_b" style="left:262px; top:10px; width:15px; height:17px; ">~</caption>
- <input id="input1" ref="/root/hidden/ref/usdt" format="hh:nn:ss" style="left:206px; top:10px; width:54px; height:19px; "/>
- <input id="input2" ref="/root/hidden/ref/uedt" format="hh:nn:ss" style="left:378px; top:10px; width:57px; height:19px; "/>
- <input id="ipt_usdd" ref="/root/hidden/ref/usdd" class="input_search" inputtype="date" style="left:105px; top:10px; width:100px; height:19px; "/>
- <input id="ipt_uedd" ref="/root/hidden/ref/uedd" class="input_search" inputtype="date" style="left:277px; top:10px; width:100px; height:19px; "/>
- </group>
- <switch id="switch1" style="left:0px; top:140px; width:1190px; height:595px; ">
- <case id="case1" selected="true">
- <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; ">
- <col ref="tsectscrnnm" format="yyyy-mm-dd hh:mm"/>
- <col ref="tclsscrnnm"/>
- <col ref="spcscrnnm"/>
- <col ref="cnt"/>
- <col ref="nocnt"/>
- <col ref="avgs"/>
- <col ref="std"/>
- <col ref="mindt" format="hh:nn:ss"/>
- <col ref="maxdt" format="hh:nn:ss"/>
- <col ref="overcnt"/>
- <col ref="per"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_incgspc.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <line id="line1" class="line_1" style="x1:2px; y1:2px; x2:1178px; y2:2px; "/>
- </case>
- <case id="case2"/>
- </switch>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
- <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- <button id="btn_reset" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetInit();
- ]]>
- </script>
- </button>
- <button id="btn_excel" class="btn2_letter2" style="left:0px; top:5px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeExcel(datagrid1);
- ]]>
- </script>
- </button>
- </group>
- <group id="group2" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">TAT 조회</caption>
- </group>
- <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; ">
- <caption>건수통계</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- model.toggle("case1");
- model.setvalue("/root/hidden/casegbn" , "1");
- ]]>
- </script>
- </button>
- <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; ">
- <caption>상세내역</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- model.toggle("case2");
- model.setvalue("/root/hidden/casegbn" , "2");
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|