123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136 |
- <?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="">
- <main>
- <bankruptcylist>
- <bankruptcy/>
- </bankruptcylist>
- </main>
- <send>
- <fromdd/>
- <todd/>
- </send>
- <init>
- <fromdd/>
- <todd/>
- </init>
- <hidden>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <submission id="TRPMO02201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/bankruptcylist"/>
- </model>
- <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"/>
- <script type="javascript">
- <![CDATA[
- function fInitialize() {
-
- model.resetInstanceNode("/root/send");
-
- //날자 입력 항목에 오늘 날자 세팅
- var curDate = getCurrentDate();
-
- curDate = curDate.toDate().getAddDate(-1,"D");
- var nextDate = curDate.getFullYear();
- nextDate = nextDate.toString() + (( curDate.getMonth() + 1 > 9 ) ? curDate.getMonth() + 1 : "0" + (curDate.getMonth() + 1));
- nextDate = nextDate.toString() + (( curDate.getDate() > 9 ) ? curDate.getDate() : "0" + curDate.getDate()) ;
-
- model.setValue("/root/init/fromdd", nextDate);
- model.setValue("/root/init/todd", nextDate);
-
- model.removeNodeset("/root/main/bankruptcylist/bankruptcy");
- datagrid2.rebuild();
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">일일부도율현황</caption>
- <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; ">
- <line id="line88" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
- <button id="btn_clear" class="btn4_letter3" style="left:1126px; top:5px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- </button>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:15px; width:1195px; height:744px; ">
- <group id="group5" style="left:0px; top:10px; width:1195px; height:45px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:40px; "/>
- <button id="button1" class="btn1_letter2" style="left:1120px; top:10px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fromdd = model.getValue("/root/send/fromdd");
- var todd = model.getValue("/root/send/todd");
- if( getDateInterval(fromdd, todd) < 0 ){
- messageBox("일자구분에서 시작일자가 종료일자보다 미래일자 입니다. 확인하세요!", "E999", "");
- return false;
- }
- if( getDateInterval(fromdd, todd) > 183 ){
- if(messageBox("반년 이상의 데이터를 조회 하시면 시스템에 과부하가 발생 할 수도 있습니다. 계속 진행 하시겠습니까", "Q999", "") != 6){
- return false;
- }
- }
-
- model.removeNodeset("/root/main/bankruptcylist/bankruptcy");
- model.setValue("/root/send/fromdd",model.getValue("/root/init/fromdd"));
- model.setValue("/root/send/todd",model.getValue("/root/init/todd"));
- submit("TRPMO02201");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption83" style="left:209px; top:10px; width:15px; height:17px; font-weight:bold; ">~</caption>
- <input id="ipt_fromdd" ref="/root/init/fromdd" class="input_s_essential" inputtype="date" style="left:114px; top:10px; width:95px; height:19px; "/>
- <input id="ipt_todd" ref="/root/init/todd" class="input_s_essential" inputtype="date" style="left:220px; top:10px; width:95px; height:19px; "/>
- <caption id="caption9" class="search_name" style="left:19px; top:10px; width:91px; height:17px; ">조회날짜 :</caption>
- </group>
- <datagrid id="datagrid2" nodeset="/root/main/bankruptcylist/bankruptcy" caption="예약구분^예약^취소^부도^진료^부도율" colsep="^" colwidth="152, 106, 106, 106, 106, 106" dataheight="25" defaultrows="2" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:75px; width:705px; height:505px; ">
- <col ref="rsrvflag" style="text-align:right; "/>
- <col ref="rcnt" style="text-align:right; "/>
- <col ref="xcnt" style="text-align:right; "/>
- <col ref="dcnt" style="text-align:right; "/>
- <col ref="drcnt" style="text-align:right; "/>
- <col ref="drate" style="text-align:right; "/>
- </datagrid>
- <button id="btn_excel1" class="btn2_letter4" style="left:635px; top:55px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != ""){
- datagrid2.saveExcel(fileName, "SheetName", true, true, "", "", false); //label내용 저장
- }
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|