123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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>
- <dept>
- <datalist>
- <orddeptnm/>
- <medispclnm/>
- <yesterday_adm_cnt/>
- <today_in_cnt/>
- <today_dsch_cnt/>
- <today_indsch_cnt/>
- <today_dsch_daycnt/>
- <avrg_adm_cnt/>
- <change_add/>
- <change_redu/>
- <today_adm_cnt/>
- <spec_cnt/>
- <spec_ratio/>
- <orddeptcd/>
- </datalist>
- </dept>
- <ward>
- <datalist>
- <ward/>
- <ward_vip_tot/>
- <ward_vip_cnt/>
- <ward_1_tot/>
- <ward_1_cnt/>
- <ward_2_tot/>
- <ward_2_cnt/>
- <ward_3_tot/>
- <ward_3_cnt/>
- <ward_4_tot/>
- <ward_4_cnt/>
- <ward_5_tot/>
- <ward_5_cnt/>
- <ward_6_tot/>
- <ward_6_cnt/>
- <ward_7_tot/>
- <ward_7_cnt/>
- <ward_8_tot/>
- <ward_8_cnt/>
- <ward_sd_tot/>
- <ward_sd_cnt/>
- <ward_tot/>
- <ward_cnt/>
- <ward_use/>
- <avg_use/>
- </datalist>
- </ward>
- <wardbed>
- <datalist>
- <ward/>
- <incnt/>
- <admcnt/>
- <dschcnt/>
- </datalist>
- </wardbed>
- <weekday>
- <datalist>
- <fromdd/>
- <todd/>
- <gubn/>
- <mon/>
- <tue/>
- <wed/>
- <thu/>
- <fri/>
- <sat/>
- <sun/>
- <tot/>
- </datalist>
- </weekday>
- </main>
- <send>
- <statisticflag/>
- <fromdd/>
- <todd/>
- <srchflag/>
- <insukind/>
- <insukindyn/>
- </send>
- <hidden>
- <init/>
- </hidden>
- <init>
- <cond>
- <statisticflag/>
- <fromdd/>
- <todd/>
- <srchflag/>
- <insukind/>
- <insukindyn/>
- </cond>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- grd_d.colHidden(2) = true;
- // zbcfGetCodeList(new Array("P0008","P0021","P0341","P0022","P0020","P0029","P0344", "P0010"),
- // new Array("/root/init/comncdlist/P0008list","/root/init/comncdlist/P0021list","/root/init/comncdlist/P0341list","/root/init/comncdlist/P0022list","/root/init/comncdlist/P0020list"
- // ,"/root/init/comncdlist/P0029list","/root/init/comncdlist/P0344list", "/root/init/comncdlist/P0010list"));
- //
- // //진료과코드 진료의사ID 조회
- // pamGetDeptCDDrIDList();
- //초기화 및 날자 입력 항목에 오늘 날자 세팅
- fInitialize();
-
- ]]>
- </script>
- <submission id="TRPAMCOM01" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden" resultref="/root/hidden/init"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRPAM00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/hidden/tmp"/>
- <submission id="TRSTP00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
- </model>
- <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/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
- <script type="javascript" src="../../../pam/opatmngtweb/js/PMOCOM.js"/>
- <script type="javascript">
- <![CDATA[
-
- function fCheckSearchValues(){
-
- if( model.getValue("/root/send/pid") != '' || model.getValue("/root/send/hngnm") != '' || model.getValue("/root/send/rrgstno1") != '' ||
- model.getValue("/root/send/rrgstno2") != '' || model.getValue("/root/send/fromdd") != '' || model.getValue("/root/send/todd") != '' ||
- model.getValue("/root/send/orddept") != '' || model.getValue("/root/send/orddr") != '' || model.getValue("/root/send/statisticgooboon") != '' ||
- model.getValue("/root/send/department") != '' ){
-
- return true;
-
- }else{
-
- return false;
- }
- }
-
- function fInitialize() {
-
- model.resetInstanceNode("/root/send");
- model.resetInstanceNode("/root/main");
- model.resetInstanceNode("/root/init");
-
- // 날자 입력 항목에 오늘 날자 세팅
- var curDate = getCurrentDate();
-
- model.setValue("/root/init/cond/fromdd", curDate-1);
- model.setValue("/root/init/cond/todd", curDate-1);
-
- model.setValue("/root/init/cond/statisticflag", 'D');
-
- // 원무사용 기초코드 조회(진료과,의사,할인,미수코드)
- submit("TRPAMCOM01");
-
- // 보험유형 "전체" 설정
- addComboItem("combo1", "전체", "", "above");
-
- model.refresh();
- }
- // function fSearch(){
- //
- // if( model.getValue("/root/main/popupendflag") == "ok" ){
- // //인적사항에 변경이 있는지를 비교하기 위해서 tmp에 인적사항을 미리 저장해 놓는다.
- // model.makeNode("/root/hidden/tmpnode");
- // model.copyNode("/root/hidden/tmpnode", "/root/main/patinfo");
- //
- // //보험/감면/진료기록/신생하*산모내역 조회
- // model.setValue("/root/send/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
- // submit("TRPMC01401");
- // //model.makeNode("/root/main/popupendflag");
- // }
- // }
- function searchdepart(){
-
-
- for(var i=1; i<grd_reservationstatistic.rows ; i++){
- var tmpdepart = grd_reservationstatistic.valueMatrix(i , 1) ;
- var index =0;
- while(tmpdepart != (model.getValue("/root/init/orddeptcd/orddeptcdlist[" +index+ "]/cd") ) ){
- index++;
- if(index > 300) break;
- }
- if(model.getValue("/root/init/orddeptcd/orddeptcdlist[" +index+ "]/nm") ==""){
- messageBox("부서명과 " +model.getValue("/root/main/reservationstatistic/reservationstatisticlist["+i+"]/orddeptcd") +"이", "E004")
- }else if(model.getValue("/root/init/orddeptcd/orddeptcdlist[" +index+ "]/nm") !="") {
- model.setValue("/root/main/reservationstatistic/reservationstatisticlist[" +i+"]/orddeptcd",
- model.getValue("/root/init/orddeptcd/orddeptcdlist[" +index+ "]/nm") );
- }
- }
- }
-
- function GetGetRsrvDeptCD(){
- submit("TRPMO01504");
-
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="2,699;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group2" style="left:0px; top:15px; width:1180px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1170px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="search_name" style="left:16px; top:9px; width:86px; height:17px; ">기준일자 :</caption>
- <button id="button1" class="btn1_letter2" style="left:1099px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 집계 대상 테이블 변경으로 인한 주석처리 PAM.PMIMSPAT -> STS.SDCHADPT 수정 by 조중래 20150812
- // if( model.getValue("/root/init/cond/statisticflag") == "W") {
- // //병상 집계기준 일자와 통합통계 기준일자가 달라서 병상 집계기준일자에 1일을 더해준다.
- // var fromdate = model.getValue("/root/init/cond/fromdd");
- // var todate = model.getValue("/root/init/cond/todd");
- // var fromdd = ((fromdate.toDate("YYYYMMDD")).getAddDate(1, "D")).getDateFormat("YYYYMMDD") ;
- // var todd = ((todate.toDate("YYYYMMDD")).getAddDate(1, "D")).getDateFormat("YYYYMMDD") ;
- //
- // model.setValue("/root/send/fromdd", fromdd);
- // model.setValue("/root/send/todd", todd);
- // } else {
- // model.setValue("/root/send/fromdd", model.getValue("/root/init/cond/fromdd"));
- // model.setValue("/root/send/todd", model.getValue("/root/init/cond/todd"));
- // }
- model.setValue("/root/send/fromdd", model.getValue("/root/init/cond/fromdd"));
- model.setValue("/root/send/todd", model.getValue("/root/init/cond/todd"));
- model.setValue("/root/send/statisticflag", model.getValue("/root/init/cond/statisticflag"));
- model.setValue("/root/send/srchflag", model.getValue("/root/init/cond/srchflag"));
- model.setValue("/root/send/insukind", model.getValue("/root/init/cond/insukind"));
- model.setValue("/root/send/insukindyn", model.getValue("/root/init/cond/insukindyn"));
-
- model.resetInstanceNode("/root/main");
- // if( model.getValue("") == 'D' ){
- submit("TRSTP00701");
- grd_d.rebuild();
- grd_w.rebuild();
- grd_b.rebuild();
- grd_s.rebuild();
-
- // 병상별 환자현황 그리드 머지
- grd_w.mergeByFree(grd_w.rows-1,2,grd_w.rows-1,3);
- grd_w.mergeByFree(grd_w.rows-1,4,grd_w.rows-1,5);
- grd_w.mergeByFree(grd_w.rows-1,6,grd_w.rows-1,7);
- grd_w.mergeByFree(grd_w.rows-1,8,grd_w.rows-1,9);
- grd_w.mergeByFree(grd_w.rows-1,10,grd_w.rows-1,11);
- grd_w.mergeByFree(grd_w.rows-1,12,grd_w.rows-1,13);
- grd_w.mergeByFree(grd_w.rows-1,14,grd_w.rows-1,15);
- grd_w.mergeByFree(grd_w.rows-1,16,grd_w.rows-1,17);
- grd_w.mergeByFree(grd_w.rows-1,18,grd_w.rows-1,19);
- grd_w.mergeByFree(grd_w.rows-1,20,grd_w.rows-1,21);
- grd_w.mergeByFree(grd_w.rows-1,22,grd_w.rows-1,23);
-
- grd_w.mergeByFree(grd_w.rows-2,2,grd_w.rows-2,3);
- grd_w.mergeByFree(grd_w.rows-2,4,grd_w.rows-2,5);
- grd_w.mergeByFree(grd_w.rows-2,6,grd_w.rows-2,7);
- grd_w.mergeByFree(grd_w.rows-2,8,grd_w.rows-2,9);
- grd_w.mergeByFree(grd_w.rows-2,10,grd_w.rows-2,11);
- grd_w.mergeByFree(grd_w.rows-2,12,grd_w.rows-2,13);
- grd_w.mergeByFree(grd_w.rows-2,14,grd_w.rows-2,15);
- grd_w.mergeByFree(grd_w.rows-2,16,grd_w.rows-2,17);
- grd_w.mergeByFree(grd_w.rows-2,18,grd_w.rows-2,19);
- grd_w.mergeByFree(grd_w.rows-2,20,grd_w.rows-2,21);
- grd_w.mergeByFree(grd_w.rows-2,22,grd_w.rows-2,23);
-
-
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1090px; y1:7px; x2:1090px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <input id="ipt_pid" ref="/root/init/cond/fromdd" class="input_s_essential" inputtype="date" maxlength="8" style="left:105px; top:8px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- setInputNodeCurText();
- fOutHistRef();
- }
- ]]>
- </script>
- </input>
- <caption id="caption1" class="search_name" style="left:334px; top:9px; width:86px; height:17px; ">통계구분 :</caption>
- <select1 id="radio1" ref="/root/init/cond/statisticflag" appearance="full" cellspacing="5" cols="4" overflow="visible" style="left:423px; top:10px; width:432px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>입원환자 일계표</label>
- <value>D</value>
- </item>
- <item>
- <label>병상별 환자 현황</label>
- <value>W</value>
- </item>
- <item>
- <label>병동별 환자 현황</label>
- <value>B</value>
- </item>
- <item>
- <label>요일별 통계</label>
- <value>S</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var rsrvgubn = model.getValue("/root/init/cond/statisticflag");
-
- if (rsrvgubn == "D") {
- model.toggle("case_d");
- caption9.visible = false;
- combo1.visible = false;
- bool1.visible = false;
- } else if (rsrvgubn == "W") {
- model.toggle("case_w");
- caption9.visible = false;
- combo1.visible = false;
- bool1.visible = false;
- } else if (rsrvgubn == "B") {
- model.toggle("case_b");
- caption9.visible = true;
- combo1.visible = true;
- bool1.visible = true;
- } else if (rsrvgubn == "S") {
- model.toggle("case_s");
- caption9.visible = false;
- combo1.visible = false;
- bool1.visible = false;
- }
- ]]>
- </script>
- </select1>
- <input id="input1" ref="/root/init/cond/todd" class="input_s_essential" inputtype="date" maxlength="8" style="left:222px; top:8px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- setInputNodeCurText();
- fOutHistRef();
- }
- ]]>
- </script>
- </input>
- <caption id="caption3" style="left:208px; top:9px; width:25px; height:15px; ">~</caption>
- <select1 id="combo1" ref="/root/init/cond/insukind" visibility="hidden" appearance="minimal" style="left:978px; top:8px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/init/insukind">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption9" class="search_name" visibility="hidden" style="left:893px; top:9px; width:90px; height:17px; ">보험유형 :</caption>
- <bool id="bool1" visibility="hidden" checkvalue="Y,N" ref="/root/init/cond/insukindyn" style="left:874px; top:11px; width:15px; height:16px; "/>
- </group>
- <group id="grp_tle" style="left:0px; top:0px; width:1180px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:311px; height:14px; ">입원환자 일계표</caption>
- </group>
- <group id="group1" style="left:0px; top:50px; width:1180px; height:695px; ">
- <switch id="switch1" style="left:0px; top:0px; width:1180px; height:675px; border-color:#ffffff; border-left-color:#ffffff; border-top-color:#ffffff; border-right-color:#ffffff; border-bottom-color:#ffffff; border-width:0; border-style:solid; ">
- <case id="case_d" selected="true" style="border-style:none; ">
- <line id="line1" class="line_1" style="x1:0px; y1:28px; x2:1170px; y2:28px; "/>
- <datagrid id="grd_d" nodeset="/root/main/dept/datalist" class="datagrid2" caption="진료과^진료의사^전일재원수^입원환자수^퇴원환자수^당일입퇴원
환자수^퇴원연인원^전과증가^전과감소^금일재원수^평균
재원일수^선택진료수^선택진료비율^최종수정일시" colsep="^" colwidth="120, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90" dataheight="23" defaultrows="2" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:33px; width:1170px; height:640px; text-align:center; ">
- <col ref="orddeptnm"/>
- <col ref="medispclnm"/>
- <col ref="yesterday_adm_cnt" format="#,###" style="left:140px; top:23px; width:100px; height:23px; "/>
- <col ref="today_in_cnt" format="#,###"/>
- <col ref="today_dsch_cnt" format="#,###"/>
- <col ref="today_indsch_cnt" format="#,###"/>
- <col ref="today_dsch_daycnt" format="#,###"/>
- <col ref="change_add" format="#,###"/>
- <col ref="change_redu" format="#,###"/>
- <col ref="today_adm_cnt" format="#,###"/>
- <col ref="avrg_adm_cnt" format="#,###.##"/>
- <col ref="spec_cnt" format="#,###"/>
- <col ref="spec_ratio"/>
- </datagrid>
- <caption id="caption7" class="tit_2" style="left:5px; top:13px; width:140px; height:13px; ">입원환자 일계표</caption>
- <select id="chkDoct" ref="/root/init/cond/srchflag" overflow="visible" appearance="full" style="left:130px; top:9px; width:115px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>진료의사별 조회</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (chkDoct.value == "Y") {
- grd_d.colHidden(2) = false;
- } else {
- grd_d.colHidden(2) = true;
- }
- ]]>
- </script>
- </select>
- </case>
- <case id="case_w">
- <datagrid id="grd_w" nodeset="/root/main/ward/datalist" class="datagrid2" caption="병동^특실^특실^1인실^1인실^2인실^2인실^3인실^3인실^4인실^4인실^5인실^5인실^6인실^6인실^7인실^7인실^8인실^8인실^중환자실^중환자실^합계^합계^병동별 가동율(%)^평균 가동율(%)" colsep="^" colwidth="120, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 50, 50, 110, 110" dataheight="23" defaultrows="2" ellipsis="false" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:32px; width:1170px; height:640px; text-align:center; ">
- <col ref="ward" visibility="visible"/>
- <col disabled="true" ref="ward_vip_tot" visibility="visible" style="text-align:center; "/>
- <col ref="ward_vip_cnt" visibility="visible"/>
- <col ref="ward_1_tot" visibility="visible"/>
- <col ref="ward_1_cnt" visibility="visible"/>
- <col disabled="true" ref="ward_2_tot" visibility="visible" style="text-align:center; "/>
- <col disabled="true" ref="ward_2_cnt" visibility="visible"/>
- <col disabled="true" ref="ward_3_tot" visibility="visible"/>
- <col ref="ward_3_cnt" visibility="visible"/>
- <col ref="ward_4_tot" visibility="visible"/>
- <col ref="ward_4_cnt" visibility="visible"/>
- <col ref="ward_5_tot" visibility="visible"/>
- <col ref="ward_5_cnt" visibility="visible"/>
- <col ref="ward_6_tot" visibility="visible"/>
- <col ref="ward_6_cnt" visibility="visible"/>
- <col ref="ward_7_tot" visibility="visible"/>
- <col ref="ward_7_cnt" visibility="visible"/>
- <col ref="ward_8_tot" visibility="visible"/>
- <col ref="ward_8_cnt" visibility="visible"/>
- <col ref="ward_sd_tot" visibility="visible"/>
- <col ref="ward_sd_cnt" visibility="visible"/>
- <col ref="ward_tot" visibility="visible"/>
- <col ref="ward_cnt" visibility="visible"/>
- <col ref="ward_use" visibility="visible" format="999%"/>
- <col ref="avg_use" visibility="visible" format="999%"/>
- </datagrid>
- <line id="line2" class="line_1" style="x1:0px; y1:28px; x2:1170px; y2:29px; "/>
- <caption id="caption4" class="tit_2" style="left:5px; top:12px; width:140px; height:13px; ">병상별 환자 현황</caption>
- </case>
- <case id="case_b">
- <datagrid id="grd_b" nodeset="/root/main/wardbed/datalist" class="datagrid2" caption="병동^입원^재원^퇴원^보험유형" colsep="^" colwidth="100, 100, 100, 100, 100" dataheight="23" defaultrows="2" ellipsis="false" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:32px; width:1170px; height:640px; text-align:center; ">
- <col ref="ward" visibility="visible"/>
- <col ref="incnt" visibility="visible" format="#,###"/>
- <col ref="admcnt" visibility="visible" format="#,###"/>
- <col ref="dschcnt" visibility="visible" format="#,###"/>
- <col ref="insukind" visibility="visible"/>
- </datagrid>
- <line id="line3" class="line_1" style="x1:0px; y1:28px; x2:1170px; y2:29px; "/>
- <caption id="caption5" class="tit_2" style="left:5px; top:12px; width:140px; height:13px; ">병동별 환자 현황</caption>
- </case>
- <case id="case_s">
- <datagrid id="grd_s" nodeset="/root/main/weekday/datalist" class="datagrid2" caption="시작일^종료일^구분^월요일^화요일^수요일^목요일^금요일^토요일^일요일^합계" colsep="^" colwidth="100, 100, 150, 75, 75, 75, 75, 75, 75, 75, 75" dataheight="23" defaultrows="2" ellipsis="false" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:32px; width:1170px; height:640px; text-align:center; ">
- <col ref="fromdd" visibility="visible" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="todd" visibility="visible" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="gubn" visibility="visible" style="text-align:left; "/>
- <col ref="mon" visibility="visible" format="#,###" style="text-align:center; "/>
- <col ref="tue" visibility="visible" format="#,###" style="text-align:center; "/>
- <col ref="wed" visibility="visible" format="#,###" style="text-align:center; "/>
- <col ref="thu" visibility="visible" format="#,###" style="text-align:center; "/>
- <col ref="fri" visibility="visible" format="#,###" style="text-align:center; "/>
- <col ref="sat" visibility="visible" format="#,###" style="text-align:center; "/>
- <col ref="sun" visibility="visible" format="#,###" style="text-align:center; "/>
- <col ref="tot" visibility="visible" format="#,###" style="text-align:center; "/>
- </datagrid>
- <line id="line4" class="line_1" style="x1:0px; y1:28px; x2:1170px; y2:29px; "/>
- <caption id="caption8" class="tit_2" style="left:5px; top:12px; width:140px; height:13px; ">요일별 통계</caption>
- </case>
- </switch>
- <button id="btn_updtexcel" class="btn2_letter4" style="left:1104px; top:6px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (radio1.value == "D") {
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_d.saveExcel(fileName, "SheetName", true, true, "", "");
- }
-
- } else if (radio1.value == "W") {
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_w.saveExcel(fileName, "병상별 환자 현황", true, true, "", "");
- }
- } else if (radio1.value == "B") {
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_b.saveExcel(fileName, "병동별 환자 현황", true, true, "", "");
- }
- } else if (radio1.value == "S") {
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_s.saveExcel(fileName, "요일별 통계", true, true, "", "");
- }
- }
-
- window.exec(fileName);
- ]]>
- </script>
- </button>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:730px; width:1180px; height:28px; ">
- <button id="btn_clear" class="btn4_letter3" style="left:1106px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // model.resetInstanceNode("/root/send");
- // model.resetInstanceNode("/root/main/patinforgst/patinforgstlist");
- //
- // var curDate = getCurrentDate();
- // model.setValue("/root/send/fromdd", curDate);
- // model.setValue("/root/send/todd", curDate);
- //
- // model.refresh();
-
- fInitialize();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|