SMPAS00561_선택진료비상세현황.xrw 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. <?xml version="1.0" encoding="UTF-16"?>
  2. <!--
  3. * 화면 : SMPAS00560.xrw
  4. * 설명 : 선택진료비현황
  5. * 작성자 : 조중래
  6. * 작성일 : 2011/05/11
  7. -->
  8. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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. <specinfo>
  17. <specsumlist>
  18. <earnenddd/>
  19. <newElement/>
  20. </specsumlist>
  21. </specinfo>
  22. <specdtlinfo>
  23. <speclist/>
  24. </specdtlinfo>
  25. </main>
  26. <send>
  27. <fromdd/>
  28. <todd/>
  29. <type/>
  30. <readdrid/>
  31. <readdrnm/>
  32. <brateflag/>
  33. <readdrid1/>
  34. <earnenddd/>
  35. </send>
  36. <hidden>
  37. </hidden>
  38. <init/>
  39. </root>
  40. </instance>
  41. <script type="javascript" ev:event="xforms-ready">
  42. <![CDATA[
  43. fInitialize();
  44. ]]>
  45. </script>
  46. <submission id="TRPAS00561" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/specinfo"/>
  47. <submission id="TRPAS00562" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/specdtlinfo"/>
  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">
  57. <![CDATA[
  58. function fInitialize() {
  59. model.setValue("/root/send/fromdd", getCurrentDate() - 1);
  60. model.setValue("/root/send/todd", getCurrentDate());
  61. model.setValue("/root/send/type", "1");
  62. model.setValue("/root/send/readdrid", "");
  63. model.setValue("/root/send/readdrnm", "");
  64. model.resetInstanceNode("/root/main/specsuminfo");
  65. model.resetInstanceNode("/root/main/specdtlinfo");
  66. model.refresh();
  67. }
  68. ]]>
  69. </script>
  70. </xhtml:head>
  71. <xhtml:body pagewidth="1211" pageheight="784" guideline="1,-1;1,3;1,1;">
  72. <group id="group3" style="left:0px; top:0px; width:1211px; height:13px; ">
  73. <caption id="caption60" class="tit_1" style="left:0px; top:0px; width:215px; height:14px; font-family:돋움; vertical-align:middle; ">선택진료비상세현황</caption>
  74. </group>
  75. <group id="group2" style="left:4px; top:23px; width:1203px; height:35px; ">
  76. <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; "/>
  77. <caption id="caption2" class="search_name" style="left:15px; top:9px; width:198px; height:17px; ">일자:</caption>
  78. <caption id="caption25" style="left:160px; top:10px; width:25px; height:14px; text-align:center; ">~</caption>
  79. <input id="input_frdate" ref="/root/send/fromdd" class="input_default" navindex="7" autonext="false" inputtype="date" style="left:75px; top:9px; width:85px; height:19px; text-align:center; "/>
  80. <input id="input_todate" ref="/root/send/todd" class="input_default" navindex="7" autonext="false" inputtype="date" style="left:190px; top:9px; width:85px; height:19px; text-align:center; "/>
  81. <select1 id="radio1" ref="/root/send/type" appearance="full" cols="3" overflow="visible" style="left:290px; top:10px; width:145px; height:20px; border-style:none; ">
  82. <choices>
  83. <item>
  84. <label>외래</label>
  85. <value>1</value>
  86. </item>
  87. <item>
  88. <label>입원</label>
  89. <value>2</value>
  90. </item>
  91. <item>
  92. <label>통합</label>
  93. <value>3</value>
  94. </item>
  95. </choices>
  96. </select1>
  97. <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; ">
  98. <caption>조회</caption>
  99. <script type="javascript" ev:event="DOMActivate">
  100. <![CDATA[
  101. model.removeNodeset("/root/main/specdtlinfo/speclist");
  102. submit("TRPAS00561");
  103. ]]>
  104. </script>
  105. </button>
  106. <caption id="caption4" class="search_name" style="left:450px; top:10px; width:130px; height:17px; ">선택의사 사번:</caption>
  107. <caption id="caption5" class="search_name" style="left:650px; top:10px; width:130px; height:17px; ">선택의사명:</caption>
  108. <input id="ipt_readdrid" ref="/root/send/readdrid" style="left:565px; top:10px; width:75px; height:15px; "/>
  109. <input id="ipt_readdrnm" ref="/root/send/readdrnm" style="left:750px; top:10px; width:90px; height:15px; "/>
  110. </group>
  111. <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; ">
  112. <caption>초기화</caption>
  113. <script type="javascript" ev:event="DOMActivate">
  114. <![CDATA[
  115. fInitialize();
  116. ]]>
  117. </script>
  118. </button>
  119. <line id="line1" class="line_1" style="x1:10px; y1:90px; x2:488px; y2:90px; "/>
  120. <datagrid id="grd_specsum" nodeset="/root/main/specinfo/specsumlist" caption="일자^구분^부서명^선택의사명^사번^선택진료비" colsep="^" colwidth="80, 50, 100, 70, 55, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:10px; top:95px; width:478px; height:650px; ">
  121. <col ref="earnenddd" type="output" format="yyyy-mm-dd" style="text-align:center; "/>
  122. <col ref="brateflag" type="combo" style="text-align:center; ">
  123. <choices>
  124. <item>
  125. <label>외래</label>
  126. <value>O</value>
  127. </item>
  128. <item>
  129. <label>입원</label>
  130. <value>I</value>
  131. </item>
  132. </choices>
  133. </col>
  134. <col ref="deptnm" type="output" style="text-align:center; "/>
  135. <col ref="readdrnm" type="output"/>
  136. <col ref="readdrid" type="output" style="text-align:center; "/>
  137. <col ref="specamt" type="output" format="(-)#,##0" style="text-align:right; "/>
  138. <col ref="dutplcedeptcd" visibility="hidden"/>
  139. <script type="javascript" ev:event="ondblclick">
  140. <![CDATA[
  141. if(grd_specsum.isCell(event.target) && grd_specsum.mouseRow >= grd_specsum.fixedrows){
  142. model.setValue("/root/send/readdrid1", grd_specsum.valueMatrix(grd_specsum.row, grd_specsum.colRef("readdrid")) );
  143. model.setValue("/root/send/earnenddd", grd_specsum.valueMatrix(grd_specsum.row, grd_specsum.colRef("earnenddd")) );
  144. model.setValue("/root/send/brateflag", grd_specsum.valueMatrix(grd_specsum.row, grd_specsum.colRef("brateflag")) );
  145. submit("TRPAS00562");
  146. }
  147. ]]>
  148. </script>
  149. </datagrid>
  150. <datagrid id="grd_speclist" nodeset="/root/main/specdtlinfo/speclist" caption="구분^계산상태^환자번호^환자명^진료과^진료일^입원일^그룹수가코드^그룹수가명^싱글수가코드^싱글수가명^선택진료료" colsep="^" colwidth="60, 60, 75, 70, 100, 80, 80, 90, 140, 90, 140, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:495px; top:95px; width:705px; height:650px; ">
  151. <col ref="ordtype" type="output" style="text-align:center; "/>
  152. <col ref="calcstat" type="output" style="text-align:center; "/>
  153. <col ref="pid" type="output" style="text-align:left; "/>
  154. <col ref="hngnm" type="output" style="text-align:center; "/>
  155. <col ref="orddeptnm" type="output" style="text-align:center; "/>
  156. <col ref="orddd" type="output" format="yyyy-mm-dd" style="text-align:center; "/>
  157. <col ref="indd" type="output" visibility="hidden" format="yyyy-mm-dd"/>
  158. <col ref="grupcalcscorcd" type="output" style="text-align:center; "/>
  159. <col ref="grupcalcscorcdnm" type="output" style="text-align:center; "/>
  160. <col ref="snglcalcscorcd" type="output" style="text-align:center; "/>
  161. <col ref="snglcalcscorcdnm" type="output" style="text-align:center; "/>
  162. <col ref="specamt" type="output" format="(-)#,##0" style="text-align:right; "/>
  163. </datagrid>
  164. <line id="line2" class="line_1" style="x1:495px; y1:90px; x2:1200px; y2:90px; "/>
  165. <caption id="caption1" class="tit_2" style="left:15px; top:70px; width:145px; height:13px; ">일자별 선택진료비</caption>
  166. <caption id="caption3" class="tit_2" style="left:495px; top:70px; width:135px; height:13px; ">상세내역</caption>
  167. <button id="button1" class="btn3_letter4" style="left:400px; top:65px; width:80px; height:15px; ">
  168. <caption>엑셀출력</caption>
  169. <script type="javascript" ev:event="DOMActivate">
  170. <![CDATA[
  171. var fileName = window.fileDialog("save", ",", false, "일자별 선택진료비", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  172. if (fileName != "")
  173. {
  174. grd_specsum.saveExcel(fileName, "SheetName", false, false, "", "", "false");
  175. }
  176. ]]>
  177. </script>
  178. </button>
  179. <button id="button3" class="btn3_letter4" style="left:1115px; top:65px; width:80px; height:22px; ">
  180. <caption>엑셀출력</caption>
  181. <script type="javascript" ev:event="DOMActivate">
  182. <![CDATA[
  183. var fileName = window.fileDialog("save", ",", false, "선택진료비상세내역", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  184. if (fileName != "")
  185. {
  186. grd_speclist.saveExcel(fileName, "SheetName", false, false, "", "", "false");
  187. }
  188. ]]>
  189. </script>
  190. </button>
  191. </xhtml:body>
  192. </xhtml:html>