123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195 |
- <?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>
- <reservationstatisticlist>
- <reservationstatistic/>
- </reservationstatisticlist>
- </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="TRPMO02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/reservationstatisticlist"/>
- </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/reservationstatisticlist/reservationstatistic");
- datagrid2.rebuild();
- model.refresh();
- }
- function fSearch(){
-
- if( model.getValue("/root/main/popupendflag") == "ok" ){
- //인적사항에 변경이 있는지를 비교하기 위해서 tmp에 인적사항을 미리 저장해 놓는다.
- model.makeNode("/root/hidden/tmpnode");
- model.copyNode("/root/hidden/tmpnode", "/root/main/patinfo");
-
- //보험/감면/진료기록/신생하*산모내역 조회
- model.setValue("/root/send/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
- submit("TRPMC01401");
- //model.makeNode("/root/main/popupendflag");
- }
- }
- ]]>
- </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:13px; 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/reservationstatisticlist/reservationstatistic");
- model.setValue("/root/send/fromdd",model.getValue("/root/init/fromdd"));
- model.setValue("/root/send/todd",model.getValue("/root/init/todd"));
- submit("TRPMO02101");
- 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>
- <caption id="caption1" class="tit_2" style="left:10px; top:60px; width:157px; height:13px; color:#000000; ">부서별작업내용</caption>
- <datagrid id="datagrid2" nodeset="/root/main/reservationstatisticlist/reservationstatistic" caption="부서명칭^전화예약^전화예약^전화예약^의뢰^의뢰^의뢰^의료협력^의료협력^의료협력^인터넷예약^인터넷예약^인터넷예약^과예약(병동/응급포함)^과예약(병동/응급포함)^과예약(병동/응급포함)^합 계^합 계^합 계|부서명칭^예약^변경^취소^예약^변경^취소^예약^변경^취소^예약^변경^취소^예약^변경^취소^예약^변경^취소" colsep="^" colwidth="145, 52, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57" dataheight="25" defaultrows="2" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:75px; width:1194px; height:659px; ">
- <col ref="deptnm"/>
- <col ref="phoner" style="text-align:right; "/>
- <col ref="phonec" style="text-align:right; "/>
- <col ref="phonex" style="text-align:right; "/>
- <col ref="consultr" style="text-align:right; "/>
- <col ref="consultc" style="text-align:right; "/>
- <col ref="consultx" style="text-align:right; "/>
- <col ref="cor" style="text-align:right; ">
- <choices>
- <itemset nodeset="/root/init/orddeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="coc" style="text-align:right; "/>
- <col ref="cox" style="text-align:right; "/>
- <col ref="internetr" style="text-align:right; ">
- <choices>
- <itemset nodeset="/root/init/orddrid">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="internetc" style="text-align:right; "/>
- <col ref="internetx" style="text-align:right; "/>
- <col ref="deptr" style="text-align:right; ">
- <choices>
- <itemset nodeset="/root/init_com/init/P0006list/P0006">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="deptc" style="text-align:right; "/>
- <col ref="deptx" style="text-align:right; "/>
- <col ref="sumr" style="text-align:right; "/>
- <col ref="sumc" style="text-align:right; "/>
- <col ref="sumx" style="text-align:right; "/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if (getNodesetCount("/root/main/h_otpt1/otpt") < 1) return;
-
- var currow = datagrid1.row;
-
- if (currow < 1) return;
-
- fOutDetlHistRef(currow);
- ]]>
- </script>
- </datagrid>
- <button id="btn_excel1" class="btn2_letter4" style="left:1120px; 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>
|