123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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>
- <grpmasterinfo>
- <grpmasterinfolist>
- <shownm/>
- <grtype/>
- <staffid/>
- <orddeptcd/>
- </grpmasterinfolist>
- </grpmasterinfo>
- <drinfo>
- <drinfolist>
- <drnm/>
- <drid/>
- <deptcd/>
- <phone/>
- <bbtel/>
- </drinfolist>
- </drinfo>
- <workerinfo>
- <workerinfolist/>
- </workerinfo>
- <titleinfo>
- <worktitle/>
- <grpmtitle/>
- <staffnm/>
- <staffid/>
- <fromtm/>
- <totm/>
- </titleinfo>
- <drdetlinfo>
- <drnm/>
- <drid/>
- <deptcd/>
- <phone/>
- <bbtel/>
- </drdetlinfo>
- </main>
- <cond>
- <sdate/>
- <edate/>
- <orddeptcd/>
- </cond>
- <init>
- <orddeptinfo>
- <orddeptinfolist>
- <orddeptcd/>
- <orddeptnm/>
- </orddeptinfolist>
- </orddeptinfo>
- </init>
- <send/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- var curdt = getCurrentDate().substring(0, 8);
- model.makeValue("/root/cond/sdate", curdt);
- model.makeValue("/root/cond/edate", curdt);
-
- var curym = getCurrentDate().substring(0, 6);
- model.removenode("/root/send");
- model.makeValue("/root/send/srchym", curym);
- model.makeValue("/root/send/gbn", 'E');
-
- // 당직 기준 진료과 가져오기
- submit("TRMNE05401");
- ]]>
- </script>
- <submission id="TRMNE05401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/orddeptinfo/orddeptinfolist"/>
- <submission id="TRMNE05601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/workerinfo/workerinfolist"/>
- <submission id="TXMNE05401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/workerinfo/workerinfolist"/>
- <submission id="TXMNE05402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/deldata" resultref="/root/main/workerinfo/workerinfolist"/>
- </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"/>
- <script type="javascript">
- <![CDATA[
- //이전 셀의 행,열 인덱스를 저장하는 변수
- var col = 0;
- var row = 0;
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="780" pageheight="850" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:16px; width:745px; height:774px; text-align:center; ">
- <!-- 트리그룹시작 -->
- <!-- 트리그룹종료 -->
- <!-- 당직리스트그룹시작 -->
- <!-- 당직리스트그룹종료 -->
- <!-- 당직대상자그룹시작 -->
- <!-- 당직대상자그룹종료 -->
- <line id="line2" class="line_1" style="x1:1px; y1:42px; x2:723px; y2:42px; "/>
- <!-- 조회그룹 시작 -->
- <group id="group4" style="left:1px; top:0px; width:723px; height:40px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:723px; height:40px; "/>
- <button id="btn_search" class="btn1_letter2" navindex="3" style="left:645px; top:10px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //당직자를 조회하기 전에 이전 변경내역이 있는지 조회하여 재조회할것인지 여부에 따라 조회를 진행한다.
- var orddeptcd = model.getValue("/root/cond/orddeptcd");
-
- if(orddeptcd == null || orddeptcd == ''){
- messageBox("선택된 진료과가 없습니다.", "E999");
- return;
- }
-
- model.removenode("/root/send");
- model.makeValue("/root/send/orddeptcd", model.getValue("/root/cond/orddeptcd"));
- model.makeValue("/root/send/sdate", model.getValue("/root/cond/sdate"));
- model.makeValue("/root/send/edate", model.getValue("/root/cond/edate"));
- model.makeValue("/root/send/gbn", 'E');
-
- submit("TRMNE05601");
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:638px; y1:9px; x2:638px; y2:34px; "/>
- <caption id="caption4" class="search_name" style="left:5px; top:9px; width:91px; height:17px; ">기 간:</caption>
- <caption id="caption1" class="search_name" style="left:309px; top:10px; width:91px; height:17px; ">진료과:</caption>
- <select1 id="cmb_orddeptcd" ref="/root/cond/orddeptcd" navindex="2" appearance="minimal" style="left:380px; top:10px; width:180px; height:19px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/orddeptinfo/orddeptinfolist">
- <label ref="deptnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch('DOMActivate');
- ]]>
- </script>
- </select1>
- <input id="input1" ref="/root/cond/sdate" class="input_search" inputtype="date" style="left:70px; top:9px; width:95px; height:19px; text-align:center; "/>
- <input id="input2" ref="/root/cond/edate" class="input_search" inputtype="date" style="left:189px; top:9px; width:95px; height:19px; text-align:center; "/>
- <caption id="caption2" style="left:171px; top:9px; width:15px; height:20px; text-align:center; ">~</caption>
- </group>
- <!-- 조회그룹 종료 -->
- <datagrid id="grd_workerlist" nodeset="/root/main/workerinfo/workerinfolist" caption="일자^요일^진료과^의사^수정일자^수정자" colsep="^" colwidth="120, 50, 150, 100, 160, 100" defaultrows="0" focuscolor="#ece1ec" mergecellsfixedrows="never" rowheader="update" rowsep="|" selectionmode="free" style="left:1px; top:48px; width:723px; height:707px; ">
- <col ref="workdd" format="yyyy-mm-dd"/>
- <col ref="datenm"/>
- <col ref="orddeptnm"/>
- <col ref="drnm"/>
- <col ref="lastupdtdt"/>
- <col ref="lastupdtrnm"/>
- </datagrid>
- </group>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:745px; height:13px; ">응급실 당직 전문의 스케줄 변경이력 조회</caption>
- </xhtml:body>
- </xhtml:html>
|