123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
- <xhtml:head>
- <xhtml:title>수술예약스케줄관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <cond>
- </cond>
- <list>
- <out/>
- <in/>
- <er/>
- <op/>
- <pat/>
- <cnst/>
- </list>
- <schemain>
- <schemainlist/>
- <dutdatelist/>
- <carlendarlist/>
- </schemain>
- </main>
- <send>
- <search>
- <instcd/>
- <opschedt/>
- <perfdeptcd/>
- <baseym/>
- <scheperfdrid/>
- </search>
- <keeprow/>
- <keepcol/>
- </send>
- <hidden>
- <calendar>
- <year/>
- <month/>
- <perfdeptnm/>
- </calendar>
- </hidden>
- <init>
- <userscrnenvinfo/>
- </init>
- <temp>
- <list>
- <out/>
- <in/>
- <er/>
- <op/>
- <pat/>
- <cnst/>
- </list>
- </temp>
- <listval>
- <refdata/>
- <sizedata/>
- </listval>
- <popupmenu>
- <menu>
- <item>
- <name>컬럼 삭제</name>
- <func>fDelColOfGrd</func>
- </item>
- </menu>
- </popupmenu>
- </root>
- </instance>
- <submission id="TRMMO05708" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/schemain"/>
- <submission id="TRRPD20001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/dutdate" resultref="/root/main/dutdate"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- fInitialize();
-
- ]]>
- </script>
- </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/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/SPMMB03600.js"/>
- <script type="javascript">
- <![CDATA[
- // 초기화
- function fInitialize(){
-
- var opschedt = opener.javascript.getParameter("SMMMO05700_param_opschedt");
- var perfdeptcd = opener.javascript.getParameter("SMMMO05700_param_perfdeptcd");
- var perfdeptnm = opener.javascript.getParameter("SMMMO05700_param_perfdeptnm");
- var scheperfdrid = opener.javascript.getParameter("SMMMO05700_param_scheperfdrid");
- var scheperfdrnm = opener.javascript.getParameter("SMMMO05700_param_scheperfdrnm");
- model.setValue("/root/send/search/instcd" , getUserInfo("dutplceinstcd") );
- model.setValue("/root/send/search/opschedt" , opschedt );
- model.setValue("/root/send/search/perfdeptcd" , perfdeptcd );
- model.setValue("/root/send/search/baseym" , opschedt.substring(0,6) );
- model.setValue("/root/send/search/scheperfdrid" , scheperfdrid );
-
- if( scheperfdrid != "" )
- model.setValue("/root/hidden/calendar/perfdeptnm" , "【" + perfdeptnm + " - " + scheperfdrnm + " 】" );
- else
- model.setValue("/root/hidden/calendar/perfdeptnm" , "【" + perfdeptnm + " - 전체 】" );
-
- model.setValue("/root/hidden/calendar/year" , opschedt.substring(0,4) );
- model.setValue("/root/hidden/calendar/month" , opschedt.substring(4,6) );
-
- // 조회
- fSearch();
- model.refresh();
- }
-
- // 조회
- function fSearch() {
-
- if(submit("TRMMO05708")){
- setCalendar();
- fSetColorHoliday();
- }
-
- }
-
- function setCellColor(gridObj) {
-
- var calRow = gridObj.row;
- var calCol = gridObj.col;
- var keepRow = model.getValue("/root/send/keeprow");
- var keepCol = model.getValue("/root/send/keepcol");
- var tmpCalCol;
-
- if( calCol < 7 )
- tmpCalCol = calCol + 7;
- else
- tmpCalCol = calCol - 7;
-
- fSetColorDay();
- gridObj.cellStyle("background-color", calRow, calCol, calRow, calCol) = "#ffcc66";
-
- model.refresh();
-
- }
-
- function fSetColorDay(){
- for( var i = 1; i <= grd_calendar.rows; i++ ){
- for( var j = 1; j <= grd_calendar.cols; j++ ){
- grd_calendar.cellStyle("background-color", i, j, i, j) = "transparent";
- }
- }
- }
-
- // 일자별 표시기능
- function fSetColorHoliday(){
-
- var dutCnt = getNodesetCount("/root/main/schemain/dutdatelist");
- var array = new Array("sun", "mon","tue","wed","thu","fri","sat");
- var dd = "";
- var holinm = "";
- var value = "";
- var daytxt = "";
-
-
-
- for( var i = 1; i <= grd_calendar.rows; i++ ){
- daytxt = "";
- for( var j = 0; j < array.length ; j++ ){
- value = grd_calendar.valueMatrix(i,grd_calendar.colRef(array[j]));
-
- if( value.length == 1 ) daytxt = "0" + value;
- else daytxt= value;
-
- for( var a = 1; a <= dutCnt; a++ ){
- dd = model.getValue("/root/main/schemain/dutdatelist[" + a + "]/schday");
- holinm = model.getValue("/root/main/schemain/dutdatelist[" + a + "]/holinm");
- if( daytxt == dd ){
- if( model.getValue("/root/main/schemain/dutdatelist[" + a + "]/dutflag") == "8" ){
- grd_calendar.cellstyle("color", i, grd_calendar.colRef(array[j]), i, grd_calendar.colRef(array[j])) = "#ff0000";
- if(holinm != "") grd_calendar.valueMatrix(i,grd_calendar.colRef(array[j])) = value + " ( " + holinm + " )";
- }else if( model.getValue("/root/main/schemain/dutdatelist[" + a + "]/dutflag") == "4" ){
- grd_calendar.cellstyle("color", i, grd_calendar.colRef(array[j]), i, grd_calendar.colRef(array[j])) = "#3366ff";
- }else if( model.getValue("/root/main/schemain/dutdatelist[" + a + "]/dutflag") == "0" ){
- grd_calendar.cellstyle("color", i, grd_calendar.colRef(array[j]), i, grd_calendar.colRef(array[j])) = "#000000";
- }
- }
- }
- }
- }
- model.refresh();
- }
-
- function setCalendar(){
- model.removeNode("/root/hidden/calendar/weeklist");
- model.makeNode("/root/hidden/calendar/weeklist");
-
- var scheCnt = getNodesetCount("/root/main/schemain/schemainlist");
- var carCnt = getNodesetCount("/root/main/schemain/carlendarlist");
- var array = new Array("mon","tue","wed","thu","fri","sat","sun");
-
- for( var a = 1; a <= carCnt; a++ ){
- model.makeNode("/root/hidden/calendar/weeklist/list");
- model.makeValue("/root/hidden/calendar/weeklist/list[" + a + "]/mon", model.getValue("/root/main/schemain/carlendarlist[" + a + "]/mon") );
- model.makeValue("/root/hidden/calendar/weeklist/list[" + a + "]/tue", model.getValue("/root/main/schemain/carlendarlist[" + a + "]/tue") );
- model.makeValue("/root/hidden/calendar/weeklist/list[" + a + "]/wed", model.getValue("/root/main/schemain/carlendarlist[" + a + "]/wed") );
- model.makeValue("/root/hidden/calendar/weeklist/list[" + a + "]/thu", model.getValue("/root/main/schemain/carlendarlist[" + a + "]/thu") );
- model.makeValue("/root/hidden/calendar/weeklist/list[" + a + "]/fri", model.getValue("/root/main/schemain/carlendarlist[" + a + "]/fri") );
- model.makeValue("/root/hidden/calendar/weeklist/list[" + a + "]/sat", model.getValue("/root/main/schemain/carlendarlist[" + a + "]/sat") );
- model.makeValue("/root/hidden/calendar/weeklist/list[" + a + "]/sun", model.getValue("/root/main/schemain/carlendarlist[" + a + "]/sun") );
-
- for( var b = 0; b < array.length ; b++ ){
- model.makeNode("/root/hidden/calendar/weeklist/list[" + a + "]/" + array[b] + "_memo");
- model.makeNode("/root/hidden/calendar/weeklist/list[" + a + "]/" + array[b] + "_memo2");
- model.makeNode("/root/hidden/calendar/weeklist/list[" + a + "]/" + array[b] + "_memo3");
- model.makeNode("/root/hidden/calendar/weeklist/list[" + a + "]/" + array[b] + "_memo4");
- model.makeNode("/root/hidden/calendar/weeklist/list[" + a + "]/" + array[b] + "_memo5");
- }
- }
-
- var dd = "";
-
- var mon = "";
- var tue = "";
- var wed = "";
- var thu = "";
- var fri = "";
- var sat = "";
- var sun = "";
-
- var mondd = "";
- var tuedd = "";
- var weddd = "";
- var thudd = "";
- var fridd = "";
- var satdd = "";
- var sundd = "";
-
- var moncnt = 0;
- var tuecnt = 0;
- var wedcnt = 0;
- var thucnt = 0;
- var fricnt = 0;
- var satcnt = 0;
- var suncnt = 0;
-
- for( var i = 1; i <= carCnt ; i++ ){
- moncnt = 0;
- tuecnt = 0;
- wedcnt = 0;
- thucnt = 0;
- fricnt = 0;
- satcnt = 0;
- suncnt = 0;
-
- for( var j = 1; j <= scheCnt ; j++ ){
- dd = model.getValue("/root/main/schemain/schemainlist[" + j + "]/opschedd").substring(6,8);
- mon = model.getValue("/root/hidden/calendar/weeklist/list[" + i + "]/mon");
- tue = model.getValue("/root/hidden/calendar/weeklist/list[" + i + "]/tue");
- wed = model.getValue("/root/hidden/calendar/weeklist/list[" + i + "]/wed");
- thu = model.getValue("/root/hidden/calendar/weeklist/list[" + i + "]/thu");
- fri = model.getValue("/root/hidden/calendar/weeklist/list[" + i + "]/fri");
- sat = model.getValue("/root/hidden/calendar/weeklist/list[" + i + "]/sat");
- sun = model.getValue("/root/hidden/calendar/weeklist/list[" + i + "]/sun");
- if( mon.length == 1 ) mon = "0" + mon;
- if( tue.length == 1 ) tue = "0" + tue;
- if( wed.length == 1 ) wed = "0" + wed;
- if( thu.length == 1 ) thu = "0" + thu
- if( fri.length == 1 ) fri = "0" + fri;
- if( sat.length == 1 ) sat = "0" + sat;
- if( sun.length == 1 ) sun = "0" + sun;
-
- if( mon == dd ){
- if( moncnt == 0 ) model.setValue("/root/hidden/calendar/weeklist/list[" + i + "]/mon_memo" , model.getValue("/root/main/schemain/schemainlist[" + j + "]/schetxt") );
- if( moncnt == 1 ) model.setValue("/root/hidden/calendar/weeklist/list[" + i + "]/mon_memo2" , model.getValue("/root/main/schemain/schemainlist[" + j + "]/schetxt") );
- if( moncnt == 2 ) model.setValue("/root/hidden/calendar/weeklist/list[" + i + "]/mon_memo3" , model.getValue("/root/main/schemain/schemainlist[" + j + "]/schetxt") );
- if( moncnt == 3 ) model.setValue("/root/hidden/calendar/weeklist/list[" + i + "]/mon_memo4" , model.getValue("/root/main/schemain/schemainlist[" + j + "]/schetxt") );
- if( moncnt == 4 ) model.setValue("/root/hidden/calendar/weeklist/list[" + i + "]/mon_memo5" , model.getValue("/root/main/schemain/schemainlist[" + j + "]/schetxt") );
- if( moncnt == 5 ) model.setValue("/root/hidden/calendar/weeklist/list[" + i + "]/mon" , model.getValue("/root/hidden/calendar/weeklist/list[" + i + "]/mon") + " ★" );
- moncnt++;
- }
-
- if( tue == dd ){
- if( tuecnt == 0 ) model.setValue("/root/hidden/calendar/weeklist/list[" + i + "]/tue_memo" , model.getValue("/root/main/schemain/schemainlist[" + j + "]/schetxt") );
- if( tuecnt == 1 ) model.setValue("/root/hidden/calendar/weeklist/list[" + i + "]/tue_memo2" , model.getValue("/root/main/schemain/schemainlist[" + j + "]/schetxt") );
- if( tuecnt == 2 ) model.setValue("/root/hidden/calendar/weeklist/list[" + i + "]/tue_memo3" , model.getValue("/root/main/schemain/schemainlist[" + j + "]/schetxt") );
- if( tuecnt == 3 ) model.setValue("/root/hidden/calendar/weeklist/list[" + i + "]/tue_memo4" , model.getValue("/root/main/schemain/schemainlist[" + j + "]/schetxt") );
- if( tuecnt == 4 ) model.setValue("/root/hidden/calendar/weeklist/list[" + i + "]/tue_memo5" , model.getValue("/root/main/schemain/schemainlist[" + j + "]/schetxt") );
- if( tuecnt == 5 ) model.setValue("/root/hidden/calendar/weeklist/list[" + i + "]/tue" , model.getValue("/root/hidden/calendar/weeklist/list[" + i + "]/tue") + " ★" );
- tuecnt++;
- }
-
- if( wed == dd ){
- if( wedcnt == 0 ) model.setValue("/root/hidden/calendar/weeklist/list[" + i + "]/wed_memo" , model.getValue("/root/main/schemain/schemainlist[" + j + "]/schetxt") );
- if( wedcnt == 1 ) model.setValue("/root/hidden/calendar/weeklist/list[" + i + "]/wed_memo2" , model.getValue("/root/main/schemain/schemainlist[" + j + "]/schetxt") );
- if( wedcnt == 2 ) model.setValue("/root/hidden/calendar/weeklist/list[" + i + "]/wed_memo3" , model.getValue("/root/main/schemain/schemainlist[" + j + "]/schetxt") );
- if( wedcnt == 3 ) model.setValue("/root/hidden/calendar/weeklist/list[" + i + "]/wed_memo4" , model.getValue("/root/main/schemain/schemainlist[" + j + "]/schetxt") );
- if( wedcnt == 4 ) model.setValue("/root/hidden/calendar/weeklist/list[" + i + "]/wed_memo5" , model.getValue("/root/main/schemain/schemainlist[" + j + "]/schetxt") );
- if( wedcnt == 5 ) model.setValue("/root/hidden/calendar/weeklist/list[" + i + "]/wed" , model.getValue("/root/hidden/calendar/weeklist/list[" + i + "]/wed") + " ★" );
- wedcnt++;
- }
-
- if( thu == dd ){
- if( thucnt == 0 ) model.setValue("/root/hidden/calendar/weeklist/list[" + i + "]/thu_memo" , model.getValue("/root/main/schemain/schemainlist[" + j + "]/schetxt") );
- if( thucnt == 1 ) model.setValue("/root/hidden/calendar/weeklist/list[" + i + "]/thu_memo2" , model.getValue("/root/main/schemain/schemainlist[" + j + "]/schetxt") );
- if( thucnt == 2 ) model.setValue("/root/hidden/calendar/weeklist/list[" + i + "]/thu_memo3" , model.getValue("/root/main/schemain/schemainlist[" + j + "]/schetxt") );
- if( thucnt == 3 ) model.setValue("/root/hidden/calendar/weeklist/list[" + i + "]/thu_memo4" , model.getValue("/root/main/schemain/schemainlist[" + j + "]/schetxt") );
- if( thucnt == 4 ) model.setValue("/root/hidden/calendar/weeklist/list[" + i + "]/thu_memo5" , model.getValue("/root/main/schemain/schemainlist[" + j + "]/schetxt") );
- if( thucnt == 5 ) model.setValue("/root/hidden/calendar/weeklist/list[" + i + "]/thu" , model.getValue("/root/hidden/calendar/weeklist/list[" + i + "]/thu") + " ★" );
- thucnt++;
- }
-
- if( fri == dd ){
- if( fricnt == 0 ) model.setValue("/root/hidden/calendar/weeklist/list[" + i + "]/fri_memo" , model.getValue("/root/main/schemain/schemainlist[" + j + "]/schetxt") );
- if( fricnt == 1 ) model.setValue("/root/hidden/calendar/weeklist/list[" + i + "]/fri_memo2" , model.getValue("/root/main/schemain/schemainlist[" + j + "]/schetxt") );
- if( fricnt == 2 ) model.setValue("/root/hidden/calendar/weeklist/list[" + i + "]/fri_memo3" , model.getValue("/root/main/schemain/schemainlist[" + j + "]/schetxt") );
- if( fricnt == 3 ) model.setValue("/root/hidden/calendar/weeklist/list[" + i + "]/fri_memo4" , model.getValue("/root/main/schemain/schemainlist[" + j + "]/schetxt") );
- if( fricnt == 4 ) model.setValue("/root/hidden/calendar/weeklist/list[" + i + "]/fri_memo5" , model.getValue("/root/main/schemain/schemainlist[" + j + "]/schetxt") );
- if( fricnt == 5 ) model.setValue("/root/hidden/calendar/weeklist/list[" + i + "]/fri" , model.getValue("/root/hidden/calendar/weeklist/list[" + i + "]/fri") + " ★" );
- fricnt++;
- }
-
- if( sat == dd ){
- if( satcnt == 0 ) model.setValue("/root/hidden/calendar/weeklist/list[" + i + "]/sat_memo" , model.getValue("/root/main/schemain/schemainlist[" + j + "]/schetxt") );
- if( satcnt == 1 ) model.setValue("/root/hidden/calendar/weeklist/list[" + i + "]/sat_memo2" , model.getValue("/root/main/schemain/schemainlist[" + j + "]/schetxt") );
- if( satcnt == 2 ) model.setValue("/root/hidden/calendar/weeklist/list[" + i + "]/sat_memo3" , model.getValue("/root/main/schemain/schemainlist[" + j + "]/schetxt") );
- if( satcnt == 3 ) model.setValue("/root/hidden/calendar/weeklist/list[" + i + "]/sat_memo4" , model.getValue("/root/main/schemain/schemainlist[" + j + "]/schetxt") );
- if( satcnt == 4 ) model.setValue("/root/hidden/calendar/weeklist/list[" + i + "]/sat_memo5" , model.getValue("/root/main/schemain/schemainlist[" + j + "]/schetxt") );
- if( satcnt == 5 ) model.setValue("/root/hidden/calendar/weeklist/list[" + i + "]/sat" , model.getValue("/root/hidden/calendar/weeklist/list[" + i + "]/sat") + " ★" );
- satcnt++;
- }
-
- if( sun == dd ){
- if( suncnt == 0 ) model.setValue("/root/hidden/calendar/weeklist/list[" + i + "]/sun_memo", model.getValue("/root/main/schemain/schemainlist[" + j + "]/schetxt") );
- if( suncnt == 1 ) model.setValue("/root/hidden/calendar/weeklist/list[" + i + "]/sun_memo2", model.getValue("/root/main/schemain/schemainlist[" + j + "]/schetxt") );
- if( suncnt == 2 ) model.setValue("/root/hidden/calendar/weeklist/list[" + i + "]/sun_memo3", model.getValue("/root/main/schemain/schemainlist[" + j + "]/schetxt") );
- if( suncnt == 3 ) model.setValue("/root/hidden/calendar/weeklist/list[" + i + "]/sun_memo4", model.getValue("/root/main/schemain/schemainlist[" + j + "]/schetxt") );
- if( suncnt == 4 ) model.setValue("/root/hidden/calendar/weeklist/list[" + i + "]/sun_memo5", model.getValue("/root/main/schemain/schemainlist[" + j + "]/schetxt") );
- if( suncnt == 5 ) model.setValue("/root/hidden/calendar/weeklist/list[" + i + "]/sun" , model.getValue("/root/hidden/calendar/weeklist/list[" + i + "]/sun") + " ★" );
- suncnt++;
- }
- }
- }
- model.refresh();
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body scroll="auto" pagewidth="1210" pageheight="880" guideline="1,1197;2,873;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <button id="button3" class="btn6_letter2" style="left:1125px; top:30px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <caption id="caption11" class="tit_1" style="left:0px; top:13px; width:220px; height:2px; vertical-align:middle; ">수술 예약 스케줄 관리</caption>
- <multilinegrid id="grd_calendar" nodeset="/root/hidden/calendar/weeklist/list" class="gridcalendar" autoresize="true" caption="일^월^화^수^목^금^토" colsep="^" colwidth="70, 207, 207, 207, 207, 207, 70" ellipsis="true" extendlastcol="scroll" focuscolor="transparent" rowsep="|" tooltip="true" mergecellsfixedrows="bycolrec" style="left:0px; top:62px; width:1185px; height:793px; ">
- <row>
- <col class="color_sun" ref="sun" style="font-weight:bold; text-align:left; border-bottom-width:0px; "/>
- <col ref="mon" style="font-weight:bold; text-align:left; border-bottom-width:0px; "/>
- <col ref="tue" style="font-weight:bold; text-align:left; border-bottom-width:0px; "/>
- <col ref="wed" style="font-weight:bold; text-align:left; border-bottom-width:0px; "/>
- <col ref="thu" style="font-weight:bold; text-align:left; border-bottom-width:0px; "/>
- <col ref="fri" style="font-weight:bold; text-align:left; border-bottom-width:0px; "/>
- <col class="color_sat" ref="sat" style="font-weight:bold; text-align:left; border-bottom-width:0px; "/>
- </row>
- <row>
- <col ref="sun_memo" style="text-align:left; border-top-width:0px; border-bottom-width:0px; "/>
- <col ref="mon_memo" style="text-align:left; border-top-width:0px; border-bottom-width:0px; "/>
- <col ref="tue_memo" style="text-align:left; border-top-width:0px; border-bottom-width:0px; "/>
- <col ref="wed_memo" style="text-align:left; border-top-width:0px; border-bottom-width:0px; "/>
- <col ref="thu_memo" style="text-align:left; border-top-width:0px; border-bottom-width:0px; "/>
- <col ref="fri_memo" style="text-align:left; border-top-width:0px; border-bottom-width:0px; "/>
- <col ref="sat_memo" style="text-align:left; border-top-width:0px; border-bottom-width:0px; "/>
- </row>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- ]]>
- </script>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- setCellColor(grd_calendar);
- ]]>
- </script>
- <script type="javascript" ev:event="oncolchanged">
- <![CDATA[
- setCellColor(grd_calendar);
- ]]>
- </script>
- <row>
- <col ref="sun_memo2" style="text-align:left; border-top-width:0px; border-bottom-width:0px; "/>
- <col ref="mon_memo2" style="text-align:left; border-top-width:0px; border-bottom-width:0px; "/>
- <col ref="tue_memo2" style="text-align:left; border-top-width:0px; border-bottom-width:0px; "/>
- <col ref="wed_memo2" style="text-align:left; border-top-width:0px; border-bottom-width:0px; "/>
- <col ref="thu_memo2" style="text-align:left; border-top-width:0px; border-bottom-width:0px; "/>
- <col ref="fri_memo2" style="text-align:left; border-top-width:0px; border-bottom-width:0px; "/>
- <col ref="sat_memo2" style="text-align:left; border-top-width:0px; border-bottom-width:0px; "/>
- </row>
- <row>
- <col ref="sun_memo3" style="text-align:left; border-top-width:0px; border-bottom-width:0px; "/>
- <col ref="mon_memo3" style="text-align:left; border-top-width:0px; border-bottom-width:0px; "/>
- <col ref="tue_memo3" style="text-align:left; border-top-width:0px; border-bottom-width:0px; "/>
- <col ref="wed_memo3" style="text-align:left; border-top-width:0px; border-bottom-width:0px; "/>
- <col ref="thu_memo3" style="text-align:left; border-top-width:0px; border-bottom-width:0px; "/>
- <col ref="fri_memo3" style="text-align:left; border-top-width:0px; border-bottom-width:0px; "/>
- <col ref="sat_memo3" style="text-align:left; border-top-width:0px; border-bottom-width:0px; "/>
- </row>
- <row>
- <col ref="sun_memo4" style="text-align:left; border-top-width:0px; border-bottom-width:0px; "/>
- <col ref="mon_memo4" style="text-align:left; border-top-width:0px; border-bottom-width:0px; "/>
- <col ref="tue_memo4" style="text-align:left; border-top-width:0px; border-bottom-width:0px; "/>
- <col ref="wed_memo4" style="text-align:left; border-top-width:0px; border-bottom-width:0px; "/>
- <col ref="thu_memo4" style="text-align:left; border-top-width:0px; border-bottom-width:0px; "/>
- <col ref="fri_memo4" style="text-align:left; border-top-width:0px; border-bottom-width:0px; "/>
- <col ref="sat_memo4" style="text-align:left; border-top-width:0px; border-bottom-width:0px; "/>
- </row>
- <row>
- <col ref="sun_memo5" style="text-align:left; border-top-width:0px; "/>
- <col ref="mon_memo5" style="text-align:left; border-top-width:0px; "/>
- <col ref="tue_memo5" style="text-align:left; border-top-width:0px; "/>
- <col ref="wed_memo5" style="text-align:left; border-top-width:0px; "/>
- <col ref="thu_memo5" style="text-align:left; border-top-width:0px; "/>
- <col ref="fri_memo5" style="text-align:left; border-top-width:0px; "/>
- <col ref="sat_memo5" style="text-align:left; border-top-width:0px; "/>
- </row>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if( grd_calendar.col == grd_calendar.colRef("sun") || grd_calendar.col == grd_calendar.colRef("mon") ||
- grd_calendar.col == grd_calendar.colRef("tue") || grd_calendar.col == grd_calendar.colRef("wed") ||
- grd_calendar.col == grd_calendar.colRef("thu") || grd_calendar.col == grd_calendar.colRef("fri") ||
- grd_calendar.col == grd_calendar.colRef("sat") ){
-
- var month = model.getValue("/root/hidden/calendar/month");
- var year = model.getValue("/root/hidden/calendar/year");
-
- setParameter("SPMMB03700_param_opschedt" , year+month );
- setParameter("SPMMB03700_param_opscheday" , grd_calendar.valueMatrix(grd_calendar.row, grd_calendar.col).substring(0,2) );
- setParameter("SPMMB03700_param_perfdrid" , model.getValue("/root/send/search/scheperfdrid"));
- setParameter("SPMMB03700_param_perfdeptcd" , model.getValue("/root/send/search/perfdeptcd"));
-
- open("SPMMB03800");
- }
- ]]>
- </script>
- </multilinegrid>
- <datagrid id="grd_schemainlist" nodeset="/root/main/schemain/schemainlist" visibility="hidden" caption="날짜^예약TEXT" colsep="^" colwidth="90, 316, 100" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:5px; top:495px; width:550px; height:241px; ">
- <col ref="opschedd" style="text-align:center; "/>
- <col ref="schetxt" style="text-align:left; "/>
- <col ref="instcd"/>
- </datagrid>
- <group id="grp_calendar" style="left:770px; top:3px; width:285px; height:50px; background-color:#ffeeff; border-color:#ffccff; border-width:3px; border-style:solid; ">
- <output id="opt_month" ref="/root/hidden/calendar/month" autoresize="true" style="left:164px; top:-1px; width:50px; height:19px; font-family:맑은 고딕; font-size:22pt; font-weight:bold; color:#006600; text-align:right; vertical-align:top; letter-spacing:1; "/>
- <output id="opt_year" ref="/root/hidden/calendar/year" autoresize="true" style="left:34px; top:-1px; width:78px; height:19px; font-family:맑은 고딕; font-size:22pt; font-weight:bold; color:#006600; text-align:right; vertical-align:top; letter-spacing:1; "/>
- <caption id="caption3" style="left:211px; top:0px; width:35px; height:35px; font-family:맑은 고딕; font-size:20pt; font-weight:bold; color:#006600; vertical-align:top; ">월</caption>
- <caption id="caption2" style="left:114px; top:0px; width:35px; height:35px; font-family:맑은 고딕; font-size:20pt; font-weight:bold; color:#006600; vertical-align:top; ">년</caption>
- </group>
- <button id="button1" class="btn3_letter2" style="left:1065px; top:5px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- exeReportPreview("RPMMO03700", "XMLSTR" , "" , "" , "false" , "", "", "", "", "false");
- ]]>
- </script>
- </button>
- <line id="line3" class="line_1" style="x1:0px; y1:58px; x2:1185px; y2:58px; "/>
- <caption id="caption1" ref="/root/hidden/calendar/perfdeptnm" style="left:480px; top:15px; width:280px; height:35px; font-family:맑은 고딕; font-size:14pt; font-weight:bold; color:#cc0000; text-align:right; "/>
- <button id="button2" class="btn3_letter2" style="left:1125px; top:5px; width:56px; height:22px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "수술예약스케줄_" + getCurrentDate() , "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "")
- {
- grd_calendar.saveExcel(fileName, "exporttype:multi");
- }
- ]]>
- </script>
- </button>
- <button id="button4" class="btn1_letter2" style="left:1065px; top:30px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </button>
- <caption id="caption4" style="left:5px; top:36px; width:295px; height:20px; font-weight:bold; color:#0033cc; ">※ 수술예약스케줄은 최대 5건까지 표현됩니다.</caption>
- <caption id="caption5" style="left:287px; top:39px; width:275px; height:15px; font-weight:bold; color:#006600; ">( 상세조회시, 날짜를 더블클릭 )</caption>
- </xhtml:body>
- </xhtml:html>
|