123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744 |
- <?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>
- <list>
- <item>
- <systkey1/>
- <systkey2/>
- <item01/>
- <item02/>
- <item03/>
- <item04/>
- <item05/>
- <item06/>
- <item07/>
- <item08/>
- <item09/>
- <item10/>
- <item11/>
- <item12/>
- <item13/>
- <item14/>
- <item15/>
- <item16/>
- <item17/>
- <item18/>
- <item19/>
- <item20/>
- <item21/>
- <item22/>
- <item23/>
- <item24/>
- <item25/>
- <item26/>
- <item27/>
- <item28/>
- <item29/>
- <item30/>
- <item31/>
- <total/>
- </item>
- </list>
- </main>
- <send>
- <srchdate/>
- <srchstatsflag/>
- <orddeptcd/>
- <orddrid/>
- <excuroomgrpcdid/>
- <excuroomcd/>
- <globalinstance>
- <instance1/>
- </globalinstance>
- <rsrvdeptcd/>
- <grupcdid/>
- <srchflag/>
- </send>
- <hidden/>
- <init>
- <dept_info>
- <initprcpexecdeptcd/>
- </dept_info>
- </init>
- </root>
- </instance>
- <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/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- aezfSetSuppDeptcd();
-
- // 진료과/진료의 조회
- submit("TRPMOCOM01", false);
-
- // 지원부서/* */검사실 조회
- submit("TRAEA01301", false);
-
- model.removenode("/root/main/list/item");
-
- // 수행부서 코드 가져오기
- submit("TRAEB00205", false);
-
- // // 통합예약실 정보 조회
- // var instance1 = model.getValue("/root/send/globalinstance/instance1");
- // model.setValue("/root/send/grupcdid","A0001");
- // if (submit("TRAEB00010", false)) {
- //
- // var nodeCnt = getNodesetCount("/root/main/codelist/item");
- //
- // if (nodeCnt > 1) {
- // addComboItem("cmb_rsrvid","--전체--","","above");
- // }
- // }
-
- addComboItem("cmb_orddept","--전체--","","above");
-
- var nodecnt = getNodesetCount("/root/init/orddrid");
- model.makeValue("/root/init/orddrid["+ nodecnt +"]/dp","");
- model.makeValue("/root/init/orddrid["+ nodecnt +"]/cd","");
- model.makeValue("/root/init/orddrid["+ nodecnt +"]/nm","--전체--");
-
- addComboItem("cmb_deptcd","--전체--","","above");
- addComboItem("cmb_excuroom","--전체--","","above");
- addComboItem("cmb_rsrvdeptcd","--전체--","","above");
-
- model.setValue("/root/send/srchdate", getCurrentDate().substr(0,6));
- model.removenode("/root/main/list");
-
- model.setValue("/root/send/srchstatsflag", "R");
-
- setTitle();
-
- model.refresh();
- ]]>
- </script>
- <submission id="TRAES04901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list"/>
- <submission id="TRPMOCOM01" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/session" replace="instance" resultref="/root/init"/>
- <submission id="TRAEA01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/globalinstance" replace="instance" resultref="/root/init/cmb_info"/>
- <submission id="TRAES04802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/cmb_info/excuroomcdlist"/>
- <submission id="TRAEB00010" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/codelist"/>
- <submission id="TRAEB00205" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/globalinstance" replace="instance" resultref="/root/init/dept_info"/>
- </model>
- <script type="javascript">
- <![CDATA[
- /* @group : 통합 통계
- * @ver :
- * @by :
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 검사통합예약통계(예약기준) 조회
- */
- function getRsrvSytsStatsCaseList(){
-
- // 일별
- if (btn_case1.selected == true) {
- model.setValue("/root/send/srchflag","D");
- grd_list = grd_daylist;
- // 주별
- } else if (btn_case2.selected == true) {
- model.setValue("/root/send/srchflag","W");
- grd_list = grd_weeklist;
- // 월별
- } else if (btn_case3.selected == true) {
- model.setValue("/root/send/srchflag","M");
- grd_list = grd_monthlist;
- // 분기별
- } else if (btn_case4.selected == true) {
- model.setValue("/root/send/srchflag","Q");
- grd_list = grd_qurtlist;
- // 년도별
- } else if (btn_case5.selected == true) {
- model.setValue("/root/send/srchflag","Y");
- grd_list = grd_yearlist;
- }
- model.removenode("/root/main/list");
-
- if (submit("TRAES04901")) {
-
- var cnt = getNodesetCount("/root/main/list/item");
-
- if (cnt > 1) {
-
- var srchstatsflag = model.getValue("/root/send/srchstatsflag");
-
- // 소계 및 합계 구하는 함수 호출 - grid Object, 통계구분, 탭구분)
- fSetSubTotal(grd_list, srchstatsflag , model.getValue("/root/send/srchflag"));
-
- }
- }
- }
-
- /* @group : 통합 통계
- * @ver :
- * @by :
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 통계 구분별 그리드 header를 정의하는 함수
- */
- function setTitle() {
-
- var srchstatsflag = model.getValue("/root/send/srchstatsflag");
- var baseDate = model.getValue("/root/send/srchdate") + "01";
-
- model.removenode("/root/main/list");
-
- var stHeader = "";
- var stMonthHeader = "";
- var stDay = "";
- var stMonth = "";
- var stQurt = "";
- var stYear = "";
-
- var sDayCnt = baseDate.toDate().getMonthDay();
- var baseYear = baseDate.substr(0,4);
-
- stHeader = "지원부서^검사실^";
-
- stDay = "1일^2일^3일^4일^5일^6일^7일^8일^9일^10일^11일^12일^13일^14일^15일^16일^17일^18일^19일^20일^21일^22일^23일^24일^25일^26일^27일^28일^29일^30일^31일^합계";
- stMonth = baseYear + "년^"+ baseYear + "년^"+ baseYear + "년^"+ baseYear + "년^"+ baseYear + "년^"+ baseYear + "년^"+ baseYear + "년^"+ baseYear + "년^"+ baseYear + "년^"+ baseYear + "년^"+ baseYear + "년^"+ baseYear + "년^합계^전년도합계^증감율|"+ stHeader +"1월^2월^3월^4월^5월^6월^7월^8월^9월^10월^11월^12월^합계^전년도합계^증감율";
- stQurt = "1분기^1분기^2분기^2분기^3분기^3분기^4분기^4분기^전년도^전년도^전년도^전년도^합계^전년도합계^증감율|"+ stHeader +"환자수^증감율^환자수^증감율^환자수^증감율^환자수^증감율^1분기^2분기^3분기^4분기^합계^전년도합계^증감율";
-
- var dtYearMonth = baseDate.toDate().getAddDate(-4, "Y");
- var addYear = "";
-
- for (var i = 0; i <= 4; i++) {
- addYear = dtYearMonth.getDateFormat("YYYY");
- stYear = stYear + addYear + "년^";
- dtYearMonth.getAddDate(1, "Y");
- }
- stYear = stYear + "합계^전년도합계^증감율";
-
- // 일별
- stDay = stHeader + stDay;
- grd_daylist.caption = stDay;
-
- // 월별
- stMonth = stHeader + stMonth;
- grd_monthlist.caption = stMonth;
-
- // 분기별
- stQurt = stHeader + stQurt;
- grd_qurtlist.caption = stQurt;
-
- // 년도별
- stYear = stHeader + stYear;
- grd_yearlist.caption =stYear;
-
- if(sDayCnt > 30) {
- grd_daylist.colHidden(grd_daylist.colRef("item29")) = false;
- grd_daylist.colHidden(grd_daylist.colRef("item30")) = false;
- grd_daylist.colHidden(grd_daylist.colRef("item31")) = false;
- }else if(sDayCnt == 29) {
- grd_daylist.colHidden(grd_daylist.colRef("item29")) = false;
- grd_daylist.colHidden(grd_daylist.colRef("item30")) = true;
- grd_daylist.colHidden(grd_daylist.colRef("item31")) = true;
- }else if(sDayCnt < 29) {
- grd_daylist.colHidden(grd_daylist.colRef("item29")) = true;
- grd_daylist.colHidden(grd_daylist.colRef("item30")) = true;
- grd_daylist.colHidden(grd_daylist.colRef("item31")) = true;
- }else {
- grd_daylist.colHidden(grd_daylist.colRef("item29")) = false;
- grd_daylist.colHidden(grd_daylist.colRef("item30")) = false;
- grd_daylist.colHidden(grd_daylist.colRef("item31")) = true;
- }
-
- grd_daylist.rebuild();
- grd_monthlist.rebuild();
- grd_qurtlist.rebuild();
- grd_yearlist.rebuild();
- }
-
- /* @group : 통합 통계
- * @ver :
- * @by :
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 조회된 통계 데이타에 대한 소계 및 총계를 구하는 함수
- */
- function fSetSubTotal(grd_list, srchstatsflag, srchflag) {
-
- var colpos = 0;
- var rowCnt = 0;
-
- grd_list.colSort(0) = "asc";
- grd_list.sort(0, 0, grd_list.rows, grd_list.cols) = "usersort";
-
- colpos = grd_list.colRef("systkey2");
-
- for(i=3; i<grd_list.cols; i++) {
- grd_list.subtotal("sum", 1, i, "#,###", "background-color:#FFFFCC; color:#0000ff; font-weight:bold; ", colpos, "소계");
- grd_list.subtotal("sum", -1, i, "#,###", "background-color:#CCFFCC; color:#0000ff; font-weight:bold; ", 1, "총계");
- }
- grd_list.mergeByFree(grd_list.rows-1, 1 , grd_list.rows-1, 2);
-
- rowCnt = grd_list.rows;
-
- // 증감율 구하기
- var colnm = "";
- var subtotal = 0;
- var subcomparecnt = 0;
- var subcomparerate = "";
-
- for (i=0; i<rowCnt; i++) {
- colnm = grd_list.valueMatrix(i, colpos);
-
- if (colnm == "소계" ) {
-
- // 소계 합계
- subtotal = grd_list.valueMatrix(i, grd_list.colRef("total"));
- subcomparecnt = grd_list.valueMatrix(i, grd_list.colRef("comparecnt"));
- grd_list.valueMatrix(i, grd_list.colRef("comparerate")) = setCompareRate(subtotal, subcomparecnt);
-
- // 분기별일 경우 분기별 증감율 구하기
- if (srchflag == "Q") {
-
- // 1분기
- subtotal = grd_list.valueMatrix(i, grd_list.colRef("item01"));
- subcomparecnt = grd_list.valueMatrix(i, grd_list.colRef("item09"));
- grd_list.valueMatrix(i, grd_list.colRef("item02")) = setCompareRate(subtotal, subcomparecnt);
-
- // 2분기
- subtotal = grd_list.valueMatrix(i, grd_list.colRef("item03"));
- subcomparecnt = grd_list.valueMatrix(i, grd_list.colRef("item10"));
- grd_list.valueMatrix(i, grd_list.colRef("item04")) = setCompareRate(subtotal, subcomparecnt);
-
- // 3분기
- subtotal = grd_list.valueMatrix(i, grd_list.colRef("item05"));
- subcomparecnt = grd_list.valueMatrix(i, grd_list.colRef("item11"));
- grd_list.valueMatrix(i, grd_list.colRef("item06")) = setCompareRate(subtotal, subcomparecnt);
-
- // 4분기
- subtotal = grd_list.valueMatrix(i, grd_list.colRef("item07"));
- subcomparecnt = grd_list.valueMatrix(i, grd_list.colRef("item12"));
- grd_list.valueMatrix(i, grd_list.colRef("item08")) = setCompareRate(subtotal, subcomparecnt);
- grd_list.cellformat(i, grd_list.colRef("item02")) = "(-)#,### %";
- grd_list.cellformat(i, grd_list.colRef("item04")) = "(-)#,### %";
- grd_list.cellformat(i, grd_list.colRef("item06")) = "(-)#,### %";
- grd_list.cellformat(i, grd_list.colRef("item08")) = "(-)#,### %";
- } // 분기별일 경우 분기별 증감율 구하기 끝
-
- grd_list.cellformat(i, grd_list.colRef("comparerate")) = "(-)#,### %";
- }
- }
-
- //총계 증감율 합계
-
- var total = 0;
- var comparecnt = 0;
- var comparerate = "";
-
- // 분기별일 경우 총계 분기별 증감율 구하기
- if (srchflag == "Q") {
-
- // 1분기
- total = grd_list.valueMatrix(grd_list.rows-1, grd_list.colRef("item01"));
- comparecnt = grd_list.valueMatrix(grd_list.rows-1, grd_list.colRef("item09"));
- grd_list.valueMatrix(grd_list.rows-1, grd_list.colRef("item02")) = setCompareRate(total, comparecnt);
-
- // 2분기
- total = grd_list.valueMatrix(grd_list.rows-1, grd_list.colRef("item03"));
- comparecnt = grd_list.valueMatrix(grd_list.rows-1, grd_list.colRef("item10"));
- grd_list.valueMatrix(grd_list.rows-1, grd_list.colRef("item04")) = setCompareRate(total, comparecnt);
-
- // 3분기
- total = grd_list.valueMatrix(grd_list.rows-1, grd_list.colRef("item05"));
- comparecnt = grd_list.valueMatrix(grd_list.rows-1, grd_list.colRef("item11"));
- grd_list.valueMatrix(grd_list.rows-1, grd_list.colRef("item06")) = setCompareRate(total, comparecnt);
-
- // 4분기
- total = grd_list.valueMatrix(grd_list.rows-1, grd_list.colRef("item07"));
- comparecnt = grd_list.valueMatrix(grd_list.rows-1, grd_list.colRef("item12"));
- grd_list.valueMatrix(grd_list.rows-1, grd_list.colRef("item08")) = setCompareRate(total, comparecnt);
-
- grd_list.cellformat(grd_list.rows-1, grd_list.colRef("item02")) = "(-)#,### %";
- grd_list.cellformat(grd_list.rows-1, grd_list.colRef("item04")) = "(-)#,### %";
- grd_list.cellformat(grd_list.rows-1, grd_list.colRef("item06")) = "(-)#,### %";
- grd_list.cellformat(grd_list.rows-1, grd_list.colRef("item08")) = "(-)#,### %";
-
- }
-
- //총계 증감율 합계
- total = grd_list.valueMatrix(grd_list.rows-1, grd_list.colRef("total"));
- comparecnt = grd_list.valueMatrix(grd_list.rows-1, grd_list.colRef("comparecnt"));
-
- grd_list.valueMatrix(grd_list.rows-1, grd_list.colRef("comparerate")) = setCompareRate(total, comparecnt) ;
- grd_list.cellformat(grd_list.rows-1, grd_list.colRef("comparerate")) = "(-)#,### %";
-
- model.refresh();
-
- }
-
- /* @group : 통합 통계
- * @ver :
- * @by :
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 증감율을 구하는 함수
- */
- function setCompareRate(total, comparecnt) {
-
- var comparerate = 0;
-
- if (parseInt(total) > 0) {
- comparerate = ( ( parseInt(total) - parseInt(comparecnt) ) / parseInt(total) ) * 100;
-
- if (comparerate != null) {
- comparerate = comparerate.toString().getRound(-1,"HALF_UP");
- } else {
- comparerate = 0;
- }
- } else {
- comparerate = 0;
- }
-
- return comparerate;
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1211" pageheight="784" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:200px; height:14px; ">검사통합예약통계</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:55px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:55px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="search_name" style="left:15px; top:32px; width:86px; height:17px; ">기준년월 :</caption>
- <line id="line13" class="line_4" style="x1:1110px; y1:7px; x2:1110px; y2:47px; "/>
- <button id="btn_sea" class="btn1_letter2" navindex="4" style="left:1120px; top:17px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 검사통합예약통계(예약기준) 조회
- getRsrvSytsStatsCaseList();
- ]]>
- </script>
- </button>
- <input id="ipt_fromdd" ref="/root/send/srchdate" class="input_default" navindex="1" inputtype="date" format="yyyy-mm" style="left:109px; top:30px; width:108px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- setTitle();
- ]]>
- </script>
- </input>
- <select1 id="cmb_orddept" ref="/root/send/orddeptcd" appearance="minimal" editmode="search" style="left:435px; top:5px; width:152px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var orddeptcd = model.getValue("/root/send/orddeptcd");
- cmb_orddr.choices.itemset.attribute("nodeset") = "/root/init/orddrid[dp='"+ orddeptcd + "' or dp = '']";
-
- addComboItem("cmb_orddr","--전체--","","above");
-
- model.refresh();
-
- ]]>
- </script>
- </select1>
- <select1 id="cmb_orddr" ref="/root/send/orddrid" appearance="minimal" editmode="search" style="left:590px; top:5px; width:152px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddrid">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption3" class="search_name" style="left:295px; top:7px; width:134px; height:17px; ">처방과 / 처방의 :</caption>
- <select1 id="cmb_excuroom" ref="/root/send/excuroomcd" class="combo_default" navindex="1" appearance="minimal" editmode="search" style="left:590px; top:30px; width:152px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/excuroomcdlist/excuroom">
- <label ref="basecdflagdesc"/>
- <value ref="basecd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_sea.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <caption id="caption4" class="search_name" style="left:295px; top:32px; width:132px; height:17px; ">지원부서/검사실 :</caption>
- <select1 id="cmb_deptcd" ref="/root/send/excuroomgrpcdid" appearance="minimal" editmode="search" style="left:435px; top:30px; width:152px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/suppdept">
- <label ref="depthngnm"/>
- <value ref="suppdeptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // model.setValue("/root/send/globalinstance/instance1", model.getValue("/root/send/suppdeptcd"));
- model.setValue("/root/send/excuroomcd", "");
- submit("TRAES04802",false);
- addComboItem("cmb_excuroom","--전체--","","above");
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption7" class="search_name" style="left:795px; top:17px; width:86px; height:17px; ">예약부서 :</caption>
- <caption id="caption5" class="search_name" style="left:15px; top:7px; width:86px; height:17px; ">통계구분 :</caption>
- <select1 id="cmb_statsflag" ref="/root/send/srchstatsflag" appearance="minimal" style="left:110px; top:6px; width:108px; height:19px; ">
- <choices>
- <item>
- <label>예약건수</label>
- <value>R</value>
- </item>
- <item>
- <label>변경건수</label>
- <value>U</value>
- </item>
- <item>
- <label>취소건수</label>
- <value>C</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_rsrvdeptcd" ref="/root/send/rsrvdeptcd" appearance="minimal" editmode="search" style="left:890px; top:16px; width:200px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/dept_info/initprcpexecdeptcd">
- <label ref="prcpexecdeptcdnm"/>
- <value ref="prcpexecdeptcdid"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <button id="btn_case1" class="btn_sw" group="tab2" selected="true" style="left:2px; top:68px; width:60px; height:22px; ">
- <caption>일별</caption>
- <toggle case="case1" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removenode("/root/main/list");
- model.refresh();
- model.toggle("case1");
-
- // 검사통합예약통계(예약기준) 조회
- getRsrvSytsStatsCaseList();
- ]]>
- </script>
- </button>
- <button id="btn_case3" class="btn_sw" group="tab2" style="left:122px; top:68px; width:60px; height:22px; ">
- <caption>월별</caption>
- <toggle case="case3" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removenode("/root/main/list");
- model.refresh();
- model.toggle("case3");
- // 검사통합예약통계(예약기준) 조회
- getRsrvSytsStatsCaseList();
- ]]>
- </script>
- </button>
- <button id="btn_case4" class="btn_sw" group="tab2" style="left:182px; top:68px; width:60px; height:22px; ">
- <caption>분기별</caption>
- <toggle case="case4" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removenode("/root/main/list");
- model.refresh();
- model.toggle("case4");
-
- // 검사통합예약통계(예약기준) 조회
- getRsrvSytsStatsCaseList();
- ]]>
- </script>
- </button>
- <button id="btn_case5" class="btn_sw" group="tab2" style="left:242px; top:68px; width:60px; height:22px; ">
- <caption>년도별</caption>
- <toggle case="case5" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removenode("/root/main/list");
- model.refresh();
- model.toggle("case5");
-
- // 검사통합예약통계(예약기준) 조회
- getRsrvSytsStatsCaseList();
- ]]>
- </script>
- </button>
- <button id="btn_excsave" class="btn2_letter4" visibility="visible" style="left:1130px; top:70px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "") {
- // 일별
- if (btn_case1.selected == true) {
- grd_daylist.saveExcel(fileName);
- // 주별
- } else if (btn_case2.selected == true) {
- grd_weeklist.saveExcel(fileName);
- // 월별
- } else if (btn_case3.selected == true) {
- grd_monthlist.saveExcel(fileName);
- // 분기별
- } else if (btn_case4.selected == true) {
- grd_qurtlist.saveExcel(fileName);
- // 년도별
- } else if (btn_case5.selected == true) {
- grd_yearlist.saveExcel(fileName);
- }
- }
- ]]>
- </script>
- </button>
- <line id="line1" class="line_1" style="x1:0px; y1:90px; x2:1195px; y2:90px; "/>
- <switch id="switch1" style="left:0px; top:93px; width:1195px; height:647px; ">
- <case id="case1" selected="true">
- <datagrid id="grd_daylist" nodeset="/root/main/list/item" backcoloralternate="transparent" caption="지원부서^검사실^1일^2일^3일^4일^5일^6일^7일^8일^9일^10일^11일^12일^13일^14일^15일^16일^17일^18일^19일^20일^21일^22일^23일^24일^25일^26일^27일^28일^29일^30일^31일^합계" colsep="^" colwidth="100, 140, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 60" frozencols="2" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" multitotal="true" rowheader="seq" rowsep="|" subtotalposition="below" tooltip="true" style="left:0px; top:0px; width:1192px; height:640px; ">
- <col ref="systkey1" style="text-align:center; "/>
- <col ref="systkey2" style="text-align:left; "/>
- <col ref="item01" format="#,###" style="text-align:right; "/>
- <col ref="item02" format="#,###" style="text-align:right; "/>
- <col ref="item03" format="#,###" style="text-align:right; "/>
- <col ref="item04" format="#,###" style="text-align:right; "/>
- <col ref="item05" format="#,###" style="text-align:right; "/>
- <col ref="item06" format="#,###" style="text-align:right; "/>
- <col ref="item07" format="#,###" style="text-align:right; "/>
- <col ref="item08" format="#,###" style="text-align:right; "/>
- <col ref="item09" format="#,###" style="text-align:right; "/>
- <col ref="item10" format="#,###" style="text-align:right; "/>
- <col ref="item11" format="#,###" style="text-align:right; "/>
- <col ref="item12" format="#,###" style="text-align:right; "/>
- <col ref="item13" format="#,###" style="text-align:right; "/>
- <col ref="item14" format="#,###" style="text-align:right; "/>
- <col ref="item15" format="#,###" style="text-align:right; "/>
- <col ref="item16" format="#,###" style="text-align:right; "/>
- <col ref="item17" format="#,###" style="text-align:right; "/>
- <col ref="item18" format="#,###" style="text-align:right; "/>
- <col ref="item19" format="#,###" style="text-align:right; "/>
- <col ref="item20" format="#,###" style="text-align:right; "/>
- <col ref="item21" format="#,###" style="text-align:right; "/>
- <col ref="item22" format="#,###" style="text-align:right; "/>
- <col ref="item23" format="#,###" style="text-align:right; "/>
- <col ref="item24" format="#,###" style="text-align:right; "/>
- <col ref="item25" format="#,###" style="text-align:right; "/>
- <col ref="item26" format="#,###" style="text-align:right; "/>
- <col ref="item27" format="#,###" style="text-align:right; "/>
- <col ref="item28" format="#,###" style="text-align:right; "/>
- <col ref="item29" format="#,###" style="text-align:right; "/>
- <col ref="item30" format="#,###" style="text-align:right; "/>
- <col ref="item31" format="#,###" style="text-align:right; "/>
- <col ref="total" format="#,###" style="text-align:right; "/>
- </datagrid>
- </case>
- <case id="case2">
- <datagrid id="grd_weeklist" nodeset="/root/main/list/item" backcoloralternate="transparent" caption="지원부서^검사실^1주^2주^3주^4주^5주^6주^합계" colsep="^" colwidth="115, 240, 100, 100, 100, 100, 100, 100, 100" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" subtotalposition="below" style="left:0px; top:0px; width:1192px; height:640px; ">
- <col ref="systkey1" style="text-align:center; "/>
- <col ref="systkey2" style="text-align:left; "/>
- <col ref="item01" style="text-align:right; "/>
- <col ref="item02" style="text-align:right; "/>
- <col ref="item03" style="text-align:right; "/>
- <col ref="item04" style="text-align:right; "/>
- <col ref="item05" style="text-align:right; "/>
- <col ref="item06" style="text-align:right; "/>
- <col ref="total" style="text-align:right; "/>
- </datagrid>
- </case>
- <case id="case3">
- <datagrid id="grd_monthlist" nodeset="/root/main/list/item" backcoloralternate="transparent" caption="지원부서^검사실^2006년^2006년^2006년^2006년^2006년^2006년^2006년^2006년^2006년^2006년^2006년^2006년^합계^전년도합계^증감율^전년도합계^증감(%)|지원부서^검사실^1월^2월^3월^4월^5월^6월^7월^8월^9월^10월^11월^12월^합계^전년도합계^증감율" colsep="^" colwidth="115, 240, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 80, 80, 64" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" subtotalposition="below" tooltip="true" style="left:0px; top:0px; width:1192px; height:640px; ">
- <col ref="systkey1" style="text-align:center; "/>
- <col ref="systkey2" style="text-align:left; "/>
- <col ref="item01" style="text-align:right; "/>
- <col ref="item02" style="text-align:right; "/>
- <col ref="item03" style="text-align:right; "/>
- <col ref="item04" style="text-align:right; "/>
- <col ref="item05" style="text-align:right; "/>
- <col ref="item06" style="text-align:right; "/>
- <col ref="item07" style="text-align:right; "/>
- <col ref="item08" style="text-align:right; "/>
- <col ref="item09" style="text-align:right; "/>
- <col ref="item10" style="text-align:right; "/>
- <col ref="item11" style="text-align:right; "/>
- <col ref="item12" style="text-align:right; "/>
- <col ref="total" style="text-align:right; "/>
- <col ref="comparecnt" style="text-align:right; "/>
- <col ref="comparerate" format="(-)#,### %" style="text-align:right; "/>
- </datagrid>
- </case>
- <case id="case4">
- <datagrid id="grd_qurtlist" nodeset="/root/main/list/item" backcoloralternate="transparent" caption="지원부서^검사실^1분기^1분기^2분기^2분기^3분기^3분기^4분기^4분기^전년도^전년도^전년도^전년도^합계^전년도합계^증감율|지원부서^검사실^건수^증감율^건수^증감율^건수^증감율^건수^증감율^1분기^2분기^3분기^4분기^합계^전년도합계^증감율" colsep="^" colwidth="115, 240, 68, 68, 68, 68, 68, 68, 68, 68, 100, 100, 100, 100, 84, 84, 84" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" subtotalposition="below" tooltip="true" style="left:0px; top:0px; width:1192px; height:640px; ">
- <col ref="systkey1" style="text-align:center; "/>
- <col ref="systkey2" style="text-align:left; "/>
- <col ref="item01" style="text-align:right; "/>
- <col ref="item02" format="(-)#,### %" style="text-align:right; "/>
- <col ref="item03" style="text-align:right; "/>
- <col ref="item04" format="(-)#,### %" style="text-align:right; "/>
- <col ref="item05" style="text-align:right; "/>
- <col ref="item06" format="(-)#,### %" style="text-align:right; "/>
- <col ref="item07" style="text-align:right; "/>
- <col ref="item08" format="(-)#,### %" style="text-align:right; "/>
- <col ref="item09" visibility="hidden" style="text-align:right; "/>
- <col ref="item10" visibility="hidden" style="text-align:right; "/>
- <col ref="item11" visibility="hidden" style="text-align:right; "/>
- <col ref="item12" visibility="hidden" style="text-align:right; "/>
- <col ref="total" style="text-align:right; "/>
- <col ref="comparecnt" style="text-align:right; "/>
- <col ref="comparerate" format="(-)#,### %" style="text-align:right; "/>
- </datagrid>
- </case>
- <case id="case5">
- <datagrid id="grd_yearlist" nodeset="/root/main/list/item" backcoloralternate="transparent" caption="지원부서^검사실^2005년^2006년^2007년^2008년^2009년^합계^전년도합계^증감율" colsep="^" colwidth="115, 240, 98, 98, 98, 98, 98, 100, 100, 100" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" subtotalposition="below" tooltip="true" style="left:0px; top:0px; width:1192px; height:640px; ">
- <col ref="systkey1" style="text-align:center; "/>
- <col ref="systkey2" style="text-align:left; "/>
- <col ref="item01" style="text-align:right; "/>
- <col ref="item02" style="text-align:right; "/>
- <col ref="item03" style="text-align:right; "/>
- <col ref="item04" style="text-align:right; "/>
- <col ref="item05" style="text-align:right; "/>
- <col ref="total" style="text-align:right; "/>
- <col ref="comparecnt" style="text-align:right; "/>
- <col ref="comparerate" format="(-)#,### %" style="text-align:right; "/>
- </datagrid>
- </case>
- </switch>
- <button id="btn_case2" class="btn_sw" group="tab2" style="left:62px; top:68px; width:60px; height:22px; ">
- <caption>주별</caption>
- <toggle case="case2" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removenode("/root/main/list");
- model.refresh();
- model.toggle("case2");
- // 검사통합예약통계(예약기준) 조회
- getRsrvSytsStatsCaseList();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|