SPMMO15100_중증응급.xrw 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  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. <recovinfo>
  11. <recovinfo>
  12. <pid/>
  13. <indd/>
  14. <cretno/>
  15. <hngnm/>
  16. <recovwardcd/>
  17. <recovwardnm/>
  18. </recovinfo>
  19. </recovinfo>
  20. </main>
  21. <send>
  22. <reqdata>
  23. <pid/>
  24. <indd/>
  25. <cretno/>
  26. <hngnm/>
  27. <recovwardcd/>
  28. </reqdata>
  29. <savedata/>
  30. </send>
  31. <hidden/>
  32. <init/>
  33. </root>
  34. </instance>
  35. <script type="javascript" ev:event="xforms-ready">
  36. <![CDATA[
  37. var pid = opener.javascript.getParameter("SPMMO15100_pid");
  38. var indd = opener.javascript.getParameter("SPMMO15100_indd");
  39. var cretno = opener.javascript.getParameter("SPMMO15100_cretno");
  40. var hngnm = opener.javascript.getParameter("SPMMO15100_hngnm");
  41. var recovwardcd = opener.javascript.getParameter("SPMMO15100_recovwardcd");
  42. if(recovwardcd == "01"){
  43. recovwardcd = "C★";
  44. }else if(recovwardcd == "02"){
  45. recovwardcd = "B★";
  46. }else if(recovwardcd == "03"){
  47. recovwardcd = "B★";
  48. }else if(recovwardcd == "04"){
  49. recovwardcd = "T★";
  50. }
  51. model.setValue("/root/send/reqdata/pid",pid);
  52. model.setValue("/root/send/reqdata/indd",indd);
  53. model.setValue("/root/send/reqdata/cretno",cretno);
  54. if(submit("TRMMO15101")){
  55. }
  56. // caption1.attribute("text") = pid;
  57. // caption2.attribute("text") = hngnm;
  58. // caption3.attribute("text") = recovwardcd;
  59. ]]>
  60. </script>
  61. <submission id="TXMMO15101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main"/>
  62. <submission id="TRMMO15101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/recovinfo"/>
  63. </model>
  64. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  65. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  66. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  67. </xhtml:head>
  68. <xhtml:body pagewidth="185" pageheight="164" guideline="2,343;1,169;1,185;2,148;2,164;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  69. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:169px; height:28px; "/>
  70. <button id="btn_cancel" class="btn4_letter2" navindex="9" style="left:113px; top:127px; width:56px; height:22px; ">
  71. <caption>닫기</caption>
  72. <script type="javascript" ev:event="DOMActivate">
  73. <![CDATA[
  74. window.close();
  75. ]]>
  76. </script>
  77. </button>
  78. <button id="button1" class="btn4_letter2" navindex="9" style="left:0px; top:127px; width:56px; height:22px; ">
  79. <caption>등록</caption>
  80. <script type="javascript" ev:event="DOMActivate">
  81. <![CDATA[
  82. model.copyNode("/root/send/savedata", "/root/main/recovinfo/recovinfo");
  83. if(submit("TXMMO15101")){
  84. }
  85. ]]>
  86. </script>
  87. </button>
  88. <caption id="caption1" ref="/root/main/recovinfo/recovinfo/pid" style="left:14px; top:5px; width:65px; height:20px; font-size:9pt; font-weight:bold; "/>
  89. <caption id="caption2" ref="/root/main/recovinfo/recovinfo/hngnm" style="left:77px; top:5px; width:45px; height:20px; font-size:9pt; font-weight:bold; "/>
  90. <caption id="caption3" ref="/root/main/recovinfo/recovinfo/recovwardnm" style="left:129px; top:5px; width:30px; height:20px; font-size:9pt; font-weight:bold; "/>
  91. <button id="button8" class="btn3_letter2" navindex="9" style="left:113px; top:32px; width:56px; height:22px; ">
  92. <caption>C★</caption>
  93. <script type="javascript" ev:event="DOMActivate">
  94. <![CDATA[
  95. caption3.attribute("text") = "C★";
  96. model.setValue("/root/main/recovinfo/recovinfo/recovwardcd", "01");
  97. // model.setValue("/root/send/recovwardcd","01");
  98. ]]>
  99. </script>
  100. </button>
  101. <button id="button11" class="btn3_letter2" navindex="9" style="left:113px; top:55px; width:56px; height:22px; ">
  102. <caption>B★</caption>
  103. <script type="javascript" ev:event="DOMActivate">
  104. <![CDATA[
  105. caption3.attribute("text") = "B★";
  106. model.setValue("/root/main/recovinfo/recovinfo/recovwardcd", "02");
  107. // model.setValue("/root/send/recovwardcd","02");
  108. ]]>
  109. </script>
  110. </button>
  111. <button id="button12" class="btn3_letter2" navindex="9" style="left:113px; top:78px; width:56px; height:22px; ">
  112. <caption>B★</caption>
  113. <script type="javascript" ev:event="DOMActivate">
  114. <![CDATA[
  115. caption3.attribute("text")= "B★";
  116. model.setValue("/root/main/recovinfo/recovinfo/recovwardcd", "03");
  117. // model.setValue("/root/send/recovwardcd","03");
  118. ]]>
  119. </script>
  120. </button>
  121. <button id="button13" class="btn3_letter2" navindex="9" style="left:113px; top:101px; width:56px; height:22px; ">
  122. <caption>T★</caption>
  123. <script type="javascript" ev:event="DOMActivate">
  124. <![CDATA[
  125. caption3.attribute("text")= "T★";
  126. model.setValue("/root/main/recovinfo/recovinfo/recovwardcd", "04");
  127. // model.setValue("/root/send/recovwardcd","04");
  128. ]]>
  129. </script>
  130. </button>
  131. <caption id="caption67" class="cell_1" style="left:0px; top:32px; width:110px; height:22px; font-weight:bold; vertical-align:middle; ">급성심근경색증</caption>
  132. <caption id="caption4" class="cell_1" style="left:0px; top:55px; width:110px; height:22px; font-weight:bold; vertical-align:middle; ">허혈성뇌졸증</caption>
  133. <caption id="caption5" class="cell_1" style="left:0px; top:78px; width:110px; height:22px; font-weight:bold; vertical-align:middle; ">출혈성뇌졸증</caption>
  134. <caption id="caption7" class="cell_1" style="left:0px; top:101px; width:110px; height:22px; font-weight:bold; vertical-align:middle; ">중증외상</caption>
  135. <button id="button2" class="btn4_letter2" navindex="9" style="left:56px; top:127px; width:56px; height:22px; ">
  136. <caption>해체</caption>
  137. <script type="javascript" ev:event="DOMActivate">
  138. <![CDATA[
  139. model.setValue("/root/main/recovinfo/recovinfo/recovwardcd","-");
  140. model.copyNode("/root/send/savedata", "/root/main/recovinfo/recovinfo");
  141. if(submit("TXMMO15101")){
  142. }
  143. ]]>
  144. </script>
  145. </button>
  146. </xhtml:body>
  147. </xhtml:html>