123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158 |
- <?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>
- <cond>
- <srchflag>-</srchflag>
- <fromdd/>
- <todd/>
- </cond>
- <list>
- <stslist/>
- </list>
- </main>
- <send/>
- <init>
- </init>
- <code/>
- <result>
- </result>
- <temp>
- <cond>
- <doctlist>
- <medispcl/>
- <atdoct/>
- </doctlist>
- </cond>
- </temp>
- <hidden/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitScreen();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function fInitScreen(){
-
- var fromdd = getDateCalc(getCurrentDate(), 1) ;
- var todd = getDateCalc(getCurrentDate(), 1) ;
-
- model.setValue("/root/main/cond/srchflag", "-");
- model.setValue("/root/main/cond/fromdd", fromdd);
- model.setValue("/root/main/cond/todd", todd);
- fSearch();
- }
-
- function fSearch(){
- model.removeNodeset("/root/main/list/stslist");
- var caption = "^";
- model.removeNodeset("/root/send");
- model.makeNode("/root/send");
- model.copyNode("/root/send", "/root/main/cond");
-
- submit("TRMNP07001", false);
-
- //그리드 기본 타이틀 최초값 세팅
- caption = model.getValue("/root/main/list/stslist[" + 1 + "]/opcnfmdd");
-
- //column별 타이틀 값 세팅 및 그리드 숨기기
- for( j = 1 ; j < 21 ; j++ ){
- if(model.getValue("/root/main/list/stslist[" + 1 + "]/col" + j ) == ""){
- grd_stslist.colAttribute(grd_stslist.colRef("col" + j), "visibility") = "hidden";
- }
-
- if( j == 20 ){
- caption += "^" + model.getValue("/root/main/list/stslist[" + 1 + "]/col" + j ) + "^TOTAL" ;
- }else{
- caption += "^" +model.getValue("/root/main/list/stslist[" + 1 + "]/col" + j ) ;
- }
- }
- model.removeNode("/root/main/list/stslist[" + 1 + "]");
- grd_stslist.caption = caption;
- model.refresh();
- }
-
- ]]>
- </script>
- <submission id="TRMNP07001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list"/>
- <bind id="bind1" ref="/root/main/list/stslist/total" calculate="../col1 + ../col2 + ../col3 + ../col4 + ../col5 + ../col6 + ../col7 + ../col8 + ../col9 + ../col10 + ../col11 + ../col12 + ../col13 + ../col14 + ../col15 + ../col16 + ../col17 + ../col18 + ../col19 + ../col20"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
- </xhtml:head>
- <xhtml:body guideline="1,1193;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <line id="line8" class="line_3" style="x1:0px; y1:55px; x2:1179px; y2:55px; "/>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">회복실 퇴실장소별 회복환자건수 조회</caption>
- <group id="group1" style="left:0px; top:21px; width:1194px; height:39px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" b-color="#ffd799" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:39px; background-color:#fffbf2; "/>
- <line id="line25" class="line_4" style="x1:1055px; y1:9px; x2:1055px; y2:31px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_srch" class="btn1_letter2" style="left:1064px; top:9px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </button>
- <button id="btn_excel" class="btn1_letter2" style="left:1122px; top:9px; width:56px; height:22px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(getNodesetCount("/root/main/list/stslist") < 1){
- messageBox("Excel 출력할 정보가 존재하지 않습니다.","I");
- return;
- }
-
- var fileName = window.fileDialog("save", ",", false, "회복실퇴실장소별환자조회", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if (fileName != "") {
- grd_stslist.saveExcel(fileName, "SheetName", true, true, "", "", false);
- }
- ]]>
- </script>
- </button>
- <caption id="caption1" class="search_name" style="left:20px; top:12px; width:88px; height:17px; ">조회일자 :</caption>
- <input id="ipt_todd" ref="/root/main/cond/todd" inputtype="date" appearance="input" style="left:222px; top:11px; width:90px; height:19px; "/>
- <caption id="caption7" class="search_no_b" style="left:206px; top:12px; width:12px; height:17px; ">~</caption>
- <input id="ipt_fromdd" ref="/root/main/cond/fromdd" inputtype="date" appearance="input" style="left:112px; top:11px; width:90px; height:19px; "/>
- </group>
- <line id="line1" class="line_1" style="x1:0px; y1:90px; x2:1194px; y2:90px; "/>
- <caption id="caption9" class="tit_2" style="left:0px; top:74px; width:255px; height:14px; vertical-align:middle; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">회복실 퇴실장소별 리스트</caption>
- <datagrid id="grd_stslist" nodeset="/root/main/list/stslist" class="datagrid2" caption="^" colwidth="85, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75" mergecellsfixedrows="bycolrec" rowheader="select" rowsep="|" style="left:0px; top:95px; width:1193px; height:635px; ">
- <col ref="opcnfmdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="col1" style="text-align:right; "/>
- <col ref="col2" style="text-align:right; "/>
- <col ref="col3" style="text-align:right; "/>
- <col ref="col4" style="text-align:right; "/>
- <col ref="col5" style="text-align:right; "/>
- <col ref="col6" style="text-align:right; "/>
- <col ref="col7" style="text-align:right; "/>
- <col ref="col8" style="text-align:right; "/>
- <col ref="col9" style="text-align:right; "/>
- <col ref="col10" style="text-align:right; "/>
- <col ref="col11" style="text-align:right; "/>
- <col ref="col12" style="text-align:right; "/>
- <col ref="col13" style="text-align:right; "/>
- <col ref="col14" style="text-align:right; "/>
- <col ref="col15" style="text-align:right; "/>
- <col ref="col16" style="text-align:right; "/>
- <col ref="col17" style="text-align:right; "/>
- <col ref="col18" style="text-align:right; "/>
- <col ref="col19" style="text-align:right; "/>
- <col ref="col20" style="text-align:right; "/>
- <col ref="total" style="text-align:right; "/>
- </datagrid>
- </xhtml:body>
- </xhtml:html>
|