SPMMO33800_PRN가능약품조회.xrw 4.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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>PRN 가능약품 목록조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <prn_result>
  11. <item>
  12. <drug_code/>
  13. <drug_hngnm/>
  14. <drug_engnm/>
  15. <comdesc/>
  16. <prcpclscd/>
  17. <ordclasscd/>
  18. </item>
  19. </prn_result>
  20. </main>
  21. <send>
  22. <search_code/>
  23. <search_name/>
  24. </send>
  25. <init>
  26. </init>
  27. <hidden>
  28. </hidden>
  29. </root>
  30. </instance>
  31. <script type="javascript" ev:event="xforms-ready">
  32. <![CDATA[
  33. if(opener.javascript.getParameter("SPMMO33800_search_code")!=""){
  34. model.setValue("/root/send/search_code" , opener.javascript.getParameter("SPMMO33800_search_code"));
  35. search_code.refresh();
  36. btn_search.dispatch("DOMActivate");
  37. }
  38. ]]>
  39. </script>
  40. <submission id="TRMMO33800" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/prn_result"/>
  41. </model>
  42. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  43. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  44. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  45. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  46. </xhtml:head>
  47. <xhtml:body pagewidth="731" pageheight="555" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  48. <group id="group3" scroll="auto" style="left:8px; top:0px; width:700px; height:550px; ">
  49. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:4px; top:21px; width:690px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  50. <caption id="caption1" class="tit_2" style="left:0px; top:4px; width:153px; height:14px; ">PRN가능약품 목록조회</caption>
  51. <line id="line1" class="line_1" style="x1:0px; y1:64px; x2:700px; y2:64px; "/>
  52. <caption id="caption2" class="search_name" style="left:17px; top:30px; width:99px; height:17px; ">약품코드 :</caption>
  53. <button id="btn_search" class="btn1_letter2" style="left:625px; top:28px; width:56px; height:22px; ">
  54. <caption>조회</caption>
  55. <script type="javascript" ev:event="DOMActivate">
  56. <![CDATA[
  57. model.resetInstanceNode("/root/main/prn_result");
  58. submit("TRMMO33800");
  59. datagrid1.refresh();
  60. ]]>
  61. </script>
  62. </button>
  63. <input id="search_code" ref="/root/send/search_code" style="left:105px; top:29px; width:145px; height:19px; ">
  64. <script type="javascript" ev:event="onkeypress">
  65. <![CDATA[
  66. if(event.keyCode == "13"){
  67. model.setFocus("btn_search");
  68. btn_search.dispatch("DOMActivate");
  69. model.setFocus("search_code");
  70. }
  71. ]]>
  72. </script>
  73. </input>
  74. <caption id="caption3" class="search_name" style="left:262px; top:30px; width:99px; height:17px; ">약품명 :</caption>
  75. <input id="search_name" ref="/root/send/search_name" style="left:340px; top:29px; width:155px; height:19px; ">
  76. <script type="javascript" ev:event="onkeypress">
  77. <![CDATA[
  78. if(event.keyCode == "13"){
  79. model.setFocus("btn_search");
  80. btn_search.dispatch("DOMActivate");
  81. model.setFocus("search_name");
  82. }
  83. ]]>
  84. </script>
  85. </input>
  86. </group>
  87. <datagrid id="datagrid1" nodeset="/root/main/prn_result/item" caption="분류^OCS분류^약품코드^한글명^영문명^성분명" colsep="^" colwidth="44, 74, 91, 189, 139, 144" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:8px; top:69px; width:700px; height:471px; ">
  88. <col ref="prcpclscd"/>
  89. <col ref="ordclasscd"/>
  90. <col ref="drug_code"/>
  91. <col ref="drug_hngnm"/>
  92. <col ref="drug_engnm"/>
  93. <col ref="comdesc"/>
  94. </datagrid>
  95. </xhtml:body>
  96. </xhtml:html>