123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMAES01200" position="absolute 0 0 1197 757" titletext="재활의학팀평균부도건수" onload="SMAES01200_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 13 1195 757" id="grp_biz" scrollbars="autoboth" anchor="all">
- <Layouts>
- <Layout>
- <Static text="재활의학팀평균부도건수" position="absolute 0 80 200 97" id="caption1" class="tit_2" anchor="default"/>
- <Button position="absolute 1130 45 1194 64" id="btn_excsave" class="btn2" visible="false" text="엑셀저장" anchor="default"/>
- <Div position="absolute 0 12 1195 72" align="align:center top;" id="grp_sea" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout>
- <Static text="조회기간 :" position="absolute 15 9 101 26" id="caption2" class="search_name" anchor="default"/>
- <Shape position="absolute 1107 7 1113 52" linetype="vertical" id="line13" class="line_4" anchor="top right"/>
- <Button position="absolute 1126 20 1182 42" id="btn_sea" class="btn1" taborder="4" text="조회" anchor="top right" onclick="grp_biz_grp_sea_btn_sea_onclick"/>
- <Calendar position="absolute 227 9 327 28" align="align:center middle;" id="ipt_todd" class="input_default" taborder="2" anchor="default" dateformat="yyyy-MM-dd" onchanged="grp_biz_grp_sea_ipt_todd_onchanged"/>
- <Static text="~" position="absolute 212 10 224 27" id="caption5" class="search_noutb" anchor="default"/>
- <Calendar position="absolute 109 9 209 28" align="align:center middle;" id="ipt_fromdd" class="input_default" taborder="1" anchor="default" dateformat="yyyy-MM-dd" value="null" onchanged="grp_biz_grp_sea_ipt_fromdd_onchanged"/>
- <Static text="비교기간 :" position="absolute 15 33 101 50" id="caption3" class="search_name" anchor="default"/>
- <Calendar position="absolute 227 33 327 52" align="align:center middle;" id="input1" class="input_default" taborder="2" anchor="default" dateformat="yyyy-MM-dd" onchanged="grp_biz_grp_sea_input1_onchanged"/>
- <Static text="~" position="absolute 212 33 224 50" id="caption4" class="search_noutb" anchor="default"/>
- <Calendar position="absolute 109 33 209 52" align="align:center middle;" id="input2" class="input_default" taborder="1" anchor="default" dateformat="yyyy-MM-dd" onchanged="grp_biz_grp_sea_input2_onchanged"/>
- <Static text="처방과 :" position="absolute 380 10 466 27" id="caption7" class="search_name" anchor="default"/>
- <Static text="치 료 실 :" position="absolute 620 10 706 27" id="caption8" class="search_name" anchor="default"/>
- <Static text="처방코드 :" position="absolute 620 33 706 50" id="caption10" class="search_name" visible="false" anchor="default"/>
- <Combo position="absolute 460 9 575 28" id="cmb_orddept" innerdataset="@ds_inti_orddeptcd" datacolumn="nm" codecolumn="cd" anchor="default"/>
- <Combo position="absolute 710 9 825 28" id="cmb_curerm" innerdataset="@ds_inti_curerm" datacolumn="nm" codecolumn="cd" anchor="default"/>
- <Combo position="absolute 710 33 1000 52" id="cmb_execdr" visible="false" innerdataset="@ds_inti_prcpcd" datacolumn="nm" codecolumn="cd" anchor="default"/>
- <Combo position="absolute 460 33 575 52" id="cmb_execdrid" innerdataset="@ds_inti_execdrid" datacolumn="nm" codecolumn="cd" anchor="default"/>
- <Static text="치료사 :" position="absolute 380 33 458 50" id="caption9" class="search_name" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Shape position="absolute 0 97 1195 103" id="line1" class="line_10" anchor="left top right"/>
- <Grid position="absolute 0 102 1195 742" id="grd_list" binddataset="ds_main_list_item" anchor="all" selecttype="multirow">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="140"/>
- <Column size="57"/>
- <Column size="57"/>
- <Column size="57"/>
- <Column size="57"/>
- <Column size="57"/>
- <Column size="57"/>
- <Column size="57"/>
- <Column size="57"/>
- <Column size="57"/>
- <Column size="65"/>
- <Column size="65"/>
- <Column size="65"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="57"/>
- <Column size="57"/>
- <Column size="57"/>
- <Column size="57"/>
- <Column size="57"/>
- <Column size="57"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- <Row size="24" band="summ"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" text="치료실" taborder="undefined"/>
- <Cell col="1" colspan="3" text="예약건수(당일포함)" taborder="undefined"/>
- <Cell col="4" colspan="3" text="치료건수" taborder="undefined"/>
- <Cell col="7" colspan="3" text="부도건수" taborder="undefined"/>
- <Cell col="10" colspan="3" text="합계" taborder="undefined"/>
- <Cell col="13" text="입원비교기간건수"/>
- <Cell col="14" text="외래비교기간건수"/>
- <Cell col="15" text="전체비교기간건수"/>
- <Cell col="16" colspan="3" text="부도율" taborder="undefined"/>
- <Cell col="19" colspan="3" text="증감율" taborder="undefined"/>
- <Cell row="1" col="1" text="입원"/>
- <Cell row="1" col="2" text="외래"/>
- <Cell row="1" col="3" text="전체"/>
- <Cell row="1" col="4" text="입원"/>
- <Cell row="1" col="5" text="외래"/>
- <Cell row="1" col="6" text="전체"/>
- <Cell row="1" col="7" text="입원"/>
- <Cell row="1" col="8" text="외래"/>
- <Cell row="1" col="9" text="전체"/>
- <Cell row="1" col="10" text="입원"/>
- <Cell row="1" col="11" text="외래"/>
- <Cell row="1" col="12" text="전체"/>
- <Cell row="1" col="13" text="입원비교기간건수"/>
- <Cell row="1" col="14" text="외래비교기간건수"/>
- <Cell row="1" col="15" text="전체비교기간건수"/>
- <Cell row="1" col="16" text="입원"/>
- <Cell row="1" col="17" text="외래"/>
- <Cell row="1" col="18" text="전체"/>
- <Cell row="1" col="19" text="입원"/>
- <Cell row="1" col="20" text="외래"/>
- <Cell row="1" col="21" text="전체"/>
- </Band>
- <Band id="body">
- <Cell displaytype="text" text="bind:curerm"/>
- <Cell col="1" displaytype="number" text="bind:inrsrvcnt"/>
- <Cell col="2" displaytype="number" text="bind:outrsrvcnt"/>
- <Cell col="3" displaytype="number" text="bind:sumrsrv"/>
- <Cell col="4" displaytype="number" text="bind:intestexeccnt"/>
- <Cell col="5" displaytype="number" text="bind:outtestexeccnt"/>
- <Cell col="6" displaytype="number" text="bind:sumprcp"/>
- <Cell col="7" displaytype="number" text="bind:innopaycnt"/>
- <Cell col="8" displaytype="number" text="bind:outnopaycnt"/>
- <Cell col="9" displaytype="number" text="bind:sumnopay"/>
- <Cell col="10" displaytype="number" text="bind:inmonthsum"/>
- <Cell col="11" displaytype="number" text="bind:outmonthsum"/>
- <Cell col="12" displaytype="number" text="bind:monthsum"/>
- <Cell col="13" displaytype="number" text="bind:insumcnt"/>
- <Cell col="14" displaytype="number" text="bind:outsumcnt"/>
- <Cell col="15" displaytype="number" text="bind:sumcnt"/>
- <Cell col="16" displaytype="normal" style="align:right middle;" text="bind:inpaycnt"/>
- <Cell col="17" displaytype="normal" style="align:right middle;" text="bind:outpaycnt"/>
- <Cell col="18" displaytype="normal" style="align:right middle;" text="bind:paycnt"/>
- <Cell col="19" displaytype="normal" style="align:right middle;" text="bind:incomparerate"/>
- <Cell col="20" displaytype="normal" style="align:right middle;" text="bind:outcomparerate"/>
- <Cell col="21" displaytype="normal" style="align:right middle;" text="bind:comparerate"/>
- </Band>
- <Band id="summary">
- <Cell text="합계"/>
- <Cell col="1" displaytype="number" style="align:right middle;" text="expr:lf_setSum('inrsrvcnt')"/>
- <Cell col="2" displaytype="number" style="align:right middle;" text="expr:lf_setSum('outrsrvcnt')"/>
- <Cell col="3" displaytype="number" style="align:right middle;" text="expr:lf_setSum('sumrsrv')"/>
- <Cell col="4" displaytype="number" style="align:right middle;" text="expr:lf_setSum('intestexeccnt')"/>
- <Cell col="5" displaytype="number" style="align:right middle;" text="expr:lf_setSum('outtestexeccnt')"/>
- <Cell col="6" displaytype="number" style="align:right middle;" text="expr:lf_setSum('sumprcp')"/>
- <Cell col="7" displaytype="number" style="align:right middle;" text="expr:lf_setSum('innopaycnt')"/>
- <Cell col="8" displaytype="number" style="align:right middle;" text="expr:lf_setSum('outnopaycnt')"/>
- <Cell col="9" displaytype="number" style="align:right middle;" text="expr:lf_setSum('sumnopay')"/>
- <Cell col="10" displaytype="number" style="align:right middle;" text="expr:lf_setSum('inmonthsum')"/>
- <Cell col="11" displaytype="number" style="align:right middle;" text="expr:lf_setSum('outmonthsum')"/>
- <Cell col="12" displaytype="number" style="align:right middle;" text="expr:lf_setSum('monthsum')"/>
- <Cell col="13" displaytype="number" style="align:right middle;" text="expr:lf_setSum('insumcnt')"/>
- <Cell col="14" displaytype="number" style="align:right middle;" text="expr:lf_setSum('outsumcnt')"/>
- <Cell col="15" displaytype="number" style="align:right middle;" text="expr:lf_setSum('sumcnt')"/>
- <Cell col="16" displaytype="number" style="align:right middle;" text="expr:lf_setSum('inpaycnt')" mask="##0%"/>
- <Cell col="17" displaytype="number" style="align:right middle;" text="expr:lf_setSum('outpaycnt')" mask="##0%"/>
- <Cell col="18" displaytype="number" style="align:right middle;" text="expr:lf_setSum('paycnt')" mask="##0%"/>
- <Cell col="19" displaytype="number" style="align:right middle;" text="expr:lf_setSum('incomparerate')" mask="##0%"/>
- <Cell col="20" displaytype="number" style="align:right middle;" text="expr:lf_setSum('outcomparerate')" mask="##0%"/>
- <Cell col="21" displaytype="number" style="align:right middle;" text="expr:lf_setSum('comparerate')" mask="##0%"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 1115 75 1195 97" id="button1" class="btn7" text="엑셀저장" anchor="top right" onclick="grp_biz_button1_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption6" text="재활의학팀평균부도건수" class="tit_1" position="absolute 0 0 200 25"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_list_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="curerm" type="STRING" size="256"/>
- <Column id="inrsrvcnt" type="STRING" size="256"/>
- <Column id="outrsrvcnt" type="STRING" size="256"/>
- <Column id="sumrsrv" type="STRING" size="256"/>
- <Column id="intestexeccnt" type="STRING" size="256"/>
- <Column id="outtestexeccnt" type="STRING" size="256"/>
- <Column id="sumprcp" type="STRING" size="256"/>
- <Column id="innopaycnt" type="STRING" size="256"/>
- <Column id="outnopaycnt" type="STRING" size="256"/>
- <Column id="sumnopay" type="STRING" size="256"/>
- <Column id="inmonthsum" type="STRING" size="256"/>
- <Column id="outmonthsum" type="STRING" size="256"/>
- <Column id="monthsum" type="STRING" size="256"/>
- <Column id="inpaycnt" type="STRING" size="256"/>
- <Column id="outpaycnt" type="STRING" size="256"/>
- <Column id="paycnt" type="STRING" size="256"/>
- <Column id="incomparerate" type="STRING" size="256"/>
- <Column id="outcomparerate" type="STRING" size="256"/>
- <Column id="comparerate" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="curerm"/>
- <Col id="inrsrvcnt"/>
- <Col id="outrsrvcnt"/>
- <Col id="sumrsrv"/>
- <Col id="intestexeccnt"/>
- <Col id="outtestexeccnt"/>
- <Col id="sumprcp"/>
- <Col id="innopaycnt"/>
- <Col id="outnopaycnt"/>
- <Col id="sumnopay"/>
- <Col id="inmonthsum"/>
- <Col id="outmonthsum"/>
- <Col id="monthsum"/>
- <Col id="inpaycnt"/>
- <Col id="outpaycnt"/>
- <Col id="paycnt"/>
- <Col id="incomparerate"/>
- <Col id="outcomparerate"/>
- <Col id="comparerate"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchdate" type="STRING" size="256"/>
- <Column id="suppdeptcd" type="STRING" size="256"/>
- <Column id="execfromdd" type="STRING" size="256"/>
- <Column id="exectodd" type="STRING" size="256"/>
- <Column id="comparefromdd" type="STRING" size="256"/>
- <Column id="comparetodd" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="fstpatyn" type="STRING" size="256"/>
- <Column id="curerm" type="STRING" size="256"/>
- <Column id="curedr" type="STRING" size="256"/>
- <Column id="prcpcd" type="STRING" size="256"/>
- <Column id="execdrid" type="STRING" size="256"/>
- <Column id="srchflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchdate"/>
- <Col id="suppdeptcd"/>
- <Col id="execfromdd"/>
- <Col id="exectodd"/>
- <Col id="comparefromdd"/>
- <Col id="comparetodd"/>
- <Col id="orddeptcd"/>
- <Col id="fstpatyn"/>
- <Col id="curerm"/>
- <Col id="curedr"/>
- <Col id="prcpcd"/>
- <Col id="execdrid"/>
- <Col id="srchflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_inti_orddeptcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="nm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_inti_execdrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="nm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_inti_curerm" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="nm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_inti_prcpcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="nm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_biz.grp_sea.ipt_todd" propid="value" datasetid="ds_send" columnid="exectodd"/>
- <BindItem id="item1" compid="grp_biz.grp_sea.ipt_fromdd" propid="value" datasetid="ds_send" columnid="execfromdd"/>
- <BindItem id="item2" compid="grp_biz.grp_sea.input1" propid="value" datasetid="ds_send" columnid="comparetodd"/>
- <BindItem id="item3" compid="grp_biz.grp_sea.input2" propid="value" datasetid="ds_send" columnid="comparefromdd"/>
- <BindItem id="item4" compid="grp_biz.grp_sea.cmb_orddept" propid="value" datasetid="ds_send" columnid="orddeptcd"/>
- <BindItem id="item5" compid="grp_biz.grp_sea.cmb_curerm" propid="value" datasetid="ds_send" columnid="curerm"/>
- <BindItem id="item6" compid="grp_biz.grp_sea.cmb_execdr" propid="value" datasetid="ds_send" columnid="prcpcd"/>
- <BindItem id="item7" compid="grp_biz.grp_sea.cmb_execdrid" propid="value" datasetid="ds_send" columnid="execdrid"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2016-09-30
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-09-30 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "ast_examcurexp::AEZ0001.xjs";
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var arErrorCode = new HashArray();
- var gSuppdeptcd = "";
- var splitIndex = 0;
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument : N/A
- * Description :
- ****************************************************************************************/
- function lf_setSum(colNm){
- var totsum = 0 ;
- if(colNm == "inpaycnt") {
- var inrsrvcnt = ds_main_list_item.getSum("inrsrvcnt");
- var innopaycnt = ds_main_list_item.getSum("innopaycnt");
- totsum = (innopaycnt / inrsrvcnt* 100);
- totsum = totsum.toString().getRound(-1,"HALF_UP");
- } else if(colNm == "outpaycnt") {
- var outrsrvcnt = ds_main_list_item.getSum("outrsrvcnt");
- var outnopaycnt = ds_main_list_item.getSum("outnopaycnt");
- totsum = (outnopaycnt / outrsrvcnt * 100);
- totsum = totsum.toString().getRound(-1,"HALF_UP");
- } else if(colNm == "paycnt") {
- var sumrsrv = ds_main_list_item.getSum("sumrsrv");
- var sumnopay = ds_main_list_item.getSum("sumnopay");
- totsum = (sumnopay / sumrsrv * 100);
- totsum = totsum.toString().getRound(-1,"HALF_UP");
- } else if(colNm == "incomparerate") {
- var intestexeccnt = ds_main_list_item.getSum("intestexeccnt");
- var insumcnt = ds_main_list_item.getSum("insumcnt");
- totsum = ((intestexeccnt - insumcnt) / intestexeccnt * 100);
- totsum = totsum.toString().getRound(-1,"HALF_UP");
- } else if(colNm == "outcomparerate") {
- var outtestexeccnt = ds_main_list_item.getSum("outtestexeccnt");
- var outsumcnt = ds_main_list_item.getSum("outsumcnt");
- totsum = ((outtestexeccnt - outsumcnt) / outtestexeccnt * 100);
- totsum = totsum.toString().getRound(-1,"HALF_UP");
- } else if(colNm == "comparerate") {
- var sumprcp = ds_main_list_item.getSum("sumprcp");
- var sumcnt = ds_main_list_item.getSum("sumcnt");
- totsum = ((sumprcp - sumcnt) / sumprcp * 100);
- totsum = totsum.toString().getRound(-1,"HALF_UP");
- } else {
- totsum = ds_main_list_item.getSum(colNm);
- }
-
- return totsum;
- }
-
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SMAES01200_onload(obj:Form, e:LoadEventInfo)
- {
- frmf_initForm(obj); // 폼 초기화
- lf_aezfSetSuppDeptcd(); //AEZ0001.xjs
- gSuppdeptcd = frmf_getParameter("AST_DEPTCD");
-
- dsf_createDsRow("ds_req", [
- {col:"suppdeptcd", type:"STRING", size:256, val:gSuppdeptcd}
- , {col:"rbasecdflag", type:"STRING", size:256, val:"0"}
- ]);
- var oParam = {};
- oParam.id = "TRAES09000";
- oParam.service = "examcurestatsapp.RehbMediSc";
- oParam.method = "reqGetCode";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_inti_execdrid=execdrid ds_inti_curerm=curerm ds_inti_prcpcd=prcpcd ds_inti_orddeptcd=orddeptcd";
- oParam.async = false;
- oParam.callback = "cf_TRAES09000";
- tranf_submit(oParam);
-
- ds_send.setColumn( 0, "suppdeptcd", gSuppdeptcd);
- var fromdd = utlf_getCurrentDate().substr(0,4) + "0101"
- var todd = utlf_getLastDate(utlf_getCurrentDate());
- var comparefromdd = utlf_getCurrentDate().substr(0,6).toDate().getAddDate(0,"Y").getDateFormat("YYYY") + "0101";
- var comparetodd = comparefromdd.substr(0,4) + todd.substr(4,4);
- frmf_addComboItem("grp_biz.grp_sea.cmb_orddept","--전체--","","above");
- frmf_addComboItem("grp_biz.grp_sea.cmb_curerm","--전체--","","above");
- frmf_addComboItem("grp_biz.grp_sea.cmb_execdrid","--전체--","","above");
- // frmf_addComboItem("grp_biz.grp_sea.cmb_prcpcd","--전체--","","above");
-
- grp_biz.grp_sea.cmb_curerm.index = 0;
- grp_biz.grp_sea.cmb_execdrid.index = 0;
- grp_biz.grp_sea.cmb_orddept.index = 0;
- // grp_biz.grp_sea.cmb_prcpcd.index = 0;
-
- ds_main_list_item.clearData();
- ds_send.setColumn( 0, "srchflag","T");
- ds_send.setColumn( 0, "execfromdd", fromdd);
- ds_send.setColumn( 0, "exectodd", todd);
- ds_send.setColumn( 0, "comparefromdd",comparefromdd);
- ds_send.setColumn( 0, "comparetodd",comparetodd);
- }
- function cf_TRAES09000(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- ds_inti_execdrid.updateColID("basecd","cd");
- ds_inti_execdrid.updateColID("basecdflagdesc","nm");
- ds_inti_curerm.updateColID("basecd","cd");
- ds_inti_curerm.updateColID("basecdflagdesc","nm");
- ds_inti_prcpcd.updateColID("basecd","cd");
- ds_inti_prcpcd.updateColID("basecdflagdesc","nm");
- }
- function grp_biz_grp_sea_ipt_fromdd_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- var execfromdd = ds_send.getColumn(0, "execfromdd");
- var exectodd = ds_send.getColumn(0, "exectodd");
- if (execfromdd > exectodd) {
- sysf_messageBox("조회기간 시작일자가 조회기간 종료일자 이후 일자입니다.", "I");
- ds_send.setColumn( 0, "execfromdd",exectodd);
- // execfromdd = exectodd;
- }
- }
- function grp_biz_grp_sea_ipt_todd_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- var exectodd = ds_send.getColumn(0, "exectodd");
- var execfromdd = ds_send.getColumn(0, "execfromdd");
- if (execfromdd > exectodd) {
- sysf_messageBox("조회기간 종료일자가 조회기간 시작일자 이전 일자입니다.", "I");
- ds_send.setColumn( 0, "exectodd",execfromdd);
- // exectodd = execfromdd;
- }
- }
- function grp_biz_grp_sea_input2_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- var comparefromdd = ds_send.getColumn(0, "comparefromdd");
- var comparetodd = ds_send.getColumn(0, "comparetodd");
- if (comparefromdd > comparetodd) {
- sysf_messageBox("비교조회기간 시작일자가 비교조회기간 종료일자 이후 일자입니다.", "I");
- ds_send.setColumn( 0, "comparefromdd",comparetodd);
- // comparefromdd = comparetodd;
- }
- }
- function grp_biz_grp_sea_input1_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- var comparefromdd = ds_send.getColumn(0, "comparefromdd");
- var comparetodd = ds_send.getColumn(0, "comparetodd");
- if (comparefromdd > comparetodd) {
- sysf_messageBox("비교조회기간 종료일자가 비교조회기간 시작일자 이전 일자입니다.", "I");
- ds_send.setColumn( 0, "comparetodd",comparefromdd);
- // comparetodd = comparefromdd;
- }
- }
- function grp_biz_grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_main_list_item.clearData();
- dsf_setFixVal(ds_send, "systflag:C");
- var oParam = {};
- oParam.id = "TRAES01201";
- oParam.service = "examcurestatsapp.RehbMediSc";
- oParam.method = "reqGetRehbAvgCnt";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_list_item=item";
- oParam.async = true;
- //oParam.callback = "cf_TRAES01201";
- tranf_submit(oParam);
- }
- function grp_biz_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- if( ds_main_list_item.rowcount > 0 ){
- grdf_exportExcel(grp_biz.grd_list, "SheetName", "SheetName", false, "", "user", false);
- } else {
- sysf_messageBox("조회된 데이터가 ", "I004");
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|