SPMMR06503_제증명발행정보변경.xrw 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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. <status/>
  12. <pid/>
  13. <memocnts/>
  14. <lastupdtrnm/>
  15. <profcertseq/>
  16. <elctflag/>
  17. </cond>
  18. </main>
  19. <send>
  20. <chngissinfo>
  21. <orddeptcd/>
  22. <orddoctid/>
  23. <vieworddeptcd/>
  24. </chngissinfo>
  25. <reqdata/>
  26. <switflag/>
  27. <pid/>
  28. <orddeptcd/>
  29. </send>
  30. <hidden/>
  31. <init>
  32. <userlist>
  33. <usercombo/>
  34. </userlist>
  35. <deptlist/>
  36. </init>
  37. </root>
  38. </instance>
  39. <submission id="TRMMR06502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/memo"/>
  40. <submission id="TXMMR06502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/memo"/>
  41. <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdeptlist" resultref="/root/init/deptlist"/>
  42. <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/requserlist" resultref="/root/init/userlist"/>
  43. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  44. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  45. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  46. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  47. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  48. <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMO04100.js"/>
  49. <script type="javascript">
  50. <![CDATA[
  51. ]]>
  52. </script>
  53. <script type="javascript" ev:event="xforms-ready">
  54. <![CDATA[
  55. //opener화면에서 등록번호를 조회
  56. if(checkOpener()){
  57. var pid = opener.javascript.getParameter("SPMMR06503_pid");
  58. var orddeptcd = opener.javascript.getParameter("SPMMR06503_orddeptcd");
  59. var switflag = opener.javascript.getParameter("SPMMR06503_switflag");
  60. var vieworddeptcd = opener.javascript.getParameter("SPMMR06503_vieworddeptcd");
  61. model.setValue("/root/send/pid" , pid);
  62. model.setValue("/root/send/orddeptcd" , orddeptcd);
  63. model.setValue("/root/send/switflag" , switflag);
  64. mmbfGetDeptCodeComboList("/root/send/reqdata", "/root/init/deptlist", "O");
  65. if( vieworddeptcd != "" ){
  66. model.setValue("/root/send/chngissinfo/orddeptcd" , vieworddeptcd );
  67. model.setValue("/root/send/chngissinfo/vieworddeptcd" , vieworddeptcd );
  68. }else{
  69. model.setValue("/root/send/chngissinfo/orddeptcd", orddeptcd );
  70. }
  71. cmb_issorddeptcd.dispatch("xforms-value-changed");
  72. if( switflag == "dept" ){
  73. switch1.selectedIndex = 0;
  74. }else{
  75. switch1.selectedIndex = 1;
  76. }
  77. clearParameter("SPMMR06503_pid");
  78. clearParameter("SPMMR06503_orddeptcd");
  79. clearParameter("SPMMR06503_switflag");
  80. clearParameter("SPMMR06503_vieworddeptcd");
  81. model.refresh();
  82. }
  83. ]]>
  84. </script>
  85. </model>
  86. </xhtml:head>
  87. <xhtml:body pagewidth="335" pageheight="150" guideline="1,384;1,401;2,165;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  88. <switch id="switch1" style="left:5px; top:5px; width:285px; height:125px; ">
  89. <case id="issdeptcd">
  90. <group id="group2" style="left:10px; top:10px; width:265px; height:110px; border-color:#adceff; border-width:3px; border-style:solid; gradient:linear(0,0,100%,100%,white,#d7e7ff,1); ">
  91. <caption id="caption16" class="tit_2" style="left:11px; top:10px; width:236px; height:13px; ">발행부서를 다시 선택해주십시오.</caption>
  92. <line id="line5" class="line_1" style="x1:11px; y1:26px; x2:248px; y2:26px; "/>
  93. <button id="button10" class="btn2_letter3" style="left:135px; top:58px; width:53px; height:19px; ">
  94. <caption>확 인</caption>
  95. <script type="javascript" ev:event="onclick">
  96. <![CDATA[
  97. var orddeptcd = model.getValue("/root/send/chngissinfo/orddeptcd");
  98. var orddoctid = model.getValue("/root/send/chngissinfo/orddoctid");
  99. var switflag = model.getValue("/root/send/switflag");
  100. if( switflag == "dept" ){
  101. if( orddeptcd == "" ){
  102. messageBox("진료과를", "C002");
  103. model.setFocus("cmb_issorddeptcd");
  104. return;
  105. }else{
  106. opener.javascript.model.makeValue("/root/send/chngissinfo/orddeptcd", orddeptcd);
  107. }
  108. }
  109. opener.javascript.model.makeValue("/root/send/chngissinfo/issvaliinfoflag" , "Y");
  110. window.close();
  111. ]]>
  112. </script>
  113. </button>
  114. <button id="button11" class="btn2_letter3" style="left:195px; top:58px; width:53px; height:19px; ">
  115. <caption>취 소</caption>
  116. <script type="javascript" ev:event="onclick">
  117. <![CDATA[
  118. opener.javascript.model.setValue("/root/send/chngissinfo/orddeptcd" , "" );
  119. opener.javascript.model.setValue("/root/send/chngissinfo/issvaliinfoflag" , "N" );
  120. if( opener.javascript.model.getValue("/root/send/chngissinfo/orddoctid") != "" ){
  121. opener.javascript.model.setValue("/root/send/chngissinfo/issvaliinfoflag" , "Y" );
  122. }
  123. window.close();
  124. ]]>
  125. </script>
  126. </button>
  127. <caption id="caption20" class="cell_1" style="left:12px; top:32px; width:60px; height:23px; text-align:left; vertical-align:middle; ">발 행 과</caption>
  128. <select1 id="cmb_issorddeptcd" ref="/root/send/chngissinfo/orddeptcd" class="combo_default" appearance="minimal" style="left:77px; top:34px; width:170px; height:19px; ">
  129. <choices>
  130. <itemset nodeset="/root/init/deptlist/dept">
  131. <label ref="depthngnm"/>
  132. <value ref="deptcd"/>
  133. </itemset>
  134. </choices>
  135. <script type="javascript" ev:event="xforms-value-changed">
  136. <![CDATA[
  137. var orddeptcd = model.getValue("/root/send/chngissinfo/orddeptcd");
  138. mmbfGetUserComboList("/root/send/requserlist", "/root/init/userlist", orddeptcd, "0330");
  139. ]]>
  140. </script>
  141. </select1>
  142. </group>
  143. </case>
  144. <case id="issorddrid" selected="true">
  145. <group id="group1" style="left:10px; top:10px; width:265px; height:110px; border-color:#adceff; border-width:3px; border-style:solid; gradient:linear(0,0,100%,100%,white,#d7e7ff,1); ">
  146. <caption id="caption1" class="tit_2" style="left:11px; top:5px; width:236px; height:13px; ">발행의사를 다시 선택해 주십시오.</caption>
  147. <line id="line1" class="line_1" style="x1:11px; y1:21px; x2:248px; y2:21px; "/>
  148. <button id="button1" class="btn2_letter3" style="left:135px; top:76px; width:53px; height:19px; ">
  149. <caption>확 인</caption>
  150. <script type="javascript" ev:event="onclick">
  151. <![CDATA[
  152. var orddeptcd = model.getValue("/root/send/chngissinfo/vieworddeptcd");
  153. var orddoctid = model.getValue("/root/send/chngissinfo/orddoctid");
  154. var switflag = model.getValue("/root/send/switflag");
  155. if(switflag == "orddrid"){
  156. if( orddoctid == "" ){
  157. messageBox("진료의를", "C002");
  158. model.setFocus("cmb_issorddoctid");
  159. return;
  160. }else{
  161. opener.javascript.model.setValue("/root/send/chngissinfo/orddoctid", orddoctid );
  162. opener.javascript.model.setValue("/root/send/chngissinfo/orddeptcd", orddeptcd );
  163. }
  164. }
  165. opener.javascript.model.setValue("/root/send/chngissinfo/issvaliinfoflag" , "Y" );
  166. window.close();
  167. ]]>
  168. </script>
  169. </button>
  170. <button id="button2" class="btn2_letter3" style="left:195px; top:76px; width:53px; height:19px; ">
  171. <caption>취 소</caption>
  172. <script type="javascript" ev:event="onclick">
  173. <![CDATA[
  174. opener.javascript.model.setValue("/root/send/chngissinfo/orddoctid" , "" );
  175. opener.javascript.model.setValue("/root/send/chngissinfo/issvaliinfoflag" , "N" );
  176. if( opener.javascript.model.getValue("/root/send/chngissinfo/orddeptcd") != "" ){
  177. opener.javascript.model.setValue("/root/send/chngissinfo/issvaliinfoflag" , "Y" );
  178. }
  179. window.close();
  180. ]]>
  181. </script>
  182. </button>
  183. <select1 id="cmb_issorddoctid" ref="/root/send/chngissinfo/orddoctid" class="combo_default" appearance="minimal" style="left:77px; top:53px; width:170px; height:19px; ">
  184. <choices>
  185. <itemset nodeset="/root/init/userlist/usercombo">
  186. <label ref="usernm"/>
  187. <value ref="userid"/>
  188. </itemset>
  189. </choices>
  190. </select1>
  191. <caption id="caption19" class="cell_1" style="left:12px; top:51px; width:60px; height:23px; text-align:left; vertical-align:middle; ">발 행 의</caption>
  192. <caption id="caption2" class="cell_1" style="left:12px; top:27px; width:60px; height:23px; text-align:left; vertical-align:middle; ">발 행 과</caption>
  193. <select1 id="combo1" ref="/root/send/chngissinfo/vieworddeptcd" class="combo_default" appearance="minimal" style="left:77px; top:29px; width:170px; height:19px; ">
  194. <choices>
  195. <itemset nodeset="/root/init/deptlist/dept">
  196. <label ref="depthngnm"/>
  197. <value ref="deptcd"/>
  198. </itemset>
  199. </choices>
  200. <script type="javascript" ev:event="xforms-value-changed">
  201. <![CDATA[
  202. var orddeptcd = model.getValue("/root/send/chngissinfo/vieworddeptcd");
  203. mmbfGetUserComboList("/root/send/requserlist", "/root/init/userlist", orddeptcd, "0330");
  204. ]]>
  205. </script>
  206. </select1>
  207. </group>
  208. </case>
  209. </switch>
  210. </xhtml:body>
  211. </xhtml:html>