SPPIJ02400_심사전후차액조회.xrw 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * @(#)SPPIJ02400_심사전후차액조회.xrw
  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>심사전후 차액조회</xhtml:title>
  14. <model id="model1">
  15. <instance id="instance1">
  16. <root xmlns="">
  17. <send>
  18. <data1/>
  19. <data2>
  20. <fromdd/>
  21. <todd/>
  22. <payflag/>
  23. </data2>
  24. </send>
  25. <main/>
  26. <init/>
  27. <hidden>
  28. <item1/>
  29. <item2/>
  30. </hidden>
  31. </root>
  32. </instance>
  33. <script type="javascript" ev:event="xforms-ready">
  34. <![CDATA[
  35. fInitialize(); // 화면을 초기화한다.
  36. ]]>
  37. </script>
  38. </model>
  39. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  40. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  41. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  42. <script type="javascript">
  43. <![CDATA[
  44. // 화면을 초기화한다.
  45. function fInitialize() {
  46. // 0. 기간, 급비구분 초기화
  47. var todd = getCurrentDate();
  48. var fromdd = getCurrentDate().toDate().getAddDate(-7,"D").getDateFormat("YYYYMMDD");
  49. model.setValue("/root/send/data2/fromdd", fromdd);
  50. model.setValue("/root/send/data2/todd", todd);
  51. model.setValue("/root/send/data2/payflag", "-");
  52. // 1. 항목별 진료비 조회, 수정내역 iviwer에 데이터 전달
  53. setParameter("SPPIJ02400_pid", model.getValue("/root/send/data1/pid"));
  54. setParameter("SPPIJ02400_indd", model.getValue("/root/send/data1/indd"));
  55. setParameter("SPPIJ02400_cretno", model.getValue("/root/send/data1/cretno"));
  56. setParameter("SPPIJ02400_insukind", model.getValue("/root/send/data1/insukind"));
  57. setParameter("SPPIJ02400_fromdd", model.getValue("/root/send/data2/fromdd"));
  58. setParameter("SPPIJ02400_todd", model.getValue("/root/send/data2/todd"));
  59. setParameter("SPPIJ02400_payflag", model.getValue("/root/send/data2/payflag"));
  60. setParameter("SPPIJ02400_item1", "");
  61. setParameter("SPPIJ02400_item2", "");
  62. ivw_itemlist.window.javaScript.fInitialize();
  63. // 2. tab 구분에 따라 선택상태 변경(입원재원상세계산내역에서 들어오는 경우는 수정내역이 먼저 보이도록 처리)
  64. var tabflag = model.getValue("/root/send/data1/tabflag");
  65. if (tabflag == "2") {
  66. btn_sw2.dispatch("onclick");
  67. }
  68. model.refresh();
  69. }
  70. // 항목 더블클릭시 해당 항목에 대한 수정내역을 조회한다.
  71. function fGetJudgDetlDifAmtList(item1, item2) {
  72. model.setValue("/root/hidden/item1", item1);
  73. model.setValue("/root/hidden/item2", item2);
  74. btn_sw2.dispatch("onclick");
  75. }
  76. // 기간, 급비구분 변경에 따라 조회한다.
  77. function fGetInJudgItemAmtList() {
  78. setParameter("SPPIJ02400_pid", model.getValue("/root/send/data1/pid"));
  79. setParameter("SPPIJ02400_indd", model.getValue("/root/send/data1/indd"));
  80. setParameter("SPPIJ02400_cretno", model.getValue("/root/send/data1/cretno"));
  81. setParameter("SPPIJ02400_fromdd", model.getValue("/root/send/data2/fromdd"));
  82. setParameter("SPPIJ02400_todd", model.getValue("/root/send/data2/todd"));
  83. setParameter("SPPIJ02400_payflag", model.getValue("/root/send/data2/payflag"));
  84. setParameter("SPPIJ02400_item1", "");
  85. setParameter("SPPIJ02400_item2", "");
  86. ivw_itemlist.window.javaScript.fInitialize();
  87. }
  88. ]]>
  89. </script>
  90. </xhtml:head>
  91. <xhtml:body pagewidth="1130" pageheight="770" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  92. <group id="grp_biz" scroll="auto" style="left:0px; top:0px; width:1105px; height:705px; ">
  93. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:142px; height:14px; ">심사전후 차액조회</caption>
  94. <button id="btn_sw1" class="btn_sw" group="tab" selected="true" style="left:0px; top:50px; width:105px; height:22px; font-size:8pt; ">
  95. <caption>항목별 진료비</caption>
  96. <script type="javascript" ev:event="onclick">
  97. <![CDATA[
  98. model.toggle("case1");
  99. ]]>
  100. </script>
  101. </button>
  102. <button id="btn_sw2" class="btn_sw" group="tab" style="left:105px; top:50px; width:105px; height:22px; font-size:8pt; ">
  103. <caption>수정 내역</caption>
  104. <script type="javascript" ev:event="onclick">
  105. <![CDATA[
  106. model.toggle("case2");
  107. setParameter("SPPIJ02400_fromdd", model.getValue("/root/send/data2/fromdd"));
  108. setParameter("SPPIJ02400_todd", model.getValue("/root/send/data2/todd"));
  109. setParameter("SPPIJ02400_payflag", model.getValue("/root/send/data2/payflag"));
  110. setParameter("SPPIJ02400_item1", model.getValue("/root/hidden/item1"));
  111. setParameter("SPPIJ02400_item2", model.getValue("/root/hidden/item2"));
  112. model.setValue("/root/hidden/item1", "");
  113. model.setValue("/root/hidden/item2", "");
  114. ivw_difflist.window.javaScript.fInitialize();
  115. ]]>
  116. </script>
  117. </button>
  118. <switch id="switch1" style="left:0px; top:72px; width:1100px; height:630px; border-style:none; ">
  119. <case id="case1" selected="true">
  120. <iviewer id="ivw_itemlist" src="../../../pam/bfjudgweb/xrw/SPPIJ02401_항목별진료비조회.xrw" style="left:0px; top:0px; width:1098px; height:628px; border-style:none; "/>
  121. </case>
  122. <case id="case2">
  123. <iviewer id="ivw_difflist" src="../../../pam/bfjudgweb/xrw/SPPIJ02402_차액상세조회.xrw" style="left:0px; top:0px; width:1098px; height:628px; border-style:none; "/>
  124. </case>
  125. </switch>
  126. <caption id="caption3" class="search_name" style="left:230px; top:50px; width:86px; height:17px; ">기간 :</caption>
  127. <caption id="caption4" style="left:383px; top:50px; width:12px; height:17px; ">~</caption>
  128. <input id="ipt_todd" ref="/root/send/data2/todd" class="input_search" inputtype="date" style="left:398px; top:50px; width:85px; height:19px; "/>
  129. <input id="ipt_fromdd" ref="/root/send/data2/fromdd" class="input_search" inputtype="date" style="left:295px; top:50px; width:85px; height:19px; "/>
  130. <select1 id="rdo_payflag" ref="/root/send/data2/payflag" appearance="full" cellspacing="5" cols="4" overflow="visible" style="left:491px; top:50px; width:189px; height:19px; ">
  131. <choices>
  132. <item>
  133. <label>전체</label>
  134. <value>-</value>
  135. </item>
  136. <item>
  137. <label>급여</label>
  138. <value>1</value>
  139. </item>
  140. <item>
  141. <label>비급여/전액</label>
  142. <value>2</value>
  143. </item>
  144. </choices>
  145. </select1>
  146. <caption id="caption1" class="tit_2" style="left:5px; top:25px; width:900px; height:14px; ">주부유형 보험유형 보조유형</caption>
  147. <output id="opt_mskind" ref="/root/send/data1/mskind" class="output_fix" style="left:80px; top:22px; width:35px; height:19px; text-align:center; "/>
  148. <output id="opt_insukind" ref="/root/send/data1/insukind" class="output_fix" style="left:215px; top:22px; width:35px; height:19px; text-align:center; "/>
  149. <output id="opt_suppkind" ref="/root/send/data1/suppkind" class="output_fix" style="left:350px; top:22px; width:35px; height:19px; text-align:center; "/>
  150. </group>
  151. <group id="grp_btn" scroll="auto" style="left:0px; top:703px; width:1090px; height:27px; ">
  152. <button id="btn_close" class="btn4_letter2" style="left:1030px; top:5px; width:56px; height:22px; ">
  153. <caption>닫기</caption>
  154. <close ev:event="DOMActivate"/>
  155. </button>
  156. </group>
  157. <button id="btn_srch" class="btn3_letter2" style="left:680px; top:48px; width:56px; height:22px; ">
  158. <caption>조회</caption>
  159. <script type="javascript" ev:event="DOMActivate">
  160. <![CDATA[
  161. fGetInJudgItemAmtList();
  162. ]]>
  163. </script>
  164. </button>
  165. </xhtml:body>
  166. </xhtml:html>