123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- <?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>
- <list/>
- </main>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- if (checkOpener()) {
- var srcdata = opener.javascript.getParameter("SMMNE02100");
-
- if(srcdata == "OUT") {
- grd_nursMngt.colHidden(grd_nursMngt.colRef("outcure")) = false;
- grd_nursMngt.colHidden(grd_nursMngt.colRef("staytm")) = true;
- } else {
- grd_nursMngt.colHidden(grd_nursMngt.colRef("outcure")) = true;
- grd_nursMngt.colHidden(grd_nursMngt.colRef("staytm")) = false;
- }
-
- } else {
- var wardcd = getUserInfo("dutplcecd");
- var orddd = getCurrentDate();
- model.setValue("/root/main/cond/wardcd",wardcd);
- model.setValue("/root/main/cond/orddd", orddd);
- cmb_wardlist.disabled = false;
-
- }
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="720" pageheight="655" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:700px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">과별상세환자리스트</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:45px; width:699px; height:595px; ">
- <datagrid id="grd_nursMngt" nodeset="/root/main/list/patlist" class="datagrid2" caption="등록번호^환자명^성별^나이^주민등록번호^진료과^내원일시^퇴실일시^대기(분)^외래처치^과명" colsep="^" colwidth="70, 75, 37, 37, 105, 48, 110, 110, 65, 85, 0" dataheight="25" rowheader="seq" rowheight="90" rowsep="|" style="left:0px; top:10px; width:698px; height:585px; ">
- <col ref="pid" style="left:20px; top:32px; width:80px; height:25px; "/>
- <col ref="patnm" style="left:100px; top:32px; width:70px; height:25px; text-align:center; "/>
- <col ref="sex" style="text-align:center; "/>
- <col ref="age" style="text-align:center; "/>
- <col ref="rrgstno" style="text-align:center; "/>
- <col ref="orddept" style="text-align:center; "/>
- <col ref="chosdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="outrmdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="staytm" style="text-align:right; "/>
- <col ref="outcure" stype="text-align:center;"/>
- <col ref="deptnm" style="text-align:right; "/>
- </datagrid>
- <line id="line1" class="line_1" style="x1:0px; y1:7px; x2:698px; y2:7px; "/>
- </group>
- <group id="grp_btn" style="left:0px; top:13px; width:700px; height:27px; ">
- <button id="btn_print" class="btn6_letter2" style="left:0px; top:3px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.copyNode("/root/send","root/main");
- exeReportPreview("RPMNE03400","XMLSTR","");
- ]]>
- </script>
- </button>
- <line id="line14" class="line_6" style="x1:0px; y1:25px; x2:661px; y2:25px; "/>
- <button id="button1" class="btn1_letter2" style="left:643px; top:3px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var xrwflag = model.getValue("/root/main/list/xrwflag");
- // 수정_20081126
- if(xrwflag == "dept"){ // 과별 환자 현황 화면에서 띄웠을 경우
- var fileName = window.fileDialog("save", ",", false, model.getValue("/root/main/list/patlist/orddept") + "과상세환자리스트", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- }else if(xrwflag == "type"){ // 유형별 환자 현황 화면에서 띄웠을 경우
- var fileName = window.fileDialog("save", ",", false, "대기시간별 환자현황" + model.getValue("/root/main/list/totime"), "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- }
-
- if (fileName != "") {
- grd_nursMngt.saveExcel(fileName, "SheetName", true, true, "", "", false);
- }
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|