SPMNO00400_센터의사조회.xrw 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SPMNO00400_센터의사조회.xrw
  4. * 설 명 : 센터의사 조회.
  5. * 작 성 자 : 김병국
  6. * 작 성 일 : 20101204
  7. * 수정이력 :
  8. * 기 타 :
  9. -->
  10. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  11. <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">
  12. <xhtml:head>
  13. <xhtml:title>센터의사조회</xhtml:title>
  14. <model id="model1">
  15. <instance id="instance1">
  16. <root xmlns="">
  17. <send>
  18. <orddd/>
  19. <orddeptcd/>
  20. <specordyn/>
  21. <session/>
  22. </send>
  23. <main>
  24. <orddrinfo>
  25. <orddrinfolist/>
  26. </orddrinfo>
  27. </main>
  28. <init>
  29. <P0350list>
  30. <P0350>
  31. <cdnm/>
  32. <cdid/>
  33. </P0350>
  34. </P0350list>
  35. <orddeptcd>
  36. <orddeptcdlist>
  37. <cd/>
  38. <nm/>
  39. </orddeptcdlist>
  40. </orddeptcd>
  41. <orddrid>
  42. <orddridlist>
  43. <cd/>
  44. <nm/>
  45. <dp/>
  46. <sp/>
  47. </orddridlist>
  48. </orddrid>
  49. </init>
  50. <hidden>
  51. <uid>
  52. <myself/>
  53. <opener/>
  54. </uid>
  55. <tmp/>
  56. <orddeptlist>
  57. <dept>
  58. <depthngnm/>
  59. <deptcd/>
  60. </dept>
  61. </orddeptlist>
  62. </hidden>
  63. </root>
  64. </instance>
  65. <script type="javascript" ev:event="xforms-ready">
  66. <![CDATA[
  67. var instcd = getUserInfo("dutplceinstcd");
  68. var standard_yn = "rcptuseyn";
  69. var ord_deptflag = 'X';
  70. var rslt_ref = "/root/hidden/orddeptlist";
  71. var sort_field = "depthngnm";
  72. var sort_method = "asc";
  73. var dt = getCurrentDate();
  74. //fGetDeptCodeList(ord_deptflag);
  75. //zbcfGetDeptCodeList(instcd, standard_yn, ord_deptflag, rslt_ref, sort_field, sort_method); //부서코드 콤보조회
  76. //zsdfGetOutOrdDeptList( instcd, rslt_ref, sort_field, sort_method, dt );
  77. zsdfGetCareOutOrderDepartmentList(instcd, rslt_ref, dt); //현재 외래간호에서 쓰고있는 부서코드 콤보조회로 변경-kys-20091118
  78. // 테스트데이터 Start-------------------------
  79. // model.setValue("/root/send/orddd","20071011");
  80. // model.setValue("/root/send/orddeptcd","2230000000");
  81. // model.setValue("/root/send/specordyn","Y");
  82. // 테스트데이터 End-------------------------
  83. cmb_orddept.refresh();
  84. fSearch();
  85. ]]>
  86. </script>
  87. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  88. <submission id="TRMNO00108" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/session" resultref="/root/hidden/orddeptlist"/>
  89. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="urlencoded-post"/>
  90. <submission id="TRZSD00206" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  91. <submission id="TRMNO00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/orddrinfo"/>
  92. </model>
  93. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  94. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  95. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  96. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  97. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  98. <script type="javascript">
  99. <![CDATA[
  100. function fSearch() {
  101. model.setValue("/root/send/orddd", model.property("orddd"));
  102. model.setValue("/root/send/orddeptcd", model.property("orddeptcd"));
  103. model.makeValue("/root/send/orddeptnm", cmb_orddept.label);
  104. submit("TRMNO00401");
  105. }
  106. ]]>
  107. </script>
  108. </xhtml:head>
  109. <xhtml:body pagewidth="534" pageheight="343" guideline="2,342;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  110. <group id="group3" scroll="auto" style="left:0px; top:0px; width:518px; height:316px; ">
  111. <group id="group2" style="left:0px; top:0px; width:518px; height:35px; ">
  112. <shape id="roundrect1" appearance="roundrect" style="left:0px; top:0px; width:517px; height:35px; "/>
  113. <caption id="caption2" class="search_name" style="left:15px; top:8px; width:65px; height:17px; ">센터 :</caption>
  114. <button id="btn_search" class="btn1_letter2" navindex="6" style="left:445px; top:7px; width:56px; height:22px; ">
  115. <caption>조회</caption>
  116. <script type="javascript" ev:event="DOMActivate">
  117. <![CDATA[
  118. fSearch();
  119. ]]>
  120. </script>
  121. </button>
  122. <line id="line13" class="line_4" style="x1:429px; y1:7px; x2:429px; y2:29px; border-color:#ffe4bb; "/>
  123. <select1 id="cmb_orddept" ref="/root/send/orddeptcd" class="combo_default" appearance="minimal" style="left:78px; top:8px; width:120px; height:19px; ">
  124. <choices>
  125. <itemset nodeset="/root/hidden/orddeptlist/dept">
  126. <label ref="depthngnm"/>
  127. <value ref="deptcd"/>
  128. </itemset>
  129. </choices>
  130. </select1>
  131. </group>
  132. <caption id="caption1" class="tit_2" style="left:5px; top:45px; width:113px; height:14px; ">진료의사</caption>
  133. <line id="line1" class="line_1" style="x1:0px; y1:60px; x2:517px; y2:60px; "/>
  134. <datagrid id="grd_orddrinfo" nodeset="/root/main/orddrinfo/orddrinfolist" caption="센터명^센터명^진료과^진료과^진료의사명^진료의사코드" colsep="^" colwidth="100, 100, 100, 100, 131, 129" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="select" rowheight="23" rowsep="|" navindex="7" style="left:0px; top:64px; width:517px; height:230px; ">
  135. <col ref="ordcentnm"/>
  136. <col ref="orddeptcd"/>
  137. <col ref="orddeptnm"/>
  138. <col ref="orddeptcd"/>
  139. <col ref="orddrnm" style="text-align:center; "/>
  140. <col ref="orddrid" style="text-align:center; "/>
  141. <script type="javascript" ev:event="ondblclick">
  142. <![CDATA[
  143. btn_confirm.dispatch("DOMActivate");
  144. ]]>
  145. </script>
  146. <script type="javascript" ev:event="onkeypress">
  147. <![CDATA[
  148. if( event.keyCode == 13 ){
  149. btn_confirm.dispatch("DOMActivate");
  150. }
  151. ]]>
  152. </script>
  153. </datagrid>
  154. </group>
  155. <group id="group1" scroll="auto" style="left:0px; top:316px; width:518px; height:27px; ">
  156. <button id="btn_confirm" class="btn4_letter2" navindex="8" style="left:402px; top:5px; width:56px; height:22px; ">
  157. <caption>확인</caption>
  158. <script type="javascript" ev:event="DOMActivate">
  159. <![CDATA[
  160. model.property("orddrid") = grd_orddrinfo.valueMatrix(grd_orddrinfo.row, grd_orddrinfo.colRef("orddrid"));
  161. window.close();
  162. ]]>
  163. </script>
  164. </button>
  165. <button id="btn_cancel" class="btn4_letter2" navindex="9" style="left:461px; top:5px; width:56px; height:22px; ">
  166. <caption>취소</caption>
  167. <script type="javascript" ev:event="DOMActivate">
  168. <![CDATA[
  169. window.close();
  170. ]]>
  171. </script>
  172. </button>
  173. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:518px; y2:0px; "/>
  174. </group>
  175. </xhtml:body>
  176. </xhtml:html>