123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293 |
- <?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>DCC 월별 예약현황조회</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <cond>
- <prestimportid/>
- <wardcd/>
- <orddeptcd/>
- <medispclid/>
- <orddd/>
- <opdeptcd>01</opdeptcd>
- <opcnfmdd/>
- <ampmflag>A</ampmflag>
- <opflagex/>
- <orddeptlist>
- <dept>
- <depthngnm/>
- <deptcd/>
- </dept>
- </orddeptlist>
- <oproomcd/>
- <pid/>
- <hngnm/>
- <orddeptcd/>
- <useflag/>
- <ampatcnt/>
- <pmpatcnt/>
- <totpatcnt/>
- <hdcode/>
- </cond>
- <rsrv>
- <rsrvlist>
- <temp/>
- <opdate/>
- </rsrvlist>
- </rsrv>
- <dscdetl>
- <pid/>
- <opcd/>
- <hngnm/>
- <sexage/>
- <cpgnm/>
- <opyn/>
- <anstyn/>
- <opcnfm/>
- <anstcnfm/>
- <orddd/>
- <cretno/>
- </dscdetl>
- <MmohiprcLists>
- <CureList>
- <kindcd/>
- <ordname/>
- <opcls/>
- <payflagcd/>
- </CureList>
- <CartList>
- <kindcd/>
- <goodcd/>
- <goodengnm/>
- <goodspec/>
- <goodmodel/>
- <deliveunit/>
- <goodqty/>
- </CartList>
- </MmohiprcLists>
- <menuitems>
- </menuitems>
- <patinfo>
- <patinfolist/>
- </patinfo>
- <popupendflag/>
- <rghtref>
- <rghtreflist>
- <pid/>
- <hngnm/>
- <gndrage/>
- <rrgstno/>
- </rghtreflist>
- </rghtref>
- </main>
- <send>
- <remark/>
- <opdate/>
- </send>
- <init>
- <msg/>
- <dccward/>
- </init>
- <code/>
- <rsrv>
- <bedlist/>
- <rsrv/>
- </rsrv>
- <popup>
- <item>
- <name>예약환자 정보보기</name>
- <func>fShowPatInfo</func>
- </item>
- <item>
- <name>처방조회</name>
- <func>fShowPrcpInfo</func>
- </item>
- <item>
- <name>환자진료정보조회</name>
- <func>fShowPatOrdInfo</func>
- </item>
- </popup>
- <temp>
- <dccinfo/>
- </temp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitScreen();
- ]]>
- </script>
- <bind id="bind_datagrid1_careinrmdd" ref="/root/main/dsc/dscList/careinrmdd" readonly="../oppatflagcd!= 'D'"/>
- <submission id="TRMNP06501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/rsrv"/>
- <submission id="TXMNP06501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
- <submission id="TRMMO00129" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/result"/>
- <submission id="TRMNV00001" mediatype="application/x-www-form-urlencoded" method="post"/>
- </model>
- <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
- <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="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../emr/opanstweb/js/SMMNP06500.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LZZ001.js"/>
- <!-- 입실바코드출력관련 -->
- </xhtml:head>
- <xhtml:body guideline="1,1218;" 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; "/>
- <group id="group2" style="left:0px; top:21px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" b-color="#ffd799" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; "/>
- <caption id="caption8" class="search_name" style="left:5px; top:9px; width:86px; height:17px; ">업무일자 :</caption>
- <line id="line25" class="line_4" style="x1:980px; y1:5px; x2:980px; y2:27px; border-color:#ffe4bb; border-left-style:solid; "/>
- <input id="ipt_opcnfmdd" ref="/root/main/cond/opcnfmdd" class="input_default" navindex="1" inputtype="date" style="left:95px; top:8px; width:120px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetDCCRsrv();
- ]]>
- </script>
- </input>
- <button id="button9" class="btn1_letter2" style="left:1001px; top:6px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetDCCRsrv();
-
- ]]>
- </script>
- </button>
- <caption id="caption5" class="search_name" style="left:246px; top:9px; width:86px; height:17px; ">예약현황 :</caption>
- <select1 id="radio1" ref="/root/main/cond/ampmflag" class="radio_search" navindex="15" appearance="full" cellspacing="7" cols="4" overflow="visible" style="left:335px; top:10px; width:165px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>-</value>
- </item>
- <item>
- <label>오전</label>
- <value>A</value>
- </item>
- <item>
- <label>오후</label>
- <value>P</value>
- </item>
- </choices>
- </select1>
- <button id="button3" class="btn1_letter2" style="left:1066px; top:6px; width:56px; height:22px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
-
- if (fileName != "")
- {
- grd_rsrvlist.saveExcel(fileName);
- }
- ]]>
- </script>
- </button>
- <button id="button4" class="btn1_letter2" style="left:1126px; top:6px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInqurySelectedPrgm();
-
- ]]>
- </script>
- </button>
- </group>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">DCC 월별 예약현황조회</caption>
- <caption id="caption1" class="tit_2" style="left:5px; top:67px; width:100px; height:13px; ">공지사항</caption>
- <line id="line2" class="line_1" style="x1:5px; y1:83px; x2:1190px; y2:83px; "/>
- <textarea id="textarea1" ref="/root/send/remark" scroll="autovscroll" style="left:5px; top:88px; width:1185px; height:130px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- ]]>
- </script>
- </textarea>
- <caption id="caption2" class="tit_2" style="left:5px; top:230px; width:136px; height:13px; ">월별 예약현황 조회</caption>
- <line id="line1" class="line_1" style="x1:5px; y1:245px; x2:1190px; y2:245px; "/>
- <button id="button1" class="btn2_letter2" style="left:1148px; top:62px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- model.makeValue("/root/send/dccweekday" , "0"); // 공지사항 저장
- model.makeValue("/root/send/opdate" , "00000000"); // 공지사항 저장
- model.makeValue("/root/send/ambed" , "0");
- model.makeValue("/root/send/pmbed" , "0");
- model.makeValue("/root/send/sumbed" , "0");
- model.makeValue("/root/send/instcd" , getUserInfo("dutplceinstcd"));
- submit("TXMNP06501");
- ]]>
- </script>
- </button>
- <datagrid id="grd_rsrvlist" nodeset="/root/main/rsrv/rsrvlist" caption="날짜^" colsep="^" colwidth="45, 70" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:5px; top:250px; width:1185px; height:505px; ">
- <col ref="temp" style="text-align:center; vertical-align:middle; "/>
- <col ref="opdate" style="text-align:center; vertical-align:middle; "/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if( isDataCell() ) {
- setPopupMenu("grd_rsrvlist", false, "/root/popup/item", "name", "func");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if( isDataCell() ) {
- var cur_Row = grd_rsrvlist.row;
- var cur_Col = grd_rsrvlist.col;
- var color = grd_rsrvlist.cellStyle("background-color", cur_Row, cur_Col, cur_Row, cur_Col);
-
- if(color == "#bebebe"){
- messageBox("예약", "E001");
- }else{
- var opdate = grd_rsrvlist.valueMatrix(cur_Row, 1);
- var maxa = model.getValue("/root/rsrv/rsrv/maxa");
-
- if(cur_Col / 2 <= maxa)
- {
- var ampmflag = "A"
- }else{
- var ampmflag = "P"
- }
-
- opener.window.javaScript.setParameter("SPMMO00100_inhopedd", opdate);
- opener.window.javaScript.setParameter("SPMMO00100_ampmflag", ampmflag);
- window.close();
- }
- }
- ]]>
- </script>
- </datagrid>
- <group id="grp_btn" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; ">
- <output id="opt_totpatcnt" ref="/root/main/cond/totpatcnt" style="left:109px; top:4px; width:25px; height:19px; font-size:10pt; font-weight:bold; text-align:center; "/>
- <caption id="caption10" style="left:10px; top:4px; width:105px; height:20px; font-weight:bold; vertical-align:middle; ">* 예약명수 : 총</caption>
- <button id="button2" class="btn3_letter9" style="left:1050px; top:3px; width:140px; height:22px; ">
- <caption>DCC 예약 bed생성</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- setParameter("opcnfmdd", model.getValue("/root/main/cond/opcnfmdd"));
- modal("SPMNP06400");
- fGetDCCRsrv();
- ]]>
- </script>
- </button>
- <caption id="caption3" style="left:134px; top:4px; width:66px; height:20px; font-weight:bold; vertical-align:middle; ">명, 오전</caption>
- <output id="opt_ampatcnt" ref="/root/main/cond/ampatcnt" style="left:194px; top:4px; width:25px; height:19px; font-size:10pt; font-weight:bold; text-align:center; "/>
- <caption id="caption4" style="left:219px; top:4px; width:61px; height:20px; font-weight:bold; vertical-align:middle; ">명, 오후</caption>
- <caption id="caption7" style="left:304px; top:4px; width:35px; height:20px; font-weight:bold; vertical-align:middle; ">명</caption>
- <output id="opt_pmpatcnt" ref="/root/main/cond/pmpatcnt" style="left:280px; top:4px; width:25px; height:19px; font-size:10pt; font-weight:bold; text-align:center; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|