123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775 |
- <?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>
- <totalrsrvlist>
- <rsrvposstm>
- <rsrvtm/>
- <count/>
- <max/>
- </rsrvposstm>
- <rsrvlist>
- <srchrsrvtm/>
- <pid/>
- <hngnm/>
- <rrsgtno/>
- <calcscorcd/>
- <sna/>
- <statcd/>
- <roomcd/>
- <orddepthngnm/>
- <orddrnm/>
- <prcpdt/>
- <prcpnm/>
- <rsrvrnm/>
- <hight/>
- <weight/>
- <execprcpuniqno/>
- <prcpkindcd/>
- <prcpgenrflag/>
- <basecd/>
- <prcpexecdeptcd/>
- <excuroomcd/>
- <inflag/>
- <rcptacptyn/>
- <execbaseflag/>
- <orddd/>
- <excupartcd/>
- <modality/>
- <prcpdelivefact/>
- <carecnfmdd/>
- <rsrvdt/>
- <orddeptcd/>
- <orddrid/>
- <prcpno/>
- <basesuppdeptcd/>
- <cretno/>
- <wardcd/>
- <srchrsrvdt/>
- <rsrvrem/>
- <eqmtifyn/>
- <rgstdeptcd/>
- <rgstrid/>
- <execdt/>
- <execrid1/>
- <inclprcpcd/>
- <lrgcd/>
- <mdlcd/>
- <actorddd/>
- <examroomnm/>
- <pacsnocretyn/>
- <examroomnm/>
- <execprcpstatcd/>
- <tmpldata/>
- <prcpdd/>
- <rsrvrid/>
- </rsrvlist>
- <examcuredeptmemolist>
- <memorem/>
- </examcuredeptmemolist>
- </totalrsrvlist>
- </main>
- <send>
- <excuroomcd/>
- <rsrvdd/>
- <rsrvdate/>
- <popupdata/>
- <curdate/>
- <prcpexecdeptcd/>
- <sgubn/>
- <acptlistflag/>
- <allstatus>Y</allstatus>
- <globalinstance>
- <instance1/>
- </globalinstance>
- </send>
- <init>
- <curerprescondlist>
- <rsrvcalendar/>
- </curerprescondlist>
- <roomcmb_info>
- <initexecroom>
- <excuroomcdid/>
- <excuroomcdnm/>
- </initexecroom>
- <prcpexecdeptcdlist>
- <prcpexecdeptcd/>
- </prcpexecdeptcdlist>
- </roomcmb_info>
- <calenlist>
- <calendinfo>
- <basedd/>
- <dutflag/>
- </calendinfo>
- </calenlist>
- </init>
- <hidden>
- <calendar>
- <year/>
- <month/>
- <weeklist>
- <list>
- <sun/>
- <mon/>
- <tue/>
- <wed/>
- <thu/>
- <fri/>
- <sat/>
- <sun_memo/>
- <mon_memo/>
- <tue_memo/>
- <wed_memo/>
- <thu_memo/>
- <fri_memo/>
- <sat_memo/>
- </list>
- </weeklist>
- <dd/>
- </calendar>
- <grdcellcolor>
- <calrow/>
- <calcol/>
- <bfcalrow/>
- <bfcalcol/>
- <color/>
- </grdcellcolor>
- <prcpgenrflag>
- <gubn/>
- </prcpgenrflag>
- </hidden>
- <temp/>
- </root>
- </instance>
- <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/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- model.setValue("/root/send/excuroomcd",model.getValue("/root/send/popupdata/excuroomcd"));
- model.setValue("/root/send/globalinstance/instance1",model.getValue("/root/send/popupdata/suppdeptcd"));
-
- //건진처방 구분
- //model.setValue("/root/send/data/sgubn",model.getValue("/root/properties/menu/menuparam"));
-
-
- //검사실 코드 갖고오기
- submit("TRAEA01511");
-
- //지원부서 세팅
- var prcpexecdeptcd = "";
- for(var i = 1; i < grd_prcpexecdeptcd.rows ; i++){
- prcpexecdeptcd = model.getValue("/root/init/roomcmb_info/prcpexecdeptcdlist["+i+"]/prcpexecdeptcd") + " " + prcpexecdeptcd;
- }
- model.setValue("/root/send/prcpexecdeptcd",prcpexecdeptcd);
-
-
- cmb_excuroom.select(0);
-
-
- //처방선택시 자동으로 달력에서 오늘날짜 onclick 이벤트 처리
- initCalendar();
- setCurrentDate();
- getRsrvPossTm(grd_calendar);
-
- initGridStyle("grd_rsrvlist");
- setRowStyle("grd_rsrvlist" , "6" , "예약" , "statcd", "equal" );
-
-
-
- ]]>
- </script>
- <bind id="bind_prcpexecdeptcd" ref="/root/main/ocdlst/item/prcpexecdeptcd" readonly="../prcpexecdeptcd!=''"/>
- <submission id="TRAEA01513" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/rsrvlist"/>
- <submission id="TRAEA01107" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/init/curerprescondlist"/>
- <submission id="TRAEA01514" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/totalrsrvlist"/>
- <submission id="TRAEA01511" ref="/root/send/globalinstance" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/init/roomcmb_info"/>
- <submission id="TRAEA02012" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/init/calenlist"/>
- <submission id="TRAEA01106" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/totalrsrvlist"/>
- </model>
- <script type="javascript">
- <![CDATA[
- /*******************/
- /*** 달력초기화 ***/
- /*****************/
- function initCalendar() {
-
- var curDate = getCurrentDate().toDate();
-
- model.setValue("/root/hidden/calendar/year", curDate.getDateFormat('YYYY'));
- model.setValue("/root/hidden/calendar/month", curDate.getDateFormat('MM'));
- //model.refresh();
- setCalendar(curDate);
- }
-
- /*****************/
- /*** 달력세팅 ***/
- /***************/
- function setCalendar(dateObj) {
-
- // 그리드 초기화
- model.removeNodeset("/root/hidden/calendar/weeklist/list");
- model.removeNodeset("/root/init/curerprescondlist/rsrvcalendar");
- grd_calendar.rebuild()
-
- dateObj.setDate(1);
- var startDay = dateObj.getDay();
- var days = dateObj.getMonthDay();
-
- var rows = Math.ceil( ( startDay + days ) / 7 );
- for( var i = 0; i < rows; i++ )
- grd_calendar.addRow(false);
-
- grd_calendar.rebuild();
- var rowIndex = grd_calendar.fixedRows;
- var colIndex = startDay;
- for( var i = 1; i <= days; i++ ) {
- grd_calendar.valueMatrix(rowIndex, colIndex) = i;
- grd_calendar.valueMatrix(rowIndex, colIndex + 7) = "0/0";
- colIndex++;
- if( colIndex == 7 ) {
- colIndex = 0;
- rowIndex++;
- }
- }
-
- model.setValue("/root/send/rsrvdd",model.getValue("/root/hidden/calendar/year")+model.getValue("/root/hidden/calendar/month")+"01");
- model.setValue("/root/send/curdate",model.getValue("/root/hidden/calendar/year")+model.getValue("/root/hidden/calendar/month")+"01");
-
- fCalendar();
-
- setRsrvPresCondByMonth();
-
- }
-
- function fCalendar(){
- if (submit("TRAEA02012")){
- var isMonth = model.getValue("/root/hidden/calendar/month");
- var isYear = model.getValue("/root/hidden/calendar/year");
- var isDate = (isYear+isMonth+1).toDate();
-
- var startDay = isDate.getDay();
- for (var i = 1; i < datagrid3.rows; i++) {
- var dd = model.getValue("/root/init/calenlist/calendinfo[" + i + "]/basedd");
-
- var colidx = dd.toDate().getDay();
- var rowidx = Math.ceil( ( startDay + Number(dd.substr(6,2)) ) / 7 );
- //var rowidx = Math.ceil( ( startDay + Number(dd.substr(6,2)) ) / 7 );
- //alert("i==" + i + "==dutflag==" + model.getValue("/root/init/calenlist/calendinfo[" + i + "]/dutflag"));
- if (model.getValue("/root/init/calenlist/calendinfo[" + i + "]/dutflag") == "8"){
- grd_calendar.cellstyle("color", rowidx, colidx, rowidx, colidx) = "red";
- }else if (model.getValue("/root/init/calenlist/calendinfo[" + i + "]/dutflag") == "4"){
- grd_calendar.cellstyle("color", rowidx, colidx, rowidx, colidx) = "blue";
- }else{
- grd_calendar.cellstyle("color", rowidx, colidx, rowidx, colidx) = "black";
- }
- }
- grd_calendar.refresh();
- }
- }
- /******************************/
- /*** 달력 가용현황 뿌려주기 ***/
- /******************************/
- function setRsrvPresCondByMonth() {
-
- submit("TRAEA01107");
-
- var isMonth = model.getValue("/root/hidden/calendar/month");
- var isYear = model.getValue("/root/hidden/calendar/year");
- var isDate = (isYear+isMonth+1).toDate();
- var startDay = isDate.getDay();
-
- for (var i = 1; i < grd_temp.rows; i++) {
- var dd = model.getValue("/root/init/curerprescondlist/rsrvcalendar[" + i + "]/rsrvdd");
-
- var colidx = dd.toDate().getDay();
- var rowidx = Math.ceil( ( startDay + Number(dd.substr(6,2)) ) / 7 );
- grd_calendar.valueMatrix(rowidx, colidx+7) = model.getValue("/root/init/curerprescondlist/rsrvcalendar[" + i + "]/count") + "/" + model.getValue("/root/init/curerprescondlist/rsrvcalendar[" + i + "]/max") ;
-
- //예약가능일자 녹색주기
- if(model.getValue("/root/init/curerprescondlist/rsrvcalendar[" + i + "]/count") < model.getValue("/root/init/curerprescondlist/rsrvcalendar[" + i + "]/max")){
-
- grd_calendar.cellStyle("background-color", rowidx, colidx) = "#c4e693";
- grd_calendar.cellStyle("background-color", rowidx, colidx+7) = "#c4e693"; // #D9EFB9 < #C4E693 < #ABDC65
- }
- }
- }
-
-
- /***********************/
- /*** 오늘날짜 색 주기 ***/
- /***********************/
- function setCurrentDate() {
-
- var curDate = getCurrentDate().substr(6,2); //오늘날짜
- var curWeek = getCurrentDate().toDate().getDayOfWeek("E").toLowerCase(); //오늘요일
- if(curDate <10) {
- curDate= curDate.substr(1,1);
- }
-
- if(curWeek == "sun")
- model.setValue("/root/hidden/grdcellcolor/calcol",0);
- if(curWeek == "mon")
- model.setValue("/root/hidden/grdcellcolor/calcol",1);
- if(curWeek == "tue")
- model.setValue("/root/hidden/grdcellcolor/calcol",2);
- if(curWeek == "wed")
- model.setValue("/root/hidden/grdcellcolor/calcol",3);
- if(curWeek == "thu")
- model.setValue("/root/hidden/grdcellcolor/calcol",4);
- if(curWeek == "fri")
- model.setValue("/root/hidden/grdcellcolor/calcol",5);
- if(curWeek == "sat")
- model.setValue("/root/hidden/grdcellcolor/calcol",6);
-
- for(var i = 0 ; i <grd_calendar.rows; i++ ) {
- if(model.getValue("/root/hidden/calendar/weeklist/list["+i+"]/"+curWeek) == curDate ) {
- model.setValue("/root/hidden/grdcellcolor/calrow",i);
-
- }
- }
-
- var calRow = Number(model.getValue("/root/hidden/grdcellcolor/calrow"));
- var calCol = Number(model.getValue("/root/hidden/grdcellcolor/calcol")); ; //현재선택
-
- if( calCol >= 7 )
- calCol -= 7;
-
- grd_calendar.cellStyle("background-color", calRow, calCol) = "#ffcc66"; //오늘날짜 노란색
- grd_calendar.cellStyle("background-color", calRow, calCol+7) = "#ffcc66"; //오늘날짜 노란색
- //setCellColor(grd_calendar);
- }
-
-
- /***********************/
- /*** 선택날짜 색 주기 ***/
- /***********************/
- function setCellColor(gridObj) {
-
- var calRow = 0; //현재선택
- var calCol = 0; //현재선택
- var bfcalRow = 0; //전에 선택
- var bfcalCol = 0; //전에 선택
-
- var white = 1; //#ffffff
- var green = 2; //#c4e693
- var yellow = 3; //#ffcc66
-
-
- calRow = Number(model.getValue("/root/hidden/grdcellcolor/calrow"));
- calCol = Number(model.getValue("/root/hidden/grdcellcolor/calcol"));
-
- bfcalRow = Number(model.getValue("/root/hidden/grdcellcolor/bfcalrow"));
- bfcalCol = Number(model.getValue("/root/hidden/grdcellcolor/bfcalcol"));
-
-
- // 1. 원래 색으로 돌려놓기
- if(model.getValue("/root/hidden/grdcellcolor/color") == "1" ) {
-
- gridObj.cellStyle("background-color", bfcalRow, bfcalCol) = "#ffffff";
-
- if( bfcalCol < 7 )
- bfcalCol += 7;
- else
- bfcalCol -= 7;
-
- gridObj.cellStyle("background-color", bfcalRow, bfcalCol) = "#ffffff";
- }
- else if (model.getValue("/root/hidden/grdcellcolor/color") == "2" ) {
-
- gridObj.cellStyle("background-color", bfcalRow, bfcalCol) = "#c4e693";
-
- if( bfcalCol < 7 )
- bfcalCol += 7;
- else
- bfcalCol -= 7;
-
- gridObj.cellStyle("background-color", bfcalRow, bfcalCol) = "#c4e693";
- }else if (model.getValue("/root/hidden/grdcellcolor/color") == "3" ) {
-
- gridObj.cellStyle("background-color", bfcalRow, bfcalCol) = "#ffcc66";
-
- if( bfcalCol < 7 )
- bfcalCol += 7;
- else
- bfcalCol -= 7;
-
- gridObj.cellStyle("background-color", bfcalRow, bfcalCol) = "#ffcc66";
- }
-
-
- // 2. bf 인스턴스에 선택한 원래 셀 담아두기
-
- if(gridObj.cellStyle("background-color", calRow, calCol) == "white" ) {
-
- model.setValue("/root/hidden/grdcellcolor/color", "1");
- }
- if(gridObj.cellStyle("background-color", calRow, calCol) == "#c4e693" ) {
-
- model.setValue("/root/hidden/grdcellcolor/color", "2");
- }
- if(gridObj.cellStyle("background-color", calRow, calCol) == "#ffcc66" ) {
-
- model.setValue("/root/hidden/grdcellcolor/color", "3");
- }
- model.setValue("/root/hidden/grdcellcolor/bfcalrow",calRow);
- model.setValue("/root/hidden/grdcellcolor/bfcalcol",calCol);
- //alert("인스턴스 : "+model.getValue("/root/hidden/grdcellcolor/color"));
-
- // 3. 선택한 셀에 보라색 주기
-
-
- // gridObj.rebuildStyle();
-
- gridObj.cellStyle("background-color", calRow, calCol) = "#daa7d9";
-
- if( calCol < 7 )
- calCol += 7;
- else
- calCol -= 7;
-
- gridObj.cellStyle("background-color", calRow, calCol) = "#daa7d9";
-
-
- }
-
-
- /***********************/
- /*** 선택날짜 색 주기 ***/
- /***********************/
-
- function getRsrvPossTm(gridObj) {
-
- var calRow = model.getValue("/root/hidden/grdcellcolor/calrow");
- var calCol = model.getValue("/root/hidden/grdcellcolor/calcol");
-
- if( calCol >= 7 )
- calCol -= 7;
-
- var yyyy = model.getValue("/root/hidden/calendar/year");
- var mm = model.getValue("/root/hidden/calendar/month");
- var dd = model.getValue("/root/hidden/calendar/weeklist/list[" + calRow + "]/" + gridObj.colAttribute(calCol, "ref"));
- if (getStringLength(dd) == 1) {
- dd = "0" + dd;
- }
-
- model.setValue("/root/send/rsrvdd", yyyy + mm + dd);
- model.setValue("/root/send/rsrvdate",model.getValue("/root/send/data/rsrvdd"));
- model.setValue("/root/send/acptlistflag", "Y");
- model.removeNodeset("/root/main/totalrsrvlist/examcuredeptmemolist");
- submit("TRAEA01106");
- // submit("TRAEA01514");
-
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1030" pageheight="480" guideline="1,1194;1,909;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group5" scroll="auto" style="left:10px; top:6px; width:1000px; height:414px; ">
- <line id="line5" class="line_1" style="x1:2px; y1:81px; x2:284px; y2:81px; "/>
- <caption id="caption1" class="tit_2" style="left:5px; top:67px; width:148px; height:13px; ">예약일자</caption>
- <group id="grp_calendar" scroll="auto" style="left:2px; top:86px; width:283px; height:27px; ">
- <shape id="rectangle1" class="calendar_header" appearance="rectangle" style="left:1px; top:0px; width:282px; height:27px; "/>
- <button id="button32" class="icon_next_year" style="left:238px; top:6px; width:16px; height:16px; background-image:../../../com/commonweb/images/cal_next_y.gif; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var isMonth = model.getValue("/root/hidden/calendar/month");
- var isYear = model.getValue("/root/hidden/calendar/year");
- var isDate = (isYear+isMonth+1).toDate().getAddDate(1,'Y');
- model.setValue("/root/hidden/calendar/year", isDate.getDateFormat('YYYY'));
- model.setValue("/root/hidden/calendar/month", isDate.getDateFormat('MM'));
- model.refresh();
-
- setCalendar(isDate);
-
- ]]>
- </script>
- </button>
- <button id="btn_premonth" class="icon_pre_month" style="left:78px; top:6px; width:16px; height:16px; background-image:../../../com/commonweb/images/cal_pre_m.gif; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var isMonth = model.getValue("/root/hidden/calendar/month");
- var isYear = model.getValue("/root/hidden/calendar/year");
- var isDate = (isYear+isMonth+1).toDate().getAddDate(-1,'M');
- model.setValue("/root/hidden/calendar/year", isDate.getDateFormat('YYYY'));
- model.setValue("/root/hidden/calendar/month", isDate.getDateFormat('MM'));
- model.refresh();
-
-
- setCalendar(isDate);
-
- ]]>
- </script>
- </button>
- <button id="button34" class="icon_next_month" style="left:219px; top:6px; width:16px; height:16px; background-image:../../../com/commonweb/images/cal_next_m.gif; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var isMonth = model.getValue("/root/hidden/calendar/month");
- var isYear = model.getValue("/root/hidden/calendar/year");
- var isDate = (isYear+isMonth+1).toDate().getAddDate(1,'M');
- model.setValue("/root/hidden/calendar/year", isDate.getDateFormat('YYYY'));
- model.setValue("/root/hidden/calendar/month", isDate.getDateFormat('MM'));
- model.refresh();
-
-
- setCalendar(isDate);
-
- // getCurerPresCond();
- ]]>
- </script>
- </button>
- <output id="opt_year" ref="/root/hidden/calendar/year" class="calendar_output" style="left:108px; top:3px; width:30px; height:19px; "/>
- <output id="opt_month" ref="/root/hidden/calendar/month" class="calendar_output" style="left:158px; top:3px; width:30px; height:19px; "/>
- <caption id="caption11" class="calendar_output" style="left:138px; top:3px; width:20px; height:19px; ">년</caption>
- <caption id="caption12" class="calendar_output" style="left:188px; top:3px; width:20px; height:19px; ">월</caption>
- <button id="button3" class="icon_pre_year" style="left:57px; top:6px; width:16px; height:16px; background-image:../../../com/commonweb/images/cal_pre_y.gif; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var isMonth = model.getValue("/root/hidden/calendar/month");
- var isYear = model.getValue("/root/hidden/calendar/year");
- var isDate = (isYear+isMonth+1).toDate().getAddDate(-1,'Y');
- model.setValue("/root/hidden/calendar/year", isDate.getDateFormat('YYYY'));
- model.setValue("/root/hidden/calendar/month", isDate.getDateFormat('MM'));
- model.refresh();
-
-
- setCalendar(isDate);
- // getCurerPresCond();
- ]]>
- </script>
- </button>
- </group>
- <multilinegrid id="grd_calendar" nodeset="/root/hidden/calendar/weeklist/list" class="gridcalendar" autoresize="true" caption="일^월^화^수^목^금^토" colwidth="40, 40, 40, 40, 40, 40, 40" dataheight="20" focuscolor="transparent" rowsep="|" colsep="^" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" mergecellsfixedrows="bycolrec" style="left:3px; top:113px; width:282px; height:265px; ">
- <row>
- <col class="color_sun" ref="sun" style="border-bottom-width:0px; "/>
- <col ref="mon" style="border-bottom-width:0px; "/>
- <col ref="tue" style="border-bottom-width:0px; "/>
- <col ref="wed" style="border-bottom-width:0px; "/>
- <col ref="thu" style="border-bottom-width:0px; "/>
- <col ref="fri" style="border-bottom-width:0px; "/>
- <col class="color_sat" ref="sat" style="border-bottom-width:0px; "/>
- </row>
- <row>
- <col ref="sun_memo" style="border-top-width:0px; "/>
- <col ref="mon_memo" style="border-top-width:0px; "/>
- <col ref="tue_memo" style="border-top-width:0px; "/>
- <col ref="wed_memo" style="border-top-width:0px; "/>
- <col ref="thu_memo" style="border-top-width:0px; "/>
- <col ref="fri_memo" style="border-top-width:0px; "/>
- <col ref="sat_memo" style="border-top-width:0px; "/>
- </row>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
-
- model.setValue("/root/hidden/grdcellcolor/calrow",grd_calendar.row);
- model.setValue("/root/hidden/grdcellcolor/calcol",grd_calendar.col);
- setCellColor(grd_calendar);
- getRsrvPossTm(grd_calendar);
-
- initGridStyle("grd_rsrvlist");
- setRowStyle("grd_rsrvlist" , "6" , "예약" , "statcd", "equal" );
-
-
- ]]>
- </script>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- model.setValue("/root/hidden/grdcellcolor/calrow",grd_calendar.row);
- model.setValue("/root/hidden/grdcellcolor/calcol",grd_calendar.col);
-
- setCellColor(grd_calendar);
- ]]>
- </script>
- <script type="javascript" ev:event="oncolchanged">
- <![CDATA[
-
- model.setValue("/root/hidden/grdcellcolor/calrow",grd_calendar.row);
- model.setValue("/root/hidden/grdcellcolor/calcol",grd_calendar.col);
-
- setCellColor(grd_calendar);
- ]]>
- </script>
- </multilinegrid>
- <datagrid id="grd_rsrvposstm" nodeset="/root/main/totalrsrvlist/rsrvposstm" caption="시간^현황^가용" colwidth="39, 33, 31" mergecellsfixedrows="bycolrec" rowsep="|" colsep="^" style="left:287px; top:86px; width:122px; height:324px; ">
- <col ref="rsrvtm" format="hh:nn"/>
- <col ref="count"/>
- <col ref="max"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
-
-
- opener.model.makeValue("/root/send/rsrvdd", model.getValue("/root/send/rsrvdd" ) );
- opener.model.makeValue("/root/main/rsrvposstmlist/rsrvposstm/possrsrvtm", model.getValue("/root/main/totalrsrvlist/rsrvposstm["+grd_rsrvposstm.row+"]/rsrvtm" ) );
- opener.model.makeValue("/root/main/subordlist/subordlist1/excuroomcd", model.getValue("/root/send/excuroomcd" ) );
- window.close();
-
-
- ]]>
- </script>
- </datagrid>
- <caption id="caption2" class="tit_2" style="left:290px; top:67px; width:95px; height:13px; ">예약시간</caption>
- <line id="line1" class="line_1" style="x1:287px; y1:81px; x2:409px; y2:81px; "/>
- <datagrid id="grd_temp" nodeset="/root/init/curerprescondlist/rsrvcalendar" visibility="hidden" caption="일자(dd)^가용현황^max^caption3" colwidth="76, 62, 32" mergecellsfixedrows="bycolrec" rowsep="|" colsep="^" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:175px; top:175px; width:175px; height:170px; ">
- <col ref="rsrvdd"/>
- <col ref="count"/>
- <col ref="max"/>
- </datagrid>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:119px; height:14px; ">예약시간 조회</caption>
- <caption id="caption7" class="cell_1" style="left:4px; top:22px; width:105px; height:23px; ">검사의(검사실)</caption>
- <group id="group2" style="left:3px; top:18px; width:992px; height:40px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:990px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption3" class="search_name" style="left:16px; top:12px; width:86px; height:17px; ">검사실 :</caption>
- <select1 id="cmb_excuroom" ref="/root/send/excuroomcd" class="combo_default" visibility="visible" appearance="minimal" style="left:100px; top:11px; width:165px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/roomcmb_info/initexecroom">
- <label ref="excuroomcdnm"/>
- <value ref="excuroomcdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.setValue("/root/hidden/grdcellcolor/bfcalrow","");
- model.setValue("/root/hidden/grdcellcolor/bfcalrow","");
-
- model.setValue("/root/hidden/grdcellcolor/calrow","");
- model.setValue("/root/hidden/grdcellcolor/calcol","");
- model.setValue("/root/hidden/grdcellcolor/color","");
-
-
- //처방선택시 자동으로 달력에서 오늘날짜 onclick 이벤트 처리
- initCalendar();
-
- setCurrentDate();
- getRsrvPossTm(grd_calendar);
-
- ]]>
- </script>
- </select1>
- </group>
- <datagrid id="grd_rsrvlist" nodeset="/root/main/totalrsrvlist/rsrvlist" caption="시간^등록번호^성명^주민번호^처방코드^S/A^처방상태^병실^진료과^진료의^처방일자^처방명^예약자^execprcpuniqno^prcpkindcd^prcpgenrflag^basecd^prcpexecdeptcd^excuroomcd^inflag^rcptacptyn^execbaseflag^orddd^excupartcd^modality^prcpdelivefact^carecnfmdd^rsrvdt^orddeptcd^orddrid^prcpno^basesuppdeptcd^cretno^wardcd^srchrsrvdt^rsrvrem^eqmtifyn^rgstdeptcd^rgstrid^execdt^execrid^inclprcpcd^lrgcd^mdlcd^actorddd^caption1^caption2^caption3^caption4^caption5^caption6^caption7^caption8^caption9^examroomnm^basesuppdeptcd" colwidth="39, 58, 56, 56, 75, 37, 62, 44, 78, 51, 104, 100, 60, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" explorerbar="sortshow" forecolorfrozen="transparent" frozencols="6" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" colsep="^" style="left:412px; top:86px; width:582px; height:324px; ">
- <col ref="srchrsrvtm" format="hh:nn"/>
- <col ref="pid"/>
- <col ref="hngnm"/>
- <col ref="rrsgtno"/>
- <col ref="calcscorcd"/>
- <col ref="sna" disabled="true"/>
- <col ref="statcd"/>
- <col ref="roomcd"/>
- <col ref="orddepthngnm"/>
- <col ref="orddrnm"/>
- <col ref="prcpdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="prcpnm"/>
- <col ref="rsrvrnm"/>
- <col ref="hight" visibility="hidden"/>
- <col ref="weight" visibility="hidden"/>
- <col ref="execprcpuniqno" visibility="hidden"/>
- <col ref="prcpkindcd" visibility="hidden"/>
- <col ref="prcpgenrflag" visibility="hidden"/>
- <col ref="basecd"/>
- <col ref="prcpexecdeptcd" visibility="hidden"/>
- <col ref="excuroomcd" visibility="hidden"/>
- <col ref="inflag" visibility="hidden"/>
- <col ref="rcptacptyn" visibility="hidden"/>
- <col ref="execbaseflag" visibility="hidden"/>
- <col ref="orddd" visibility="hidden"/>
- <col ref="excupartcd" visibility="hidden"/>
- <col ref="modality" visibility="hidden"/>
- <col ref="prcpdelivefact" visibility="hidden"/>
- <col ref="carecnfmdd" visibility="hidden"/>
- <col ref="rsrvdt" visibility="hidden"/>
- <col ref="orddeptcd" visibility="hidden"/>
- <col ref="orddrid" visibility="hidden"/>
- <col ref="prcpno" visibility="hidden"/>
- <col ref="basesuppdeptcd" visibility="hidden"/>
- <col ref="cretno" visibility="hidden"/>
- <col ref="wardcd" visibility="hidden"/>
- <col ref="srchrsrvdt" visibility="hidden"/>
- <col ref="rsrvrem" visibility="hidden"/>
- <col ref="eqmtifyn" visibility="hidden"/>
- <col ref="rgstdeptcd" visibility="hidden"/>
- <col ref="rgstrid" visibility="hidden"/>
- <col ref="execdt" visibility="hidden"/>
- <col ref="execrid1" visibility="hidden"/>
- <col ref="inclprcpcd" visibility="hidden"/>
- <col ref="lrgcd" visibility="hidden"/>
- <col ref="mdlcd" visibility="hidden"/>
- <col ref="actorddd" visibility="hidden"/>
- <col ref="examroomnm" visibility="hidden"/>
- <col ref="pacsnocretyn" visibility="hidden"/>
- <col ref="examroomnm" visibility="hidden"/>
- <col ref="execprcpstatcd" visibility="hidden"/>
- <col ref="tmpldata" visibility="hidden"/>
- <col ref="prcpdd" visibility="hidden"/>
- <col ref="rsrvrid" visibility="hidden"/>
- </datagrid>
- <caption id="caption4" class="tit_2" style="left:414px; top:67px; width:95px; height:13px; ">예약내역</caption>
- <line id="line2" class="line_1" style="x1:412px; y1:81px; x2:994px; y2:81px; "/>
- <shape id="roundrect3" class="roundrect_example" appearance="roundrect" style="left:3px; top:381px; width:282px; height:30px; "/>
- <caption id="caption5" style="left:212px; top:390px; width:50px; height:14px; ">예약가능</caption>
- <caption id="caption8" class="color_2" style="left:194px; top:389px; width:15px; height:15px; background-color:#c4e693; "/>
- <caption id="caption9" style="left:153px; top:390px; width:32px; height:14px; ">선택</caption>
- <caption id="caption10" style="left:136px; top:389px; width:15px; height:15px; background-color:#daa7d9; "/>
- <caption id="caption13" class="cell_2" style="left:16px; top:386px; width:42px; height:20px; ">범례</caption>
- <caption id="caption14" style="left:97px; top:390px; width:32px; height:14px; ">오늘</caption>
- <caption id="caption15" style="left:78px; top:389px; width:15px; height:15px; background-color:#ffcc66; "/>
- <datagrid id="grd_prcpexecdeptcd" nodeset="/root/init/roomcmb_info/prcpexecdeptcdlist" visibility="hidden" caption="caption3" colwidth="127" mergecellsfixedrows="bycolrec" rowsep="|" colsep="^" style="left:455px; top:160px; width:130px; height:135px; ">
- <col ref="prcpexecdeptcd"/>
- </datagrid>
- </group>
- <group id="group1" scroll="auto" style="left:10px; top:420px; width:1000px; height:34px; ">
- <button id="btn_cfm" class="btn4_letter2" style="left:935px; top:5px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- opener.model.makeValue("/root/send/rsrvdd", model.getValue("/root/send/rsrvdd" ) );
- opener.model.makeValue("/root/main/rsrvposstmlist/rsrvposstm/possrsrvtm", model.getValue("/root/main/totalrsrvlist/rsrvposstm["+grd_rsrvposstm.row+"]/rsrvtm" ) );
- opener.model.makeValue("/root/main/subordlist/subordlist1/excuroomcd", model.getValue("/root/send/excuroomcd" ) );
- window.close();
- ]]>
- </script>
- </button>
- <button id="button1" class="btn3_letter6" visibility="read" style="left:3px; top:5px; width:104px; height:22px; ">
- <caption>예약시간관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMAEB00900","","","","","/root/send/data/excuroomcd","/root/send/data3/cmb_info/initexecroom/excuroomcdid");
- ]]>
- </script>
- </button>
- </group>
- <datagrid id="datagrid3" nodeset="/root/init/calenlist/calendinfo" visibility="hidden" caption="caption1^caption2" colwidth="100, 100" mergecellsfixedrows="bycolrec" rowsep="|" colsep="^" style="left:20px; top:210px; width:220px; height:150px; ">
- <col ref="basedd"/>
- <col ref="dutflag"/>
- </datagrid>
- </xhtml:body>
- </xhtml:html>
|