123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318 |
- <?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>응급실 당직 전문의 (on-call) 스케줄 관리</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>
- <srchym/>
- <orddeptcd/>
- <orddeptnm/>
- </cond>
- <init>
- <orddeptinfo>
- <orddeptinfolist>
- <orddeptcd/>
- <orddeptnm/>
- </orddeptinfolist>
- </orddeptinfo>
- <menu>
- <item>
- <name>추가</name>
- <func>fAddWorkDr</func>
- </item>
- <item>
- <name>삭제</name>
- <func>fSetWorkDr</func>
- </item>
- <item>
- <name>새로고침</name>
- <func>fRefreshWorkDr</func>
- </item>
- </menu>
- </init>
- <send/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //진료행정 에서만 출력
- //3310000000 - 본원 진료행정팀
- //3310100000 - 칠곡 진료행정파트
- /*if (getUserInfo("dutplcecd") == '3310000000' || getUserInfo("dutplcecd") == '3310100000') {
- btn_prt.disabled = false;
- } else {
- btn_prt.disabled = true;
- }*/ // 2012.09.27 김재철 교수 요청으로 출력 가능하도록 수정 KJS
-
- fInit();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-close">
- <![CDATA[
- //20090629 dhkim
- //당직자를 조회하기 전에 이전 변경내역이 있는지 조회하여 재조회할것인지 여부에 따라 조회를 진행한다.
- var isRefresh = isScheduleRefresh(true);
- if(isRefresh == 'N'){
- grd_grpmaster.row = curRow;
- return;
- }else{
- window.close();
- }
-
- ]]>
- </script>
- <submission id="TRMNE05401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/orddeptinfo/orddeptinfolist"/>
- <submission id="TRMNE05402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/drinfo/drinfolist"/>
- <submission id="TRMNE05403" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/workerinfo/workerinfolist"/>
- <submission id="TRMNE05404" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/basicinfo" resultref="/root/init/basicinfo"/>
- <submission id="TRMNE09002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
- <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/ercareweb/js/SMMNE05400.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="920" pageheight="920" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:16px; width:900px; height:904px; text-align:center; ">
- <!-- 트리그룹시작 -->
- <!-- 트리그룹종료 -->
- <!-- 당직리스트그룹시작 -->
- <group id="group1" style="left:363px; top:0px; width:532px; height:825px; vertical-align:top; ">
- <caption id="cpt_worktitle" ref="/root/main/titleinfo/worktitle" class="tit_2" style="left:2px; top:47px; width:288px; height:13px; ">당직 리스트</caption>
- <line id="line3" class="line_1" style="x1:2px; y1:62px; x2:520px; y2:62px; "/>
- <button id="button42" class="btn4_letter2" style="left:408px; top:40px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveWorkDr();//당직자스케줄을저장한다
- ]]>
- </script>
- </button>
- <datagrid id="grd_workerlist" nodeset="/root/main/workerinfo/workerinfolist" caption="일자^요일^의사^n-zone^hp no^drid^orddeptcd^orddeptnm" colsep="^" colwidth="120, 50, 100, 80, 120, 0, 0, 0" defaultrows="0" focuscolor="#ece1ec" mergecellsfixedrows="never" rowheader="update" rowsep="|" selectionmode="free" style="left:2px; top:68px; width:518px; height:752px; ">
- <col ref="workdd" format="yyyy-mm-dd"/>
- <col ref="datenm"/>
- <col ref="drnm"/>
- <col ref="nzone"/>
- <col ref="hpno"/>
- <col ref="drid" visibility="hidden"/>
- <col ref="orddeptcd" visibility="hidden"/>
- <col ref="orddeptnm" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //당직의사세팅
- var clickRow = grd_workerlist.row;
- var clickCol = grd_workerlist.col;
- var clickColNm = grd_workerlist.colAttribute(3, "ref");
- if(clickColNm != 'workdd'){//기준일클릭한게 아니면 의사정보세팅
-
- fSetWorkDr('ADD');//당직리스트에 선택된 당직대상자를 그리드에 세팅
-
- /*
- var drid = model.getValue('/root/main/workerinfo/workerinfolist[' + clickRow + ']/drid' + clickColNm.substring(4));
- fSetDrInfo('worklist', drid);//의사상세정보를 세팅
- */
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if(event.button == 3){
-
- var curRow = grd_workerlist.mouseRow;
-
- if (curRow < 1) return;
-
- var del_workdd = model.getValue("/root/main/workerinfo/workerinfolist[" + curRow + "]/workdd");
- var del_drnm = model.getValue("/root/main/workerinfo/workerinfolist[" + curRow + "]/drnm");
- var del_deptcd = model.getValue("/root/main/workerinfo/workerinfolist[" + curRow + "]/orddeptcd");
-
- var vbYes = messageBox("[" + del_workdd + "/" + del_drnm + "] 일정을", "Q001");
-
- if (vbYes == 6) {
- fDelWorkDr (del_workdd, del_deptcd);
- }
- }
- ]]>
- </script>
- </datagrid>
- <button id="btn_prt" class="btn4_letter2" style="left:465px; top:40px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/cond/orddeptnm", cmb_orddeptcd.label);
- exeReportPreview("RPMNE05400", "XMLSTR","","","");
- ]]>
- </script>
- </button>
- </group>
- <!-- 당직리스트그룹종료 -->
- <!-- 당직대상자그룹시작 -->
- <!-- 당직대상자그룹종료 -->
- <line id="line2" class="line_1" style="x1:1px; y1:62px; x2:361px; y2:62px; "/>
- <!-- 조회그룹 시작 -->
- <group id="group4" style="left:1px; top:0px; width:360px; height:60px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:360px; height:60px; "/>
- <button id="btn_search" class="btn1_letter2" navindex="3" style="left:295px; top:20px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //당직자를 조회하기 전에 이전 변경내역이 있는지 조회하여 재조회할것인지 여부에 따라 조회를 진행한다.
- var isRefresh = isScheduleRefresh();
- if(isRefresh == 'N'){
- grd_grpmaster.row = curRow;
- return;
- }
-
- var orddeptcd = model.getValue("/root/cond/orddeptcd");
-
- if(orddeptcd == null || orddeptcd == ''){
- messageBox("선택된 진료과가 없습니다.", "E999");
- return;
- }
-
- fGetDrInfo(orddeptcd); //선택된 진료과의 의사리스트조회
- fGetWorkScheduleList(orddeptcd); //선택된 진료과의 당직 스케줄 조회
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:288px; y1:9px; x2:288px; y2:54px; "/>
- <caption id="caption4" class="search_name" style="left:5px; top:9px; width:91px; height:17px; ">당직년월 :</caption>
- <input id="ipt_srchym" ref="/root/cond/srchym" class="input_search" navindex="1" format="yyyy-mm" style="left:126px; top:8px; width:88px; height:19px; "/>
- <caption id="caption1" class="search_name" style="left:5px; top:32px; width:91px; height:17px; ">진 료 과 :</caption>
- <select1 id="cmb_orddeptcd" ref="/root/cond/orddeptcd" navindex="2" appearance="minimal" style="left:90px; top:32px; width:190px; 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[
- //당직자를 조회하기 전에 이전 변경내역이 있는지 조회하여 재조회할것인지 여부에 따라 조회를 진행한다.
- var isRefresh = isScheduleRefresh();
- if(isRefresh == 'N'){
- grd_grpmaster.row = curRow;
- return;
- }
- btn_search.dispatch('DOMActivate');
- ]]>
- </script>
- </select1>
- <button id="btn_bfyear" class="icon_pre_year" style="left:90px; top:10px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fClkBfYear(model.getValue('/root/cond/srchym'));
- ]]>
- </script>
- </button>
- <button id="btn_bfmonth" class="icon_pre_month" style="left:108px; top:10px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fClkBfMonth(model.getValue('/root/cond/srchym'));
- ]]>
- </script>
- </button>
- <button id="btn_afmonth" class="icon_next_month" style="left:217px; top:10px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fClkAfMonth(model.getValue('/root/cond/srchym'));
- ]]>
- </script>
- </button>
- <button id="btn_afyear" class="icon_next_year" style="left:235px; top:10px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fClkAfYear(model.getValue('/root/cond/srchym'));
- ]]>
- </script>
- </button>
- </group>
- <!-- 조회그룹 종료 -->
- <datagrid id="grd_drlist" nodeset="/root/main/drinfo/drinfolist" allowselection="false" caption="사번^이름^nzone^Hp No" colsep="^" colwidth="70, 80, 70, 120" defaultrows="0" focuscolor="#7fef0f" mergecellsfixedrows="bycolrec" rowsep="|" style="left:1px; top:68px; width:360px; height:752px; ">
- <col ref="drid"/>
- <col ref="drnm"/>
- <col ref="nzone"/>
- <col ref="hpno"/>
- <col ref="orddeptcd"/>
- <script type="javascript" ev:event="onmouseover">
- <![CDATA[
- //데이터 셀에 마우스가 올라오면 스타일을 바꾼다
- if(grd_drlist.isCell(event.target) && grd_drlist.mouseRow >= grd_drlist.fixedRows && grd_drlist.mouseCol >= grd_drlist.fixedCols)
- {
- grd_drlist.rebuildStyle(row, col);
- grd_drlist.cellStyle("background-color", grd_drlist.mouseRow, grd_drlist.mouseCol) = "#ece1ec";
- row = grd_drlist.mouseRow;
- col = grd_drlist.mouseCol;
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onmouseout">
- <![CDATA[
- grd_drlist.rebuildStyle(row, col);
- ]]>
- </script>
- </datagrid>
- <shape id="roundrect3" class="roundrect_example" appearance="roundrect" style="left:0px; top:828px; width:885px; height:72px; "/>
- <caption id="caption2" style="left:5px; top:840px; width:870px; height:20px; ">* on-call 시간은 평일 - 당일 17:30 ~ 익일 08:30 , 주말 및 공휴일 - 당일 08:30 ~ 익일 08:30까지 입니다.</caption>
- <caption id="caption5" style="left:5px; top:860px; width:870px; height:28px; ">
- <![CDATA[* on-call 명단은 반드시 전산으로 입력하여야 하며,
- 학회나 개인사정 등으로 수정 및 변경이 될 때에도 전산으로 입력하신 뒤 진료행정팀으로 수정된 명단을 제출하여 주시기 바랍니다.]]>
- </caption>
- </group>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">응급실 당직 전문의 (on-call) 스케줄 관리</caption>
- </xhtml:body>
- </xhtml:html>
|