123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * @(#)SPPIJ02400_심사전후차액조회.xrw
- * 수정이력
- * - 2008.09.02 / 최초작정 / 박지욱
- *
- * - opener 에서 전달받는 조건 경로
- /root/send/data1
- -->
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <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">
- <xhtml:head>
- <xhtml:title>심사전후 차액조회</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <send>
- <data1/>
- <data2>
- <fromdd/>
- <todd/>
- <payflag/>
- </data2>
- </send>
- <main/>
- <init/>
- <hidden>
- <item1/>
- <item2/>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize(); // 화면을 초기화한다.
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript">
- <![CDATA[
- // 화면을 초기화한다.
- function fInitialize() {
-
- // 0. 기간, 급비구분 초기화
- var todd = getCurrentDate();
- var fromdd = getCurrentDate().toDate().getAddDate(-7,"D").getDateFormat("YYYYMMDD");
- model.setValue("/root/send/data2/fromdd", fromdd);
- model.setValue("/root/send/data2/todd", todd);
- model.setValue("/root/send/data2/payflag", "-");
-
- // 1. 항목별 진료비 조회, 수정내역 iviwer에 데이터 전달
- setParameter("SPPIJ02400_pid", model.getValue("/root/send/data1/pid"));
- setParameter("SPPIJ02400_indd", model.getValue("/root/send/data1/indd"));
- setParameter("SPPIJ02400_cretno", model.getValue("/root/send/data1/cretno"));
- setParameter("SPPIJ02400_insukind", model.getValue("/root/send/data1/insukind"));
- setParameter("SPPIJ02400_fromdd", model.getValue("/root/send/data2/fromdd"));
- setParameter("SPPIJ02400_todd", model.getValue("/root/send/data2/todd"));
- setParameter("SPPIJ02400_payflag", model.getValue("/root/send/data2/payflag"));
- setParameter("SPPIJ02400_item1", "");
- setParameter("SPPIJ02400_item2", "");
- ivw_itemlist.window.javaScript.fInitialize();
-
- // 2. tab 구분에 따라 선택상태 변경(입원재원상세계산내역에서 들어오는 경우는 수정내역이 먼저 보이도록 처리)
- var tabflag = model.getValue("/root/send/data1/tabflag");
- if (tabflag == "2") {
- btn_sw2.dispatch("onclick");
- }
-
- model.refresh();
- }
-
- // 항목 더블클릭시 해당 항목에 대한 수정내역을 조회한다.
- function fGetJudgDetlDifAmtList(item1, item2) {
- model.setValue("/root/hidden/item1", item1);
- model.setValue("/root/hidden/item2", item2);
- btn_sw2.dispatch("onclick");
- }
-
- // 기간, 급비구분 변경에 따라 조회한다.
- function fGetInJudgItemAmtList() {
- setParameter("SPPIJ02400_pid", model.getValue("/root/send/data1/pid"));
- setParameter("SPPIJ02400_indd", model.getValue("/root/send/data1/indd"));
- setParameter("SPPIJ02400_cretno", model.getValue("/root/send/data1/cretno"));
- setParameter("SPPIJ02400_fromdd", model.getValue("/root/send/data2/fromdd"));
- setParameter("SPPIJ02400_todd", model.getValue("/root/send/data2/todd"));
- setParameter("SPPIJ02400_payflag", model.getValue("/root/send/data2/payflag"));
- setParameter("SPPIJ02400_item1", "");
- setParameter("SPPIJ02400_item2", "");
- ivw_itemlist.window.javaScript.fInitialize();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1130" pageheight="770" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_biz" scroll="auto" style="left:0px; top:0px; width:1105px; height:705px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:142px; height:14px; ">심사전후 차액조회</caption>
- <button id="btn_sw1" class="btn_sw" group="tab" selected="true" style="left:0px; top:50px; width:105px; height:22px; font-size:8pt; ">
- <caption>항목별 진료비</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.toggle("case1");
- ]]>
- </script>
- </button>
- <button id="btn_sw2" class="btn_sw" group="tab" style="left:105px; top:50px; width:105px; height:22px; font-size:8pt; ">
- <caption>수정 내역</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.toggle("case2");
- setParameter("SPPIJ02400_fromdd", model.getValue("/root/send/data2/fromdd"));
- setParameter("SPPIJ02400_todd", model.getValue("/root/send/data2/todd"));
- setParameter("SPPIJ02400_payflag", model.getValue("/root/send/data2/payflag"));
- setParameter("SPPIJ02400_item1", model.getValue("/root/hidden/item1"));
- setParameter("SPPIJ02400_item2", model.getValue("/root/hidden/item2"));
- model.setValue("/root/hidden/item1", "");
- model.setValue("/root/hidden/item2", "");
- ivw_difflist.window.javaScript.fInitialize();
- ]]>
- </script>
- </button>
- <switch id="switch1" style="left:0px; top:72px; width:1100px; height:630px; border-style:none; ">
- <case id="case1" selected="true">
- <iviewer id="ivw_itemlist" src="../../../pam/bfjudgweb/xrw/SPPIJ02401_항목별진료비조회.xrw" style="left:0px; top:0px; width:1098px; height:628px; border-style:none; "/>
- </case>
- <case id="case2">
- <iviewer id="ivw_difflist" src="../../../pam/bfjudgweb/xrw/SPPIJ02402_차액상세조회.xrw" style="left:0px; top:0px; width:1098px; height:628px; border-style:none; "/>
- </case>
- </switch>
- <caption id="caption3" class="search_name" style="left:230px; top:50px; width:86px; height:17px; ">기간 :</caption>
- <caption id="caption4" style="left:383px; top:50px; width:12px; height:17px; ">~</caption>
- <input id="ipt_todd" ref="/root/send/data2/todd" class="input_search" inputtype="date" style="left:398px; top:50px; width:85px; height:19px; "/>
- <input id="ipt_fromdd" ref="/root/send/data2/fromdd" class="input_search" inputtype="date" style="left:295px; top:50px; width:85px; height:19px; "/>
- <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; ">
- <choices>
- <item>
- <label>전체</label>
- <value>-</value>
- </item>
- <item>
- <label>급여</label>
- <value>1</value>
- </item>
- <item>
- <label>비급여/전액</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <caption id="caption1" class="tit_2" style="left:5px; top:25px; width:900px; height:14px; ">주부유형 보험유형 보조유형</caption>
- <output id="opt_mskind" ref="/root/send/data1/mskind" class="output_fix" style="left:80px; top:22px; width:35px; height:19px; text-align:center; "/>
- <output id="opt_insukind" ref="/root/send/data1/insukind" class="output_fix" style="left:215px; top:22px; width:35px; height:19px; text-align:center; "/>
- <output id="opt_suppkind" ref="/root/send/data1/suppkind" class="output_fix" style="left:350px; top:22px; width:35px; height:19px; text-align:center; "/>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:703px; width:1090px; height:27px; ">
- <button id="btn_close" class="btn4_letter2" style="left:1030px; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <close ev:event="DOMActivate"/>
- </button>
- </group>
- <button id="btn_srch" class="btn3_letter2" style="left:680px; top:48px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetInJudgItemAmtList();
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|