123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMPCT00400_외래진료UNIT분석.xrw
- * 설 명 : 외래진료UNIT분석
- * 설 계 자 : 유정란
- * 작 성 자 : 유정란
- * 작 성 일 : 2009.08.20
- * 수정이력 :
- * 기 타 :
- -->
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <?xml-stylesheet href="C:/CMCProject/application/webapps/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>외래진료UNIT분석</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <gridlist>
- <grid>
- <col1/>
- <col2/>
- <col3/>
- <col4/>
- <col5/>
- <col6/>
- <col7/>
- <col8/>
- <col9/>
- <col10/>
- <col11/>
- <col12/>
- <col13/>
- <col14/>
- <col15/>
- </grid>
- </gridlist>
- <gridlist2>
- <grid>
- <col1/>
- <col2/>
- <col3/>
- <col4/>
- <col5/>
- </grid>
- </gridlist2>
- </main>
- <send>
- <data1/>
- </send>
- <init>
- <joblevel>
- <cdid/>
- <cdnm/>
- <srt/>
- </joblevel>
- </init>
- <init2>
- <init>
- <orddeptcd>
- <cd/>
- <nm/>
- </orddeptcd>
- <orddrid>
- <cd/>
- <nm/>
- <dp/>
- </orddrid>
- <centcd>
- <cd/>
- <nm/>
- </centcd>
- </init>
- </init2>
- <hidden>
- <condition1/>
- <condition2/>
- <condition3/>
- <condition4/>
- <svrnm/>
- <joblevel/>
- <centcd/>
- <orddeptcd/>
- <orddrid/>
- <opt2/>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- submit("TRPCTCOM02");
-
- fInitialize2();
- fInitialize();
-
- model.resetInstanceNode("/root/hidden/opt2");
- fOutComboSet();
-
- submit("TRPCTCOM03");
- ]]>
- </script>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../pam/pamctlweb/js/PCTCOM.js"/>
- <script type="javascript">
- <![CDATA[
- function fInitialize2(){
- model.removeNodeset("/root/main/gridlist2/grid");
- }
- ]]>
- </script>
- <submission id="TRPCTCOM01" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main"/>
- <submission id="TRPCTCOM03" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/init"/>
- <submission id="TRPCTCOM02" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/init2/init"/>
- </model>
- </xhtml:head>
- <xhtml:body>
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:16px; width:1193px; height:30px; "/>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:215px; height:14px; ">외래진료UNIT분석</caption>
- <input id="input1" ref="/root/hidden/condition1" inputtype="date" style="left:120px; top:22px; width:100px; height:19px; "/>
- <input id="input2" ref="/root/hidden/condition2" inputtype="date" style="left:222px; top:22px; width:100px; height:19px; "/>
- <datagrid id="datagrid1" nodeset="/root/main/gridlist/grid" caption="위치^센터^진료과^세부과^진료의^직급^계획sess^실제sess^휴진^임시진료^대체진료^병초환자수^과초환자수^재진환자수^sess당환자수" colwidth="70, 130, 131, 106, 71, 77, 59, 59, 48, 58, 60, 70, 69, 76, 86" mergecellsfixedrows="bycolrec" rowsep="|" colsep="^" style="left:1px; top:54px; width:1193px; height:672px; ">
- <col ref="col1"/>
- <col ref="col2"/>
- <col ref="col3"/>
- <col ref="col4"/>
- <col ref="col5"/>
- <col ref="col6"/>
- <col ref="col7"/>
- <col ref="col8"/>
- <col ref="col9"/>
- <col ref="col10"/>
- <col ref="col11"/>
- <col ref="col12"/>
- <col ref="col13"/>
- <col ref="col14"/>
- <col ref="col15"/>
- </datagrid>
- <button id="button1" class="btn1_letter2" style="left:1045px; top:22px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.resetInstanceNode("/root/hidden/condition4");
- var joblevel = model.getValue("/root/hidden/joblevel");
- if (joblevel != "" && joblevel != " " && joblevel != null){
- var srt = model.getValue("/root/init/joblevel[ cdid = '" + joblevel + "']/srt");
- srt = eval(srt);
-
- var scondition4 = "";
- for (start_i = srt; start_i >= 1 ; start_i--){
- // A','B','C','D
- if (start_i == 1){
- scondition4 = scondition4 + model.getValue("/root/init/joblevel[ srt = '" + start_i + "']/cdid");
- }
- else{
- scondition4 = scondition4 + model.getValue("/root/init/joblevel[ srt = '" + start_i + "']/cdid") + "','";
- }
- }
- model.setValue("/root/hidden/condition4",scondition4);
- }
-
- fSearch("getUNIT");
-
- datagrid1.subtotal("sum", -1, 6, "format:#,###; roundmode:round; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; font-weight:bold; ", 6, "* Total *", false);
- datagrid1.subtotal("sum", -1, 7, "format:#,###; roundmode:round; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; font-weight:bold; ", 7, "* Total *", false);
- datagrid1.subtotal("sum", -1, 8, "format:#,###; roundmode:round; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; font-weight:bold; ", 8, "* Total *", false);
- datagrid1.subtotal("sum", -1, 9, "format:#,###; roundmode:round; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; font-weight:bold; ", 9, "* Total *", false);
- datagrid1.subtotal("sum", -1, 10, "format:#,###; roundmode:round; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; font-weight:bold; ", 10, "* Total *", false);
- datagrid1.subtotal("sum", -1, 11, "format:#,###; roundmode:round; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; font-weight:bold; ", 11, "* Total *", false);
- datagrid1.subtotal("sum", -1, 12, "format:#,###; roundmode:round; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; font-weight:bold; ", 12, "* Total *", false);
- datagrid1.subtotal("sum", -1, 13, "format:#,###; roundmode:round; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; font-weight:bold; ", 13, "* Total *", false);
- //datagrid1.subtotal("sum", -1, 14, "format:#,###; roundmode:round; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; font-weight:bold; ", 14, "* Total *", false);
-
- //datagrid1.mergecells = "byrestriccol";
- //model.refresh();
-
- ]]>
- </script>
- </button>
- <datagrid id="datagrid2" nodeset="/root/main/gridlist2/grid" caption="국내학회^국외학회^휴가^기타^합계" colwidth="100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" colsep="^" style="left:1px; top:728px; width:1193px; height:48px; ">
- <col ref="col1"/>
- <col ref="col2"/>
- <col ref="col3"/>
- <col ref="col4"/>
- <col ref="col5"/>
- </datagrid>
- <caption id="caption1" style="left:45px; top:22px; width:65px; height:20px; ">조회기간</caption>
- <button id="button2" class="btn2_letter4" style="left:1120px; top:22px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (getNodesetCount("/root/main/gridlist/grid") < 1 && datagrid1.rows < 1){
- messageBox("저장할 데이터가 없습니다!", "E999");
- return;
- }
-
- var fileName = window.fileDialog("save", "", false, "외래진료UNIT분석", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != ""){
- datagrid1.saveExcel(fileName, "외래진료UNIT분석", true, false, "", "", true);
- }
- ]]>
- </script>
- </button>
- <select1 id="combo1" ref="/root/hidden/joblevel" appearance="minimal" style="left:910px; top:22px; width:130px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/joblevel">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption2" style="left:855px; top:22px; width:55px; height:20px; ">의사직급</caption>
- <line id="line12" class="line_1" style="x1:0px; y1:49px; x2:1194px; y2:49px; "/>
- <select1 id="cmb_orddrid" ref="/root/hidden/orddrid" appearance="minimal" style="left:761px; top:22px; width:79px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init2/init/orddrid">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fOutOrddridVrf();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_centcd" ref="/root/hidden/centcd" appearance="minimal" style="left:590px; top:22px; width:170px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init2/init/centcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_orddeptcd" ref="/root/hidden/orddeptcd" appearance="minimal" style="left:590px; top:22px; width:170px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init2/init/orddeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fOutOrddridFilter("2");
- ]]>
- </script>
- </select1>
- <select1 id="radio2" ref="/root/hidden/opt2" overflow="visible" appearance="full" cols="4" style="left:355px; top:23px; width:220px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>센터</label>
- <value>1</value>
- </item>
- <item>
- <label>진료과</label>
- <value>2</value>
- </item>
- <item>
- <label>진료의사</label>
- <value>3</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fOutComboSet();
- ]]>
- </script>
- </select1>
- </xhtml:body>
- </xhtml:html>
|