SPAHA04111_재미검대상자조회.xrw 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMAHB01400.xrw
  4. * 설 명 : 기관및판정의관리
  5. * 설 계 자 :
  6. * 작 성 자 :
  7. * 작 성 일 : 2007.08.01
  8. * 수정이력 : 2007.10.04 김다영 화면권한추가
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  12. <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">
  13. <xhtml:head>
  14. <xhtml:title>재미검 대상자 조회</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <send>
  19. <srchpid/>
  20. <healexamdetlflag/>
  21. <srchpnm2/>
  22. </send>
  23. <main>
  24. <reexam>
  25. <item>
  26. <pid/>
  27. <hngnm/>
  28. <hopedd/>
  29. <pkgnm/>
  30. <hometel/>
  31. <mpphontel/>
  32. <addr/>
  33. <notiyn/>
  34. <nexthopedd/>
  35. <reexamcdlst/>
  36. <cnts/>
  37. <healexamdetlflag/>
  38. <orgrsrvdd/>
  39. <orgrsrvno/>
  40. <nextrsrvdd/>
  41. <nextrsrvno/>
  42. </item>
  43. </reexam>
  44. </main>
  45. <init>
  46. <baseinfo>
  47. <assocd/>
  48. <healexamflaglst/>
  49. <ghealexamdetlflaglst/>
  50. <chealexamdetlflaglst/>
  51. <healexamdetlflaglst>
  52. <item/>
  53. </healexamdetlflaglst>
  54. <comcode/>
  55. </baseinfo>
  56. </init>
  57. <hidden/>
  58. <case_mode/>
  59. <temp>
  60. <addr>
  61. <zipcd1/>
  62. <zipcd2/>
  63. <addr/>
  64. <zipcdseq/>
  65. </addr>
  66. </temp>
  67. </root>
  68. </instance>
  69. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  70. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  71. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  72. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  73. <script type="javascript" src="../../../ast/healexamweb/js/healexam.js"/>
  74. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  75. <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
  76. <!-- <submission id="TRAHB00201" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/inqrlst"/>
  77. <submission id="TRZBC00101"/> -->
  78. <script type="javascript" ev:event="xforms-ready">
  79. <![CDATA[
  80. fGetBaseInfo();
  81. model.removeNodeset("/root/main/reexam");
  82. model.refresh();
  83. ]]>
  84. </script>
  85. <submission id="TRZBC00101"/>
  86. <submission id="TRAHA04112" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/assolist"/>
  87. </model>
  88. <script type="javascript">
  89. <![CDATA[
  90. function fGetBaseInfo(){
  91. // 건진기관구분
  92. zbcfGetCodeList( new Array("A0068","A0069","A0070","P0008","P0010","P0032"),
  93. new Array("/root/init/baseinfo/healexamflaglst"
  94. ,"/root/init/baseinfo/chealexamdetlflaglst"
  95. ,"/root/init/baseinfo/ghealexamdetlflaglst"
  96. ,"/root/init/baseinfo/comcode"
  97. ,"/root/init/baseinfo/comcode"
  98. ,"/root/init/baseinfo/comcode") );
  99. submit("TRZBC00101");
  100. copyNodesetType("/root/init/baseinfo/healexamdetlflaglst/item","/root/init/baseinfo/chealexamdetlflaglst/A0069", "after");
  101. copyNodesetType("/root/init/baseinfo/healexamdetlflaglst/item","/root/init/baseinfo/ghealexamdetlflaglst/A0070", "after");
  102. }
  103. function fGetReexam(){
  104. if(model.getValue("/root/send/srchpid") == "" && (model.getValue("/root/send/srchfromdd") == "" || model.getValue("/root/send/srchtodd") == ""))
  105. {
  106. messageBox("시행일자 혹은 환자를 선택하셔야 합니다.", "E");
  107. return;
  108. }
  109. model.removeNodeset("/root/main/reexam");
  110. submit("TRAHA04112");
  111. }
  112. function fSetData(vMulti){
  113. if( !checkOpener() ) return ;
  114. var vDestXPath = opener.javascript.getParameter("SPAHB00600_PARAM5");
  115. var rowNum = grd_reexamlst.row;
  116. opener.model.setValue(vDestXPath+"/pid", model.getValue("/root/main/reexam/item[" + rowNum + "]/pid"));
  117. opener.model.setValue(vDestXPath+"/hngnm", model.getValue("/root/main/reexam/item[" + rowNum + "]/hngnm"));
  118. opener.model.setValue(vDestXPath+"/hopedd", model.getValue("/root/main/reexam/item[" + rowNum + "]/hopedd"));
  119. opener.model.setValue(vDestXPath+"/pkgnm", model.getValue("/root/main/reexam/item[" + rowNum + "]/pkgnm"));
  120. opener.model.setValue(vDestXPath+"/hometel", model.getValue("/root/main/reexam/item[" + rowNum + "]/hometel"));
  121. opener.model.setValue(vDestXPath+"/mpphontel", model.getValue("/root/main/reexam/item[" + rowNum + "]/mpphontel"));
  122. opener.model.setValue(vDestXPath+"/addr", model.getValue("/root/main/reexam/item[" + rowNum + "]/addr"));
  123. opener.model.setValue(vDestXPath+"/healexamdetlflag", model.getValue("/root/main/reexam/item[" + rowNum + "]/healexamdetlflag"));
  124. opener.model.setValue(vDestXPath+"/orgrsrvdd", model.getValue("/root/main/reexam/item[" + rowNum + "]/rsrvdd"));
  125. opener.model.setValue(vDestXPath+"/orgrsrvno", model.getValue("/root/main/reexam/item[" + rowNum + "]/rsrvno"));
  126. opener.model.refresh();
  127. window.close();
  128. }
  129. ]]>
  130. </script>
  131. </xhtml:head>
  132. <xhtml:body pagewidth="700" pageheight="450" guideline="1,686;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  133. <group id="grp_tle" style="left:0px; top:0px; width:680px; height:13px; ">
  134. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:134px; height:14px; ">재미검 대상자 조회</caption>
  135. </group>
  136. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:680px; height:382px; ">
  137. <group id="grp_sea" style="left:0px; top:10px; width:675px; height:35px; vertical-align:top; ">
  138. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:675px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  139. <button id="btn_search" class="btn1_letter2" style="left:610px; top:5px; width:56px; height:22px; ">
  140. <caption>조회</caption>
  141. <script type="javascript" ev:event="DOMActivate">
  142. <![CDATA[
  143. fGetReexam();
  144. ]]>
  145. </script>
  146. </button>
  147. <line id="line13" class="line_4" style="x1:594px; y1:5px; x2:594px; y2:27px; "/>
  148. <input id="ipt_srchpid" ref="/root/send/srchpid" class="input_search" imemode="hangul" style="left:306px; top:8px; width:105px; height:19px; ">
  149. <script type="javascript" ev:event="onkeyup">
  150. <![CDATA[
  151. inputEnterKey("btn_srchpat", "DOMActivate");
  152. ]]>
  153. </script>
  154. </input>
  155. <button id="btn_srchpat" class="icon_search" style="left:421px; top:8px; width:16px; height:16px; ">
  156. <caption/>
  157. <script type="javascript" ev:event="DOMActivate">
  158. <![CDATA[
  159. fSearchPatInfo("SMAHA00100", "pid", ipt_srchpid.currentText , "N", "/root/send" ,ipt_srchpid.attribute("ref"), opt_srchpnm.attribute("ref") );
  160. ]]>
  161. </script>
  162. </button>
  163. <output id="opt_srchpnm" ref="/root/send/srchpnm2" class="output_fix" style="left:441px; top:8px; width:120px; height:19px; "/>
  164. <caption id="caption49" class="search_name" style="left:217px; top:8px; width:89px; height:17px; ">환자검색 :</caption>
  165. <select1 id="cmb_srchhealexamdetlflag" ref="/root/send/healexamdetlflag" class="combo_search" appearance="minimal" style="left:90px; top:8px; width:110px; height:19px; ">
  166. <choices>
  167. <itemset nodeset="/root/init/baseinfo/healexamdetlflaglst/item">
  168. <label ref="cdnm"/>
  169. <value ref="cdid"/>
  170. </itemset>
  171. </choices>
  172. </select1>
  173. <caption id="caption2" class="search_name" style="left:5px; top:8px; width:86px; height:17px; ">건진구분 :</caption>
  174. </group>
  175. <datagrid id="grd_reexamlst" nodeset="/root/main/reexam/item" autoresize="true" caption="등록번호^성명^신체검사일^패키지명^연락처1^연락처2^주소^건진구분^원예약등록일^원예약등록번호" colsep="^" colwidth="80, 71, 80, 120, 90, 90, 160, 70, 100, 120, 128, 100, 100, 100, 100" defaultrows="0" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:54px; width:675px; height:326px; ">
  176. <col ref="pid"/>
  177. <col ref="hngnm"/>
  178. <col ref="hopedd"/>
  179. <col ref="pkgnm"/>
  180. <col ref="hometel"/>
  181. <col ref="mpphontel"/>
  182. <col ref="addr"/>
  183. <col ref="healexamdetlflag" visibility="hidden"/>
  184. <col ref="rsrvdd" type="input" visibility="hidden"/>
  185. <col ref="rsrvno" type="input" visibility="hidden"/>
  186. <script type="javascript" ev:event="ondblclick">
  187. <![CDATA[
  188. fSetData("Y");
  189. ]]>
  190. </script>
  191. </datagrid>
  192. <line id="line3" class="line_1" style="x1:0px; y1:50px; x2:674px; y2:51px; "/>
  193. </group>
  194. <button id="btn_cancel" class="btn4_letter2" style="left:620px; top:397px; width:56px; height:22px; ">
  195. <caption>취소</caption>
  196. <close ev:event="onclick"/>
  197. </button>
  198. <button id="btn_confirm" class="btn4_letter2" style="left:561px; top:397px; width:56px; height:22px; ">
  199. <caption>확인</caption>
  200. <script type="javascript" ev:event="DOMActivate">
  201. <![CDATA[
  202. var idx=grd_reexamlst.row;
  203. if(idx>0){
  204. fSetData("Y");
  205. }
  206. else{
  207. window.close();
  208. }
  209. //fSetData("Y");
  210. ]]>
  211. </script>
  212. </button>
  213. </xhtml:body>
  214. </xhtml:html>