123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286 |
- <?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>
- <list>
- <item>
- <systkey1/>
- <systkey2/>
- <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>
- </list>
- <isublist>
- <item>
- <ioflag/>
- <drugqty/>
- <cnt/>
- <total/>
- </item>
- </isublist>
- <osublist>
- <item>
- <ioflag/>
- <drugqty/>
- <cnt/>
- <total/>
- </item>
- </osublist>
- <examsum>
- <isum/>
- <osum/>
- <total/>
- </examsum>
- </main>
- <send>
- <srchdate/>
- <globalinstance>
- <instance1/>
- </globalinstance>
- <suppdeptcd/>
- <srchstatsflag>A</srchstatsflag>
- <excuroomgrpcdid/>
- <srchflag>E</srchflag>
- </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[
-
- 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");
-
- submit("TRAES09001", false);
-
- addComboItem("cmb_excuroomgrp","--전체--","","above");
-
- model.refresh();
- ]]>
- </script>
- <submission id="TRAES09001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init"/>
- <submission id="TRAES02601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list"/>
- </model>
- <script type="javascript">
- <![CDATA[
- function getStatsMMCaseList(){
- model.removenode("/root/main/list");
- if (submit("TRAES02601")) {
-
- 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; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:50px; width:278px; height:14px; ">월별 통계</caption>
- <button id="btn_excsave" class="btn2_letter4" visibility="visible" style="left:1130px; 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 != "") {
- grd_list.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[
- getStatsMMCaseList();
- ]]>
- </script>
- </button>
- <caption id="caption3" class="search_name" style="left:260px; top:7px; width:60px; height:17px; ">일자 :</caption>
- <caption id="caption5" class="search_name" style="left:10px; top:7px; width:86px; height:17px; ">통계구분 :</caption>
- <select1 id="combo1" ref="/root/send/srchstatsflag" appearance="minimal" style="left:105px; top:6px; width:125px; height:19px; ">
- <choices>
- <item>
- <label>진료과별</label>
- <value>A</value>
- </item>
- <item>
- <label>진료의별</label>
- <value>B</value>
- </item>
- <item>
- <label>보험유형별</label>
- <value>C</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var srchstatsflag = model.getValue("/root/send/srchstatsflag");
-
- if (srchstatsflag == "A") {
- grd_list.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일^합계";
- grd_list.colWidth(2) = 260;
- //grd_list.valueMatrix(0, grd_list.colRef("ioflag")) = "진료과";
- //grd_list.valueMatrix(0, grd_list.colRef("roomcd")) = "검사항목";
- } else if (srchstatsflag == "B") {
- grd_list.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일^합계";
- grd_list.colWidth(2) = 60;
- //grd_list.valueMatrix(0, grd_list.colRef("ioflag")) = "진료과";
- //grd_list.valueMatrix(0, grd_list.colRef("roomcd")) = "진료의";
- } else if (srchstatsflag == "C") {
- grd_list.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일^합계";
- grd_list.colWidth(2) = 260;
- //grd_list.valueMatrix(0, grd_list.colRef("ioflag")) = "보험유형";
- //grd_list.valueMatrix(0, grd_list.colRef("roomcd")) = "검사항목";
- }
- grd_list.rebuild();
-
- getStatsMMCaseList();
-
- ]]>
- </script>
- </select1>
- <input id="input4" ref="/root/send/srchdate" class="input_default" inputtype="date" format="yyyy-mm" style="left:325px; top:6px; width:90px; height:19px; "/>
- <select1 id="cmb_excuroomgrp" ref="/root/send/excuroomgrpcdid" class="combo_default" appearance="minimal" style="left:530px; 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[
- getStatsMMCaseList();
- ]]>
- </script>
- </select1>
- <caption id="caption7" class="search_name" style="left:450px; top:7px; width:80px; height:17px; ">검사실 :</caption>
- <caption id="caption12" class="search_name" style="left:685px; top:7px; width:62px; height:17px; ">구분 :</caption>
- <select1 id="radio2" ref="/root/send/srchflag" appearance="full" cols="3" overflow="visible" style="left:749px; top:6px; width:116px; height:18px; border-style:none; ">
- <choices>
- <item>
- <label>검사수</label>
- <value>E</value>
- </item>
- <item>
- <label>환자수</label>
- <value>P</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- getStatsMMCaseList();
- ]]>
- </script>
- </select1>
- </group>
- <line id="line1" class="line_1" style="x1:0px; y1:65px; x2:1195px; y2:65px; "/>
- <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="60, 260, 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="2" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" multitotal="true" rowheader="seq" rowsep="|" subtotalposition="below" tooltip="true" style="left:0px; top:67px; width:1195px; height:673px; ">
- <col ref="systkey1" style="text-align:center; "/>
- <col ref="systkey2" style="text-align:left; "/>
- <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>
- </group>
- </xhtml:body>
- </xhtml:html>
|