123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * @(#)SPPID21301_항목별진료비조회.xrw (심사차액조회 화면에 iviewer 형태로 들어갈 화면)
- * 수정이력
- * - 2008.08.07 / 최초작성 / 박지욱
- *
- * - 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/>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list1>
- </list1>
- </main>
- <send>
- <data1>
- <clamym/>
- <clamdg/>
- <pid/>
- <pidsn/>
- <insukind/>
- <suppkind/>
- <ordfromdd/>
- </data1>
- </send>
- <init>
- </init>
- <hidden>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- ]]>
- </script>
- <submission id="TRPID21301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript">
- <![CDATA[
- // 화면을 초기화한다.
- function fInitialize() {
-
- // 1. opener 에서 key 데이터를 받는다.
- model.setValue("/root/send/data1/clamym", opener.window.javaScript.getParameter("SPPID21301_clamym"));
- model.setValue("/root/send/data1/clamdg", opener.window.javaScript.getParameter("SPPID21301_clamdg"));
- model.setValue("/root/send/data1/pid", opener.window.javaScript.getParameter("SPPID21301_pid"));
- model.setValue("/root/send/data1/pidsn", opener.window.javaScript.getParameter("SPPID21301_pidsn"));
- model.setValue("/root/send/data1/insukind", opener.window.javaScript.getParameter("SPPID21301_insukind"));
- model.setValue("/root/send/data1/suppkind", opener.window.javaScript.getParameter("SPPID21301_suppkind"));
- model.setValue("/root/send/data1/ordfromdd", opener.window.javaScript.getParameter("SPPID21301_ordfromdd"));
- /*
- grd_itemlist.mergecol(grd_itemlist.colRef("mdl")) = false;
- grd_itemlist.mergecol(grd_itemlist.colRef("hngnm")) = false;
- grd_itemlist.mergecol(grd_itemlist.colRef("bfmatramt")) = false;
- grd_itemlist.mergecol(grd_itemlist.colRef("bfactamt")) = false;
- grd_itemlist.mergecol(grd_itemlist.colRef("aftmatramt")) = false;
- grd_itemlist.mergecol(grd_itemlist.colRef("aftactamt")) = false;
- grd_itemlist.mergecol(grd_itemlist.colRef("itemdifamt")) = false;
-
- model.removeNodeset("/root/main/list1/item");
- model.removeNodeset("/root/main/list2/clbt");
- model.removeNodeset("/root/main/list3/mech");
- */
-
-
- if (model.getValue("/root/send/data1/clamym") != "") {
-
- submit("TRPID21301");
- grd_clodlist.refresh();
- // 항목별 진료비의 동일한 항을 병합한다.
- //grd_itemlist.mergecells = "bycol";
- }
-
-
- /*
- // 항목별 진료비 - 소계 Row
- grd_itemlist.rowStyle(1, "data", "background-color") = "#4d4d4d";
- grd_itemlist.rowStyle(1, "data", "background-image") = "../../../com/commonweb/images/grid_bg.gif";
- grd_itemlist.rowStyle(1, "data", "background-repeat") = "repeat-x";
- // 항목별 진료비 - 가산율 Row
- grd_itemlist.rowStyle(2, "data", "background-color") = "#4d4d4d";
- grd_itemlist.rowStyle(2, "data", "background-image") = "../../../com/commonweb/images/grid_bg.gif";
- grd_itemlist.rowStyle(2, "data", "background-repeat") = "repeat-x";
- //grd_itemlist.fixedRows = 2;
-
- // 청구심사차액 - 총진료비 Row
- //grd_clbtmast.fixedrows = 2; 로 타이틀을 적용시키면 금액 format="#,###" 이 적용되지 않는다.
- grd_clbtmast.rowStyle(1, "data", "background-color") = "#4d4d4d";
- grd_clbtmast.rowStyle(1, "data", "background-image") = "../../../com/commonweb/images/grid_bg.gif";
- grd_clbtmast.rowStyle(1, "data", "background-repeat") = "repeat-x";
- */
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="920" pageheight="610" 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:920px; height:610px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:10px; width:100px; height:13px; ">항목별 진료비</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:920px; y2:25px; "/>
- <datagrid id="grd_clodlist" nodeset="/root/main/list1/clod" caption="항목^항목^명칭^심사후^심사후^심사전^심사전^차액|항^목^명칭^I항^II항^I항^II항^차액" colsep="^" colwidth="50, 50, 350, 80, 80, 80, 80, 100" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" fixed-rows="2" style="left:0px; top:31px; width:920px; height:579px; ">
- <col ref="item1" style="text-align:center; "/>
- <col ref="item2" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:left; "/>
- <col ref="aftamt1" format="#,###" style="text-align:right; "/>
- <col ref="aftamt2" format="#,###" style="text-align:right; "/>
- <col ref="bframt1" format="#,###" style="text-align:right; "/>
- <col ref="bframt2" format="#,###" style="text-align:right; "/>
- <col ref="difamt" format="(-)#,###" style="text-align:right; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if (grd_clodlist.isCell(event.target) && grd_clodlist.mouseRow >= grd_clodlist.fixedRows) {
- var row = grd_clodlist.row - 1;
- var item1 = model.getValue("/root/main/list1/clod[" + row + "]/item1");
- var item2 = model.getValue("/root/main/list1/clod[" + row + "]/item2");
- if (item1 != "" && item2 != "") {
- opener.window.javaScript.fGetJudgDetlDifAmtList(item1, item2);
- }
- }
- ]]>
- </script>
- </datagrid>
- </group>
- <button id="btn_excel" class="btn2_letter4" style="left:852px; top:3px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (grd_clodlist.rows == 2) {
- return;
- }
-
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_clodlist.saveExcel(fileName, "SheetName", true, true, "", "", true);
- messageBox("EXCEL 저장이 완료되었습니다.","I999");
- }
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|