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>SET기구 처방 집계현황</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <cond>
- <fromdd/>
- <todd/>
- <flag/>
- <deptcd/>
- <deptflag/>
- <goodcd/>
- </cond>
- <suminfo>
- <sumlist/>
- </suminfo>
- </main>
- <send>
- </send>
- <init>
- <R0435list/>
- <deptinfo>
- <deptlist/>
- </deptinfo>
- </init>
- <hidden>
- </hidden>
- </root>
- </instance>
- <script type="javascript">
- <![CDATA[
-
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitialize() {
-
- zbcfGetCodeList( new Array ( "R0435"), new Array ( "/root/init/R0435list" ), false);
-
- addComboItem("cmb_goodcd", "전체", "", "above");
-
- if(checkOpener()) {
- model.setValue(ipt_fromdd.attribute("ref"), opener.javascript.getParameter("fromdd"));
- model.setValue(ipt_todd.attribute("ref"), opener.javascript.getParameter("todd"));
- model.setValue(cmb_goodcd.attribute("ref"), opener.javascript.getParameter("goodcd"));
- model.setValue(ipt_deptcd.attribute("ref"), opener.javascript.getParameter("deptcd"));
-
- } else {
-
- model.setValue(ipt_fromdd.attribute("ref"), getCurrentDate());
- model.setValue(ipt_todd.attribute("ref"), getCurrentDate());
- model.setValue(cmb_goodcd.attribute("ref"), "");
- model.setValue(ipt_deptcd.attribute("ref"), getUserInfo("dutplcecd"));
-
- }
- ipt_fromdd.refresh();
- ipt_todd.refresh();
- cmb_goodcd.refresh();
- ipt_deptcd.refresh();
-
- fSearch();
-
-
- }
-
- function fSearch(){
- model.makeNode("/root/send/reqdata");
-
- model.copyNode("/root/send/reqdata", "/root/main/cond");
-
- submit("TRMNG04204");
-
- grd_sumlist.subtotalPosition="below";
-
- grd_sumlist.subtotal("sum", -1, grd_sumlist.colRef("sumcnt"), "#,###.##", "background-color:#99ff99; font-weight:bold", grd_sumlist.colRef("room"), "합계");
-
-
- }
-
- ]]>
- </script>
- <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/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <submission id="TRMNG04204" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/suminfo"/>
- <submission id="TRZBC00102" mediatype="application/x-www-form-urlencoded" method="post"/>
- </model>
- </xhtml:head>
- <xhtml:body pagewidth="770" pageheight="640" guideline="1,753;2,641;" style="font-family:돋움체; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:610px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:199px; height:14px; font-family:돋움체; ">부서별 Set처방 상세내역</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:750px; height:622px; font-family:돋움체; ">
- <group id="grp_sea" style="left:0px; top:10px; width:745px; height:35px; font-family:돋움체; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:745px; height:35px; font-family:돋움체; background-color:#fffbf2; border-color:#ffd799; ">.,m</shape>
- <caption id="cap_instcd" class="search_name" style="left:15px; top:10px; width:86px; height:17px; font-family:돋움체; ">처방일자:</caption>
- <line id="line13" class="line_4" style="x1:610px; y1:4px; x2:610px; y2:29px; font-family:돋움체; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_search" class="btn1_letter2" navindex="2" style="left:620px; top:7px; width:56px; height:22px; font-family:돋움체; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </button>
- <input id="ipt_fromdd" ref="/root/main/cond/fromdd" inputtype="date" style="left:100px; top:10px; width:85px; height:19px; font-family:돋움체; "/>
- <input id="ipt_todd" ref="/root/main/cond/todd" inputtype="date" style="left:195px; top:10px; width:85px; height:19px; font-family:돋움체; "/>
- <caption id="caption1" style="left:185px; top:12px; width:16px; height:18px; font-family:돋움체; font-weight:bold; ">~</caption>
- <button id="button1" class="btn1_letter2" navindex="2" style="left:680px; top:7px; width:56px; height:22px; font-family:돋움체; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "부서별Enema SkinPrep", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
-
- if (fileName != "")
- {
- grd_sumlist.saveExcel(fileName, "SheetName", false, false, "", "", "false");
- }
- ]]>
- </script>
- </button>
- <caption id="caption2" class="search_name" style="left:290px; top:10px; width:91px; height:17px; font-family:돋움체; ">물품코드 :</caption>
- </group>
- <caption id="caption8" class="tit_2" style="left:5px; top:59px; width:201px; height:14px; font-family:돋움체; ">SET처방 상세내역</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:74px; x2:745px; y2:74px; font-family:돋움체; "/>
- <datagrid id="grd_sumlist" nodeset="/root/main/suminfo/sumlist" class="datagrid2" caption="부서명^병실^등록번호^환자명^처방일자^처방코드^처방명^물품코드^물품명^수량^집계
구분" colsep="^" colwidth="0, 44, 63, 65, 75, 75, 111, 75, 118, 40, 40" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:79px; width:745px; height:541px; font-family:돋움체; ">
- <col ref="deptnm" style="padding-left:1; "/>
- <col ref="room" style="font-family:돋움체; text-align:center; "/>
- <col ref="pid" style="font-family:돋움체; text-align:center; "/>
- <col ref="patnm" style="font-family:돋움체; padding-left:1; "/>
- <col ref="prcpdd" format="yyyy-mm-dd" style="font-family:돋움체; text-align:center; padding-left:1; "/>
- <col ref="prcpcd" style="font-family:돋움체; text-align:center; padding-left:1; "/>
- <col ref="prcpnm" style="font-family:돋움체; text-align:left; padding-left:1; "/>
- <col ref="goodcd" style="font-family:돋움체; text-align:center; "/>
- <col ref="goodnm" style="font-family:돋움체; padding-left:1; "/>
- <col ref="sumcnt" style="font-family:돋움체; text-align:right; padding-right:1; "/>
- <col ref="sumflag" style="font-family:돋움체; text-align:center; "/>
- </datagrid>
- <input id="ipt_deptcd" ref="/root/main/cond/deptcd" visibility="hidden" style="left:320px; top:50px; width:100px; height:19px; font-family:돋움체; "/>
- <select1 id="cmb_goodcd" ref="/root/main/cond/goodcd" appearance="minimal" style="left:380px; top:18px; width:150px; height:19px; font-family:돋움체; ">
- <choices>
- <itemset nodeset="/root/init/R0435list/R0435">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- </group>
- </xhtml:body>
- </xhtml:html>
|