123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228 |
- <?xml version="1.0" encoding="UTF-16"?>
- <?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="">
- <main>
- <item1>
- <pid/>
- <hngnm/>
- <hopedd/>
- <testcd/>
- <pkgcd/>
- <pkgnm/>
- <cmpyflag/>
- <cmpynm/>
- <ownbamt/>
- <cmpyamt/>
- </item1>
- <item2>
- <testcd/>
- <codenm/>
- <cnt/>
- <amt/>
- <sumamt/>
- <sortseq/>
- </item2>
- <item3>
- <testnm/>
- <cnt/>
- <nullcnt/>
- <testamt/>
- <sumamt/>
- </item3>
- <export/>
- </main>
- <send>
- <srchfromdd/>
- <srchtodd/>
- <srchtestcd/>
- </send>
- <hidden>
- </hidden>
- <init>
- <baseinfo>
- <healexamtestcdlist>
- <S200/>
- </healexamtestcdlist>
- </baseinfo>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- var cur_date = new Date();
- var from_date = (cur_date.getAddDate(-1, 'M')).getDateFormat();
- model.setValue( ipt_fromdd.attribute("ref") , from_date);
- model.setValue( ipt_todd.attribute("ref") , getCurrentDate());
- healGetCodeList( new Array("S200")
- , new Array("/root/init/baseinfo/healexamtestcdlist") );
-
- model.refresh();
- //datagrid1.explorerbar = "sort";
- ]]>
- </script>
- <submission id="TRAHA00001"/>
- <submission id="TRAHS02201" 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/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/healthexambaseweb/js/healcombolist.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="1211" pageheight="784" guideline="1,1206;">
- <group id="group3" style="left:0px; top:0px; width:1211px; height:13px; ">
- <caption id="caption60" class="tit_1" style="left:0px; top:0px; width:183px; height:14px; font-family:돋움; vertical-align:middle; ">기간별 평생건강관리 현황</caption>
- </group>
- <group id="group2" style="left:4px; top:23px; width:1203px; height:35px; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1202px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="search_name" style="left:15px; top:9px; width:198px; height:17px; ">기간 ~</caption>
- <line id="line2" class="line_4" style="x1:1132px; y1:7px; x2:1132px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1139px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRAHS02201");
- grd_earnlst.subtotalPosition = "below";
- grd_earnlst.multiTotals = true;
- grd_earnlst.subtotal("clear", 0, 12);
- grd_earnlst.subtotal("sum", -1 , 1 ,"format:(-,+)#,###; roundmode:round; roundpostion:2", "background-color:#808080; color:#ffffff; font-weight:bold ", grd_earnlst.colRef("testcd") , "총계" );
- grd_earnlst.subtotal("sum", -1 , 3 ,"format:(-,+)#,###; roundmode:round; roundpostion:2", "background-color:#808080; color:#ffffff; font-weight:bold ", grd_earnlst.colRef("testcd") , "총계" );
- datagrid1.subtotalPosition = "below";
- datagrid1.multiTotals = true;
- datagrid1.subtotal("clear", 0, 12);
- datagrid1.subtotal("sum", -1 , 1 ,"format:(-,+)#,###; roundmode:round; roundpostion:2", "background-color:#808080; color:#ffffff; font-weight:bold ", datagrid1.colRef("testnm") , "총계" );
- datagrid1.subtotal("sum", -1 , 3 ,"format:(-,+)#,###; roundmode:round; roundpostion:2", "background-color:#808080; color:#ffffff; font-weight:bold ", datagrid1.colRef("testnm") , "총계" );
- datagrid1.subtotal("sum", -1 , 4 ,"format:(-,+)#,###; roundmode:round; roundpostion:2", "background-color:#808080; color:#ffffff; font-weight:bold ", datagrid1.colRef("testnm") , "총계" );
- ]]>
- </script>
- </button>
- <input id="ipt_fromdd" ref="/root/send/srchfromdd" class="input_default" navindex="7" inputtype="date" style="left:70px; top:8px; width:120px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- /* if( event.keyCode == 13 ) {
-
- var pCurTargetObj = event.ptarget.parent;
-
- if( pCurTargetObj.elementName == "xforms:select1" || pCurTargetObj.elementName == "xforms:select") {
- event.keyCode = 9;
- pCurTargetObj.dispatch("onkeydown");
- }
- else {
-
- event.keyCode = 9;
- }
- }
- event.stopPropagation(); */
- ]]>
- </script>
- </input>
- <input id="ipt_todd" ref="/root/send/srchtodd" class="input_default" navindex="7" inputtype="date" style="left:215px; top:8px; width:120px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- /* if( event.keyCode == 13 ) {
-
- var pCurTargetObj = event.ptarget.parent;
-
- if( pCurTargetObj.elementName == "xforms:select1" || pCurTargetObj.elementName == "xforms:select") {
- event.keyCode = 9;
- pCurTargetObj.dispatch("onkeydown");
- }
- else {
-
- event.keyCode = 9;
- }
- }
- event.stopPropagation(); */
- ]]>
- </script>
- </input>
- <button id="btn_excelsave" class="btn6_letter4" style="left:1045px; top:8px; width:80px; height:22px; ">
- <caption>액셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- /* var vToday = new Date();
- var tmpYear = vToday.getYear();
- var tmpMonth = vToday.getMonth()+1;
- var tmpDate = vToday.getDate();
- if (tmpMonth < 10) { tmpMonth = "0"+tmpMonth; }
- if (tmpDate < 10) { tmpDate = "0"+tmpDate; }
-
- //엑셀저장 여부(타이틀별)
- var fileName = window.fileDialog("save", "", false, "수혈대체현황"+tmpYear+tmpMonth+tmpDate, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- datagrid1.saveExcel(fileName, "수혈대체현황"+tmpYear+tmpMonth+tmpDate, true, true, "", "", true);
- }*/
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- datagrid2.saveExcel(fileName, "SheetName", true, true, "", "", false);
- ]]>
- </script>
- </button>
- <button id="btn_prt" class="btn6_letter2" visibility="visible" style="left:975px; top:8px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeValue("/root/main/export/srchfromdd" , model.getValue("/root/send/srchfromdd").toDate().getDateFormat("YYYY/MM/DD"));
- model.makeValue("/root/main/export/srchtodd" , model.getValue("/root/send/srchtodd").toDate().getDateFormat("YYYY/MM/DD"));
- exeReportPreview("RPAHS02201", "XMLSTR", "/root/main/export","", "false","","","","","false");
- ]]>
- </script>
- </button>
- <line id="line3" class="line_4" visibility="hidden" style="x1:1038px; y1:7px; x2:1038px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption3" class="search_name" style="left:360px; top:10px; width:86px; height:17px; ">검사코드 :</caption>
- <select1 id="cmb_srchhealexamflag" ref="/root/send/srchtestcd" class="combo_search" appearance="minimal" style="left:448px; top:8px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/healexamtestcdlist/S200">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <datagrid id="grd_earnlst" nodeset="/root/main/item2" caption="평생고객코드^고객수^코드별단가^총비용^" colsep="^" colwidth="80, 70, 80, 80" mergecellsfixedrows="bycolrec" multitotal="true" rowsep="|" style="left:5px; top:90px; width:390px; height:315px; ">
- <col ref="testcd"/>
- <col ref="cnt"/>
- <col ref="amt" format="(-,+)#,###" style="text-align:right; "/>
- <col ref="sumamt" format="(-,+)#,###" style="text-align:right; "/>
- </datagrid>
- <datagrid id="datagrid1" nodeset="/root/main/item3" caption="금액^고객수^금액별단가^총비용^비적용고객수" colsep="^" colwidth="80, 59, 80, 80, 80" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:437px; width:390px; height:303px; ">
- <col ref="testnm"/>
- <col ref="cnt" style="text-align:right; "/>
- <col ref="testamt" format="(-,+)#,###" style="text-align:right; "/>
- <col ref="sumamt" format="(-,+)#,###" style="text-align:right; "/>
- <col ref="nullcnt" format="(-,+)#,###" style="text-align:right; "/>
- </datagrid>
- <datagrid id="datagrid2" nodeset="/root/main/item1" caption="등록번호^고객명^건진일^코드^패키지코드^패키지명^단체여부^단체명^본인부담금^단체부담금^" colsep="^" colwidth="80, 70, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80" explorerbar="sort" mergecellsfixedrows="bycolrec" rowsep="|" style="left:400px; top:90px; width:806px; height:650px; ">
- <col ref="pid"/>
- <col ref="hngnm"/>
- <col ref="hopedd"/>
- <col ref="testcd"/>
- <col ref="pkgcd"/>
- <col ref="pkgnm"/>
- <col ref="cmpyflag"/>
- <col ref="cmpynm"/>
- <col ref="ownbamt" format="(-,+)#,###"/>
- <col ref="cmpyamt" format="(-,+)#,###"/>
- </datagrid>
- <caption id="caption1" class="tit_2" style="left:10px; top:65px; width:87px; height:14px; ">코드별 통계</caption>
- <line id="line1" class="line_1" style="x1:5px; y1:80px; x2:395px; y2:80px; "/>
- <caption id="caption4" class="tit_2" style="left:405px; top:65px; width:87px; height:14px; ">건진자 현황</caption>
- <line id="line4" class="line_1" style="x1:400px; y1:80px; x2:1206px; y2:80px; "/>
- <caption id="caption5" class="tit_2" style="left:10px; top:415px; width:87px; height:14px; ">금액별 고객</caption>
- <line id="line5" class="line_1" style="x1:5px; y1:430px; x2:395px; y2:430px; "/>
- </xhtml:body>
- </xhtml:html>
|