SPMNW18020_장비이용도관리배치.xrw 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. <send>
  11. <enddd/>
  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_enddd.value = getCurrentDate();
  22. ]]>
  23. </script>
  24. <submission id="TXMNW19301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
  25. </model>
  26. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  27. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  28. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  29. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  30. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  31. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  32. </xhtml:head>
  33. <xhtml:body pagewidth="370" pageheight="230">
  34. <shape id="roundrect3" appearance="roundrect" style="left:0px; top:15px; width:350px; height:185px; "/>
  35. <caption id="caption2" class="search_name" style="left:30px; top:70px; width:85px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">배치일</caption>
  36. <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; ">
  37. <caption>실행</caption>
  38. <script type="javascript" ev:event="DOMActivate">
  39. <![CDATA[
  40. var enddd = model.getValue("/root/send/enddd");
  41. if ( enddd != "" ) {
  42. if(submit("TXMNW19301"))
  43. model.alert("정상적으로 배치를 수행 했습니다.");
  44. else
  45. model.alert("비정상적으로 배치를 수행 했습니다.");
  46. } else {
  47. model.alert("집계일자를 입력하세요");
  48. model.setFocus("enddd");
  49. return;
  50. }
  51. ]]>
  52. </script>
  53. </button>
  54. <group id="grp_tle" style="left:0px; top:0px; width:1146px; height:13px; ">
  55. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:163px; height:15px; background-image:../../../com/commonweb/images/tit_bullet1.gif; ">장비이용도 배치생성</caption>
  56. </group>
  57. <input id="ipt_enddd" ref="/root/send/enddd" class="input_search" navindex="1" inputtype="date" format="yyyy-mm-dd" style="left:115px; top:70px; width:94px; height:19px; text-align:center; "/>
  58. </xhtml:body>
  59. </xhtml:html>