123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMAES01700" position="absolute 0 0 1198 776" titletext="기간별통계" oninit="SMAES01700_oninit" onload="SMAES01700_onload">
- <Layouts>
- <Layout>
- <Static id="caption1" text="기간별통계" class="tit_2" position="absolute 0 81 86 98"/>
- <Shape id="line1" linetype="horizontal" class="line_1" position="absolute 0 97 1195 103" anchor="left top right"/>
- <Button id="btn_excsave" taborder="1" text="엑셀저장" class="btn7" position="absolute 1115 74 1195 96" onclick="btn_excsave_onclick" anchor="top right"/>
- <Grid id="grd_list" taborder="2" binddataset="ds_main_list" useinputpanel="false" position="absolute 0 102 1195 772" autofittype="col" cellsizingtype="col" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="142"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" taborder="undefined"/>
- <Cell col="1" rowspan="2" text="검사실" taborder="undefined"/>
- <Cell col="2" text="검사장비명"/>
- <Cell col="3" colspan="2" text="환자수" taborder="undefined"/>
- <Cell col="5" colspan="2" text="부위건수" taborder="undefined"/>
- <Cell col="7" colspan="2" text="검사건수" taborder="undefined"/>
- <Cell col="9" colspan="2" text="건진환자수" taborder="undefined"/>
- <Cell col="11" colspan="2" text="건진검사건수" taborder="undefined"/>
- <Cell col="13" rowspan="2" text="합계환자" taborder="undefined"/>
- <Cell col="14" rowspan="2" text="합계부위" taborder="undefined"/>
- <Cell col="15" rowspan="2" text="합계검사" taborder="undefined"/>
- <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="일반"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" style="align:left middle;" text="bind:excuroomnm"/>
- <Cell col="2" text="bind:excuroomcd"/>
- <Cell col="3" displaytype="number" text="bind:inpatcnt"/>
- <Cell col="4" displaytype="number" text="bind:outpatcnt"/>
- <Cell col="5" displaytype="number" text="bind:inprcpcnt"/>
- <Cell col="6" displaytype="number" text="bind:outprcpcnt"/>
- <Cell col="7" displaytype="number" text="bind:intestexeccnt"/>
- <Cell col="8" displaytype="number" text="bind:outtestexeccnt"/>
- <Cell col="9" displaytype="number" text="bind:colghealpatcnt"/>
- <Cell col="10" displaytype="number" text="bind:gnrlhealpatcnt"/>
- <Cell col="11" displaytype="number" text="bind:colghealexamcnt"/>
- <Cell col="12" displaytype="number" text="bind:gnrlhealexamcnt"/>
- <Cell col="13" displaytype="number" text="bind:totpatcnt"/>
- <Cell col="14" displaytype="number" text="bind:totprcpcnt"/>
- <Cell col="15" displaytype="number" text="bind:tottestexeccnt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div id="group1" taborder="3" class="div_SA" position="absolute 0 25 1195 65" anchor="left top right">
- <Layouts>
- <Layout>
- <Shape id="line2" linetype="vertical" class="line_4" position="absolute 1107 10 1113 30" anchor="top right"/>
- <Button id="button1" taborder="3" text="조회" class="btn1" position="absolute 1125 9 1181 31" anchor="top right" onclick="group1_button1_onclick"/>
- <Static id="caption2" text="조회기간 :" class="search_name" position="absolute 26 13 97 30" anchor="default"/>
- <Calendar id="ipt_todd" taborder="4" class="input_default" position="absolute 209 10 299 31" mask="yyyy-mm-dd" anchor="default"/>
- <Static id="caption5" text="~" class="search_no_b" position="absolute 195 13 207 30" anchor="default"/>
- <Calendar id="ipt_fromdd" taborder="5" class="input_default" position="absolute 101 10 191 31" mask="yyyy-mm-dd" anchor="default"/>
- <Static id="caption7" text="대분류 :" class="search_name" position="absolute 352 13 410 31" anchor="default"/>
- <Combo id="cmb_lrgcd" taborder="6" innerdataset="ds_init_cmb_lrgcd" codecolumn="cdid" datacolumn="cdnm" position="absolute 415 11 515 32" anchor="default"/>
- <Static id="caption3" text="분류 :" class="search_name" position="absolute 576 13 621 30" anchor="default"/>
- <Radio id="rdo_partflag" taborder="7" columncount="3" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 625 12 797 28" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn"/>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">R</Col>
- <Col id="datacolumn">영상</Col>
- </Row>
- <Row>
- <Col id="codecolumn">S</Col>
- <Col id="datacolumn">건진</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption6" text="기간별통계" class="tit_1" position="absolute 0 0 200 25"/>
- <Shape id="line00" class="line_1" position="absolute 0 98 1195 104" anchor="left top right"/>
- <Shape id="line02" class="line_1" position="absolute 0 96 1195 102" anchor="left top right"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="excuroomnm" type="STRING"/>
- <Column id="excuroomcd" type="STRING"/>
- <Column id="inpatcnt" type="STRING"/>
- <Column id="outpatcnt" type="STRING"/>
- <Column id="inprcpcnt" type="STRING"/>
- <Column id="outprcpcnt" type="STRING"/>
- <Column id="intestexeccnt" type="STRING"/>
- <Column id="outtestexeccnt" type="STRING"/>
- <Column id="colghealpatcnt" type="STRING"/>
- <Column id="gnrlhealpatcnt" type="STRING"/>
- <Column id="colghealexamcnt" type="STRING"/>
- <Column id="gnrlhealexamcnt" type="STRING"/>
- <Column id="totpatcnt" type="STRING"/>
- <Column id="totprcpcnt" type="STRING"/>
- <Column id="tottestexeccnt" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_lrgcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="execfromdd" type="STRING" size="256"/>
- <Column id="exectodd" type="STRING" size="256"/>
- <Column id="instance1" type="STRING" size="256"/>
- <Column id="suppdeptcd" type="STRING" size="256"/>
- <Column id="cdgrupid" type="STRING" size="256"/>
- <Column id="lrgcd" type="STRING" size="256"/>
- <Column id="mdlcd" type="STRING" size="256"/>
- <Column id="flag" type="STRING" size="256"/>
- <Column id="partflag" type="STRING" size="256"/>
- <Column id="basecdflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="execfromdd"/>
- <Col id="exectodd"/>
- <Col id="instance1"/>
- <Col id="suppdeptcd"/>
- <Col id="cdgrupid"/>
- <Col id="lrgcd"/>
- <Col id="mdlcd"/>
- <Col id="flag"/>
- <Col id="partflag"/>
- <Col id="basecdflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_globalinstance" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instance1" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group1.ipt_fromdd" propid="value" datasetid="ds_send" columnid="execfromdd"/>
- <BindItem id="item1" compid="group1.ipt_todd" propid="value" datasetid="ds_send" columnid="exectodd"/>
- <BindItem id="item2" compid="group1.cmb_lrgcd" propid="value" datasetid="ds_send" columnid="lrgcd"/>
- <BindItem id="item3" compid="group1.rdo_partflag" propid="value" datasetid="ds_send" columnid="partflag"/>
- </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";
- include "com_basiccodexp::ZBC001.xjs";
- include "ast_examcurexp::AEZ0001.xjs";
- var arErrorCode = new HashArray();
- /******************************************************************
- * Argument :
- * Description : 초기화
- ******************************************************************/
- function SMAES01700_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMAES01700_onload(obj:Form, e:LoadEventInfo)
- {
- lf_aezfSetSuppDeptcd();
- ds_send_globalinstance.setColumn(0, "instance1", frmf_getParameter("AST_DEPTCD"));
-
- var fromdd = utlf_getCurrentDate().substr(0,6) + "01";
- var todd = utlf_getCurrentDate();
-
- ds_send.setColumn(0, "suppdeptcd", ds_send_globalinstance.getColumn(0, "instance1"));
- ds_send.setColumn(0, "execfromdd", fromdd);
- ds_send.setColumn(0, "exectodd", todd);
- ds_send.setColumn(0, "flag", "E");
- ds_send.setColumn(0, "cdgrupid", "A0463");
- ds_send.setColumn(0, "basecdflag", "R");
-
- dsf_createDsRow("ds_temp_send",
- [{col:"basesuppdeptcd", type:"string", size:256, val:ds_send_globalinstance.getColumn(0, "instance1")}
- ,{col:"flag", type:"string", size:256, val:ds_send.getColumn(0, "basecdflag")}], true);
- var oParam = {};
- oParam.id = "TRAES01502";
- oParam.service = "examcurestatsapp.ImgMediSc";
- oParam.method = "reqGetBodyGrpPartComCdList";
- oParam.inds = "req=ds_temp_send";
- oParam.outds = "ds_init_cmb_lrgcd=item";
- oParam.async = false;
- //oParam.callback = "cf_TRAES01502";
- tranf_submit(oParam);
-
- dsf_addDsItem(ds_init_cmb_lrgcd, "cdid", "cdnm", "전체", "", "above");
- }
- /******************************************************************
- * Argument :
- * Description : 조회 button event
- ******************************************************************/
- function group1_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_openLoadingBar("검사장비별 현황을 조회 중입니다....");
-
- var oParam = {};
- oParam.id = "TRAES01701";
- oParam.service = "examcurestatsapp.ImgMediSc";
- oParam.method = "reqGetEqmtResultList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_list=item";
- oParam.async = false;
- //oParam.callback = "cf_TRAES01701";
- tranf_submit(oParam);
- frmf_closeLoadingBar() ;//처리중 화면을 close한다.
- }
- /******************************************************************
- * Argument :
- * Description : excel 저장
- ******************************************************************/
- function btn_excsave_onclick(obj:Button, e:ClickEventInfo)
- {
- if( ds_main_list.rowcount > 1 ){
- grdf_exportExcel(grd_list, "기간별통계", "기간별통계", false, "", "user", false);
- } else {
- sysf_messageBox("조회된 데이터가 ", "I004");
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|