SPMMR06001_마취료통계집계.xrw 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>통계집계</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main/>
  10. <send>
  11. <fromdd/>
  12. <todd/>
  13. </send>
  14. <hide/>
  15. <init>
  16. </init>
  17. </root>
  18. </instance>
  19. <script type="javascript" ev:event="xforms-ready">
  20. <![CDATA[
  21. ipt_fromdd.value = ((getCurrentDate().toDate()).getAddDate(-1,"D")).getDateFormat();
  22. ipt_todd.value = ((getCurrentDate().toDate()).getAddDate(-1,"D")).getDateFormat();
  23. ]]>
  24. </script>
  25. <submission id="TXMMR04213" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
  26. </model>
  27. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  28. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  29. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  30. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  31. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  32. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  33. </xhtml:head>
  34. <xhtml:body>
  35. <shape id="roundrect3" appearance="roundrect" style="left:0px; top:15px; width:350px; height:185px; "/>
  36. <caption id="caption2" class="search_name" style="left:30px; top:70px; width:85px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">수술일</caption>
  37. <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; ">
  38. <caption>실행</caption>
  39. <script type="javascript" ev:event="DOMActivate">
  40. <![CDATA[
  41. var fromdd = model.getValue("/root/send/fromdd");
  42. var todd = model.getValue("/root/send/todd");
  43. if(fromdd>todd){
  44. alert("기간이 잘못되었습니다!");
  45. model.setFocus("todd");
  46. return;
  47. }
  48. if( getDateInterval(fromdd, todd) > 10 ){
  49. messageBox("배치 최대 기간은 10일입니다. 일자구분에서 날짜를 수정하세요!", "E999", "");
  50. return ;
  51. }
  52. if ( fromdd != "" && todd != "") {
  53. if(submit("TXMMR04213"))
  54. model.alert("정상적으로 배치를 수행 했습니다.");
  55. else
  56. model.alert("비정상적으로 배치를 수행 했습니다.");
  57. } else {
  58. model.alert("집계일자를 입력하세요");
  59. model.setFocus("todd");
  60. return;
  61. }
  62. ]]>
  63. </script>
  64. </button>
  65. <group id="grp_tle" style="left:0px; top:0px; width:1146px; height:13px; ">
  66. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:163px; height:15px; background-image:../../../com/commonweb/images/tit_bullet1.gif; ">마취료 통계집계</caption>
  67. </group>
  68. <caption id="caption3" style="left:212px; top:72px; width:15px; height:20px; ">~</caption>
  69. <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; "/>
  70. <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; "/>
  71. </xhtml:body>
  72. </xhtml:html>