SPMMO16600_코드조회.xrw 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <?xml version="1.0" encoding="UTF-8"?>
  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. <cond>
  11. <code/>
  12. <name/>
  13. <fromdd/>
  14. <todd/>
  15. </cond>
  16. <info>
  17. <list/>
  18. </info>
  19. </main>
  20. </root>
  21. </instance>
  22. <script type="javascript" ev:event="xforms-model-construct-done">
  23. <![CDATA[
  24. fCodeSrchInit();
  25. model.setValue("/root/main/cond/fromdd" , fromdd);
  26. model.setValue("/root/main/cond/todd" , todd)
  27. model.setFocus("ipt_name");
  28. ipt_code.attribute("_chartype") = "upper";
  29. ]]>
  30. </script>
  31. </model>
  32. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  33. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  34. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  35. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  36. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  37. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  38. <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMO16300.js"/>
  39. <script type="javascript">
  40. <![CDATA[
  41. var code = opener.javascript.model.getValue("/root/main/cond/code");
  42. var fromdd = opener.javascript.model.getValue("/root/main/cond/fromdd");
  43. var todd = opener.javascript.model.getValue("/root/main/cond/todd");
  44. ]]>
  45. </script>
  46. </xhtml:head>
  47. <xhtml:body pagewidth="541" pageheight="344" guideline="1,523;2,328;">
  48. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:19px; width:520px; height:61px; background-color:#fffbf2; border-color:#ffd799; "/>
  49. <caption id="cap_title" class="tit_1" style="left:0px; top:0px; width:106px; height:14px; ">코드조회</caption>
  50. <caption id="cap_code" class="search_name" style="left:10px; top:28px; width:90px; height:17px; "/>
  51. <input id="ipt_code" ref="/root/main/cond/code" class="input_essential" style="left:100px; top:28px; width:100px; height:19px; ">
  52. <script type="javascript" ev:event="onkeypress">
  53. <![CDATA[
  54. if(event.keyCode == "13") {
  55. btn_req.dispatch("DOMActivate");
  56. }
  57. ]]>
  58. </script>
  59. </input>
  60. <caption id="cap_name" class="search_name" style="left:10px; top:53px; width:99px; height:17px; "/>
  61. <input id="ipt_name" ref="/root/main/cond/name" class="input_essential" style="left:100px; top:53px; width:265px; height:19px; ">
  62. <script type="javascript" ev:event="onkeypress">
  63. <![CDATA[
  64. if(event.keyCode == "13") {
  65. btn_req.dispatch("DOMActivate");
  66. }
  67. ]]>
  68. </script>
  69. </input>
  70. <button id="btn_req" class="btn1_letter2" style="left:455px; top:40px; width:56px; height:22px; ">
  71. <caption>조회</caption>
  72. <script type="javascript" ev:event="DOMActivate">
  73. <![CDATA[
  74. fGetData();
  75. ]]>
  76. </script>
  77. </button>
  78. <line id="line3" style="x1:439px; y1:24px; x2:439px; y2:77px; border-color:#ffe4bb; border-left-style:solid; "/>
  79. <line id="line1" class="line_1" style="x1:0px; y1:99px; x2:525px; y2:100px; "/>
  80. <caption id="cap_subtitle" class="tit_2" style="left:0px; top:84px; width:147px; height:14px; ">코드조회</caption>
  81. <datagrid id="grd_prcplist" nodeset="/root/main/info/list" caption="처방코드^처방명^처방한글명" colsep="^" colwidth="100, 254, 262" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:103px; width:525px; height:225px; ">
  82. <col ref="code"/>
  83. <col ref="engnm"/>
  84. <col ref="hngnm"/>
  85. </datagrid>
  86. </xhtml:body>
  87. </xhtml:html>