SMADS06000_영양집중지원통계.xrw 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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. <statslist/>
  11. </main>
  12. <send>
  13. <srchfromdd/>
  14. <srchtodd/>
  15. </send>
  16. <init/>
  17. <hidden/>
  18. </root>
  19. </instance>
  20. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  21. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  22. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  23. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  24. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  25. <script type="javascript" ev:event="xforms-ready">
  26. <![CDATA[
  27. ipt_fromdd.value = getCurrentDate();
  28. ipt_todd.value = getCurrentDate();
  29. makeReportPreview(5,55,1180,700);
  30. ]]>
  31. </script>
  32. <submission id="TRADS06001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/statslist"/>
  33. </model>
  34. <script type="javascript">
  35. <![CDATA[
  36. ]]>
  37. </script>
  38. </xhtml:head>
  39. <xhtml:body guideline="1,1193;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  40. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  41. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:200px; height:14px; ">영양집중지원통계</caption>
  42. </group>
  43. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:770px; ">
  44. <group id="group1" style="left:5px; top:10px; width:1180px; height:35px; vertical-align:top; ">
  45. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1178px; height:35px; background-color:#fffbf2; "/>
  46. <caption id="caption3" class="search_name" style="left:25px; top:9px; width:65px; height:17px; ">기간 :</caption>
  47. <line id="line14" class="line_4" style="x1:1095px; y1:7px; x2:1095px; y2:29px; "/>
  48. <input id="ipt_fromdd" ref="/root/send/srchfromdd" class="input_default" navindex="2" inputtype="date" style="left:90px; top:9px; width:95px; height:19px; text-align:center; "/>
  49. <input id="ipt_todd" ref="/root/send/srchtodd" class="input_default" navindex="2" inputtype="date" style="left:205px; top:9px; width:95px; height:19px; text-align:center; "/>
  50. <caption id="caption11" class="search_n_b" style="left:190px; top:9px; width:12px; height:17px; font-weight:bolder; ">~</caption>
  51. <button id="btn_search" class="btn1_letter2" navindex="4" style="left:1110px; top:7px; width:56px; height:22px; ">
  52. <caption>조회</caption>
  53. <script type="javascript" ev:event="DOMActivate">
  54. <![CDATA[
  55. if (model.getValue("/root/send/srchfromdd") == ""){
  56. messageBox("조회시작일자는", "I003");
  57. model.setFocus("ipt_fromdd");
  58. return;
  59. }
  60. if (model.getValue("/root/send/srchtodd") == ""){
  61. messageBox("조회종료일자는", "I003");
  62. model.setFocus("ipt_todd");
  63. return;
  64. }
  65. if (isValidDateTime(model.getValue("/root/send/srchfromdd"), "YYYYMMDD") == false){
  66. messageBox("조회 시작일자의 형식이", "E016");
  67. model.setFocus("ipt_fromdd");
  68. return;
  69. }
  70. if (isValidDateTime(model.getValue("/root/send/srchtodd"), "YYYYMMDD") == false){
  71. messageBox("조회 종료일자의 형식이", "E016");
  72. model.setFocus("ipt_todd");
  73. return;
  74. }
  75. if (model.getValue("/root/send/srchfromdd") > model.getValue("/root/send/srchtodd")){
  76. messageBox("조회 시작일자는 종료일자 보다 클 수", "I004");
  77. model.setFocus("ipt_fromdd");
  78. return;
  79. }
  80. submit("TRADS06001");
  81. exeReportPreview("RPADS06001", "XMLSTR", "/root/main/statslist/item");
  82. // exeReportPreview("RPANS00501", "XMLSTR", "", "", "false","","","","","false", "", "");
  83. ]]>
  84. </script>
  85. </button>
  86. </group>
  87. <line id="line2" class="line_1" style="x1:5px; y1:50px; x2:1185px; y2:50px; "/>
  88. </group>
  89. </xhtml:body>
  90. </xhtml:html>