SPAEA01104_포터블마감.xrw 4.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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. <portendinfo>
  11. <portend>
  12. <cmt/>
  13. <enddeptcd/>
  14. <enddd/>
  15. <status/>
  16. </portend>
  17. </portendinfo>
  18. </main>
  19. <send>
  20. <enddeptcd/>
  21. </send>
  22. <hidden>
  23. <count/>
  24. </hidden>
  25. <init>
  26. <enddeptcd/>
  27. </init>
  28. </root>
  29. </instance>
  30. <script type="javascript" ev:event="xforms-ready">
  31. <![CDATA[
  32. model.setValue("/root/send/enddeptcd", model.getValue("/root/init/enddeptcd/selectexcuroom"));
  33. submit("TRAEA01124");
  34. if(model.getValue("/root/main/portendinfo/portend/status") == "Y" ){
  35. btn_end.disabled = true;
  36. }
  37. else {
  38. btn_cncl.disabled = true;
  39. }
  40. ]]>
  41. </script>
  42. <submission id="TRAEA01124" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/portendinfo"/>
  43. <submission id="TXAEA01204" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/portendinfo" replace="instance" resultref="/root/hidden"/>
  44. </model>
  45. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  46. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  47. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  48. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  49. <script type="javascript">
  50. <![CDATA[
  51. ]]>
  52. </script>
  53. </xhtml:head>
  54. <xhtml:body pagewidth="295" pageheight="165" guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  55. <group id="group3" scroll="auto" style="left:9px; top:9px; width:266px; height:121px; ">
  56. <caption id="caption1" class="tit_2" style="left:5px; top:6px; width:120px; height:14px; ">포터블 마감</caption>
  57. <line id="line1" class="line_1" style="x1:0px; y1:21px; x2:260px; y2:21px; "/>
  58. <textarea id="textarea1" ref="/root/main/portendinfo/portend/cmt" style="left:44px; top:26px; width:215px; height:64px; "/>
  59. <caption id="caption11" class="cell_1" style="left:0px; top:25px; width:41px; height:66px; vertical-align:middle; ">
  60. <![CDATA[마감
  61. 사유]]>
  62. </caption>
  63. <line id="line6" class="line_3" style="x1:0px; y1:91px; x2:260px; y2:91px; "/>
  64. <button id="btn_end" class="btn4_letter2" style="left:147px; top:95px; width:56px; height:22px; ">
  65. <caption>마감</caption>
  66. <script type="javascript" ev:event="DOMActivate">
  67. <![CDATA[
  68. model.setValue("/root/main/portendinfo/portend/enddeptcd", model.getValue("/root/send/enddeptcd"));
  69. submit("TXAEA01204");
  70. opener.btn_port.attribute("class") = "btn5_letter5";
  71. window.close();
  72. ]]>
  73. </script>
  74. </button>
  75. <button id="btn_cncl" class="btn4_letter2" style="left:205px; top:95px; width:56px; height:22px; ">
  76. <caption>취소</caption>
  77. <script type="javascript" ev:event="DOMActivate">
  78. <![CDATA[
  79. model.setValue("/root/main/portendinfo/portend/enddeptcd", model.getValue("/root/send/enddeptcd"));
  80. //model.setValue("/root/main/portendinfo/portend/status", "N");
  81. submit("TXAEA01204");
  82. opener.btn_port.attribute("class") = "btn2_letter5";
  83. window.close();
  84. ]]>
  85. </script>
  86. </button>
  87. <output id="output3" ref="/root/main/portendinfo/portend/enddeptcd" class="output_fix" visibility="hidden" style="left:5px; top:95px; width:35px; height:19px; font-size:10pt; font-weight:bold; color:#ff0000; text-align:center; "/>
  88. <output id="output1" ref="/root/main/portendinfo/portend/enddd" class="output_fix" visibility="hidden" style="left:50px; top:95px; width:60px; height:19px; font-size:10pt; font-weight:bold; color:#ff0000; text-align:center; "/>
  89. <output id="output2" ref="/root/main/portendinfo/portend/status" class="output_fix" visibility="hidden" style="left:115px; top:95px; width:25px; height:19px; font-size:10pt; font-weight:bold; color:#ff0000; text-align:center; "/>
  90. </group>
  91. </xhtml:body>
  92. </xhtml:html>