1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?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>
- <selecteddate/>
- </main>
- <send/>
- <init/>
- <hidden/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- caption3.visible = false;
- caption4.visible = false;
- //caption5.visible = false;
- caption6.visible = false;
- //caption7.visible = false;
- caption8.visible = false;
- //caption9.visible = false;
- caption10.visible = false;
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript">
- <![CDATA[
- function fGetCalendarData(){
- //model.setValue("/root/hidden/calendar/month", newMonth);
- var isMonth = model.getValue("/root/hidden/calendar/month");
- var isYear = model.getValue("/root/hidden/calendar/year");
- var isDate = (isYear+isMonth+1).toDate();
- setCalendar(isDate);
- }
-
- function fClickOnCalendar(){
-
- if ( checkOpener() ) {
-
- var calRow = grd_calendar.row;
- var calCol = grd_calendar.col;
-
- if(calRow > 0 && calCol >= 0 ){
- calCol = calCol % 7;
- }else{
- return false;
- }
-
- var isDay = grd_calendar.valueMatrix(calRow, calCol);
- if( isDay != "" ){
- if( isDay.length == 1 ) isDay = "0" + isDay;
-
- var dd = ( (model.getValue("/root/hidden/calendar/year")).concat(model.getValue("/root/hidden/calendar/month")) ).concat(isDay);
- model.setValue("/root/main/selecteddate", dd);
- }
-
- } else {
- messageBox("상위화면이 변경되어 데이터를 가져올 수", "I004");
- }
-
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="415" pageheight="490" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group1" scroll="auto" style="left:0px; top:462px; width:387px; height:27px; ">
- <button id="btn_confirm" class="btn4_letter2" navindex="8" style="left:272px; top:5px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- fClickOnCalendar();
- window.close();
- ]]>
- </script>
- </button>
- <button id="btn_cancel" class="btn4_letter2" navindex="9" style="left:331px; top:5px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- window.close();
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:384px; y2:0px; "/>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:0px; width:387px; height:462px; ">
- <import id="import1" src="../../../pam/pambaseinfomngtweb/xrw/SPPMB01001_병원달력.xrw" style="left:0px; top:0px; width:387px; height:462px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|