SPMMR03500_아파치셋팅.xrw 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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>APACHE II - 측정시간 설정</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <apchdt>
  11. <insptm/>
  12. <lastupdtdt/>
  13. </apchdt>
  14. </main>
  15. <send>
  16. </send>
  17. <hidden/>
  18. <init/>
  19. </root>
  20. </instance>
  21. <script type="javascript" ev:event="xforms-ready">
  22. <![CDATA[
  23. submit("TRMMR03500");
  24. ]]>
  25. </script>
  26. <submission id="TRMMR03500" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/apchdt" resultref="/root/main/apchdt"/>
  27. <submission id="TXMMR03500" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/apchdt" resultref="/root/main/apchdt"/>
  28. </model>
  29. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  30. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  31. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  32. </xhtml:head>
  33. <xhtml:body pagewidth="400" pageheight="220">
  34. <group id="grp_btn" scroll="auto" style="left:5px; top:171px; width:385px; height:35px; ">
  35. <caption id="caption1" style="left:19px; top:6px; width:120px; height:20px; ">* 최근 Setting 일자 :</caption>
  36. <button id="btn_setting" class="btn4_letter2" style="left:260px; top:5px; width:56px; height:22px; ">
  37. <caption>설정</caption>
  38. <script type="javascript" ev:event="DOMActivate">
  39. <![CDATA[
  40. var apchsetdd = getCurrentDate();
  41. var apchsethh = model.getValue("/root/main/apchdt/insptm").substr(0,2);
  42. var apchsetnn = model.getValue("/root/main/apchdt/insptm").substr(2,2);
  43. apchsetdd = apchsetdd.substr(4, 2) + "/" + apchsetdd.substr(6, 2);
  44. if (messageBox("익일(" + apchsetdd + ")부터 APACHE II 측정시간이 " + apchsethh + "시" + apchsetnn + "분으로 적용됩니다.", "Q004") == 6) {
  45. submit("TXMMR03500");
  46. submit("TRMMR03500");
  47. model.refresh();
  48. } else {
  49. return;
  50. }
  51. ]]>
  52. </script>
  53. </button>
  54. <button id="btn_close" class="btn4_letter2" style="left:320px; top:5px; width:56px; height:22px; ">
  55. <caption>닫기</caption>
  56. <script type="javascript" ev:event="onclick">
  57. <![CDATA[
  58. window.close();
  59. ]]>
  60. </script>
  61. </button>
  62. <caption id="cpt_setting" ref="/root/main/apchdt/lastupdtdt" format="yyyy-mm-dd" style="left:135px; top:5px; width:100px; height:20px; font-size:12pt; font-weight:bold; "/>
  63. </group>
  64. <caption id="caption2" ref="/root/hidden/forminfo/formnm" class="tit_2" style="left:5px; top:10px; width:189px; height:13px; ">APACHE II - Setting</caption>
  65. <line id="line2" class="line_1" style="x1:5px; y1:26px; x2:392px; y2:26px; "/>
  66. <input id="ipt_insptm" ref="/root/main/apchdt/insptm" class="input_default" format="hh:nn" style="left:215px; top:70px; width:105px; height:19px; text-align:center; "/>
  67. <caption id="lbl_insptm" class="cell_1" style="left:70px; top:70px; width:140px; height:20px; vertical-align:middle; ">APACHE II 측정시간</caption>
  68. <button id="button1" class="icon_clock" style="left:303px; top:72px; width:16px; height:16px; ">
  69. <caption/>
  70. <script type="javascript" ev:event="DOMActivate">
  71. <![CDATA[
  72. // 현재시각 입력
  73. model.makeValue("/root/main/apchdt/insptm", getCurrentTime().substr(0,4));
  74. ipt_insptm.refresh();
  75. ]]>
  76. </script>
  77. </button>
  78. <caption id="caption3" style="left:70px; top:110px; width:265px; height:30px; ">
  79. <![CDATA[< APACHE Ⅱ 는 측정시간 기준으로
  80. 과거 24시간 내 검사 결과치를 참고합니다. >]]>
  81. </caption>
  82. </xhtml:body>
  83. </xhtml:html>