SPPAS01441_미수금세부리스트.xrw 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  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>미수환자세부리스트</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <source>
  10. <monthdd/>
  11. <insukind/>
  12. <ordtype/>
  13. </source>
  14. <main>
  15. <result>
  16. <resultlist/>
  17. </result>
  18. <header/>
  19. </main>
  20. <send>
  21. <monthdd/>
  22. <insukind/>
  23. <ordtype/>
  24. <monthgubun/>
  25. </send>
  26. </root>
  27. </instance>
  28. <script type="javascript" ev:event="xforms-ready">
  29. <![CDATA[
  30. if (checkOpener()){ //팝업화면으로 사용될 때
  31. var strmonthdd = model.getValue("/root/source/monthdd");
  32. var strinsukind = model.getValue("/root/source/insukind");
  33. var strordtype = model.getValue("/root/source/ordtype");
  34. var strmonthgubun=model.getValue("/root/source/monthgubun");
  35. if((strmonthdd !="") && (strinsukind!="") && (strordtype!=""))
  36. {
  37. fSearch(strmonthdd,strinsukind,strordtype,strmonthgubun);
  38. }
  39. }
  40. ]]>
  41. </script>
  42. <submission id="TRPAS01444" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/result"/>
  43. </model>
  44. <script type="javascript">
  45. <![CDATA[
  46. function fSearch(monthdd,insukind,ordtype,monthgubun){
  47. var strmonthdd=monthdd;
  48. var strinsukind=insukind;
  49. var strordtype=ordtype;
  50. var strmonthgubun=monthgubun;
  51. var strheader="";
  52. model.setValue("/root/send/monthdd",strmonthdd);
  53. model.setValue("/root/send/insukind",strinsukind);
  54. model.setValue("/root/send/ordtype",strordtype);
  55. model.setValue("/root/send/monthgubun",strmonthgubun);
  56. model.resetInstanceNode("/root/main/result/resultlist");
  57. if(submit("TRPAS01444")){
  58. if( getNodesetCount("/root/main/result/resultlist/pid") > 0 ){
  59. // model.refresh();
  60. }else{
  61. model.resetInstanceNode("/root/main/resultlist");
  62. messageBox("데이타가 존재하지 않습니다.", "E999", "");
  63. }
  64. if(strmonthgubun=="K")
  65. {
  66. strheader= strmonthdd.substr(0,6) +" 당월말";
  67. }else if( strmonthgubun=="T")
  68. {
  69. strheader= strmonthdd.substr(0,6) + " 당월증가/감소";
  70. }else
  71. {
  72. strheader= strmonthdd.substr(0,6) +" 전월말";
  73. }
  74. model.setValue("/root/main/header",strheader);
  75. model.refresh();
  76. }
  77. }
  78. ]]>
  79. </script>
  80. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  81. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  82. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  83. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  84. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  85. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  86. <script type="javascript" src="../../../pam/opatmngtweb/js/PMOCOM.js"/>
  87. </xhtml:head>
  88. <xhtml:body pagewidth="900" pageheight="800">
  89. <group id="group1" style="left:0px; top:0px; width:895px; height:13px; ">
  90. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">미수환자세부 리스트</caption>
  91. </group>
  92. <shape id="roundrect8" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:25px; width:895px; height:35px; "/>
  93. <line id="line11" class="line_1" style="x1:5px; y1:15px; x2:895px; y2:15px; "/>
  94. <button id="btn_excel" class="btn1_letter4" visibility="visible" disable.background-image="../../../com/commonweb/images/dis_btn6_letter4.gif" style="left:715px; top:30px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn1_letter4.gif; ">
  95. <caption>EXCEL</caption>
  96. <script type="javascript" ev:event="DOMActivate">
  97. <![CDATA[
  98. if (getNodesetCount("/root/main/result/resultlist/pid") > 0)
  99. {
  100. var strtitle= model.getValue("/root/main/header");
  101. var fileName = window.fileDialog("save", ",", false, "의료미수금세부환자현황("+strtitle+")", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  102. datagrid1.saveExcel(fileName, "의료미수금세부환자현황(("+strtitle+")", false, false, "", "", false);
  103. }
  104. // var fileName = window.fileDialog("save", ",", false, "본인부담 의료미수금 현황_발생년도별("+year+")", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  105. // grd_year.saveExcel(fileName, "본인부담 의료미수금 현황_발생년도별("+year+")", false, false, "", "", false);
  106. ]]>
  107. </script>
  108. </button>
  109. <button id="button2" class="btn6_letter4" navindex="3" style="left:805px; top:30px; width:80px; height:22px; ">
  110. <caption>화면닫기</caption>
  111. <script type="javascript" ev:event="DOMActivate">
  112. <![CDATA[
  113. model.close();
  114. ]]>
  115. </script>
  116. </button>
  117. <caption id="caption13" ref="/root/main/header" class="search_name" style="left:5px; top:34px; width:360px; height:17px; "/>
  118. <datagrid id="datagrid1" nodeset="/root/main/result/resultlist" caption="번호^등록번호^환자명^보험유형^전월말^발생^입금^미수금잔액^계정명" colsep="^" colwidth="47, 82, 87, 80, 100, 100, 100, 102, 167" mergecellsfixedrows="bycolrec" rowsep="|" style="left:7px; top:85px; width:888px; height:700px; ">
  119. <col ref="ordnum"/>
  120. <col ref="pid"/>
  121. <col ref="hngnm"/>
  122. <col ref="insukind"/>
  123. <col ref="preamt" format="(-)#,###" style="text-align:right; "/>
  124. <col ref="addamt" format="(-)#,###" style="text-align:right; "/>
  125. <col ref="subamt" format="(-)#,###" style="text-align:right; "/>
  126. <col ref="totamt" format="(-)#,###" style="text-align:right; "/>
  127. <col ref="unconm"/>
  128. </datagrid>
  129. <line id="line1" class="line_1" style="x1:5px; y1:65px; x2:895px; y2:65px; "/>
  130. <caption id="caption1" style="left:440px; top:35px; width:265px; height:15px; ">조회되는 데이타가 많을시 조회되지 않을수 있음</caption>
  131. </xhtml:body>
  132. </xhtml:html>