1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- <?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/>
- <send>
- <fromdd/>
- <todd/>
- </send>
- <hide/>
- <init>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- ipt_fromdd.value = ((getCurrentDate().toDate()).getAddDate(-1,"D")).getDateFormat();
- ipt_todd.value = ((getCurrentDate().toDate()).getAddDate(-1,"D")).getDateFormat();
- ]]>
- </script>
- <submission id="TXMMR04213" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
- </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/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- </xhtml:head>
- <xhtml:body>
- <shape id="roundrect3" appearance="roundrect" style="left:0px; top:15px; width:350px; height:185px; "/>
- <caption id="caption2" class="search_name" style="left:30px; top:70px; width:85px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">수술일</caption>
- <button id="btn_execute" class="btn4_letter2" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:266px; top:129px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>실행</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fromdd = model.getValue("/root/send/fromdd");
- var todd = model.getValue("/root/send/todd");
- if(fromdd>todd){
- alert("기간이 잘못되었습니다!");
- model.setFocus("todd");
- return;
- }
-
- if( getDateInterval(fromdd, todd) > 10 ){
- messageBox("배치 최대 기간은 10일입니다. 일자구분에서 날짜를 수정하세요!", "E999", "");
- return ;
- }
-
- if ( fromdd != "" && todd != "") {
- if(submit("TXMMR04213"))
- model.alert("정상적으로 배치를 수행 했습니다.");
- else
- model.alert("비정상적으로 배치를 수행 했습니다.");
- } else {
- model.alert("집계일자를 입력하세요");
- model.setFocus("todd");
- return;
- }
- ]]>
- </script>
- </button>
- <group id="grp_tle" style="left:0px; top:0px; width:1146px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:163px; height:15px; background-image:../../../com/commonweb/images/tit_bullet1.gif; ">마취료 통계집계</caption>
- </group>
- <caption id="caption3" style="left:212px; top:72px; width:15px; height:20px; ">~</caption>
- <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_search" navindex="1" inputtype="date" format="yyyy-mm-dd" style="left:115px; top:70px; width:94px; height:19px; text-align:center; "/>
- <input id="ipt_todd" ref="/root/send/todd" class="input_search" navindex="1" inputtype="date" format="yyyy-mm-dd" style="left:227px; top:70px; width:94px; height:19px; text-align:center; "/>
- </xhtml:body>
- </xhtml:html>
|