SMRPA05700_건강보험료고지내역.xrw 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. <?xml version="1.0" encoding="EUC-KR"?>
  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. <healthinsulist>
  11. <instnm/>
  12. <mancnt/>
  13. <perponamt/>
  14. <instponamt/>
  15. <totoalamt/>
  16. <notiym/>
  17. <instcd/>
  18. </healthinsulist>
  19. </main>
  20. <send>
  21. <report>
  22. <notiym/>
  23. <instcd/>
  24. <workgbn/>
  25. </report>
  26. </send>
  27. <temp/>
  28. <init/>
  29. <hidden/>
  30. </root>
  31. </instance>
  32. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  33. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  34. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  35. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  36. <script type="javascript" src="../../../mis/insurancemngtweb/js/RPA001.js"/>
  37. <script type="javascript" ev:event="xforms-ready">
  38. <![CDATA[
  39. fInitialize();
  40. misfGridInit(grd_healthinsulist);
  41. rpaComboInstBase(cmb_instcd,getUserInfo("dutplceinstcd"),"Y");
  42. //var instcd = getUserInfo("dutplceinstcd");
  43. //cmb_instcd.value=instcd;
  44. ]]>
  45. </script>
  46. <submission id="TRRPA05701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/report" resultref="/root/main/healthinsulist"/>
  47. </model>
  48. <script type="javascript">
  49. <![CDATA[
  50. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  51. function fInitialize() {
  52. model.removeNodeset("/root/main/healthinsulist");
  53. model.resetInstanceNode("/root/send");
  54. model.refresh();
  55. var curDate = getCurrentDate().toDate();
  56. model.setValue("/root/send/report/notiym", curDate.getDateFormat('YYYYMM'));
  57. grd_healthinsulist.rowHeight(0) = 40;
  58. }
  59. function fPrint() {
  60. model.makeNode("/root/send/report/selectinstnm");
  61. var selectInstnm="";
  62. if(cmb_instcd.value==""){
  63. selectInstnm="전체";
  64. }else{
  65. selectInstnm=cmb_instcd.label;
  66. }
  67. model.setValue("/root/send/report/selectinstnm", selectInstnm);
  68. exeReportPreview("RPRPA05700", "XMLSTR", "/root/send/report");
  69. }
  70. ]]>
  71. </script>
  72. </xhtml:head>
  73. <xhtml:body style="margin-left:8; margin-right:8; ">
  74. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  75. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">건강보험료 고지 내역</caption>
  76. </group>
  77. <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  78. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  79. <caption id="cap_notiym" class="search_name" style="left:15px; top:19px; width:86px; height:17px; ">고지년월:</caption>
  80. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:16px; width:56px; height:22px; ">
  81. <caption>조회</caption>
  82. <script type="javascript" ev:event="DOMActivate">
  83. <![CDATA[
  84. if(!isRequiredControls("ipt_notiym"))return;
  85. model.setValue("/root/send/report/workgbn","57");
  86. submit("TRRPA05701");
  87. for(i=0; i < grd_healthinsulist.rows; i++){
  88. grd_healthinsulist.rowHeight(i) = 40;
  89. var instnm=grd_healthinsulist.valueMatrix(i,grd_healthinsulist.colRef("instnm"));
  90. if(instnm =='합 계'){
  91. grd_healthinsulist.rowstyle(i, "data", "background-color") = "#ffff99";
  92. }else {
  93. grd_healthinsulist.rowstyle(i, "data", "background-color") = "#ffffff";
  94. }
  95. }
  96. ]]>
  97. </script>
  98. </button>
  99. <line id="line13" class="line_4" style="x1:1110px; y1:16px; x2:1110px; y2:38px; "/>
  100. <input id="ipt_notiym" ref="/root/send/report/notiym" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:100px; top:18px; width:100px; height:19px; "/>
  101. <select1 id="cmb_instcd" ref="/root/send/report/instcd" class="combo_s_essential" appearance="minimal" style="left:305px; top:18px; width:144px; height:19px; ">
  102. <choices>
  103. <itemset>
  104. <label/>
  105. <value/>
  106. </itemset>
  107. </choices>
  108. </select1>
  109. <caption id="cap_instcd" class="search_name" style="left:220px; top:20px; width:86px; height:17px; ">기 관:</caption>
  110. <input id="ipt_workgbn" ref="/root/send/report/workgbn" visibility="hidden" style="left:535px; top:20px; width:110px; height:20px; "/>
  111. <line id="line207" class="line_1" style="x1:0; y1:69; x2:1195; y2:69px; "/>
  112. <caption id="caption9" class="tit_2" style="left:10px; top:54px; width:144px; height:14px; ">건강보험료 고지 내역</caption>
  113. <datagrid id="grd_healthinsulist" nodeset="/root/main/healthinsulist" caption="기관명^인원수^건강보험^건강보험^장기요양^장기요양^합 계^작업년월^기관코드|기관명^인원수^개인부담(50%)^기관부담(30%)^개인부담(50%)^기관부담(30%)^합 계^작업년월^기관코드" colsep="^" colwidth="155, 105, 130, 158, 130, 158, 152, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:74px; width:1194px; height:640px; ">
  114. <col ref="instnm" style="text-align:center; "/>
  115. <col ref="mancnt" format="#,###" style="text-align:right; "/>
  116. <col ref="perponamt" savetype="digit" format="(-)#,###" style="text-align:right; "/>
  117. <col ref="instponamt" savetype="digit" format="(-)#,###" style="text-align:right; "/>
  118. <col ref="mtrtperponamt" savetype="digit" format="(-)#,###" style="text-align:right; "/>
  119. <col ref="mtrtinstponamt" savetype="digit" format="(-)#,###" style="text-align:right; "/>
  120. <col ref="totoalamt" savetype="digit" format="(-)#,###" style="text-align:right; "/>
  121. <col ref="notiym" visibility="hidden"/>
  122. <col ref="instcd" visibility="hidden"/>
  123. </datagrid>
  124. <button id="btn_exceldetail" class="btn2_letter4" style="left:1125px; top:48px; width:64px; height:19px; ">
  125. <caption>엑셀저장</caption>
  126. <script type="javascript" ev:event="DOMActivate">
  127. <![CDATA[
  128. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  129. if (fileName != "")
  130. {
  131. grd_healthinsulist.saveExcel(fileName, "sheetname:savetype", true, true, "", "");
  132. }
  133. ]]>
  134. </script>
  135. </button>
  136. </group>
  137. <group id="grp_btn" scroll="auto" style="left:0px; top:12; width:1195px; height:27px; ">
  138. <button id="btn_init" class="btn4_letter3" style="left:1119px; top:3px; width:68px; height:22px; ">
  139. <caption>초기화</caption>
  140. <script type="javascript" ev:event="DOMActivate">
  141. <![CDATA[
  142. fInitialize();
  143. ]]>
  144. </script>
  145. </button>
  146. <line id="line9" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  147. <button id="button1" class="btn4_letter5" style="left:1025px; top:3px; width:92px; height:22px; ">
  148. <caption>내역서출력</caption>
  149. <script type="javascript" ev:event="DOMActivate">
  150. <![CDATA[
  151. fPrint();
  152. //exeReportPreview("RPTPA05700", "XMLSTR");
  153. ]]>
  154. </script>
  155. </button>
  156. </group>
  157. </xhtml:body>
  158. </xhtml:html>