SMPAS00791_선택진료수당합계.xrw 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. <?xml version="1.0" encoding="UTF-16"?>
  2. <!--
  3. * 화면 : SMPAS00560.xrw
  4. * 설명 : 선택진료비현황
  5. * 작성자 : 조중래
  6. * 작성일 : 2011/05/11
  7. -->
  8. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  9. <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">
  10. <xhtml:head>
  11. <xhtml:title>선택진료수당합계</xhtml:title>
  12. <model id="model1">
  13. <instance id="instance1">
  14. <root xmlns="">
  15. <main>
  16. </main>
  17. <send>
  18. <frdd/>
  19. <todd/>
  20. <type/>
  21. <instcd/>
  22. <jipcode/>
  23. <inmode/>
  24. <outmode/>
  25. <dmflag/>
  26. </send>
  27. <hidden>
  28. </hidden>
  29. <init>
  30. <P0108list>
  31. <P0108>
  32. <cdnm/>
  33. <cdid/>
  34. </P0108>
  35. </P0108list>
  36. </init>
  37. </root>
  38. </instance>
  39. <script type="javascript" ev:event="xforms-ready">
  40. <![CDATA[
  41. makeReportPreview(4,70,1200,670);
  42. // 원무공통코드 조회
  43. pamfGetCodeList(new Array("P0108" ), new Array("/root/init/P0108list") );
  44. fInitialize();
  45. ]]>
  46. </script>
  47. <submission id="TRPAM00105" mediatype="application/x-www-form-urlencoded" method="post"/>
  48. </model>
  49. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  50. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  51. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  52. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  53. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  54. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  55. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  56. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM001.js"/>
  57. <script type="javascript">
  58. <![CDATA[
  59. function fInitialize() {
  60. model.setValue("/root/send/frdd", getCurrentDate());
  61. model.setValue("/root/send/todd", getCurrentDate());
  62. model.setValue("/root/send/type", "1");
  63. model.setValue("/root/send/outmode", "O");
  64. model.setValue("/root/send/inmode", "O");
  65. model.setValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  66. model.setValue("/root/send/jipcode", "B");
  67. model.setValue("/root/send/dmflag", "D");
  68. model.refresh();
  69. }
  70. ]]>
  71. </script>
  72. </xhtml:head>
  73. <xhtml:body pagewidth="1211" pageheight="784" guideline="1,-1;1,3;1,1;">
  74. <group id="group3" style="left:0px; top:0px; width:1211px; height:13px; ">
  75. <caption id="caption60" class="tit_1" style="left:0px; top:0px; width:215px; height:14px; font-family:돋움; vertical-align:middle; ">선택진료수당합계</caption>
  76. </group>
  77. <group id="group2" style="left:4px; top:23px; width:1203px; height:35px; ">
  78. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1202px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  79. <caption id="caption2" class="search_name" style="left:15px; top:9px; width:198px; height:17px; ">일자:</caption>
  80. <caption id="caption25" style="left:160px; top:10px; width:25px; height:14px; text-align:center; ">~</caption>
  81. <input id="input_frdate" ref="/root/send/frdd" class="input_default" navindex="7" autonext="false" inputtype="date" format="yyyy-mm-dd" style="left:75px; top:9px; width:85px; height:19px; text-align:center; "/>
  82. <input id="input_todate" ref="/root/send/todd" class="input_default" navindex="7" autonext="false" inputtype="date" format="yyyy-mm-dd" style="left:190px; top:9px; width:85px; height:19px; text-align:center; "/>
  83. <select1 id="radio1" ref="/root/send/type" appearance="full" cols="3" overflow="visible" style="left:605px; top:9px; width:145px; height:18px; border-style:none; ">
  84. <choices>
  85. <item>
  86. <label>외래</label>
  87. <value>1</value>
  88. </item>
  89. <item>
  90. <label>입원</label>
  91. <value>2</value>
  92. </item>
  93. <item>
  94. <label>통합</label>
  95. <value>3</value>
  96. </item>
  97. </choices>
  98. <script type="javascript" ev:event="xforms-value-changed">
  99. <![CDATA[
  100. if(model.getValue("/root/send/type") == "1") {
  101. model.setValue("/root/send/outmode", "O");
  102. model.setValue("/root/send/inmode", "O");
  103. }
  104. if(model.getValue("/root/send/type") == "2") {
  105. model.setValue("/root/send/outmode", "I");
  106. model.setValue("/root/send/inmode", "I");
  107. }
  108. if(model.getValue("/root/send/type") == "3") {
  109. model.setValue("/root/send/outmode", "O");
  110. model.setValue("/root/send/inmode", "I");
  111. }
  112. ]]>
  113. </script>
  114. </select1>
  115. <button id="button2" class="btn1_letter2" visibility="visible" style="left:1138px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  116. <caption>조회</caption>
  117. <script type="javascript" ev:event="DOMActivate">
  118. <![CDATA[
  119. // 로딩창 열기
  120. //callLoadingWindow("선택진료수당합계 조회중");
  121. // 구분해당하는 보고서 호출
  122. var dmflag = model.getValue("/root/send/dmflag");
  123. if ( dmflag == "D") {
  124. exeReportPreview("RPPAS00791", "XML", "/root/send");
  125. } else if ( dmflag == "M") {
  126. exeReportPreview("RPPAS00793", "XML", "/root/send");
  127. }
  128. // 로딩창 닫기
  129. //removeLoadingWindow();
  130. ]]>
  131. </script>
  132. </button>
  133. <select1 id="cmb_jipcode" ref="/root/send/jipcode" navindex="2" appearance="minimal" style="left:860px; top:9px; width:97px; height:19px; ">
  134. <choices>
  135. <itemset nodeset="/root/init/P0108list/P0108">
  136. <label ref="cdnm"/>
  137. <value ref="cdid"/>
  138. </itemset>
  139. </choices>
  140. </select1>
  141. <caption id="caption1" class="search_name" style="left:767px; top:9px; width:86px; height:17px; ">집계코드 :</caption>
  142. <caption id="caption3" class="search_name" style="left:510px; top:9px; width:86px; height:17px; ">유형구분 :</caption>
  143. <caption id="caption4" class="search_name" style="left:300px; top:9px; width:86px; height:17px; ">기간구분 :</caption>
  144. <select1 id="radio2" ref="/root/send/dmflag" appearance="full" cols="2" overflow="visible" style="left:385px; top:9px; width:105px; height:18px; border-style:none; ">
  145. <choices>
  146. <item>
  147. <label>일별</label>
  148. <value>D</value>
  149. </item>
  150. <item>
  151. <label>월별</label>
  152. <value>M</value>
  153. </item>
  154. </choices>
  155. <script type="javascript" ev:event="xforms-value-changed">
  156. <![CDATA[
  157. var dmflag = model.getValue("/root/send/dmflag");
  158. if (dmflag == "M") {
  159. input_frdate.attribute("format") = "yyyy-mm";
  160. input_todate.attribute("format") = "yyyy-mm";
  161. } else {
  162. input_frdate.attribute("format") = "yyyy-mm-dd";
  163. input_todate.attribute("format") = "yyyy-mm-dd";
  164. }
  165. model.refresh();
  166. ]]>
  167. </script>
  168. </select1>
  169. </group>
  170. <button id="btn_init" class="btn4_letter3" disable.background-image="../../../com/commonweb/images/dis_btn4_letter3.gif" style="left:1129px; top:760px; width:68px; height:22px; background-image:../../../com/commonweb/images/btn4_letter3.gif; ">
  171. <caption>초기화</caption>
  172. <script type="javascript" ev:event="DOMActivate">
  173. <![CDATA[
  174. fInitialize();
  175. ]]>
  176. </script>
  177. </button>
  178. </xhtml:body>
  179. </xhtml:html>