SPPIJ02401_항목별진료비조회.xrw 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * @(#)SPPIJ02401_항목별진료비조회.xrw (심사차액조회 화면에 iviewer 형태로 들어갈 화면)
  4. * 수정이력
  5. * - 2008.09.02 / 최초작성 / 박지욱
  6. *
  7. * - opener 에서 전달받는 조건 경로
  8. /root/send/data1
  9. -->
  10. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  11. <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">
  12. <xhtml:head>
  13. <xhtml:title/>
  14. <model id="model1">
  15. <instance id="instance1">
  16. <root xmlns="">
  17. <main>
  18. <list1>
  19. </list1>
  20. </main>
  21. <send>
  22. <data1>
  23. <pid/>
  24. <indd/>
  25. <cretno/>
  26. <fromdd/>
  27. <todd/>
  28. <payflag/>
  29. </data1>
  30. </send>
  31. <init>
  32. </init>
  33. <hidden>
  34. </hidden>
  35. </root>
  36. </instance>
  37. <script type="javascript" ev:event="xforms-ready">
  38. <![CDATA[
  39. ]]>
  40. </script>
  41. <submission id="TRPIJ02401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
  42. </model>
  43. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  44. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  45. <script type="javascript">
  46. <![CDATA[
  47. // 화면을 초기화한다.
  48. function fInitialize() {
  49. // 1. opener 에서 key 데이터를 받는다.
  50. model.setValue("/root/send/data1/pid", opener.window.javaScript.getParameter("SPPIJ02400_pid"));
  51. model.setValue("/root/send/data1/indd", opener.window.javaScript.getParameter("SPPIJ02400_indd"));
  52. model.setValue("/root/send/data1/cretno", opener.window.javaScript.getParameter("SPPIJ02400_cretno"));
  53. model.setValue("/root/send/data1/fromdd", opener.window.javaScript.getParameter("SPPIJ02400_fromdd"));
  54. model.setValue("/root/send/data1/todd", opener.window.javaScript.getParameter("SPPIJ02400_todd"));
  55. model.setValue("/root/send/data1/payflag", opener.window.javaScript.getParameter("SPPIJ02400_payflag"));
  56. // 2. 항목별 심사전후 진료비 차액을 구한다.
  57. if (model.getValue("/root/send/data1/pid") != "") {
  58. submit("TRPIJ02401");
  59. grd_clodlist.refresh();
  60. }
  61. }
  62. ]]>
  63. </script>
  64. </xhtml:head>
  65. <xhtml:body pagewidth="1070" pageheight="610" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  66. <group id="grp_biz" scroll="auto" style="left:0px; top:0px; width:1070px; height:610px; ">
  67. <caption id="caption1" class="tit_2" style="left:5px; top:10px; width:100px; height:13px; ">항목별 진료비</caption>
  68. <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:1070px; y2:25px; "/>
  69. <datagrid id="grd_clodlist" nodeset="/root/main/list1/clod" caption="항목^항목^명칭^심사후금액^심사전금액^차액|항^목^명칭^심사후금액^심사전금액^차액" colsep="^" colwidth="50, 50, 400, 140, 140, 140" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" fixed-rows="2" style="left:0px; top:31px; width:1070px; height:579px; ">
  70. <col ref="item1" style="text-align:center; "/>
  71. <col ref="item2" style="text-align:center; "/>
  72. <col ref="hngnm" style="text-align:left; "/>
  73. <col ref="aftamt" format="#,###" style="text-align:right; "/>
  74. <col ref="bframt" format="#,###" style="text-align:right; "/>
  75. <col ref="difamt" format="(-)#,###" style="text-align:right; "/>
  76. <script type="javascript" ev:event="ondblclick">
  77. <![CDATA[
  78. if (grd_clodlist.isCell(event.target) && grd_clodlist.mouseRow >= grd_clodlist.fixedRows) {
  79. var row = grd_clodlist.row - 1;
  80. var item1 = model.getValue("/root/main/list1/clod[" + row + "]/item1");
  81. var item2 = model.getValue("/root/main/list1/clod[" + row + "]/item2");
  82. if (item1 != "" && item2 != "") {
  83. opener.window.javaScript.fGetJudgDetlDifAmtList(item1, item2);
  84. }
  85. }
  86. ]]>
  87. </script>
  88. </datagrid>
  89. </group>
  90. <button id="btn_excel" class="btn2_letter4" style="left:1002px; top:3px; width:64px; height:19px; ">
  91. <caption>엑셀저장</caption>
  92. <script type="javascript" ev:event="DOMActivate">
  93. <![CDATA[
  94. if (grd_clodlist.rows == 2) {
  95. return;
  96. }
  97. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  98. if (fileName != "")
  99. {
  100. grd_clodlist.saveExcel(fileName, "SheetName", true, true, "", "", true);
  101. messageBox("EXCEL 저장이 완료되었습니다.","I999");
  102. }
  103. ]]>
  104. </script>
  105. </button>
  106. </xhtml:body>
  107. </xhtml:html>