123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?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>
- <list>
- <item>
- <month/>
- <excuroomnm/>
- <eqmtnm/>
- <day01/>
- <day02/>
- <day03/>
- <day04/>
- <day05/>
- <day06/>
- <day07/>
- <day08/>
- <day09/>
- <day10/>
- <day11/>
- <day12/>
- <day13/>
- <day14/>
- <day15/>
- <day16/>
- <day17/>
- <day18/>
- <day19/>
- <day20/>
- <day21/>
- <day22/>
- <day23/>
- <day24/>
- <day25/>
- <day26/>
- <day27/>
- <day28/>
- <day29/>
- <day30/>
- <day31/>
- <total/>
- <rate/>
- </item>
- </list>
- <sublist>
- <item>
- <month/>
- <excuroomnm/>
- <eqmtnm/>
- <day01/>
- <day02/>
- <day03/>
- <day04/>
- <day05/>
- <day06/>
- <day07/>
- <day08/>
- <day09/>
- <day10/>
- <day11/>
- <day12/>
- <day13/>
- <day14/>
- <day15/>
- <day16/>
- <day17/>
- <day18/>
- <day19/>
- <day20/>
- <day21/>
- <day22/>
- <day23/>
- <day24/>
- <day25/>
- <day26/>
- <day27/>
- <day28/>
- <day29/>
- <day30/>
- <day31/>
- <total/>
- </item>
- </sublist>
- <examsum>
- <isum/>
- <osum/>
- <total/>
- </examsum>
- <execprescondlist>
- <execprescond>
- <prcpdd/>
- <pid/>
- <hngnm/>
- <age/>
- <sex/>
- <depthngnm/>
- <excucdnm/>
- <rgstdt/>
- <excuexecfromdt/>
- <excuexectodt/>
- <progtm/>
- <totexeccnt/>
- <usernm/>
- <roomcd/>
- </execprescond>
- </execprescondlist>
- </main>
- <send>
- <srchdate/>
- <globalinstance>
- <instance1/>
- </globalinstance>
- <suppdeptcd/>
- <excuroomgrpcdid/>
- <srchflag/>
- <fromdd/>
- <todd/>
- <excuroomgrppat/>
- <excuroomcd/>
- </send>
- <inti>
- <cmb_info/>
- </inti>
- <hidden/>
- <inti_com>
- <srchdate/>
- </inti_com>
- </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/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.removenode("/root/main/list");
- model.removenode("/root/main/sublist");
-
- aezfSetSuppDeptcd();
- // 진료과/진료의 조회
- model.setValue("/root/send/suppdeptcd", model.getValue("/root/send/globalinstance/instance1"));
- model.setValue("/root/send/srchdate", getCurrentDate().substr(0,6));
- model.removenode("/root/main/list");
- model.removeNodeset("/root/main/execprescondlist/execprescond");
- model.setValue("/root/send/fromdd", getCurrentDate());
- model.setValue("/root/send/todd", getCurrentDate());
- submit("TRAEA01201");
- cmb_excuroom.select(0);
- model.refresh();
-
- submit("TRAES09001", false);
- btn_case1.selected = true;
- model.toggle("case1");
- model.setValue("/root/send/srchflag","A");
- addComboItem("cmb_excuroomgrp","--전체--","","above");
- mkDate();
-
- model.refresh();
- ]]>
- </script>
- <submission id="TRAES09001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init"/>
- <submission id="TRAES02901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main"/>
- <submission id="TRAES02902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/sublist"/>
- <submission id="TRAAA00001"/>
- <submission id="TRAEA01201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/globalinstance/instance1" replace="instance" resultref="/root/init/cmb_info"/>
- <submission id="TRAES02903" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/execprescondlist"/>
- <submission id="TRAEA01418" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden/cmb_info"/>
- </model>
- <script type="javascript">
- <![CDATA[
- function mkDate(){
- var startyy = "";
-
- for(i=8; 0<=i; i--) {
- startyy = getCurrentDate().toDate().getAddDate(-i,"Y").getDateFormat().substr(0,4);
- addComboItem("cmb_srchdd",startyy +"년",startyy,"above");
- }
- cmb_srchdd.value = getCurrentDate().substr(0,4);
- }
-
- // 장비가동율 조회
- function getNmedEqmtUseRateList(){
- model.removenode("/root/main/list");
- model.removenode("/root/main/sublist");
-
- submit("TRAES02901")
-
- button3.dispatch("DOMActivate");
- // if (btn_case1.selected == true) {
- // submit("TRAES02901")
- // } else {
- // submit("TRAES02902")
- // }
-
- // if (submit("TRAES02901")) {
- // var cnt = getNodesetCount("/root/main/list/item");
- //
- // if (cnt > 1) {
- //
- // grd_list.colSort(0) = "asc";
- // grd_list.sort(0, 0, grd_list.rows, grd_list.cols) = "usersort";
- //
- // for(i=2; i<35; i++) {
- // grd_list.subtotal("sum", 1, i, "#,###", "background-color:#FFFFCC; color:#0000ff; font-weight:bold; ", 2, "소계");
- // grd_list.subtotal("sum", -1, i, "#,###", "background-color:#CCFFCC; color:#0000ff; font-weight:bold; ", 1, "총계");
- // }
- // grd_list.mergeByFree(grd_list.rows-1, 1 , grd_list.rows-1, 2);
- // model.refresh();
- // }
- // }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1211" pageheight="784" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:335px; height:14px; ">장비가동률 통계</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <button id="btn_excsave" class="btn2_letter4" visibility="visible" style="left:1125px; top:45px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "") {
- if (btn_case1.selected == true) {
- grd_list.saveExcel(fileName);
- } else {
- if (button2.selected == true) {
- grd_sublist.saveExcel(fileName);
- }else{
- grd_mainordlist.saveExcel(fileName);
- }
- }
- }
- ]]>
- </script>
- </button>
- <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:30px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:30px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line13" class="line_4" style="x1:1110px; y1:5px; x2:1110px; y2:25px; "/>
- <button id="btn_sea" class="btn1_letter2" navindex="4" style="left:1120px; top:4px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- getNmedEqmtUseRateList();
- ]]>
- </script>
- </button>
- <caption id="caption3" class="search_name" style="left:25px; top:7px; width:60px; height:17px; ">일자 :</caption>
- <select1 id="cmb_excuroomgrp" ref="/root/send/excuroomgrpcdid" class="combo_default" appearance="minimal" style="left:295px; top:6px; width:118px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/initexcuroomgrp">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- getNmedEqmtUseRateList();
- submit("TRAEA01418", false);
- cmb_excuroom.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption7" class="search_name" style="left:215px; top:7px; width:80px; height:17px; ">검사실 :</caption>
- <select1 id="cmb_srchdd" ref="/root/send/srchdate" appearance="minimal" style="left:97px; top:6px; width:73px; height:19px; ">
- <choices>
- <itemset nodeset="/root/inti_com/srchdate/item">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- getNmedEqmtUseRateList();
- ]]>
- </script>
- </select1>
- </group>
- <line id="line1" class="line_1" style="x1:7px; y1:70px; x2:1192px; y2:70px; "/>
- <button id="button1" class="btn_sw" group="tab2" style="left:127px; top:49px; width:60px; height:22px; ">
- <caption>가동시간</caption>
- <toggle case="case3" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- model.toggle("case3");
-
-
- ]]>
- </script>
- </button>
- <button id="button2" class="btn_sw" group="tab2" style="left:67px; top:49px; width:60px; height:22px; ">
- <caption>환자수</caption>
- <toggle case="case1" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // model.setValue("/root/send/srchflag","B");
- model.toggle("case2");
- ]]>
- </script>
- </button>
- <button id="btn_case1" class="btn_sw" group="tab2" style="left:7px; top:49px; width:60px; height:22px; ">
- <caption>가동율</caption>
- <toggle case="case1" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // model.setValue("/root/send/srchflag","A");
- model.toggle("case1");
- ]]>
- </script>
- </button>
- <switch id="switch1" style="left:7px; top:75px; width:1185px; height:664px; ">
- <case id="case1" style="left:0px; top:0px; width:1183px; height:662px; ">
- <datagrid id="grd_list" nodeset="/root/main/list/item" caption="월^검사실^장비명^1일^2일^3일^4일^5일^6일^7일^8일^9일^10일^11일^12일^13일^14일^15일^16일^17일^18일^19일^20일^21일^22일^23일^24일^25일^26일^27일^28일^29일^30일^31일^합계^가동률" colsep="^" colwidth="35, 110, 120, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 60, 60" frozencols="3" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" multitotal="true" rowheader="seq" rowsep="|" subtotalposition="below" tooltip="true" style="left:0px; top:0px; width:1180px; height:660px; ">
- <col ref="month" style="text-align:center; "/>
- <col ref="excuroomnm" style="text-align:left; "/>
- <col ref="eqmtnm"/>
- <col ref="day01" format="#,###" style="text-align:right; "/>
- <col ref="day02" format="#,###" style="text-align:right; "/>
- <col ref="day03" format="#,###" style="text-align:right; "/>
- <col ref="day04" format="#,###" style="text-align:right; "/>
- <col ref="day05" format="#,###" style="text-align:right; "/>
- <col ref="day06" format="#,###" style="text-align:right; "/>
- <col ref="day07" format="#,###" style="text-align:right; "/>
- <col ref="day08" format="#,###" style="text-align:right; "/>
- <col ref="day09" format="#,###" style="text-align:right; "/>
- <col ref="day10" format="#,###" style="text-align:right; "/>
- <col ref="day11" format="#,###" style="text-align:right; "/>
- <col ref="day12" format="#,###" style="text-align:right; "/>
- <col ref="day13" format="#,###" style="text-align:right; "/>
- <col ref="day14" format="#,###" style="text-align:right; "/>
- <col ref="day15" format="#,###" style="text-align:right; "/>
- <col ref="day16" format="#,###" style="text-align:right; "/>
- <col ref="day17" format="#,###" style="text-align:right; "/>
- <col ref="day18" format="#,###" style="text-align:right; "/>
- <col ref="day19" format="#,###" style="text-align:right; "/>
- <col ref="day20" format="#,###" style="text-align:right; "/>
- <col ref="day21" format="#,###" style="text-align:right; "/>
- <col ref="day22" format="#,###" style="text-align:right; "/>
- <col ref="day23" format="#,###" style="text-align:right; "/>
- <col ref="day24" format="#,###" style="text-align:right; "/>
- <col ref="day25" format="#,###" style="text-align:right; "/>
- <col ref="day26" format="#,###" style="text-align:right; "/>
- <col ref="day27" format="#,###" style="text-align:right; "/>
- <col ref="day28" format="#,###" style="text-align:right; "/>
- <col ref="day29" format="#,###" style="text-align:right; "/>
- <col ref="day30" format="#,###" style="text-align:right; "/>
- <col ref="day31" format="#,###" style="text-align:right; "/>
- <col ref="total" format="#,###" style="text-align:right; "/>
- <col ref="rate" style="text-align:right; "/>
- </datagrid>
- </case>
- <case id="case2">
- <datagrid id="grd_sublist" nodeset="/root/main/sublist/item" caption="월^검사실^장비명^1일^2일^3일^4일^5일^6일^7일^8일^9일^10일^11일^12일^13일^14일^15일^16일^17일^18일^19일^20일^21일^22일^23일^24일^25일^26일^27일^28일^29일^30일^31일^합계" colsep="^" colwidth="35, 110, 120, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 60" frozencols="3" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" multitotal="true" rowheader="seq" rowsep="|" subtotalposition="below" tooltip="true" style="left:0px; top:0px; width:1180px; height:660px; ">
- <col ref="month" style="text-align:center; "/>
- <col ref="excuroomnm" style="text-align:left; "/>
- <col ref="eqmtnm"/>
- <col ref="day01" format="#,###" style="text-align:right; "/>
- <col ref="day02" format="#,###" style="text-align:right; "/>
- <col ref="day03" format="#,###" style="text-align:right; "/>
- <col ref="day04" format="#,###" style="text-align:right; "/>
- <col ref="day05" format="#,###" style="text-align:right; "/>
- <col ref="day06" format="#,###" style="text-align:right; "/>
- <col ref="day07" format="#,###" style="text-align:right; "/>
- <col ref="day08" format="#,###" style="text-align:right; "/>
- <col ref="day09" format="#,###" style="text-align:right; "/>
- <col ref="day10" format="#,###" style="text-align:right; "/>
- <col ref="day11" format="#,###" style="text-align:right; "/>
- <col ref="day12" format="#,###" style="text-align:right; "/>
- <col ref="day13" format="#,###" style="text-align:right; "/>
- <col ref="day14" format="#,###" style="text-align:right; "/>
- <col ref="day15" format="#,###" style="text-align:right; "/>
- <col ref="day16" format="#,###" style="text-align:right; "/>
- <col ref="day17" format="#,###" style="text-align:right; "/>
- <col ref="day18" format="#,###" style="text-align:right; "/>
- <col ref="day19" format="#,###" style="text-align:right; "/>
- <col ref="day20" format="#,###" style="text-align:right; "/>
- <col ref="day21" format="#,###" style="text-align:right; "/>
- <col ref="day22" format="#,###" style="text-align:right; "/>
- <col ref="day23" format="#,###" style="text-align:right; "/>
- <col ref="day24" format="#,###" style="text-align:right; "/>
- <col ref="day25" format="#,###" style="text-align:right; "/>
- <col ref="day26" format="#,###" style="text-align:right; "/>
- <col ref="day27" format="#,###" style="text-align:right; "/>
- <col ref="day28" format="#,###" style="text-align:right; "/>
- <col ref="day29" format="#,###" style="text-align:right; "/>
- <col ref="day30" format="#,###" style="text-align:right; "/>
- <col ref="day31" format="#,###" style="text-align:right; "/>
- <col ref="total" format="#,###" style="text-align:right; "/>
- </datagrid>
- </case>
- <case id="case3" selected="true">
- <datagrid id="grd_mainordlist" nodeset="/root/main/execprescondlist/execprescond" caption="처방일자^등록번호^환자명^나이^성별^처방과^처방명^처방등록일시^검사시작일자^검사종료일자^가동시간^실시자^병실" colsep="^" colwidth="74, 63, 62, 42, 32, 108, 252, 121, 126, 129, 65, 63, 69" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" subtotalposition="below" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:5px; top:45px; width:1170px; height:610px; ">
- <col ref="prcpdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="pid"/>
- <col ref="hngnm"/>
- <col ref="age" style="text-align:center; "/>
- <col ref="sex" style="text-align:center; "/>
- <col ref="depthngnm"/>
- <col ref="excucdnm"/>
- <col ref="rgstdt" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
- <col ref="excuexecfromdt" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
- <col ref="excuexectodt" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
- <col ref="totexeccnt" style="text-align:right; "/>
- <col ref="usernm"/>
- <col ref="roomcd"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- // grd_mainordlist.gridToInstance();
- // model.refresh();
- ]]>
- </script>
- </datagrid>
- <group id="group1" style="left:5px; top:5px; width:1170px; height:40px; vertical-align:top; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1166px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="search_name" style="left:10px; top:10px; width:94px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">기준일자 :</caption>
- <line id="line2" class="line_4" style="x1:1080px; y1:7px; x2:1080px; y2:29px; "/>
- <button id="button3" class="btn1_letter2" style="left:1094px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRAES02903");
-
- grd_mainordlist.subtotal("clear", 0, 0);
- grd_mainordlist.subtotal("sum", -1, grd_mainordlist.colRef("progtm"), "#,###", "font-weight:bold;background-color:#c8e67b;",1, "Total");
- grd_mainordlist.subtotal("sum", -1, grd_mainordlist.colRef("totexeccnt"), "#,###", "font-weight:bold;background-color:#c8e67b;",1, "Total");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_todd" ref="/root/send/todd" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:200px; top:8px; width:91px; height:19px; "/>
- <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:104px; top:8px; width:91px; height:19px; "/>
- <select1 id="cmb_excuroom" ref="/root/send/excuroomcd" class="combo_default" navindex="3" appearance="minimal" style="left:585px; top:8px; width:142px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/cmb_info/excuroom/initexcuroom">
- <label ref="excuroomcdnm"/>
- <value ref="excuroomcdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- // 초기화
- model.resetInstanceNode("/root/main/execprescondlist/execprescond");
- model.refresh();
- button3.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <select1 id="cmb_excuroomgrppat" ref="/root/send/excuroomgrpcdid" class="combo_default" appearance="minimal" style="left:465px; top:8px; width:118px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/initexcuroomgrp">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- submit("TRAEA01418", false);
- cmb_excuroom.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption1" class="search_name" style="left:385px; top:10px; width:80px; height:17px; ">검사실 :</caption>
- </group>
- </case>
- </switch>
- </group>
- </xhtml:body>
- </xhtml:html>
|