123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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="">
- <source>
- <monthdd/>
- <insukind/>
- <ordtype/>
- </source>
- <main>
- <result>
- <resultlist/>
- </result>
- <header/>
- </main>
- <send>
- <monthdd/>
- <insukind/>
- <ordtype/>
- <monthgubun/>
- </send>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- if (checkOpener()){ //팝업화면으로 사용될 때
-
- var strmonthdd = model.getValue("/root/source/monthdd");
- var strinsukind = model.getValue("/root/source/insukind");
- var strordtype = model.getValue("/root/source/ordtype");
- var strmonthgubun=model.getValue("/root/source/monthgubun");
-
- if((strmonthdd !="") && (strinsukind!="") && (strordtype!=""))
- {
- fSearch(strmonthdd,strinsukind,strordtype,strmonthgubun);
- }
-
- }
- ]]>
- </script>
- <submission id="TRPAS01444" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/result"/>
- </model>
- <script type="javascript">
- <![CDATA[
- function fSearch(monthdd,insukind,ordtype,monthgubun){
- var strmonthdd=monthdd;
- var strinsukind=insukind;
- var strordtype=ordtype;
- var strmonthgubun=monthgubun;
- var strheader="";
- model.setValue("/root/send/monthdd",strmonthdd);
- model.setValue("/root/send/insukind",strinsukind);
- model.setValue("/root/send/ordtype",strordtype);
- model.setValue("/root/send/monthgubun",strmonthgubun);
-
- model.resetInstanceNode("/root/main/result/resultlist");
-
- if(submit("TRPAS01444")){
-
- if( getNodesetCount("/root/main/result/resultlist/pid") > 0 ){
-
- // model.refresh();
-
- }else{
- model.resetInstanceNode("/root/main/resultlist");
- messageBox("데이타가 존재하지 않습니다.", "E999", "");
-
- }
- if(strmonthgubun=="K")
- {
- strheader= strmonthdd.substr(0,6) +" 당월말";
- }else if( strmonthgubun=="T")
- {
- strheader= strmonthdd.substr(0,6) + " 당월증가/감소";
- }else
- {
- strheader= strmonthdd.substr(0,6) +" 전월말";
- }
-
- model.setValue("/root/main/header",strheader);
- model.refresh();
- }
- }
- ]]>
- </script>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
- <script type="javascript" src="../../../pam/opatmngtweb/js/PMOCOM.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="900" pageheight="800">
- <group id="group1" style="left:0px; top:0px; width:895px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">미수환자세부 리스트</caption>
- </group>
- <shape id="roundrect8" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:25px; width:895px; height:35px; "/>
- <line id="line11" class="line_1" style="x1:5px; y1:15px; x2:895px; y2:15px; "/>
- <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; ">
- <caption>EXCEL</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if (getNodesetCount("/root/main/result/resultlist/pid") > 0)
- {
- var strtitle= model.getValue("/root/main/header");
- var fileName = window.fileDialog("save", ",", false, "의료미수금세부환자현황("+strtitle+")", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- datagrid1.saveExcel(fileName, "의료미수금세부환자현황(("+strtitle+")", false, false, "", "", false);
- }
- // var fileName = window.fileDialog("save", ",", false, "본인부담 의료미수금 현황_발생년도별("+year+")", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- // grd_year.saveExcel(fileName, "본인부담 의료미수금 현황_발생년도별("+year+")", false, false, "", "", false);
- ]]>
- </script>
- </button>
- <button id="button2" class="btn6_letter4" navindex="3" style="left:805px; top:30px; width:80px; height:22px; ">
- <caption>화면닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.close();
- ]]>
- </script>
- </button>
- <caption id="caption13" ref="/root/main/header" class="search_name" style="left:5px; top:34px; width:360px; height:17px; "/>
- <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; ">
- <col ref="ordnum"/>
- <col ref="pid"/>
- <col ref="hngnm"/>
- <col ref="insukind"/>
- <col ref="preamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="addamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="subamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="totamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="unconm"/>
- </datagrid>
- <line id="line1" class="line_1" style="x1:5px; y1:65px; x2:895px; y2:65px; "/>
- <caption id="caption1" style="left:440px; top:35px; width:265px; height:15px; ">조회되는 데이타가 많을시 조회되지 않을수 있음</caption>
- </xhtml:body>
- </xhtml:html>
|