123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171 |
- <?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>
- <cond>
- <quitflag/>
- <frstdd/>
- <lastdd/>
- <orddd/>
- <wardcd/>
- <exestat/>
- <orddeptcd/>
- <medispclid/>
- <atdoctid/>
- </cond>
- <wardpatinfo>
- <wardpatratelist>
- <wardnm/>
- <totpatcount/>
- <sucscount/>
- <failcount/>
- <undocount/>
- <sucsrate/>
- <failrate/>
- <undorate/>
- </wardpatratelist>
- </wardpatinfo>
- </main>
- <send/>
- <init/>
- <hidden/>
- <temp/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //날짜 세팅
- var currentDate=getCurrentDate();
- model.setValue("/root/main/cond/orddd", currentDate);
- var lastdd=currentDate;
-
- var date = currentDate.toDate("YYYYMMDD");
- date.getAddDate(-1, "D");
-
- var frstdd=date.getDateFormat();
-
-
- model.setValue("/root/main/cond/frstdd", frstdd);
- model.setValue("/root/main/cond/lastdd", lastdd);
-
- //초기화
- model.removenode("/root/send");
- // model.removenode("/root/main/wardpatinfo");
-
- model.makeValue("/root/send/quitflag", model.getValue("/root/main/cond/quitflag"));
- model.makeValue("/root/send/frstdd", model.getValue("/root/main/cond/frstdd"));
- model.makeValue("/root/send/lastdd", model.getValue("/root/main/cond/lastdd"));
-
- submit("TRMNW13601");
-
- ]]>
- </script>
- <submission id="TRMNW13601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/wardpatinfo"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- </xhtml:head>
- <xhtml:body guideline="1,1421;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:752px; ">
- <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:257px; height:14px; ">병동 해피콜 통계</caption>
- </group>
- <group id="group2" class="datagrid2" scroll="auto" style="left:0px; top:13px; width:1195px; height:752px; ">
- <group id="group3" style="left:0px; top:5px; width:1195px; height:60px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1192px; height:35; "/>
- <caption id="caption8" class="search_name" style="left:15px; top:10px; width:90px; height:17px; text-align:center; ">조회기간 :</caption>
- <input id="ipt_frstdd" ref="/root/main/cond/frstdd" class="input_s_essential" inputtype="date" style="left:103px; top:10px; width:95px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- model.removenode("/root/send");
- // model.removenode("/root/main/wardpatinfo");
-
- model.makeValue("/root/send/quitflag", model.getValue("/root/main/cond/quitflag"));
- model.makeValue("/root/send/frstdd", model.getValue("/root/main/cond/frstdd"));
- model.makeValue("/root/send/lastdd", model.getValue("/root/main/cond/lastdd"));
-
- // submit("TRMNW13601");
-
- ]]>
- </script>
- </input>
- <caption id="caption2" style="left:201px; top:11px; width:20px; height:20px; font-weight:bold; ">~</caption>
- <input id="ipt_lastdd" ref="/root/main/cond/lastdd" class="input_search" inputtype="date" style="left:215px; top:10px; width:95px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- model.removenode("/root/send");
- // model.removenode("/root/main/wardpatinfo");
-
- model.makeValue("/root/send/quitflag", model.getValue("/root/main/cond/quitflag"));
- model.makeValue("/root/send/frstdd", model.getValue("/root/main/cond/frstdd"));
- model.makeValue("/root/send/lastdd", model.getValue("/root/main/cond/lastdd"));
-
- // submit("TRMNW13601");
-
- ]]>
- </script>
- </input>
- <line id="line5" class="line_4" style="x1:1052px; y1:7px; x2:1052px; y2:29px; "/>
- <button id="btn_search" class="btn1_letter2" disable.background-image="../../../com/commonweb/images/dis_btn5_letter4.gif" style="left:1063px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- model.removenode("/root/send");
- // model.removenode("/root/main/wardpatinfo");
-
- model.makeValue("/root/send/quitflag", model.getValue("/root/main/cond/quitflag"));
- model.makeValue("/root/send/frstdd", model.getValue("/root/main/cond/frstdd"));
- model.makeValue("/root/send/lastdd", model.getValue("/root/main/cond/lastdd"));
-
- submit("TRMNW13601");
-
- ]]>
- </script>
- </button>
- <button id="btn_output" class="btn1_letter2" visibility="hidden" disable.background-image="../../../com/commonweb/images/dis_btn5_letter4.gif" style="left:1123px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
-
- exeReportPreview("RPMNW13500", "XMLSTR");
- ]]>
- </script>
- </button>
- <button id="btn_exel" class="btn1_letter2" disable.background-image="../../../com/commonweb/images/dis_btn5_letter4.gif" style="left:1123px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <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_wardpatlist.saveExcel(fileName, "SheetName", false, false, "", "", true);
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="group4" style="left:0px; top:50px; width:1195px; height:700px; vertical-align:top; ">
- <line id="line1" class="line_1" style="x1:0px; y1:20px; x2:1195px; y2:20px; "/>
- <datagrid id="grd_wardpatlist" nodeset="/root/main/wardpatinfo/wardpatratelist" class="datagrid2" scroll="autovscroll" allowuserresize="false" caption="병동^총대상환자수^성공건수^실패건수^미실시건수^성공률^실패율^미실시율^seqno^indd^cretno^instcd" colsep="^" colwidth="192, 140, 140, 140, 140, 140, 140, 140" ellipsis="true" extendlastcol="scroll" frozencols="4" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="32" rowsep="|" tooltip="true" style="left:0px; top:5px; width:1195px; height:695px; text-align:center; vertical-align:middle; ">
- <col ref="wardnm" style="left:20px; top:32px; width:100px; height:23px; text-align:left; "/>
- <col ref="totpatcount" format="999,999" style="left:170px; top:32px; width:100px; height:23px; text-align:right; "/>
- <col ref="sucscount" format="999,999" style="left:270px; top:32px; width:100px; height:23px; text-align:right; "/>
- <col ref="failcount" format="999,999" style="left:370px; top:32px; width:100px; height:23px; text-align:right; "/>
- <col ref="undocount" style="left:470px; top:32px; width:100px; height:23px; text-align:right; "/>
- <col ref="sucsrate" style="left:570px; top:32px; width:100px; height:23px; text-align:right; "/>
- <col ref="failrate" style="text-align:right; "/>
- <col ref="undorate" style="left:770px; top:32px; width:100px; height:23px; text-align:right; "/>
- </datagrid>
- <line id="line2" class="line_1" style="x1:0px; y1:0px; x2:1195px; y2:0px; "/>
- </group>
- </group>
- </xhtml:body>
- </xhtml:html>
|