SPPMC04400_상병수술조회.xrw 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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. <snwoplist>
  11. <icdcd/>
  12. <cd/>
  13. <hngnm/>
  14. <engnm/>
  15. </snwoplist>
  16. </main>
  17. <send>
  18. <search>
  19. <refcond/>
  20. <refstatement/>
  21. </search>
  22. </send>
  23. <hidden>
  24. <sppmc04400>
  25. <rslt>
  26. <icdcd/>
  27. <cd/>
  28. <hngnm/>
  29. <engnm/>
  30. </rslt>
  31. </sppmc04400>
  32. </hidden>
  33. </root>
  34. </instance>
  35. <script type="javascript" ev:event="xforms-ready">
  36. <![CDATA[
  37. model.removeNodeset("/root/main/snwoplist");
  38. model.removeNodeset("/root/hidden/sppmc04400/rslt");
  39. var refcond = model.getValue("/root/send/search/refcond");
  40. if(refcond == "1" || refcond == "2" ||refcond == "3" || refcond == "4"){
  41. submit("TRPMC04401");
  42. model.refresh();
  43. }//if end
  44. ]]>
  45. </script>
  46. <submission id="TRPMC04401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/snwoplist"/>
  47. </model>
  48. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  49. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  50. </xhtml:head>
  51. <xhtml:body pagewidth="880" pageheight="350" guideline="2,342;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  52. <group id="group3" scroll="auto" style="left:5px; top:0px; width:850px; height:290px; ">
  53. <caption id="caption1" class="tit_2" style="left:5px; top:5px; width:120px; height:13px; ">상벙/수술 리스트</caption>
  54. <line id="line1" class="line_1" style="x1:5px; y1:25px; x2:845px; y2:25px; "/>
  55. <datagrid id="grd_snwop" nodeset="/root/main/snwoplist" caption="코드명^상병/수술명^한글명^영문명" colsep="^" colwidth="50, 92, 281, 406" dataheight="23" defaultrows="2" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" navindex="7" style="left:5px; top:30px; width:840px; height:250px; ">
  56. <col ref="icdcd"/>
  57. <col ref="cd"/>
  58. <col ref="hngnm"/>
  59. <col ref="engnm"/>
  60. <script type="javascript" ev:event="ondblclick">
  61. <![CDATA[
  62. if ( checkOpener() ) {
  63. row = grd_snwop.row;
  64. if( row > 0 ){
  65. if( getNodesetCount("/root/main/snwoplist") > 0 ){
  66. opener.model.copyNode("/root/hidden/sppmc04400/rslt", grd_snwop.getNode( row ));
  67. opener.model.refresh();
  68. window.close();
  69. }
  70. }
  71. //20090102 홍성주 추가 작업시작
  72. else{
  73. /*
  74. opener.model.removeNodeset("/root/main/iscl/grdisclinfo");
  75. opener.model.removeNodeset("/root/send/search/refstatement");
  76. opener.model.removeNodeset("/root/main/totaldisplay");
  77. opener.model.refresh();
  78. window.close();*/
  79. model.reset();
  80. }
  81. //20090102 홍성주 추가 작업종료
  82. } else {
  83. messageBox("상위화면이 변경되어 데이터를 가져올 수", "I004");
  84. }
  85. row = grd_snwop.row;
  86. if( row > 0 ){
  87. if( getNodesetCount("/root/main/snwoplist") > 0 ){
  88. model.copyNode("/root/hidden/sppmc04400/rslt", grd_snwop.getNode( row ));
  89. }
  90. }
  91. //20090102 홍성주 추가 작업시작
  92. else{
  93. /*
  94. opener.model.removeNodeset("/root/main/iscl/grdisclinfo");
  95. opener.model.removeNodeset("/root/send/search/refstatement");
  96. opener.model.removeNodeset("/root/main/totaldisplay");
  97. opener.model.refresh();
  98. window.close();
  99. */
  100. model.reset();
  101. }
  102. //20090102 홍성주 추가 작업종료
  103. ]]>
  104. </script>
  105. </datagrid>
  106. </group>
  107. <group id="group1" scroll="auto" style="left:0px; top:295px; width:845px; height:27px; ">
  108. <button id="btn_cancel" class="btn4_letter2" navindex="9" style="left:785px; top:5px; width:56px; height:22px; ">
  109. <caption>취소</caption>
  110. <script type="javascript" ev:event="DOMActivate">
  111. <![CDATA[
  112. opener.javascript.setParameter("SMPAI00400_param", "@");
  113. model.reset();
  114. window.close();
  115. ]]>
  116. </script>
  117. </button>
  118. </group>
  119. </xhtml:body>
  120. </xhtml:html>