SMSTP01000_기준자료조회.xrw 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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>Untitle</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <baseinfo>
  11. <cdflag>0</cdflag>
  12. </baseinfo>
  13. <rptmlist>
  14. <rptminfo/>
  15. </rptmlist>
  16. <sscdlist>
  17. <sscdinfo/>
  18. </sscdlist>
  19. </main>
  20. <send>
  21. <cdflag/>
  22. </send>
  23. <init/>
  24. </root>
  25. </instance>
  26. <script type="javascript" ev:event="xforms-ready">
  27. <![CDATA[
  28. btn_rptm.dispatch("onclick");
  29. model.refresh();
  30. ]]>
  31. </script>
  32. <submission id="TRSTP01001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/rptmlist"/>
  33. <submission id="TRSTP01002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/sscdlist"/>
  34. </model>
  35. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  36. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  37. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  38. </xhtml:head>
  39. <xhtml:body>
  40. <button id="btn_rptm" class="btn_sw" group="tab" selected="true" style="left:0px; top:66px; width:80px; height:22px; ">
  41. <caption>장표관리</caption>
  42. <toggle case="case1" ev:event="onclick"/>
  43. <script type="javascript" ev:event="DOMActivate">
  44. <![CDATA[
  45. cmb_cdflag.visible = false;
  46. caption2.visible = false;
  47. cmb_cdflag.refresh();
  48. caption2.refresh();
  49. ]]>
  50. </script>
  51. </button>
  52. <group id="group3" style="left:0px; top:0px; width:1206px; height:13px; ">
  53. <caption id="caption60" class="tit_1" style="left:0px; top:0px; width:183px; height:14px; font-family:돋움; vertical-align:middle; ">통합통계 기준자료 조회</caption>
  54. </group>
  55. <group id="group4" style="left:0px; top:18px; width:1203px; height:40px; ">
  56. <shape id="roundrect3" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1203px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
  57. <button id="btn_search" class="btn1_letter2" style="left:988px; top:10px; width:56px; height:22px; color:transparent; background-image:../../../com/commonweb/images/btn1_letter2.gif; border-color:transparent; ">
  58. <caption>조회</caption>
  59. <script type="javascript" ev:event="DOMActivate">
  60. <![CDATA[
  61. if(switch1.selectedIndex == "0") {
  62. grd_rptmlist.rebuildStyle();
  63. submit("TRSTP01001");
  64. grd_rptmlist.refresh();
  65. }
  66. if(switch1.selectedIndex == "1") {
  67. grd_sscdlist.rebuildStyle();
  68. var cdflag = model.getValue("/root/main/baseinfo/cdflag");
  69. model.setValue("/root/send/cdflag", cdflag);
  70. submit("TRSTP01002");
  71. grd_sscdlist.refresh();
  72. }
  73. ]]>
  74. </script>
  75. </button>
  76. <button id="btn_excel" class="btn1_letter4" visibility="visible" disable.background-image="../../../com/commonweb/images/dis_btn6_letter4.gif" style="left:1049px; top:10px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn1_letter4.gif; ">
  77. <caption>EXCEL</caption>
  78. <script type="javascript" ev:event="DOMActivate">
  79. <![CDATA[
  80. var enddd = model.getValue("/root/send/enddd");
  81. var year = model.getValue("/root/send/year_org");
  82. if(switch1.selectedIndex == "0") {
  83. //엑셀저장 여부(타이틀별)
  84. var fileName = window.fileDialog("save", ",", false, "본인부담 의료미수금 현황("+enddd+")", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  85. grd_statlist.saveExcel(fileName, "본인부담 의료미수금 현황("+enddd+")", false, false, "", "", false);
  86. }
  87. if(switch1.selectedIndex == "1") {
  88. //엑셀저장 여부(타이틀별)
  89. var fileName = window.fileDialog("save", ",", false, "본인부담 의료미수금 현황_발생년도별("+year+")", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  90. grd_year.saveExcel(fileName, "본인부담 의료미수금 현황_발생년도별("+year+")", false, false, "", "", false);
  91. }
  92. ]]>
  93. </script>
  94. </button>
  95. <caption id="caption2" class="search_name" style="left:10px; top:10px; width:98px; height:17px; ">조회기준</caption>
  96. <line id="line2" class="line_4" style="top:5px; x1:1046px; y1:9px; x2:1046px; y2:33px; border-color:#ffe4bb; border-left-style:solid; "/>
  97. <button id="button1" class="btn1_letter2" style="left:1131px; top:10px; 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. if(switch1.selectedIndex == "0") {
  102. // 본인부담 의료미수금 현황 출력
  103. exeReportPreview("RPPAO03100", "XMLSTR" , "" , "" , "true" , "", "", "", "", "true");
  104. }
  105. if(switch1.selectedIndex == "1") {
  106. // 본인부담 의료미수금 현황 출력(발생년도)
  107. exeReportPreview("RPPAO03101", "XMLSTR" , "" , "" , "true" , "", "", "", "", "true");
  108. }
  109. ]]>
  110. </script>
  111. </button>
  112. <select1 id="cmb_cdflag" ref="/root/main/baseinfo/cdflag" appearance="minimal" style="left:95px; top:10px; width:100px; height:19px; ">
  113. <choices>
  114. <item>
  115. <label>공통UI장표 조회조건분류</label>
  116. <value>0</value>
  117. </item>
  118. <item>
  119. <label>계정분류</label>
  120. <value>1</value>
  121. </item>
  122. <item>
  123. <label>수익분류</label>
  124. <value>2</value>
  125. </item>
  126. <item>
  127. <label>원목통계분류</label>
  128. <value>3</value>
  129. </item>
  130. <item>
  131. <label>공통UI 장표분류</label>
  132. <value>4</value>
  133. </item>
  134. </choices>
  135. </select1>
  136. </group>
  137. <switch id="switch1" style="left:0px; top:88px; width:1203px; height:662px; ">
  138. <case id="case1" selected="true">
  139. <datagrid id="grd_rptmlist" nodeset="/root/main/rptmlist/rptminfo" class="datagrid2" autoresize="true" caption="대분류^중분류^소분류^사용자환경 저장^사용자^장표코드^장표명^장표 GRID ID^장표 Layout(컬럼 Title)^장표 Layout(컬럼 Size)^진료&#xA;구분^조회기준1^조회기준2^조회기준3^조회기준4^조회기준5^조회기준6^조회기준7^조회기준8^조회기준9^조회기준10^기능종류^화면파라미터^적용시작일자^적용종료일자^최초등록자^최초등록일시^최종수정자^최종수정일시" colsep="^" colwidth="45, 45, 45, 70, 45, 60, 320, 90, 300, 250, 40, 60, 60, 60, 60, 60, 60, 60, 60, 60, 70, 40, 60, 80, 80, 80, 120, 80, 120" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:5px; width:1201px; height:650px; ">
  140. <col ref="lrgcd" style="text-align:center; vertical-align:middle; "/>
  141. <col ref="mdlcd" style="text-align:center; "/>
  142. <col ref="smlcd" style="text-align:center; "/>
  143. <col ref="useruiyn" style="text-align:center; "/>
  144. <col ref="userid" style="text-align:center; "/>
  145. <col ref="rptcd" style="text-align:center; "/>
  146. <col ref="rptnm" style="text-align:left; "/>
  147. <col ref="rptgrid" style="text-align:center; "/>
  148. <col ref="rpttitle" style="text-align:left; "/>
  149. <col ref="rptsize" style="text-align:left; "/>
  150. <col ref="ordflag" style="text-align:center; "/>
  151. <col ref="cond1" style="text-align:center; "/>
  152. <col ref="cond2" style="text-align:center; "/>
  153. <col ref="cond3" style="text-align:center; "/>
  154. <col ref="cond4" style="text-align:center; "/>
  155. <col ref="cond5" style="text-align:center; "/>
  156. <col ref="cond6" style="text-align:center; "/>
  157. <col ref="cond7" style="text-align:center; "/>
  158. <col ref="cond8" style="text-align:center; "/>
  159. <col ref="cond9" style="text-align:center; "/>
  160. <col ref="cond10" style="text-align:center; "/>
  161. <col ref="funckind" style="text-align:center; "/>
  162. <col ref="tfparam" style="text-align:center; "/>
  163. <col ref="fromdd" format="yyyy-mm-dd" style="text-align:center; "/>
  164. <col ref="enddd" format="yyyy-mm-dd" style="text-align:center; "/>
  165. <col ref="fstrgstrid" style="text-align:center; "/>
  166. <col ref="fstrgstdt" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
  167. <col ref="lastupdtrid" style="text-align:center; "/>
  168. <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
  169. </datagrid>
  170. <line id="line1" class="line_1" style="x1:0px; y1:0px; x2:1201; y2:0px; "/>
  171. </case>
  172. <case id="case2">
  173. <line id="line3" class="line_1" style="x1:0px; y1:0px; x2:1201; y2:0px; "/>
  174. <datagrid id="grd_sscdlist" nodeset="/root/main/sscdlist/sscdinfo" class="datagrid2" autoresize="true" caption="코드&#xA;구분^대분류^중분류^소분류^진료&#xA;구분^대분류명^중분류명^소분류명^분류구분명^차변회계&#xA;계정코드^대변회계&#xA;계정코드^적용시작일자^적용종료일자^최초등록자^최초등록일시^최종수정자^최종수정일시" colsep="^" colwidth="40, 45, 45, 45, 40, 125, 125, 150, 150, 80, 80, 100, 100, 80, 120, 80, 120" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:5px; width:1201px; height:650px; ">
  175. <col ref="cdflag" style="text-align:center; "/>
  176. <col ref="lrgcd" style="text-align:center; "/>
  177. <col ref="mdlcd" style="text-align:center; "/>
  178. <col ref="smlcd" style="text-align:center; "/>
  179. <col ref="ordflag" style="text-align:center; "/>
  180. <col ref="lrgnm" style="text-align:center; "/>
  181. <col ref="mdlnm" style="text-align:center; "/>
  182. <col ref="smlnm" style="text-align:center; "/>
  183. <col ref="flagnm" style="text-align:center; "/>
  184. <col ref="craccountcd" style="text-align:center; "/>
  185. <col ref="draccountcd" style="text-align:center; "/>
  186. <col ref="fromdd" format="yyyy-mm-dd" style="text-align:center; "/>
  187. <col ref="enddd" format="yyyy-mm-dd" style="text-align:center; "/>
  188. <col ref="fstrgstrid" style="text-align:center; "/>
  189. <col ref="fstrgstdt" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
  190. <col ref="lastupdtrid" style="text-align:center; "/>
  191. <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
  192. </datagrid>
  193. </case>
  194. </switch>
  195. <button id="btn_sscd" class="btn_sw" group="tab" selected="true" style="left:81px; top:66px; width:80px; height:22px; ">
  196. <caption>공통코드</caption>
  197. <toggle case="case2" ev:event="onclick"/>
  198. <script type="javascript" ev:event="DOMActivate">
  199. <![CDATA[
  200. cmb_cdflag.visible = true;
  201. caption2.visible = true;
  202. cmb_cdflag.refresh();
  203. caption2.refresh();
  204. ]]>
  205. </script>
  206. </button>
  207. </xhtml:body>
  208. </xhtml:html>