123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253 |
- <?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>
- <execdd/>
- <globalinstance>
- <instance1/>
- </globalinstance>
- <suppdeptcd/>
- <lrgcd/>
- <mdlcd/>
- <flag/>
- <basecdflag/>
- </send>
- <init>
- <cmb_lrgcd/>
- </init>
- <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/execdd", getCurrentDate().substr(0,6));
- model.removenode("/root/main/list");
- model.setValue("/root/send/basecdflag", "R");
- model.setValue("/root/send/flag", "E");
-
- submit("TRAES01502", false);
- aezfInsertInstance2("/root/hidden/comcd", "lrgcdlist", "전체", "", "/root/init/cmb_lrgcd");
-
- model.refresh();
- ]]>
- </script>
- <submission id="TRAES01502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmb_lrgcd"/>
- <submission id="TRAES01503" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmb_mdlcd"/>
- <submission id="TRAES04101" 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("TRAES04101")) {
-
- 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=1; i<34; i++) {
- grd_list.subtotal("sum", -1, i, "#,###", "background-color:#CCFFCC; color:#0000ff; font-weight:bold; ", 1, "총계");
- }
- */
- 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:25px; top:7px; width:60px; height:17px; ">일자 :</caption>
- <input id="input4" ref="/root/send/execdd" class="input_default" inputtype="date" format="yyyy-mm" style="left:90px; top:6px; width:90px; height:19px; "/>
- <caption id="caption12" class="search_name" style="left:590px; top:7px; width:62px; height:17px; ">구분 :</caption>
- <select1 id="radio1" ref="/root/send/flag" appearance="full" cols="2" overflow="visible" style="left:655px; top:7px; width:145px; height:17px; border-style:none; ">
- <choices>
- <item>
- <label>촬영건수</label>
- <value>E</value>
- </item>
- <item>
- <label>부위건수</label>
- <value>B</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_excuroomgrp" ref="/root/send/lrgcd" appearance="minimal" editmode="input" style="left:305px; top:5px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_lrgcd/lrgcdlist">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/send/mdlcd", "");
- model.resetInstanceNode("/root/init/cmb_mdlcd/mdlcdlist");
-
- if ( model.getValue("/root/send/lrgcd") != "" ) {
- submit("TRAES01503");
- }
- ]]>
- </script>
- </select1>
- <caption id="caption7" class="search_name" style="left:225px; top:7px; width:80px; height:17px; ">검사실 :</caption>
- <select1 id="cmb_excuroom" ref="/root/send/mdlcd" appearance="minimal" editmode="input" style="left:423px; top:5px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_mdlcd/mdlcdlist">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </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="260, 100, 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="1" 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:left; "/>
- <col ref="systkey3" 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>
|