123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- * 제 목 : SMMCT00106_외래진료예약시간준수.xrw
- * 설 명 : 외래진료예약시간준수
- * 설 계 자 : 손주연
- * 작 성 자 : 손주연
- * 작 성 일 : 2009.09.12
- * 수정이력 :
- * 기 타 :
- -->
- <?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>외래진료예약 준수</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <condition>
- <fromdd/>
- <todd/>
- <oproomcd/>
- <subdeptcd/>
- <orddrid>R</orddrid>
- <tab>R</tab>
- <inrmtm>0800</inrmtm>
- </condition>
- <oproomuserateinfo>
- <oproomuseratelist>
- <oproomnm/>
- <regtm/>
- <realoptime/>
- <optime/>
- <userate/>
- <useratetotal/>
- <mainopcnt/>
- <opcnt/>
- </oproomuseratelist>
- </oproomuserateinfo>
- <opdeptdoctopinfo>
- <opdeptdoctoplist>
- <deptengabbr/>
- <perfdrnm/>
- <realoptime/>
- <optime/>
- <mainopcnt/>
- <opcnt/>
- </opdeptdoctoplist>
- </opdeptdoctopinfo>
- </main>
- <send>
- <fromdd/>
- <todd/>
- <oproomcd/>
- <subdeptcd/>
- <orddrid/>
- <tab/>
- <inrmtm/>
- </send>
- <init>
- <orddeptlist/>
- <info/>
- <orddr/>
- <oproominfo>
- <oproomlist>
- <cd/>
- <nm/>
- </oproomlist>
- </oproominfo>
- </init>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../emr/emrctlweb/js/SMMCT00200.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInit();
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZSD00206" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRMCT00200" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/oproomuserateinfo"/>
- <submission id="TRMNO00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/orddr"/>
- <submission id="TRMCT00206" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/opdeptdoctopinfo"/>
- <submission id="TRMCT00207" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/oproominfo"/>
- <submission id="TRMCT00208" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/orddeptlist"/>
- </model>
- </xhtml:head>
- <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; ">
- <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; ">
- <col ref="deptengabbr" style="text-align:center; "/>
- <col ref="perfdrnm" style="text-align:center; "/>
- <col ref="realoptime" style="text-align:center; "/>
- <col ref="optime" style="text-align:center; "/>
- <col ref="mainopcnt" style="text-align:center; "/>
- <col ref="opcnt" style="text-align:center; "/>
- </datagrid>
- <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; ">
- <col ref="oproomnm" style="text-align:center; "/>
- <col ref="regtm" style="text-align:center; "/>
- <col ref="realoptime" style="text-align:center; "/>
- <col ref="optime" style="text-align:center; "/>
- <col ref="userate" style="text-align:center; "/>
- <col ref="useratetotal" style="text-align:center; "/>
- <col ref="mainopcnt" style="text-align:center; "/>
- <col ref="opcnt" style="text-align:center; "/>
- </datagrid>
- <caption id="cap_title" class="tit_1" style="left:0px; top:0px; width:300px; height:14px; ">수술방별 가동율</caption>
- <shape id="roundrect1" appearance="roundrect" style="left:0px; top:20px; width:1194px; height:40px; "/>
- <button id="btn_req" class="btn1_letter2" navindex="8" style="left:1125px; top:30px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fClickSearchBtn();
- ]]>
- </script>
- </button>
- <line id="line5" style="x1:1118px; y1:30px; x2:1118px; y2:52px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption20" class="tit_2" style="left:0px; top:67px; width:270px; height:14px; ">수술방별, 과별/의사별</caption>
- <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; "/>
- <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; "/>
- <caption id="caption8" style="left:299px; top:34px; width:15px; height:15px; ">~</caption>
- <caption id="caption9" class="search_name" style="left:145px; top:32px; width:86px; height:17px; ">기간 :</caption>
- <caption id="caption14" class="search_name" style="left:591px; top:33px; width:66px; height:17px; ">진료과</caption>
- <select1 id="cmb_subdept" ref="/root/main/condition/subdeptcd" class="combo" navindex="5" appearance="minimal" style="left:660px; top:33px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddeptlist/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fValueChangedOrddrCombo();
- ]]>
- </script>
- </select1>
- <caption id="caption7" class="search_name" style="left:421px; top:33px; width:66px; height:17px; ">수술방</caption>
- <caption id="caption1" class="search_name" style="left:791px; top:33px; width:76px; height:17px; ">집도의</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:85px; x2:1187px; y2:85px; "/>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/orddr/orddr">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption2" class="search_name" style="left:5px; top:32px; width:65px; height:17px; ">검색 :</caption>
- <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; ">
- <choices>
- <item>
- <label>방별</label>
- <value>R</value>
- </item>
- <item>
- <label>과별</label>
- <value>E</value>
- </item>
- <item>
- <label>과/의사별</label>
- <value>D</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fValueChangedSchCombo();
- ]]>
- </script>
- </select1>
- <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; ">
- <choices>
- <item>
- <label>07:30</label>
- <value>0730</value>
- </item>
- <item>
- <label>07:40</label>
- <value>0740</value>
- </item>
- <item>
- <label>07:50</label>
- <value>0750</value>
- </item>
- <item>
- <label>08:00</label>
- <value>0800</value>
- </item>
- </choices>
- </select1>
- <caption id="caption3" class="search_name" style="left:951px; top:33px; width:76px; height:17px; ">입실시간</caption>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/oproominfo/oproomlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <button id="button1" class="btn2_letter2" style="left:1145px; top:65px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var title = "";
- var tab = model.getValue("/root/main/condition/tab");
- var fileName = "";
-
- if(tab == "R") {
- title = "수술방별가동율(방별)_"+getCurrentDate();
- fileName = window.fileDialog("save", ",", false, title, "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- } else if(tab == "E") {
- title = "수술방별가동율(과별)_"+getCurrentDate();
- fileName = window.fileDialog("save", ",", false, title, "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- } else {
- title = "수술방별가동율(의사별)_"+getCurrentDate();
- fileName = window.fileDialog("save", ",", false, title, "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- }
-
- if (fileName != ""){
- if(tab == "R") {
- grd_oproomuseratelst.saveExcel(fileName, title, true, true, "", "", false);
- } else if(tab == "E" || tab == "D") {
- grd_opdeptdoctlist.saveExcel(fileName, "sheetname: "+title+"; colhiddenextend: false; rowhiddenextend: true;");
- }
-
- var s = fileName.lastIndexOf("\\");
- var fileName=fileName.substring(s+1);
-
- var rmsg = messageBox("저장된 Excel을", "Q004");
- if( rmsg == 6 ){
- window.exec("excel.exe", fileName);
- }
- }
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|