SPARH00500_HIE병원팝업.xrw 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
  4. <xhtml:head>
  5. <xhtml:title>Untitle</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <hospinfo/>
  11. </main>
  12. <send>
  13. <searchhosp>
  14. <hospnm/>
  15. <hosptype/>
  16. </searchhosp>
  17. </send>
  18. <init>
  19. <initinfo/>
  20. </init>
  21. <hidden>
  22. <areainfo>
  23. <list>
  24. <cdid/>
  25. <cdnm>전체</cdnm>
  26. </list>
  27. <list>
  28. <cdid>TK</cdid>
  29. <cdnm>대구경북</cdnm>
  30. </list>
  31. <list>
  32. <cdid>PK</cdid>
  33. <cdnm>부산경남</cdnm>
  34. </list>
  35. <list>
  36. <cdid>S</cdid>
  37. <cdnm>서울</cdnm>
  38. </list>
  39. </areainfo>
  40. </hidden>
  41. </root>
  42. </instance>
  43. <submission id="TRARH00505" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchhosp" resultref="/root/main/hospinfo"/>
  44. <submission id="TRARH00506" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/initinfo"/>
  45. <script type="javascript" ev:event="xforms-ready">
  46. <![CDATA[
  47. if(!checkOpener()){
  48. window.close();
  49. }
  50. fInit();
  51. ]]>
  52. </script>
  53. </model>
  54. </xhtml:head>
  55. <script src="../../../com/commonweb/js/common.js" type="javascript"/>
  56. <script src="../../../com/commonweb/js/tfHelper.js" type="javascript"/>
  57. <script type="javascript">
  58. <![CDATA[
  59. function fInit(){
  60. submit("TRARH00506");
  61. addComboItem("cmb_hosptype","전체","","above");
  62. fSearch();
  63. model.refresh();
  64. }
  65. function fSearch(){
  66. submit("TRARH00505");
  67. }
  68. function fSetReturn(){
  69. var nodelist = instance1.selectNodes("/root/main/hospinfo/hosplist[chk='Y']");
  70. var rCVS = getNodeListCSV(nodelist);
  71. opener.javascript.setParameter("SPARH00500_PARAM", rCVS);
  72. }
  73. ]]>
  74. </script>
  75. <xhtml:body pagewidth="770" pageheight="500">
  76. <group id="group5" style="left:0px; top:25px; width:765px; height:35px; vertical-align:top; ">
  77. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:765px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  78. <line id="line2" class="line_4" style="x1:685px; y1:9px; x2:685px; y2:31px; "/>
  79. <button id="btn_search" class="btn1_letter2" navindex="33" style="left:695px; top:10px; width:56px; height:22px; ">
  80. <caption>조회</caption>
  81. <script type="javascript" ev:event="DOMActivate">
  82. <![CDATA[
  83. fSearch();
  84. model.refresh();
  85. ]]>
  86. </script>
  87. </button>
  88. <input id="input2" ref="/root/send/searchhosp/hospnm" navindex="32" style="left:90px; top:10px; width:125px; height:19px; ">
  89. <script type="javascript" ev:event="onkeydown">
  90. <![CDATA[
  91. if(event.keyCode==13)
  92. {
  93. inputEnterKey("btn_search", "DOMActivate");
  94. }
  95. ]]>
  96. </script>
  97. </input>
  98. <caption id="caption7" class="search_name" style="left:8px; top:10px; width:94px; height:17px; ">병의원명</caption>
  99. <select1 id="cmb_hosptype" ref="/root/send/searchhosp/hosptype" appearance="minimal" style="left:335px; top:10px; width:125px; height:19px; ">
  100. <choices>
  101. <itemset nodeset="/root/init/initinfo/hosptypelist">
  102. <label ref="cdnm"/>
  103. <value ref="cdid"/>
  104. </itemset>
  105. </choices>
  106. </select1>
  107. <caption id="caption36" class="search_name" style="left:245px; top:10px; width:94px; height:17px; ">병원타입</caption>
  108. </group>
  109. <caption id="caption2" class="tit_1" style="left:0px; top:0px; width:205px; height:14px; ">HIE 병의원 팝업</caption>
  110. <datagrid id="grd_hosplist" nodeset="/root/main/hospinfo/hosplist" scroll="autovscroll" caption="^요양기관기호^병원명^병원구분^전화번호^주소" colsep="^" colwidth="23, 100, 155, 82, 103, 286" dataheight="25" defaultrows="0" extendlastcol="scroll" frozencols="3" mergecellsfixedrows="bycolrec" rowheight="32" rowsep="|" style="left:0px; top:62px; width:765px; height:395px; vertical-align:middle; ">
  111. <col checkvalue="Y,N" ref="chk" type="checkbox"/>
  112. <col ref="organizationid" style="text-align:center; "/>
  113. <col ref="organizationname"/>
  114. <col ref="organizationtypecode" type="combo" style="text-align:center; ">
  115. <choices>
  116. <itemset nodeset="/root/init/initinfo/hosptypelist">
  117. <label ref="cdnm"/>
  118. <value ref="cdid"/>
  119. </itemset>
  120. </choices>
  121. </col>
  122. <col ref="telecom" style="text-align:center; "/>
  123. <col ref="address"/>
  124. <script type="javascript" ev:event="ondblclick">
  125. <![CDATA[
  126. if(grd_hosplist.row<1) return;
  127. var row = grd_hosplist.row;
  128. model.setValue("/root/main/hospinfo/hosplist["+(row)+"]/chk","Y");
  129. fSetReturn();
  130. //window.close();
  131. ]]>
  132. </script>
  133. </datagrid>
  134. <button id="button1" class="btn4_letter2" style="left:320px; top:465px; width:56px; height:22px; ">
  135. <caption>선택</caption>
  136. <script type="javascript" ev:event="DOMActivate">
  137. <![CDATA[
  138. fSetReturn();
  139. window.close();
  140. ]]>
  141. </script>
  142. </button>
  143. <button id="button2" class="btn4_letter2" style="left:385px; top:465px; width:56px; height:22px; ">
  144. <caption>닫기</caption>
  145. <script type="javascript" ev:event="DOMActivate">
  146. <![CDATA[
  147. window.close();
  148. ]]>
  149. </script>
  150. </button>
  151. </xhtml:body>
  152. </xhtml:html>