123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273 |
- <?xml version="1.0" encoding="UTF-16"?>
- <?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>VIP재원환자현황</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <grdVIP>
- <grdVIPlist/>
- </grdVIP>
- <tmpinfo>
- <info>
- <user/>
- </info>
- </tmpinfo>
- <search>
- <fromdata/>
- </search>
- </main>
- <init>
- <P0149list>
- <P0149>
- <cdid/>
- <cdnm/>
- </P0149>
- </P0149list>
- <P0160list>
- <P0160>
- <cdid/>
- <cdnm/>
- </P0160>
- </P0160list>
- <P0002list>
- <P0002>
- <cdid/>
- <cdnm/>
- </P0002>
- </P0002list>
- <P0008list>
- <P0008>
- <cdid/>
- <cdnm/>
- </P0008>
- </P0008list>
- <P0010list>
- <P0010>
- <cdid/>
- <cdnm/>
- </P0010>
- </P0010list>
- <P0070ist>
- <P0070>
- <cdid/>
- <cdnm/>
- </P0070>
- </P0070ist>
- <P0025list>
- <P0025>
- <cdid/>
- <cdnm/>
- </P0025>
- </P0025list>
- <P0006list>
- <P0006>
- <cdid/>
- <cdnm/>
- </P0006>
- </P0006list>
- <P0032list>
- <P0032>
- <cdid/>
- <cdnm/>
- </P0032>
- </P0032list>
- <P0016list>
- <P0016>
- <cdid/>
- <cdnm/>
- </P0016>
- </P0016list>
- <P0026list>
- <P0026>
- <cdid/>
- <cdnm/>
- </P0026>
- </P0026list>
- </init>
- <hidden>
- <init>
- <disccd>
- <cd/>
- <nm/>
- </disccd>
- <insukind>
- <cd/>
- <nm/>
- </insukind>
- <suppkind>
- <cd/>
- <nm/>
- <up/>
- <io/>
- </suppkind>
- <orddeptcd>
- <cd/>
- <nm/>
- </orddeptcd>
- <orddrid>
- <cd/>
- <nm/>
- <dp/>
- </orddrid>
- <flag>
- <prestdd/>
- <mskindflag/>
- </flag>
- </init>
- </hidden>
- <send>
- <fromdata/>
- </send>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
-
- submit("TRPAS00001");
-
- zbcfGetCodeList(new Array("P0149","P0160","P0002","P0008","P0010", "P0070", "P0025", "P0026","P0006", "P0032","P0016"), new Array("/root/init/P0149list", "/root/init/P0160list", "/root/init/P0002list", "/root/init/P0008list","/root/init/P0010list","/root/init/P0070list","/root/init/P0025list","/root/init/P0026list","/root/init/P0006list","/root/init/P0032list","/root/init/P0016list"));
- //model.setValue("/root/send/sess_posinstcd","012");
- submit("TRPMI00106");
- model.setValue("/root/main/search/fromdata", getCurrentDate());
-
-
-
- //Rexport에 출력날자를 보여주기위한 데이터 저장
- model.makeNode("/root/main/tmp/print/date");
- model.copyNode("/root/main/tmp/print/date", "/root/main/search/fromdata");
- model.setValue("/root/main/tmp/print/date", model.getValue("/root/main/search/fromdata"));
-
-
- model.refresh();
-
-
-
- ]]>
- </script>
- <bind id="bind1" ref="/root/main/dsumlist/dsumstats/cont" calculate="sum(/root/main/pamstatlist/pamstats/cont);"/>
- <bind id="bind2" ref="/root/main/dsumlist/dsumstats/allordamt" calculate="sum(/root/main/pamstatlist/pamstats/allordamt);"/>
- <bind id="bind3" ref="/root/main/dsumlist/dsumstats/discreduamt" calculate="sum(/root/main/pamstatlist/pamstats/discreduamt);"/>
- <bind id="bind4" ref="/root/main/pamstatlist/pamstats/discreducd" calculate="round(../discreduamt div ../allordamt * 100)"/>
- <bind id="bind5" ref="/root/main/pamstatlist/pamstats" calculate="now() + ."/>
- <submission id="TRPAS00001" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/main/tmpinfo/info/user"/>
- <submission id="TRPMI00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden/init"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRPMS02251" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/grdVIP"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="1211" pageheight="784" guideline="1,1205;">
- <group id="group3" style="left:0px; top:0px; width:1211px; height:13px; ">
- <caption id="caption60" class="tit_1" style="left:0px; top:0px; width:183px; height:14px; font-family:돋움; vertical-align:middle; ">VIP재원환자현황</caption>
- </group>
- <group id="group2" style="left:4px; top:22px; width:1203px; height:35px; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1202px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="search_name" style="left:15px; top:9px; width:206px; height:17px; ">적용기간 :</caption>
- <line id="line2" class="line_4" style="x1:1132px; y1:7px; x2:1132px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_search" class="btn1_letter2" navindex="3" style="left:1139px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fromdata = model.getValue("/root/main/search/fromdata");
-
- if(fromdata==""||fromdata==null){
- messageBox("시작일을 입력","E007");
- model.setFocus("input7");
- return false;
- }else{
- model.setValue("/root/send/fromdata",model.getValue("/root/main/search/fromdata"));
-
- submit("TRPMS02251");
-
- //로드값이 있을때 엑셀저장여부 버튼 생성여부
- var nodelist = bind1.nodeset;
- if(nodelist.length>0){
- line1.visible =true;
- button95.visible = true;
- }else{
- line1.visible =false;
- button95.visible = false;
- }
-
-
-
-
-
- }
-
- ]]>
- </script>
- <toggle case="case1" ev:event="onclick"/>
- </button>
- <input id="input7" ref="/root/main/search/fromdata" class="input_default" navindex="1" inputtype="date" maxlength="8" style="left:103px; top:8px; width:120px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if( event.keyCode == 13 ) {
- var pCurTargetObj = event.ptarget.parent;
- if( pCurTargetObj.elementName == "xforms:select1" || pCurTargetObj.elementName == "xforms:select") {
- event.keyCode = 9;
- pCurTargetObj.dispatch("onkeydown");
- } else {
- event.keyCode = 9;
- }
- }
- event.stopPropagation();
- ]]>
- </script>
- </input>
- <button id="btn_print" class="btn6_letter2" visibility="visible" style="left:1070px; top:7px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- exeReportPreview("RPPAS02111", "XMLSTR", "","", "false","","","","","false");
- ]]>
- </script>
- </button>
- <button id="button95" class="btn6_letter4" visibility="hidden" style="left:971px; top:7px; width:80px; height:22px; ">
- <caption>액셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var vToday = new Date();
- var tmpYear = vToday.getYear();
- var tmpMonth = vToday.getMonth()+1;
- var tmpDate = vToday.getDate();
-
- // model.setValue("/root/documenttitle/title",document.title);
- // model.refresh();
- // var subjectTitle = model.getValue("/root/documenttitle/title");
-
- //엑셀저장 여부(타이트별)
- var fileName = window.fileDialog("save", ",", false, "감면할인현황"+tmpYear+tmpMonth+tmpDate, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- datagrid1.saveExcel(fileName, "감면할인현황"+tmpYear+tmpMonth+tmpDate, true, true, "", "", true);
- }
- ]]>
- </script>
- </button>
- <line id="line1" class="line_4" visibility="hidden" style="x1:1058px; y1:7px; x2:1058px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- </group>
- <datagrid id="datagrid1" nodeset="/root/main/grdVIP/grdVIPlist" allowuserresize="false" autoresize="false" caption="VIP 등록번호^입원일^성명^등록번호^성별^나이^진료과^의사명^병실^상병명^VIP 내용^계정^caption1" colsep="^" colwidth="100, 100, 100, 100, 40, 40, 120, 100, 100, 150, 300, 60" ellipsis="true" extendlastcol="false" mergecellsfixedcols="bycol" mergecellsfixedrows="byrowrec" rowsep="|" tooltip="true" style="left:4px; top:55px; width:1201px; height:704px; ">
- <col ref="viprgstno" style="text-align:center; "/>
- <col ref="indd" style="text-align:center; "/>
- <col ref="hngnm" format="(-)#,###" style="text-align:center; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="sex" format="(-)#,###" style="text-align:center; "/>
- <col ref="age" format="(-)#,###"/>
- <col ref="orddeptcd" style="text-align:center; "/>
- <col ref="atdoctid" style="text-align:left; "/>
- <col ref="roomcd" style="text-align:left; "/>
- <col ref="termhngnm" style="text-align:left; "/>
- <col ref="remark" style="text-align:left; "/>
- <col ref="disccd" style="text-align:center; "/>
- </datagrid>
- </xhtml:body>
- </xhtml:html>
|