123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427 |
- <?xml version="1.0" encoding="utf-8" standalone="no"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMPMI06500" position="absolute 0 0 1202 794" titletext="입원_퇴원_재원조회" onload="SMPMI06500_onload" oninit="SMPMI06500_oninit">
- <Layouts>
- <Layout>
- <Static id="caption6" text="퇴원예고율조회" class="tit_1" position="absolute 0 0 200 24"/>
- <Div id="group2" anchor="left top right" taborder="1" class="div_SA" position="absolute 0 24 1195 64">
- <Layouts>
- <Layout>
- <Button id="button1" taborder="3" text="조회" class="btn1" position="absolute 1123 9 1179 31" anchor="top right" onclick="group2_button1_onclick"/>
- <Shape id="line2" linetype="vertical" class="line_4" position="absolute 1108 8 1111 30" style="border: solid #ffe4bb #ffe4bb;" anchor="top right"/>
- <Static id="caption17" text="퇴원일자 :" class="search_name" position="absolute 10 12 96 29" anchor="default"/>
- <Static id="caption20" text="~" class="search_no_b" position="absolute 200 12 212 29" anchor="default"/>
- <Calendar id="ipt_infromdd" taborder="4" autoselect="true" autoskip="true" class="input_search" position="absolute 91 10 191 29" anchor="default"/>
- <Calendar id="ipt_intodd" taborder="5" autoselect="true" class="input_search" position="absolute 217 10 317 29" anchor="default"/>
- <Static id="caption8" text="입원당일퇴원 제외 :" class="search_name" position="absolute 360 11 505 28" anchor="default"/>
- <CheckBox id="checkbox1" taborder="6" position="absolute 496 9 516 27" truevalue="Y" onclick="group2_checkbox1_onclick" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption2" text="진료과별 퇴원예고율" class="tit_2" position="absolute 0 78 183 99"/>
- <Shape id="line1" class="line_10" position="absolute 0 92 430 103"/>
- <Button id="button3" taborder="2" text="엑셀저장" class="btn7" position="absolute 1114 75 1195 94" anchor="top right" onclick="button3_onclick"/>
- <Grid id="grd_ratedept" class="datagrid2" taborder="3" binddataset="ds_main_dschrate_dschratedeptlist_dschratedept" useinputpanel="false" position="absolute 0 99 430 759" autoenter="select" cellsizingtype="col" anchor="left top bottom" oncelldblclick="grd_ratedept_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="110"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="32" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="부서명"/>
- <Cell col="1" text="15시 예고수"/>
- <Cell col="2" text="20시 예고수"/>
- <Cell col="3" text="퇴원 환자수"/>
- <Cell col="4" text="15시 예고율"/>
- <Cell col="5" text="20시 예고율"/>
- <Cell col="6" text="caption4"/>
- </Band>
- <Band id="body">
- <Cell style="align:left middle;padding:2 2 2 2;background:EXPR(deptnm == '합계' ? '#99ccff' : '');background2:EXPR(deptnm == '합계' ? '#99ccff' : '');" text="bind:deptnm"/>
- <Cell col="1" style="background:EXPR(deptnm == '합계' ? '#99ccff' : '');background2:EXPR(deptnm == '합계' ? '#99ccff' : '');" text="bind:rate15cnt"/>
- <Cell col="2" style="background:EXPR(deptnm == '합계' ? '#99ccff' : '');background2:EXPR(deptnm == '합계' ? '#99ccff' : '');" text="bind:rate20cnt"/>
- <Cell col="3" style="background:EXPR(deptnm == '합계' ? '#99ccff' : '');background2:EXPR(deptnm == '합계' ? '#99ccff' : '');" text="bind:totcnt"/>
- <Cell col="4" style="background:EXPR(deptnm == '합계' ? '#99ccff' : '');background2:EXPR(deptnm == '합계' ? '#99ccff' : '');" text="bind:rate15"/>
- <Cell col="5" style="background:EXPR(deptnm == '합계' ? '#99ccff' : '');background2:EXPR(deptnm == '합계' ? '#99ccff' : '');" text="bind:rate20"/>
- <Cell col="6" text="bind:deptcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_rateward" class="datagrid2" taborder="4" binddataset="ds_main_dschrate_dschratewardlist_dschrateward" useinputpanel="false" position="absolute 435 99 865 759" autoenter="select" cellsizingtype="col" anchor="left top bottom" oncelldblclick="grd_rateward_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="110"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="32" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="부서명"/>
- <Cell col="1" text="15시 예고수"/>
- <Cell col="2" text="20시 예고수"/>
- <Cell col="3" text="퇴원 환자수"/>
- <Cell col="4" text="15시 예고율"/>
- <Cell col="5" text="20시 예고율"/>
- <Cell col="6" text="caption7"/>
- </Band>
- <Band id="body">
- <Cell style="align:left middle;padding:2 2 2 2;background:EXPR(deptnm == '합계' ? '#99ccff' : '');background2:EXPR(deptnm == '합계' ? '#99ccff' : '');" text="bind:deptnm"/>
- <Cell col="1" style="background:EXPR(deptnm == '합계' ? '#99ccff' : '');background2:EXPR(deptnm == '합계' ? '#99ccff' : '');" text="bind:rate15cnt"/>
- <Cell col="2" style="background:EXPR(deptnm == '합계' ? '#99ccff' : '');background2:EXPR(deptnm == '합계' ? '#99ccff' : '');" text="bind:rate20cnt"/>
- <Cell col="3" style="background:EXPR(deptnm == '합계' ? '#99ccff' : '');background2:EXPR(deptnm == '합계' ? '#99ccff' : '');" text="bind:totcnt"/>
- <Cell col="4" style="background:EXPR(deptnm == '합계' ? '#99ccff' : '');background2:EXPR(deptnm == '합계' ? '#99ccff' : '');" text="bind:rate15"/>
- <Cell col="5" style="background:EXPR(deptnm == '합계' ? '#99ccff' : '');background2:EXPR(deptnm == '합계' ? '#99ccff' : '');" text="bind:rate20"/>
- <Cell col="6" text="bind:deptcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_dschspec" class="datagrid2" taborder="5" binddataset="ds_main_dschspeclist_dschspec" useinputpanel="false" position="absolute 880 99 1195 759" autoenter="select" cellsizingtype="col" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24" band="left"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="120"/>
- <Column size="80"/>
- <Column size="100"/>
- <Column size="110"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="70"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="26" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="입원일자"/>
- <Cell col="2" text="퇴원일자"/>
- <Cell col="3" text="퇴원예고 등록일시"/>
- <Cell col="4" text="퇴원예고 등록자"/>
- <Cell col="5" text="진료과"/>
- <Cell col="6" text="병동"/>
- <Cell col="7" text="병실"/>
- <Cell col="8" text="등록번호"/>
- <Cell col="9" text="성명"/>
- <Cell col="10" text="caption1"/>
- <Cell col="11" text="caption2"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" displaytype="date" style="background:EXPR(rate15yn == 'Y' ? '#e5f3c2' : rate20yn == 'Y' ? '#ffe79d' : '');background2:EXPR(rate15yn == 'Y' ? '#e5f3c2' : rate20yn == 'Y' ? '#ffe79d' : '');" text="bind:indd" calendardisplaynulltype="nulltext"/>
- <Cell col="2" displaytype="date" style="background:EXPR(rate15yn == 'Y' ? '#e5f3c2' : rate20yn == 'Y' ? '#ffe79d' : '');background2:EXPR(rate15yn == 'Y' ? '#e5f3c2' : rate20yn == 'Y' ? '#ffe79d' : '');" text="bind:dschdd" calendardisplaynulltype="nulltext"/>
- <Cell col="3" displaytype="date" style="background:EXPR(rate15yn == 'Y' ? '#e5f3c2' : rate20yn == 'Y' ? '#ffe79d' : '');background2:EXPR(rate15yn == 'Y' ? '#e5f3c2' : rate20yn == 'Y' ? '#ffe79d' : '');" text="bind:dschdclrtrgstdt" mask="yyyy-MM-dd HH:mm:ss" calendardisplaynulltype="nulltext"/>
- <Cell col="4" style="background:EXPR(rate15yn == 'Y' ? '#e5f3c2' : rate20yn == 'Y' ? '#ffe79d' : '');background2:EXPR(rate15yn == 'Y' ? '#e5f3c2' : rate20yn == 'Y' ? '#ffe79d' : '');" text="bind:dschdclrtrgstnm"/>
- <Cell col="5" style="background:EXPR(rate15yn == 'Y' ? '#e5f3c2' : rate20yn == 'Y' ? '#ffe79d' : '');background2:EXPR(rate15yn == 'Y' ? '#e5f3c2' : rate20yn == 'Y' ? '#ffe79d' : '');" text="bind:orddeptnm"/>
- <Cell col="6" style="background:EXPR(rate15yn == 'Y' ? '#e5f3c2' : rate20yn == 'Y' ? '#ffe79d' : '');background2:EXPR(rate15yn == 'Y' ? '#e5f3c2' : rate20yn == 'Y' ? '#ffe79d' : '');" text="bind:wardnm"/>
- <Cell col="7" style="background:EXPR(rate15yn == 'Y' ? '#e5f3c2' : rate20yn == 'Y' ? '#ffe79d' : '');background2:EXPR(rate15yn == 'Y' ? '#e5f3c2' : rate20yn == 'Y' ? '#ffe79d' : '');" text="bind:roomcd"/>
- <Cell col="8" style="background:EXPR(rate15yn == 'Y' ? '#e5f3c2' : rate20yn == 'Y' ? '#ffe79d' : '');background2:EXPR(rate15yn == 'Y' ? '#e5f3c2' : rate20yn == 'Y' ? '#ffe79d' : '');" text="bind:pid"/>
- <Cell col="9" style="background:EXPR(rate15yn == 'Y' ? '#e5f3c2' : rate20yn == 'Y' ? '#ffe79d' : '');background2:EXPR(rate15yn == 'Y' ? '#e5f3c2' : rate20yn == 'Y' ? '#ffe79d' : '');" text="bind:hngnm"/>
- <Cell col="10" text="bind:rate15yn"/>
- <Cell col="11" text="bind:rate20yn"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line3" class="line_10" position="absolute 880 92 1195 103" anchor="left top right"/>
- <Static id="caption1" text="세부내역 :" class="tit_2" position="absolute 880 78 1001 100"/>
- <Button id="button4" taborder="6" text="엑셀저장" class="btn7" position="absolute 785 75 865 94" onclick="button4_onclick"/>
- <Button id="button5" taborder="7" text="엑셀저장" class="btn7" position="absolute 350 75 430 94" onclick="button5_onclick"/>
- <Static id="caption3" text="병동별 퇴원예고율" class="tit_2" position="absolute 435 78 618 99"/>
- <Shape id="line4" class="line_10" position="absolute 435 92 865 103"/>
- <Static id="caption4" text="15시이전" position="absolute 902 762 958 782" anchor="right bottom"/>
- <Shape id="rectangle2" type="rectangle" position="absolute 975 764 990 779" style="strokepen:1 solid black;fillbrush:solid #ffe79dff true;background:#ffe79dff;" anchor="right bottom"/>
- <Static id="caption5" text="20시이전" position="absolute 994 762 1050 782" anchor="right bottom"/>
- <Static id="caption7" text="-" position="absolute 964 75 1124 95" style="color:#0000ffff;font:Dotum,9,bold;"/>
- <Button id="button2" taborder="8" text="초기화" onclick="button2_onclick" class="btn4" position="absolute 1126 761 1194 783" anchor="right bottom"/>
- <Shape id="rectangle1" position="absolute 880 764 895 779" type="rectangle" style="strokepen:1 solid black;fillbrush:solid #e5f3c2ff true;background:#e5f3c2ff;" anchor="right bottom"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="srchflag" type="STRING" size="256"/>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="todaydschflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="srchflag"/>
- <Col id="deptcd"/>
- <Col id="todaydschflag">Y</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_dschrate_dschratedeptlist_dschratedept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptcd" type="STRING" size="256" sumtext="부서(진료과)코드"/>
- <Column id="deptnm" type="STRING" size="256" sumtext="부서(진료과)명칭"/>
- <Column id="rate15cnt" type="STRING" size="256" sumtext="15시이전환자수"/>
- <Column id="rate20cnt" type="STRING" size="256" sumtext="20시이전환자수"/>
- <Column id="totcnt" type="STRING" size="256" sumtext="총퇴원환자수"/>
- <Column id="rate15" type="STRING" size="256" sumtext="15시이전퇴원예고율"/>
- <Column id="rate20" type="STRING" size="256" sumtext="20시이전퇴원예고율"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_dschrate_dschratewardlist_dschrateward" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptcd" type="STRING" size="256" sumtext="부서(병동)코드"/>
- <Column id="deptnm" type="STRING" size="256" sumtext="부서(병동)명칭"/>
- <Column id="rate15cnt" type="STRING" size="256" sumtext="15시이전환자수"/>
- <Column id="rate20cnt" type="STRING" size="256" sumtext="20시이전환자수"/>
- <Column id="totcnt" type="STRING" size="256" sumtext="총퇴원환자수"/>
- <Column id="rate15" type="STRING" size="256" sumtext="15시이전퇴원예고율"/>
- <Column id="rate20" type="STRING" size="256" sumtext="20시이전퇴원예고율"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_dschspeclist_dschspec" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="성명"/>
- <Column id="dschdd" type="STRING" size="256" sumtext="퇴원일자"/>
- <Column id="dschtm" type="STRING" size="256" sumtext="퇴원시간"/>
- <Column id="dschdclrdt" type="STRING" size="256" sumtext="퇴원예고일"/>
- <Column id="dschdclrtrgstdt" type="STRING" size="256" sumtext="퇴원예고등록일"/>
- <Column id="dschdclrtrgstnm" type="STRING" size="256" sumtext="퇴원예고자"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
- <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과명"/>
- <Column id="medispclid" type="STRING" size="256" sumtext="전문의"/>
- <Column id="medispclnm" type="STRING" size="256" sumtext="전문의명"/>
- <Column id="wardcd" type="STRING" size="256" sumtext="병동"/>
- <Column id="wardnm" type="STRING" size="256" sumtext="병동"/>
- <Column id="roomcd" type="STRING" size="256" sumtext="병실"/>
- <Column id="bednm" type="STRING" size="256" sumtext="병상명"/>
- <Column id="rate15yn" type="STRING" size="256" sumtext="15이시전여부"/>
- <Column id="rate20yn" type="STRING" size="256" sumtext="20이시전여부"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group2.ipt_infromdd" propid="value" datasetid="ds_send" columnid="fromdd"/>
- <BindItem id="item1" compid="group2.ipt_intodd" propid="value" datasetid="ds_send" columnid="todd"/>
- <BindItem id="item2" compid="group2.checkbox1" propid="value" datasetid="ds_send" columnid="todaydschflag"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-13 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- function SMPMI06500_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMPMI06500_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_dschspec);
- grdf_initGrid(grd_ratedept);
- grdf_initGrid(grd_rateward);
-
- fInitialize();
- }
- /****************************************************************************************
- * Function : fInitialize
- * Description : 초기화
- ****************************************************************************************/
- function fInitialize()
- {
- ds_main_dschrate_dschratedeptlist_dschratedept.clearData();
- ds_main_dschrate_dschratewardlist_dschrateward.clearData();
- ds_main_dschspeclist_dschspec.clearData();
-
- ds_send.setColumn(0, "fromdd", utlf_getCurrentDate());
- ds_send.setColumn(0, "todd", utlf_getCurrentDate());
-
- caption7.text = "-";
-
- ds_send.setColumn(0, "todaydschflag", "Y");
- }
- /****************************************************************************************
- * Function : onclick
- * Description : 입원당일퇴원 제외 checkbox
- ****************************************************************************************/
- function group2_checkbox1_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if(obj.value == "Y"){}
- else
- {
- ds_send.setColumn(0, "todaydschflag", "");
- }
- }
- /****************************************************************************************
- * Function : onclick
- * Description : 조회 button
- ****************************************************************************************/
- function group2_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetDschRateList();
- }
- /****************************************************************************************
- * Function : fGetDschRateList
- * Description : 조회
- ****************************************************************************************/
- function fGetDschRateList()
- {
- var fromdd = ds_send.getColumn(0, "fromdd");
- var todd = ds_send.getColumn(0, "todd");
-
- if (utlf_isNull(fromdd) || utlf_isNull(todd))
- {
- sysf_messageBox("시작일자 및 종료일자는 반드시 입력하십시오.", "E");
- return;
- }
-
- var minusrslt = utlf_getDateInterval(fromdd,todd);
- if (minusrslt > 31)
- {
- sysf_messageBox("최대 31일까지 조회가능합니다.", "E");
- return;
- }
-
- var oParam = {};
- oParam.id = "TRPMI06501";
- oParam.service = "ipatmngtapp.IPatRef";
- oParam.method = "reqGetDschRateList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_dschrate_dschratedeptlist_dschratedept=dschratedept ds_main_dschrate_dschratewardlist_dschrateward=dschrateward";
- oParam.async = false;
- //oParam.callback = "cf_TRPMI06501";
- tranf_submit(oParam);
-
- // 1.0 합계 background 색상 동일하게 하기 위하여 그리드 내 expr로 값 지정함. 2019-04-12 이아영
- // grdf_setRowStyle(grd_ratedept, "1" , "합계" , "deptnm" , "equal" );
- // grdf_setRowStyle(grd_rateward, "1" , "합계" , "deptnm" , "equal" );
- }
- /****************************************************************************************
- * Function : oncelldblclick
- * Description : 그리드 더블 클릭 이벤트
- ****************************************************************************************/
- function grd_ratedept_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- var sRow = ds_main_dschrate_dschratedeptlist_dschratedept.rowposition;
- // 첫행과 마지막행 제외
- if (sRow >= 0 && sRow != ds_main_dschrate_dschratedeptlist_dschratedept.rowcount-1)
- {
- var deptcd = ds_main_dschrate_dschratedeptlist_dschratedept.getColumn(sRow, "deptcd");
- var deptnm = ds_main_dschrate_dschratedeptlist_dschratedept.getColumn(sRow, "deptnm");
-
- fGetDschSpecList("D", deptcd, deptnm);
- }
- }
- /****************************************************************************************
- * Function : fGetDschSpecList
- * Description :
- ****************************************************************************************/
- function fGetDschSpecList(srchflag, deptcd, deptnm)
- {
- caption7.text = deptnm;
-
- ds_send.setColumn(0, "srchflag", srchflag);
- ds_send.setColumn(0, "deptcd", deptcd);
-
- var oParam = {};
- oParam.id = "TRPMI06502";
- oParam.service = "ipatmngtapp.IPatRef";
- oParam.method = "reqGetDschSpecList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_dschspeclist_dschspec=dschspec";
- oParam.async = false;
- //oParam.callback = "cf_TRPMI06502";
- tranf_submit(oParam);
-
- // 1.0 background 색상 동일하게 하기 위하여 그리드 내 expr로 값 지정함. 2019-04-12 이아영
- // grdf_setRowStyle(grd_dschspec, "11", "Y" , "rate15yn" , "equal" ); //e5f3c2
- // grdf_setRowStyle(grd_dschspec, "1", "Y" , "rate20yn" , "equal" ); //ffe79d
- }
- /****************************************************************************************
- * Function : oncelldblclick
- * Description : 그리드 더블 클릭 이벤트
- ****************************************************************************************/
- function grd_rateward_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- var sRow = ds_main_dschrate_dschratewardlist_dschrateward.rowposition;
- // 첫행과 마지막행 제외
- if (sRow >= 0 && sRow != ds_main_dschrate_dschratewardlist_dschrateward.rowcount-1)
- {
- var deptcd = ds_main_dschrate_dschratewardlist_dschrateward.getColumn(sRow, "deptcd");
- var deptnm = ds_main_dschrate_dschratewardlist_dschrateward.getColumn(sRow, "deptnm");
-
- fGetDschSpecList("W", deptcd, deptnm);
- }
- }
- /****************************************************************************************
- * Function : onclick
- * Description : 초기화 button 이벤트
- ****************************************************************************************/
- function button2_onclick(obj:Button, e:ClickEventInfo)
- {
- fInitialize();
- }
- /****************************************************************************************
- * Function : onclick
- * Description : 진료과별 퇴원예고율 엑셀저장 button 이벤트
- ****************************************************************************************/
- function button5_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(grd_ratedept, "진료과별 퇴원예고율_" + utlf_getCurrentDate(), "SheetName", "true", "", "");
- }
- /****************************************************************************************
- * Function : onclick
- * Description : 병동별 퇴원예고율 엑셀저장 button 이벤트
- ****************************************************************************************/
- function button4_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(grd_rateward, "병동별 퇴원예고율_" + utlf_getCurrentDate(), "SheetName", "true", "", "");
- }
- /****************************************************************************************
- * Function : onclick
- * Description : 세부내역 엑셀저장 button 이벤트
- ****************************************************************************************/
- function button3_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(grd_dschspec, "퇴원환자 세부내역_" + utlf_getCurrentDate(), "SheetName", "true", "", "");
- }
- ]]></Script>
- </Form>
- </FDL>
|