123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531 |
- <?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>
- <prcpnm/>
- <inprcpcnt/>
- <outprcpcnt/>
- <totrsrvcnt/>
- <rsrvcnt/>
- <prcpexeccnt/>
- <totexeccnt/>
- <totnopaycnt/>
- <rsrvnopayrate/>
- <comparerate/>
- <prcpcd/>
- </item>
- </list>
- <list1>
- <item>
- <basecdcnts/>
- <excuroomcdnm/>
- <excucdnm/>
- <inprcpcnt/>
- <outprcpcnt/>
- <totrsrvcnt/>
- <rsrvcnt/>
- <prcpexeccnt/>
- <totexeccnt/>
- <totnopaycnt/>
- <rsrvnopayrate/>
- <comparerate/>
- </item>
- </list1>
- </main>
- <send>
- <execfromdd/>
- <exectodd/>
- <comparefromdd/>
- <comparetodd/>
- <orddeptcd/>
- <orddrid/>
- <execdeptcd/>
- <execdrid/>
- <globalinstance>
- <instance1/>
- </globalinstance>
- <excuroomcd/>
- <execrid/>
- <deptcd/>
- <srchtab/>
- </send>
- <inti/>
- <hidden/>
- <init>
- <cmb_orddr>
- <initexecorddr>
- <execorddrcdid/>
- <execorddrcdnm/>
- </initexecorddr>
- </cmb_orddr>
- </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/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.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("TRAEA01115",false);
- //var fromdd = getCurrentDate().substr(0,4) + "0101";
- //var todd = getCurrentDate().substr(0,6) + fromdd.toDate().getMonthDay();
- //var comparefromdd = getCurrentDate().substr(0,6).toDate().getAddDate(-1,"Y").getDateFormat("YYYY") + "0101";
- //var comparetodd = comparefromdd.substr(0,4) + todd.substr(4,4);
-
- var fromdd = getCurrentDate().substr(0,8).toDate().getAddDate(-1,"D").getDateFormat("YYYYMMDD");
- var todd = getCurrentDate().substr(0,8).toDate().getAddDate(-1,"D").getDateFormat("YYYYMMDD");
- var comparefromdd = getCurrentDate().substr(0,8).toDate().getAddDate(-2,"D").getDateFormat("YYYYMMDD");
- var comparetodd = getCurrentDate().substr(0,8).toDate().getAddDate(-2,"D").getDateFormat("YYYYMMDD");
-
- model.removenode("/root/main/list/item");
- model.setValue("/root/send/execfromdd", fromdd);
- model.setValue("/root/send/exectodd", todd);
- model.setValue("/root/send/comparefromdd",comparefromdd);
- model.setValue("/root/send/comparetodd",comparetodd);
-
- addComboItem("cmb_excuroom","--전체--","","above");
- addComboItem("cmb_orddept","--전체--","","above");
- addComboItem("cmb_orddr","--전체--","","above");
-
- model.refresh();
- ]]>
- </script>
- <submission id="TRPMOCOM01" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/session" replace="instance" resultref="/root/init"/>
- <submission id="TRAEA01115" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/globalinstance" replace="instance" resultref="/root/init/cmb_info"/>
- <submission id="TRAES00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list"/>
- <submission id="TRAES00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list1"/>
- <submission id="TRAER00804" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmb_orddr"/>
- </model>
- <script type="javascript">
- <![CDATA[
- function chkDate(id, type){
- this.id = id;
- this.obj = document.all(id);
- this.ref = this.obj.attribute("ref");
-
- //null check
- var value = this.obj.value;
- if(value.length == 0){
- messageBox(type+"기간을", "C001");
- model.setFocus(this.id);
- return false;
- }
-
- return this;
- }
-
- function chkBeforeAfter(id1, id2, type){
- var value1 = model.getValue(eval(id1).attribute("ref"));
- var value2 = model.getValue(eval(id2).attribute("ref"));
- if(value1 > value2) {
- messageBox("시작 "+type+"기간보다 "+type+" 적게 입력", "E001");
- model.setFocus(id2);
- return false;
- }
- }
- /* @group : 기능검사실 통계(처방의)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 주치의정보(진료의사) 조회를 위한 Function
- */
- //2009-06-23 진료과별 처방의 조회
- function fChngSrchDrId() {
-
- if ( model.getValue("/root/send/orddeptcd") == "" ){
- model.removeNodeset("/root/init/cmb_orddr/initexecorddr");
- model.setValue("/root/send/orddrid", "");
- model.refresh();
- return;
- }
- //alert(cmb_wardcd.value);
- //alert(model.getValue("/root/send/data/singdata/deptcd"));
- model.resetInstanceNode("/root/init/cmb_orddr/initexecorddr");
- model.setValue("/root/send/deptcd", model.getValue("/root/send/orddeptcd"));
- submit("TRAER00804");
- }
- /* @group : 통합 통계
- * @ver :
- * @by :
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 증감율을 구하는 함수
- */
- function setCompareRate(total, comparecnt) {
-
- var comparerate = 0;
-
- if (parseInt(comparecnt) > 0) {
- comparerate = ( ( parseInt(total) - parseInt(comparecnt) ) / parseInt(comparecnt) ) * 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" style="left:0px; top:0px; width:1195px; height:744px; ">
- <caption id="caption1" class="tit_2" style="left:130px; top:80px; width:200px; height:13px; ">기능검사실 통계(기본)</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:95px; x2:1195px; y2:95px; "/>
- <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:60px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">조회기간 :</caption>
- <line id="line13" class="line_4" style="x1:1110px; y1:7px; x2:1110px; y2:52px; "/>
- <button id="btn_sea" class="btn1_letter2" navindex="4" style="left:1120px; top:20px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //조회기간 체크
- if(chkDate("ipt_fromdd", "조회") && chkDate("ipt_todd", "조회")) {
- chkBeforeAfter("ipt_fromdd", "ipt_todd", "조회");
- }
- //비교기간체크
- if(chkDate("ipt_compfrom", "비교") && chkDate("ipt_compto", "비교")) {
- chkBeforeAfter("ipt_compfrom", "ipt_compto", "비교");
- }
- //"/root/send/srchtab" R:검사실,C:검사코드
- model.setValue("/root/send/srchtab","");
- if(submit("TRAES00201")){
- grd_list.subtotal("sum", -1, 2, "#,###", "background-color:#99ff99", 1, "합계");
- for(i=3; i<grd_list.cols-2; i++) {
- grd_list.subtotal("sum", -1, i, "(-)#,###");
- }
- var rsrv = grd_list.valueMatrix(grd_list.rows-1, grd_list.colRef("totrsrvcnt"));
- var nopay = grd_list.valueMatrix(grd_list.rows-1, grd_list.colRef("totnopaycnt"));
- var nopayrate = ( parseInt(nopay) / parseInt(rsrv) ) *100;
-
- if(nopayrate != null) {
- grd_list.valueMatrix(grd_list.rows-1, 10) = nopayrate.toString().getRound(-1,"DOWN");
- grd_list.cellformat(grd_list.rows-1, 10) = "(-)#,### %";
- }
-
- var sumprcp = grd_list.valueMatrix(grd_list.rows-1, grd_list.colRef("totexeccnt"));
- var sumcnt = grd_list.valueMatrix(grd_list.rows-1, grd_list.colRef("sumcnt"));
-
- //alert("TRAES00201 totexeccnt==>"+sumprcp);alert("TRAES00201 sumcnt==>"+sumcnt);
-
- var comparerate = ( ( parseInt(sumprcp) - parseInt(sumcnt) ) / parseInt(sumcnt) ) * 100;
-
- //alert("TRAES00201 comparerate==>"+comparerate);
-
- if(comparerate != null && !isNaN(comparerate)) {
- grd_list.valueMatrix(grd_list.rows-1, 11) = comparerate.toString().getRound(-1,"DOWN");
- grd_list.cellformat(grd_list.rows-1, 11) = "(-)#,### %";
- }
- }
-
-
- //"/root/send/srchtab" R:검사실,C:검사코드
- model.setValue("/root/send/srchtab","R");
- if(submit("TRAES00202")){
-
- colpos = grd_list1.colRef("excucdnm");
-
- for(i=3; i<grd_list1.cols; i++) {
- grd_list1.subtotal("sum", 2, i, "#,###", "background-color:#FFFFCC; color:#0000ff; font-weight:bold; ", colpos, "소계");
- grd_list1.subtotal("sum", -1, i, "#,###", "background-color:#CCFFCC; color:#0000ff; font-weight:bold; ", 1, "총계");
- }
- grd_list1.mergeByFree(grd_list1.rows-1, 1 , grd_list1.rows-1, 3);
-
- rowCnt = grd_list1.rows;
-
- // 증감율 구하기
- var colnm = "";
- var subtotal = 0;
- var subcomparecnt = 0;
- var subcomparerate = "";
-
- var rsrv1 = 0;
- var nopay1 = 0;
- var sumprcp1 = 0;
- var sumcnt1 = 0;
-
- for (i=0; i<rowCnt; i++) {
- colnm = grd_list1.valueMatrix(i, colpos);
-
- if (colnm == "소계" ) {
-
- var rsrv = grd_list1.valueMatrix(i, grd_list1.colRef("totrsrvcnt"));
- var nopay = grd_list1.valueMatrix(i, grd_list1.colRef("totnopaycnt"));
- var nopayrate = ( parseInt(nopay) / parseInt(rsrv) ) *100;
-
- //alert("nopayrate["+i+"]==>"+nopayrate);
-
- if(nopayrate != null && !isNaN(nopayrate)) {
- grd_list1.valueMatrix(i, grd_list1.colRef("rsrvnopayrate")) = nopayrate.toString().getRound(-1,"DOWN");
- grd_list1.cellformat(i, grd_list1.colRef("rsrvnopayrate")) = "(-)#,### %";
- }else {
- grd_list1.valueMatrix(i, grd_list1.colRef("rsrvnopayrate")) = 0;
- grd_list1.cellformat(i, grd_list1.colRef("rsrvnopayrate")) = "(-)#,### %";
- }
-
-
- var sumprcp = grd_list1.valueMatrix(i, grd_list1.colRef("totexeccnt"));
- var sumcnt = grd_list1.valueMatrix(i, grd_list1.colRef("sumcnt"));
- var comparerate = ( ( parseInt(sumprcp) - parseInt(sumcnt) ) / parseInt(sumcnt) ) * 100;
- //alert(comparerate);
- if(comparerate != null && !isNaN(comparerate) ) {
- grd_list1.valueMatrix(i, grd_list1.colRef("comparerate")) = comparerate.toString().getRound(-1,"DOWN");
- grd_list1.cellformat(i, grd_list1.colRef("comparerate")) = "(-)#,### %";
- }else {
- grd_list1.valueMatrix(i, grd_list1.colRef("comparerate")) = 0;
- grd_list1.cellformat(i, grd_list1.colRef("comparerate")) = "(-)#,### %";
- }
- }
- }
- var rsrv = grd_list1.valueMatrix(grd_list1.rows-1, grd_list1.colRef("totrsrvcnt"));
- var nopay = grd_list1.valueMatrix(grd_list1.rows-1, grd_list1.colRef("totnopaycnt"));
- var nopayrate = ( parseInt(nopay) / parseInt(rsrv) ) *100;
- grd_list1.valueMatrix(grd_list1.rows-1, grd_list1.colRef("rsrvnopayrate")) = nopayrate.toString().getRound(-1,"DOWN");
- grd_list1.cellformat(grd_list1.rows-1, grd_list1.colRef("rsrvnopayrate")) = "(-)#,### %";
- /*
- var sumprcp = grd_list1.valueMatrix(grd_list1.rows-1, grd_list1.colRef("totexeccnt"));
- var sumcnt = grd_list1.valueMatrix(grd_list1.rows-1, grd_list1.colRef("sumcnt"));
- alert("TRAES00202 totexeccnt==>"+sumprcp);alert("TRAES00202 sumcnt==>"+sumcnt);
- var comparerate = ( ( parseInt(sumprcp) - parseInt(sumcnt) ) / parseInt(sumcnt) ) * 100;
- alert("TRAES00202 comparerate==>"+comparerate);
- grd_list1.valueMatrix(grd_list1.rows-1, grd_list1.colRef("comparerate")) = comparerate.toString().getRound(-1,"DOWN");
- grd_list1.cellformat(grd_list1.rows-1, grd_list1.colRef("comparerate")) = "(-)#,### %";
- */
- grd_list1.valueMatrix(grd_list1.rows-1, grd_list1.colRef("comparerate")) = 0;
- grd_list1.cellformat(grd_list1.rows-1, grd_list1.colRef("comparerate")) = "(-)#,### %";
-
- /*
- //총계 증감율 합계
- var total = 0;
- var comparecnt = 0;
- var comparerate = "";
- //총계 증감율 합계
- total = grd_list1.valueMatrix(grd_list1.rows-1, grd_list1.colRef("totnopaycnt"));
- comparecnt = grd_list1.valueMatrix(grd_list1.rows-1, grd_list1.colRef("totrsrvcnt"));
-
- grd_list1.valueMatrix(grd_list1.rows-1, grd_list1.colRef("rsrvnopayrate")) = setCompareRate(total, comparecnt) ;
- grd_list1.cellformat(grd_list1.rows-1, grd_list1.colRef("rsrvnopayrate")) = "(-)#,### %";
-
- //총계 증감율 합계
- total = grd_list1.valueMatrix(grd_list1.rows-1, grd_list1.colRef("sumcnt"));
- comparecnt = grd_list1.valueMatrix(grd_list1.rows-1, grd_list1.colRef("totexeccnt"));
-
- grd_list1.valueMatrix(grd_list1.rows-1, grd_list1.colRef("comparerate")) = setCompareRate(total, comparecnt) ;
- grd_list1.cellformat(grd_list1.rows-1, grd_list1.colRef("comparerate")) = "(-)#,### %";
-
- model.refresh();
-
- grd_list1.subtotal("sum", -1, 2, "#,###", "background-color:#99ff99", 3, "합계");
- for(i=4; i<grd_list.cols-2; i++) {
- grd_list1.subtotal("sum", -1, i, "(-)#,###");
- }
- var rsrv = grd_list1.valueMatrix(grd_list1.rows-1, grd_list1.colRef("totrsrvcnt"));
- var nopay = grd_list1.valueMatrix(grd_list1.rows-1, grd_list1.colRef("totnopaycnt"));
- var nopayrate = ( parseInt(nopay) / parseInt(rsrv) ) *100;
-
- if(nopayrate != null) {
- grd_list1.valueMatrix(grd_list1.rows-1, 11) = nopayrate;
- }
-
- var sumprcp = grd_list1.valueMatrix(grd_list1.rows-1, grd_list1.colRef("totexeccnt"));
- var sumcnt = grd_list1.valueMatrix(grd_list1.rows-1, grd_list1.colRef("sumcnt"));
-
- var comparerate = ( ( parseInt(sumprcp) - parseInt(sumcnt) ) / parseInt(sumcnt) ) * 100;
-
- if(comparerate != null && !isNaN(comparerate)) {
- grd_list1.valueMatrix(grd_list1.rows-1, 12) = comparerate;
- }
- */
- }
- ]]>
- </script>
- </button>
- <input id="ipt_todd" ref="/root/send/exectodd" class="input_default" navindex="2" inputtype="date" style="left:227px; top:9px; width:100px; height:19px; "/>
- <caption id="caption5" class="search_no_b" style="left:212px; top:10px; width:12px; height:17px; ">~</caption>
- <input id="ipt_fromdd" ref="/root/send/execfromdd" class="input_default" navindex="1" inputtype="date" style="left:109px; top:9px; width:100px; height:19px; "/>
- <caption id="caption3" class="search_name" style="left:15px; top:33px; width:86px; height:17px; ">비교기간 :</caption>
- <input id="ipt_compto" ref="/root/send/comparetodd" class="input_default" navindex="2" inputtype="date" style="left:227px; top:33px; width:100px; height:19px; "/>
- <caption id="caption4" class="search_no_b" style="left:212px; top:33px; width:12px; height:17px; ">~</caption>
- <input id="ipt_compfrom" ref="/root/send/comparefromdd" class="input_default" navindex="1" inputtype="date" style="left:109px; top:33px; width:100px; height:19px; "/>
- <caption id="caption7" class="search_name" style="left:365px; top:10px; width:75px; height:17px; ">처방과 :</caption>
- <caption id="caption8" class="search_name" style="left:595px; top:10px; width:75px; height:17px; ">처방의 :</caption>
- <caption id="caption9" class="search_name" visibility="hidden" style="left:365px; top:33px; width:75px; height:17px; ">시행과 :</caption>
- <caption id="caption10" class="search_name" visibility="hidden" style="left:595px; top:33px; width:75px; height:17px; ">시행의 :</caption>
- <select1 id="cmb_orddept" ref="/root/send/orddeptcd" appearance="minimal" itemcount="10" style="left:445px; top:9px; width:115px; 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[
- //2009-06-23 진료과별 처방의 조회
- // cmb_orddr.choices.itemset.attribute("nodeset") = "/root/init/orddrid[dp = '"+ cmb_orddept.value +"']";
- // model.refresh();
- fChngSrchDrId();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_execdept" ref="/root/send/execdeptcd" visibility="hidden" appearance="minimal" itemcount="10" style="left:445px; top:33px; width:115px; 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[
- cmb_execdr.choices.itemset.attribute("nodeset") = "/root/init/orddrid[dp = '"+ cmb_execdept.value +"']";
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_orddr" ref="/root/send/orddrid" appearance="minimal" itemcount="10" style="left:675px; top:9px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_orddr/initexecorddr">
- <label ref="execorddrcdnm"/>
- <value ref="execorddrcdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_execdr" ref="/root/send/execdrid" visibility="hidden" appearance="minimal" itemcount="10" style="left:675px; top:33px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddrid">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption11" class="search_name" visibility="hidden" style="left:830px; top:33px; width:75px; height:17px; ">실시자 :</caption>
- <select1 id="cmb_excuroom" ref="/root/send/excuroomcd" appearance="minimal" itemcount="10" style="left:910px; top:9px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexecroom">
- <label ref="excuroomcdnm"/>
- <value ref="excuroomcdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_execrid" ref="/root/send/execrid" visibility="hidden" appearance="minimal" itemcount="10" style="left:910px; top:33px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexecrid1">
- <label ref="execrid1cdnm"/>
- <value ref="execrid1cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption12" class="search_name" style="left:830px; top:10px; width:75px; height:17px; ">검사실 :</caption>
- </group>
- <button id="btn_excsave" class="btn2_letter4" style="left:1130px; top:75px; 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 != "") {
- grd_list.saveExcel(fileName);
- }
- ]]>
- </script>
- </button>
- <switch id="switch1" style="left:0px; top:99px; width:1195px; height:631px; ">
- <case id="case1" selected="true">
- <datagrid id="grd_list" nodeset="/root/main/list/item" autoresize="true" caption="검사명^입원^외래^예약건수^시행건수^시행건수^시행건수^부도건수^caption2^예약부도율^비교기간대비
중감율|검사명^입원^외래^예약건수^예약^당일^합계^부도건수^caption2^예약부도율^비교기간대비
중감율" colsep="^" colwidth="296, 85, 85, 100, 100, 100, 100, 86, 21, 77, 100" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" subtotalposition="below" tooltip="true" style="left:0px; top:0px; width:1175px; height:620px; ">
- <col ref="prcpnm"/>
- <col ref="inprcpcnt" format="#,###" style="text-align:right; "/>
- <col ref="outprcpcnt" format="#,###" style="text-align:right; "/>
- <col ref="totrsrvcnt" format="#,###" style="text-align:right; "/>
- <col ref="rsrvcnt" format="#,###" style="text-align:right; "/>
- <col ref="prcpexeccnt" format="#,###" style="text-align:right; "/>
- <col ref="totexeccnt" format="#,###" style="text-align:right; "/>
- <col ref="totnopaycnt" format="#,###" style="text-align:right; "/>
- <col ref="sumcnt" visibility="hidden"/>
- <col ref="rsrvnopayrate" format="(-)#,###.#%" style="text-align:right; "/>
- <col ref="comparerate" format="(-)#,###.#%" style="text-align:right; "/>
- </datagrid>
- </case>
- <case id="case2">
- <datagrid id="grd_list1" nodeset="/root/main/list1/item" autoresize="true" backcoloralternate="transparent" caption="검사실그룹^검사실^검사명^입원^외래^예약건수^시행건수^시행건수^시행건수^부도건수^caption2^예약부도율^비교기간|검사실그룹^검사실^검사명^입원^외래^예약건수^예약^당일^합계^부도건수^caption2^예약부도율^대비증감율" colsep="^" colwidth="80, 85, 239, 70, 70, 90, 80, 80, 100, 86, 21, 77, 77" ellipsis="true" extendlastcol="scroll" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" subtotalposition="below" tooltip="true" style="left:0px; top:0px; width:1175px; height:620px; ">
- <col ref="basecdcnts" style="text-align:center; "/>
- <col ref="excuroomcdnm" style="text-align:center; "/>
- <col ref="excucdnm" style="text-align:left; "/>
- <col ref="inprcpcnt" format="#,###" style="text-align:right; "/>
- <col ref="outprcpcnt" format="#,###" style="text-align:right; "/>
- <col ref="totrsrvcnt" format="#,###" style="text-align:right; "/>
- <col ref="rsrvcnt" format="#,###" style="text-align:right; "/>
- <col ref="prcpexeccnt" format="#,###" style="text-align:right; "/>
- <col ref="totexeccnt" format="#,###" style="text-align:right; "/>
- <col ref="totnopaycnt" format="#,###" style="text-align:right; "/>
- <col ref="sumcnt" visibility="hidden"/>
- <col ref="rsrvnopayrate" format="(-)#,###.#%" style="text-align:right; "/>
- <col ref="comparerate" format="(-)#,###.#%" style="text-align:right; "/>
- </datagrid>
- </case>
- </switch>
- <button id="btn_case1" class="btn_sw" group="tab2" selected="true" style="left:0px; top:73px; 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");
-
- // 검사별실적 통계 조회
- // getimgSytsStatsCaseList();
- ]]>
- </script>
- </button>
- <button id="btn_case2" class="btn_sw" group="tab2" style="left:60px; top:73px; 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("case2");
-
- // 검사별실적 통계 조회
- // getimgSytsStatsCaseList();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|