123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167 |
- <?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="">
- <send>
- <fromdd/>
- <todd/>
- <dataflag>1</dataflag>
- </send>
- <main>
- <month>
- <monthlist>
- <orddeptnm/>
- <orddrnm/>
- <lrgitem/>
- <new_cnt/>
- <first_cnt/>
- <re_cnt/>
- <tot_cnt/>
- <rsrv_rat/>
- </monthlist>
- </month>
- </main>
- <init>
- <orddeptcd>
- <cd/>
- <nm/>
- </orddeptcd>
- <orddrid>
- <cd/>
- <nm/>
- </orddrid>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.setValue("/root/send/fromdd",getCurrentDate());
- model.setValue("/root/send/todd",getCurrentDate());
-
- model.refresh();
- ]]>
- </script>
- <submission id="TRPMOCOM01" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/init"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRSTP01501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/month"/>
- </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/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.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 fSetDayGridHead() {
- var enddd = model.getValue("/root/send/enddd");
-
- //말일 구하기
- var LastDay = getDayCountForMonth(enddd.substr(0,4), enddd.substr(4,2));
-
- //그리드 날짜 컬럼 상태
- for (var i = 0; i < grd_monthlist.cols; i++) {
- if ( i < ((LastDay*2)+3) || i == (grd_monthlist.cols-1) || i == (grd_monthlist.cols-2)) {
- grd_monthlist.colHidden(i) = false;
- } else {
- grd_monthlist.colHidden(i) = true;
- }
- }
-
- grd_monthlist.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,224;">
- <group id="group3" style="left:0px; top:0px; width:1206px; height:13px; ">
- <caption id="caption60" class="tit_1" style="left:0px; top:0px; width:183px; height:14px; font-family:돋움; vertical-align:middle; ">진료예약 월별 통계</caption>
- </group>
- <group id="group4" style="left:0px; top:18px; width:1203px; height:52px; ">
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1203px; height:43px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1053px; top:10px; width:56px; height:22px; color:transparent; background-image:../../../com/commonweb/images/btn1_letter2.gif; border-color:transparent; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if (submit("TRSTP01501")) {
- for (i=0; i < grd_monthlist.cols; i++) {
- if (i == 0 || i == 1) {
- grd_monthlist.mergeCol(i) = true;
- } else {
- grd_monthlist.mergeCol(i) = false;
- }
- }
-
- grd_monthlist.mergeCells = "bycolrec";
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <button id="btn_excel" class="btn1_letter4" visibility="visible" disable.background-image="../../../com/commonweb/images/dis_btn6_letter4.gif" style="left:1114px; top:10px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn1_letter4.gif; ">
- <caption>EXCEL</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var xlsTitle = "";
-
- xlsTitle = "진료예약 월별통계_" + rdo_dataflag.label+"("+ipt_fromdd.label + "~" + ipt_todd.label+")";
-
- var fileName = window.fileDialog("save", ",", false, xlsTitle, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- grd_monthlist.saveExcel(fileName, xlsTitle, false, false, "", "", false);
- ]]>
- </script>
- </button>
- <line id="line2" class="line_4" style="top:5px; x1:1046px; y1:9px; x2:1046px; y2:35px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption1" class="search_name" style="left:15px; top:11px; width:98px; height:17px; ">조회기간</caption>
- <caption id="caption3" class="search_name" style="left:338px; top:11px; width:86px; height:17px; ">조회구분</caption>
- <select1 id="rdo_dataflag" ref="/root/send/dataflag" overflow="visible" appearance="full" cellspacing="3" cols="3" rows="1" style="left:425px; top:11px; width:215px; height:20px; vertical-align:middle; border-style:none; ">
- <choices>
- <item>
- <label>진료과별</label>
- <value>1</value>
- </item>
- <item>
- <label>진료의사별</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <caption id="caption2" style="left:195px; top:11px; width:20px; height:20px; ">~</caption>
- <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:100px; top:11px; width:90px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- ]]>
- </script>
- </input>
- <input id="ipt_todd" ref="/root/send/todd" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:211px; top:11px; width:90px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- ]]>
- </script>
- </input>
- </group>
- <datagrid id="grd_monthlist" nodeset="/root/main/month/monthlist" class="datagrid4" caption="진료과^진료의사^구분^신환환자^초진환자^재진환자^합계^진료예약율|진료과^진료의사^구분^신환환자^초진환자^재진환자^합계^부도율" colsep="^" colwidth="100, 80, 100, 80, 80, 80, 80, 80" frozencols="3" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:93px; width:1201px; height:682px; ">
- <col ref="orddeptnm" style="text-align:center; "/>
- <col ref="orddrnm" style="text-align:center; "/>
- <col ref="lrgitem" style="text-align:center; "/>
- <col ref="new_cnt" format="#,###" style="text-align:right; "/>
- <col ref="first_cnt" format="#,###" style="text-align:right; "/>
- <col ref="re_cnt" format="#,###" style="text-align:right; "/>
- <col ref="tot_cnt" format="#,###" style="text-align:right; "/>
- <col ref="rsrv_rat" style="text-align:right; "/>
- </datagrid>
- <line id="line3" class="line_1" style="x1:0px; y1:88px; x2:1201px; y2:88px; "/>
- <caption id="caption46" class="tit_2" style="left:0px; top:73px; width:151px; height:14px; ">진료예약 월별 통계</caption>
- </xhtml:body>
- </xhtml:html>
|