SPAVT00100_진단명검색.xrw 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. <?xml version="1.0" encoding="EUC-KR"?>
  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. <![CDATA[">]]>
  6. <xhtml:title>진단</xhtml:title>
  7. <model id="model1">
  8. <instance id="instance1">
  9. <root xmlns="">
  10. <main>
  11. <diaglist>
  12. <item>
  13. <icd10cd/>
  14. <icd10engnm/>
  15. <icd10hngnm/>
  16. </item>
  17. </diaglist>
  18. </main>
  19. <send>
  20. <srchdata>
  21. <srchterm/>
  22. <srchflag>engnm</srchflag>
  23. </srchdata>
  24. </send>
  25. <hidden>
  26. <receiveref/>
  27. </hidden>
  28. <init>
  29. </init>
  30. </root>
  31. </instance>
  32. <submission id="TRADB61701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchdata" replace="instance" resultref="/root/main/diaglist"/>
  33. </model>
  34. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  35. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  36. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  37. <script type="javascript">
  38. <![CDATA[
  39. function fSetOpener(){
  40. var idx = grd_diaglist.row;
  41. opener.model.setValue("/root/main/info/item/diagcd", model.getValue( "/root/main/diaglist/item["+idx+"]/icd10cd" ) );
  42. opener.model.setValue("/root/main/info/item/diagnm", model.getValue( "/root/main/diaglist/item["+idx+"]/icd10hngnm" ) );
  43. opener.model.refresh();
  44. window.close();
  45. //진단코드 등록
  46. }
  47. ]]>
  48. </script>
  49. </xhtml:head>
  50. <xhtml:body pagewidth="660" pageheight="380" guideline="1,644;2,380;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  51. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:3px; top:21px; width:639px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  52. <caption id="caption2" class="tit_2" style="left:0px; top:0px; width:45px; height:13px; vertical-align:middle; ">진단</caption>
  53. <caption id="caption3" class="search_name" style="left:15px; top:30px; width:86px; height:17px; ">검색어 :</caption>
  54. <line id="line1" style="x1:564px; y1:27px; x2:564px; y2:49px; border-color:#ffe4bb; border-left-style:solid; "/>
  55. <input id="input1" ref="/root/send/srchdata/srchterm" class="input_search" style="left:104px; top:29px; width:209px; height:19px; ">
  56. <script type="javascript" ev:event="onkeypress">
  57. <![CDATA[
  58. inputEnterKey("btn_req", "DOMActivate");
  59. ]]>
  60. </script>
  61. </input>
  62. <line id="line3" class="line_1" style="x1:3px; y1:58px; x2:642px; y2:58px; "/>
  63. <button id="btn_req" class="btn1_letter2" style="left:576px; top:28px; width:56px; height:22px; ">
  64. <caption>조회</caption>
  65. <script type="javascript" ev:event="DOMActivate">
  66. <![CDATA[
  67. submit("TRADB61701");
  68. ]]>
  69. </script>
  70. </button>
  71. <select1 id="combo1" ref="/root/send/srchdata/srchflag" class="combo_search" disabled="false" appearance="minimal" style="left:315px; top:29px; width:80px; height:19px; ">
  72. <choices>
  73. <item>
  74. <label>영문명</label>
  75. <value>engnm</value>
  76. </item>
  77. <item>
  78. <label>한글명</label>
  79. <value>hngnm</value>
  80. </item>
  81. </choices>
  82. </select1>
  83. <button id="btn_cfm" class="btn4_letter2" style="left:528px; top:355px; width:56px; height:22px; ">
  84. <caption>확인</caption>
  85. <script type="javascript" ev:event="onclick">
  86. <![CDATA[
  87. fSetOpener();
  88. ]]>
  89. </script>
  90. </button>
  91. <button id="btn_can" class="btn4_letter2" style="left:585px; top:355px; width:56px; height:22px; ">
  92. <caption>취소</caption>
  93. <close ev:event="DOMActivate"/>
  94. </button>
  95. <datagrid id="grd_diaglist" nodeset="/root/main/diaglist/item" caption="진단코드^영문명^한글명" colsep="^" colwidth="100, 248, 230" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:5px; top:65px; width:639px; height:284px; background-color:#ffffff; border-color:#B0B0B0; ">
  96. <col ref="icd10cd"/>
  97. <col ref="icd10engnm"/>
  98. <col ref="icd10hngnm"/>
  99. <script type="javascript" ev:event="ondblclick">
  100. <![CDATA[
  101. if ( checkOpener() ) {
  102. /* var gridObj = opener.document.controls.item(model.getValue("/root/hidden/receiveref"));
  103. astfInsertGridData(grd_diaglist, gridObj, "1", "", "", "");
  104. opener.model.refresh();
  105. window.close(); */
  106. fSetOpener();
  107. } else {
  108. messageBox("상위화면이 변경되어 데이터를 전달", "E001" );
  109. }
  110. ]]>
  111. </script>
  112. </datagrid>
  113. </xhtml:body>
  114. </xhtml:html>