SPMMB02400_과별검체.xrw 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  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. <lpcmspcm>
  11. <lpcmspcmlist>
  12. <status/>
  13. <spccd/>
  14. <spcnm/>
  15. <orddeptcd/>
  16. <spckind/>
  17. <spckindno/>
  18. </lpcmspcmlist>
  19. </lpcmspcm>
  20. </main>
  21. <lpcmspcmsrch>
  22. <lpcmspcmlist>
  23. <status/>
  24. <spccd/>
  25. <spcnm/>
  26. <orddeptcd/>
  27. <spckind/>
  28. <spckindno/>
  29. </lpcmspcmlist>
  30. </lpcmspcmsrch>
  31. <clinccmt>
  32. <clinccmtlist>
  33. <status/>
  34. <cdkind/>
  35. <cdno/>
  36. <etccnts/>
  37. <orddeptcd/>
  38. </clinccmtlist>
  39. </clinccmt>
  40. <init>
  41. <msrght>
  42. <mouserght>
  43. <label>삭제</label>
  44. <func>fDeleteRow</func>
  45. </mouserght>
  46. </msrght>
  47. <spcmsrght>
  48. <mouserght>
  49. <label>삭제</label>
  50. <func>fSpcDeleteRow</func>
  51. </mouserght>
  52. </spcmsrght>
  53. <deptlist>
  54. <orddept/>
  55. </deptlist>
  56. <orddeptcd/>
  57. </init>
  58. <send>
  59. <cond1/>
  60. <cond2/>
  61. </send>
  62. <reset>
  63. <clinccmtlist>
  64. <status>I</status>
  65. <cdkind/>
  66. <cdno/>
  67. <etccnts/>
  68. <orddeptcd/>
  69. </clinccmtlist>
  70. </reset>
  71. <dept/>
  72. </root>
  73. </instance>
  74. <script type="javascript" ev:event="xforms-model-construct-done">
  75. <![CDATA[
  76. model.setValue ( "/root/send/cond1", getUserInfo("dutplcecd"));
  77. model.setValue ( "/root/send/cond2", opener.javascript.getParameter ( "SPMMB02400_cond2" ));
  78. submit ( "TRMMB02302" );
  79. ]]>
  80. </script>
  81. <submission id="TRMMB02302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/lpcmspcm"/>
  82. </model>
  83. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  84. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  85. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  86. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  87. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  88. </xhtml:head>
  89. <xhtml:body pagewidth="390" pageheight="482" guideline="1,778;2,514;1,390;">
  90. <datagrid id="grd_uselpcmspcm" nodeset="/root/main/lpcmspcm/lpcmspcmlist" caption="^검체명" colsep="^" colwidth="0, 355" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="byrow" tooltip="true" style="left:4px; top:5px; width:380px; height:445px; ">
  91. <col disabled="true" ref="status" type="combo" style="text-align:center; ">
  92. <choices>
  93. <item>
  94. <label>-</label>
  95. <value>-</value>
  96. </item>
  97. <item>
  98. <label>신규</label>
  99. <value>I</value>
  100. </item>
  101. <item>
  102. <label>수정</label>
  103. <value>U</value>
  104. </item>
  105. <item>
  106. <label>삭제</label>
  107. <value>D</value>
  108. </item>
  109. </choices>
  110. </col>
  111. <col ref="spcnm" type="output"/>
  112. <script type="javascript" ev:event="ondblclick">
  113. <![CDATA[
  114. if( grd_uselpcmspcm.isCell(event.target) && grd_uselpcmspcm.row >= grd_uselpcmspcm.fixedRows ){
  115. var spccd = model.getValue ( "/root/main/lpcmspcm/lpcmspcmlist[" + grd_uselpcmspcm.row + "]/spccd" );
  116. var spcnm = model.getValue ( "/root/main/lpcmspcm/lpcmspcmlist[" + grd_uselpcmspcm.row + "]/spcnm" );
  117. opener.javascript.setParameter ( "SPMMB02400_spc", spccd + "|" + spcnm );
  118. model.close();
  119. }
  120. ]]>
  121. </script>
  122. </datagrid>
  123. <line id="line7" class="line_1" style="x1:4px; y1:0px; x2:383px; y2:0px; "/>
  124. <button id="button1" class="btn4_letter2" style="left:267px; top:456px; width:56px; height:22px; ">
  125. <caption>확인</caption>
  126. <script type="javascript" ev:event="onclick">
  127. <![CDATA[
  128. if( grd_uselpcmspcm.row >= grd_uselpcmspcm.fixedRows ){
  129. var spccd = model.getValue ( "/root/main/lpcmspcm/lpcmspcmlist[" + grd_uselpcmspcm.row + "]/spccd" );
  130. var spcnm = model.getValue ( "/root/main/lpcmspcm/lpcmspcmlist[" + grd_uselpcmspcm.row + "]/spcnm" );
  131. opener.javascript.setParameter ( "SPMMB02400_spc", spccd + "▦" + spcnm );
  132. model.close();
  133. } else {
  134. messageBox ( "선택된 검체가", "I004" );
  135. }
  136. ]]>
  137. </script>
  138. </button>
  139. <button id="button3" class="btn4_letter2" style="left:327px; top:456px; width:56px; height:22px; ">
  140. <caption>취소</caption>
  141. <script type="javascript" ev:event="onclick">
  142. <![CDATA[
  143. model.close();
  144. ]]>
  145. </script>
  146. </button>
  147. </xhtml:body>
  148. </xhtml:html>