123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMAES04100" position="absolute 0 0 1197 773" titletext="월별 통계" oninit="SMAES04100_oninit" onload="SMAES04100_onload">
- <Layouts>
- <Layout>
- <Static id="caption1" text="일별 통계" class="tit_2" position="absolute 0 78 82 94"/>
- <Button id="btn_excsave" taborder="1" text="엑셀저장" class="btn7" position="absolute 1116 69 1195 91" onclick="btn_excsave_onclick" anchor="top right"/>
- <Div id="grp_sea" taborder="2" class="div_SA" position="absolute 0 25 1194 65" anchor="left top right">
- <Layouts>
- <Layout>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1107 11 1113 31" anchor="top right"/>
- <Button id="btn_sea" taborder="1" text="조회" class="btn1" position="absolute 1125 10 1181 32" anchor="top right" onclick="grp_sea_btn_sea_onclick"/>
- <Static id="caption3" text="일자 :" class="search_name" position="absolute 25 12 70 29" anchor="default"/>
- <Static id="caption12" text="구분 :" class="search_name" position="absolute 590 12 635 29" anchor="default"/>
- <Radio id="radio1" taborder="3" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 639 12 784 29" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">E</Col>
- <Col id="datacolumn">촬영건수</Col>
- </Row>
- <Row>
- <Col id="codecolumn">B</Col>
- <Col id="datacolumn">부위건수</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Combo id="cmb_excuroomgrp" taborder="4" innerdataset="@ds_init_cmb_lrgcd" codecolumn="cdid" datacolumn="cdnm" position="absolute 287 9 402 30" anchor="default" onitemchanged="grp_sea_cmb_excuroomgrp_onitemchanged"/>
- <Static id="caption7" text="검사실 :" class="search_name" position="absolute 225 12 283 29" anchor="default"/>
- <Combo id="cmb_excuroom" taborder="5" innerdataset="@ds_init_cmb_mdlcd" codecolumn="cdid" datacolumn="cdnm" position="absolute 405 9 520 30" anchor="default"/>
- <cp_monthCal id="input4" titletext="monthCalendar" taborder="6" text="cp_monthCal00" scrollbars="none" position="absolute 73 9 160 29" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Shape id="line1" linetype="horizontal" class="line_1" position="absolute 0 94 1195 100" anchor="left top right"/>
- <Grid id="grd_list" taborder="3" binddataset="ds_main_list" useinputpanel="false" position="absolute 0 99 1195 772" cellsizingtype="col" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="380" band="left"/>
- <Column size="100" band="left"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="60"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" colspan="2" text="구분" taborder="undefined"/>
- <Cell col="3" text="1일"/>
- <Cell col="4" text="2일"/>
- <Cell col="5" text="3일"/>
- <Cell col="6" text="4일"/>
- <Cell col="7" text="5일"/>
- <Cell col="8" text="6일"/>
- <Cell col="9" text="7일"/>
- <Cell col="10" text="8일"/>
- <Cell col="11" text="9일"/>
- <Cell col="12" text="10일"/>
- <Cell col="13" text="11일"/>
- <Cell col="14" text="12일"/>
- <Cell col="15" text="13일"/>
- <Cell col="16" text="14일"/>
- <Cell col="17" text="15일"/>
- <Cell col="18" text="16일"/>
- <Cell col="19" text="17일"/>
- <Cell col="20" text="18일"/>
- <Cell col="21" text="19일"/>
- <Cell col="22" text="20일"/>
- <Cell col="23" text="21일"/>
- <Cell col="24" text="22일"/>
- <Cell col="25" text="23일"/>
- <Cell col="26" text="24일"/>
- <Cell col="27" text="25일"/>
- <Cell col="28" text="26일"/>
- <Cell col="29" text="27일"/>
- <Cell col="30" text="28일"/>
- <Cell col="31" text="29일"/>
- <Cell col="32" text="30일"/>
- <Cell col="33" text="31일"/>
- <Cell col="34" text="합계"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" style="align:left middle;" text="bind:systkey1"/>
- <Cell col="2" style="align:left middle;" text="bind:systkey3"/>
- <Cell col="3" displaytype="number" text="bind:day01"/>
- <Cell col="4" displaytype="number" text="bind:day02"/>
- <Cell col="5" displaytype="number" text="bind:day03"/>
- <Cell col="6" displaytype="number" text="bind:day04"/>
- <Cell col="7" displaytype="number" text="bind:day05"/>
- <Cell col="8" displaytype="number" text="bind:day06"/>
- <Cell col="9" displaytype="number" text="bind:day07"/>
- <Cell col="10" displaytype="number" text="bind:day08"/>
- <Cell col="11" displaytype="number" text="bind:day09"/>
- <Cell col="12" displaytype="number" text="bind:day10"/>
- <Cell col="13" displaytype="number" text="bind:day11"/>
- <Cell col="14" displaytype="number" text="bind:day12"/>
- <Cell col="15" displaytype="number" text="bind:day13"/>
- <Cell col="16" displaytype="number" text="bind:day14"/>
- <Cell col="17" displaytype="number" text="bind:day15"/>
- <Cell col="18" displaytype="number" text="bind:day16"/>
- <Cell col="19" displaytype="number" text="bind:day17"/>
- <Cell col="20" displaytype="number" text="bind:day18"/>
- <Cell col="21" displaytype="number" text="bind:day19"/>
- <Cell col="22" displaytype="number" text="bind:day20"/>
- <Cell col="23" displaytype="number" text="bind:day21"/>
- <Cell col="24" displaytype="number" text="bind:day22"/>
- <Cell col="25" displaytype="number" text="bind:day23"/>
- <Cell col="26" displaytype="number" text="bind:day24"/>
- <Cell col="27" displaytype="number" text="bind:day25"/>
- <Cell col="28" displaytype="number" text="bind:day26"/>
- <Cell col="29" displaytype="number" text="bind:day27"/>
- <Cell col="30" displaytype="number" text="bind:day28"/>
- <Cell col="31" displaytype="number" text="bind:day29"/>
- <Cell col="32" displaytype="number" text="bind:day30"/>
- <Cell col="33" displaytype="number" text="bind:day31"/>
- <Cell col="34" displaytype="number" text="bind:total"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption6" text="일별 통계" class="tit_1" position="absolute 0 0 100 25"/>
- <Shape id="line00" class="line_1" position="absolute 0 95 1195 101" anchor="left top right"/>
- <Shape id="line02" class="line_1" position="absolute 0 93 1195 99" 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="systkey1" type="STRING" size="256"/>
- <Column id="systkey2" type="STRING" size="256"/>
- <Column id="day01" type="STRING" size="256"/>
- <Column id="day02" type="STRING" size="256"/>
- <Column id="day03" type="STRING" size="256"/>
- <Column id="day04" type="STRING" size="256"/>
- <Column id="day05" type="STRING" size="256"/>
- <Column id="day06" type="STRING" size="256"/>
- <Column id="day07" type="STRING" size="256"/>
- <Column id="day08" type="STRING" size="256"/>
- <Column id="day09" type="STRING" size="256"/>
- <Column id="day10" type="STRING" size="256"/>
- <Column id="day11" type="STRING" size="256"/>
- <Column id="day12" type="STRING" size="256"/>
- <Column id="day13" type="STRING" size="256"/>
- <Column id="day14" type="STRING" size="256"/>
- <Column id="day15" type="STRING" size="256"/>
- <Column id="day16" type="STRING" size="256"/>
- <Column id="day17" type="STRING" size="256"/>
- <Column id="day18" type="STRING" size="256"/>
- <Column id="day19" type="STRING" size="256"/>
- <Column id="day20" type="STRING" size="256"/>
- <Column id="day21" type="STRING" size="256"/>
- <Column id="day22" type="STRING" size="256"/>
- <Column id="day23" type="STRING" size="256"/>
- <Column id="day24" type="STRING" size="256"/>
- <Column id="day25" type="STRING" size="256"/>
- <Column id="day26" type="STRING" size="256"/>
- <Column id="day27" type="STRING" size="256"/>
- <Column id="day28" type="STRING" size="256"/>
- <Column id="day29" type="STRING" size="256"/>
- <Column id="day30" type="STRING" size="256"/>
- <Column id="day31" type="STRING" size="256"/>
- <Column id="total" type="STRING" size="256"/>
- <Column id="systkey3" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="systkey1"/>
- <Col id="systkey2"/>
- <Col id="day01"/>
- <Col id="day02"/>
- <Col id="day03"/>
- <Col id="day04"/>
- <Col id="day05"/>
- <Col id="day06"/>
- <Col id="day07"/>
- <Col id="day08"/>
- <Col id="day09"/>
- <Col id="day10"/>
- <Col id="day11"/>
- <Col id="day12"/>
- <Col id="day13"/>
- <Col id="day14"/>
- <Col id="day15"/>
- <Col id="day16"/>
- <Col id="day17"/>
- <Col id="day18"/>
- <Col id="day19"/>
- <Col id="day20"/>
- <Col id="day21"/>
- <Col id="day22"/>
- <Col id="day23"/>
- <Col id="day24"/>
- <Col id="day25"/>
- <Col id="day26"/>
- <Col id="day27"/>
- <Col id="day28"/>
- <Col id="day29"/>
- <Col id="day30"/>
- <Col id="day31"/>
- <Col id="total"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_cmb_mdlcd" 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_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="execdd" type="STRING" size="256"/>
- <Column id="suppdeptcd" 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="basecdflag" type="STRING" size="256"/>
- <Column id="systkey6" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="execdd"/>
- <Col id="suppdeptcd"/>
- <Col id="lrgcd"/>
- <Col id="mdlcd"/>
- <Col id="flag"/>
- <Col id="basecdflag"/>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <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 SMAES04100_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMAES04100_onload(obj:Form, e:LoadEventInfo)
- {
- lf_aezfSetSuppDeptcd();
- ds_send.setColumn(0, "suppdeptcd", frmf_getParameter("AST_DEPTCD"));
-
- // 진료과/진료의 조회
- var fromdd = utlf_getCurrentDate();
- ds_send.setColumn(0, "execdd", fromdd.substr(0,6));
-
- ds_main_list.clearData();
- ds_send.setColumn(0, "flag", "E");
- ds_send.setColumn(0, "basecdflag", "R");
-
- //조회기간 달력 set
- grp_sea.input4.setData(fromdd);
-
- //조회기간 event
- grp_sea.input4.setCallEvent("fn_Cal");
-
- dsf_createDsRow("ds_temp_send",
- [{col:"basesuppdeptcd", type:"string", size:256, val:ds_send.getColumn(0, "suppdeptcd")}
- ,{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");
-
- grdf_setGridSort(grd_list); // 그리드 소트만
- }
- /******************************************************************
- * Argument :
- * Description : 조회기간(fromdd) event
- ******************************************************************/
- function fn_Cal(){
- var srchdate = grp_sea.input4.getData();
- srchdate = srchdate.substr(0, 6);
- ds_send.setColumn(0, "execdd", srchdate);
- }
- /******************************************************************
- * Argument :
- * Description : 검사실 combo event
- ******************************************************************/
- function grp_sea_cmb_excuroomgrp_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- ds_send.setColumn(0, "mdlcd", "");
-
- if( !utlf_isNull(ds_send.getColumn(0, "lrgcd")) ) {
-
- dsf_createDsRow("ds_temp_send2",
- [{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")}
- ,{col:"lrgcd", type:"string", size:256, val:ds_send.getColumn(0, "lrgcd")}], true);
- var oParam = {};
- oParam.id = "TRAES01503";
- oParam.service = "examcurestatsapp.ImgMediSc";
- oParam.method = "reqGetBodyPartComCdList";
- oParam.inds = "req=ds_temp_send2";
- oParam.outds = "ds_init_cmb_mdlcd=item";
- oParam.async = false;
- //oParam.callback = "cf_TRAES01503";
- tranf_submit(oParam);
- }
- }
- /******************************************************************
- * Argument :
- * Description : 조회 button event
- ******************************************************************/
- function grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_main_list.clearData();
-
- dsf_setFixVal(ds_send, "systkey6:151");
- var oParam = {};
- oParam.id = "TRAES04101";
- oParam.service = "examcurestatsapp.ImgMediSc";
- oParam.method = "reqGetVeslPhoDayExamCount";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_list=item";
- oParam.async = false;
- //Param.callback = "cf_TRAES04101";
- tranf_submit(oParam);
- }
- /******************************************************************
- * Argument :
- * Description : excel 저장
- ******************************************************************/
- function btn_excsave_onclick(obj:Button, e:ClickEventInfo)
- {
- if( ds_main_list.rowcount > 1 ){
- grdf_exportExcel(grd_list, "심혈관촬영 일별통계", "심혈관촬영 일별통계", false, "", "", false);
- } else {
- sysf_messageBox("조회된 데이터가 ", "I004");
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|