123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206 |
- <?xml version="1.0" encoding="utf-8" standalone="no"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMAVT01300" position="absolute 0 0 1197 788" titletext="조직은행 이식진료과별" onload="SMAVT01300_onload">
- <Layouts>
- <Layout>
- <Div id="grp_tle" position="absolute 0 0 1192 25" style="">
- <Layouts>
- <Layout>
- <Static id="caption6" class="tit_1" position="absolute 0 0 210 23" style="" text="조직은행 이식 진료과별 통계" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Div id="grp_biz" scrollbars="autoboth" position="absolute 0 13 1194 757" style="">
- <Layouts>
- <Layout>
- <Static id="caption1" class="tit_2" position="absolute 5 55 241 72" style="" text="조직은행 이식 진료과별 통계 리스트" anchor="default"/>
- <Shape id="line1" class="line_10" linetype="horizontal" position="absolute 0 72 1194 76" style="" anchor="default"/>
- <Grid id="dtg_opdeptnm_list" binddataset="ds_main_opdeptnm_list_item" position="absolute 0 75 1194 739" style="align:center ;" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24"/>
- <Column size="172"/>
- <Column size="98"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="23" band="head"/>
- <Row size="23"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="이식진료과"/>
- <Cell col="2" text="건수"/>
- <Cell col="3" text="비율(%)"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow + 1"/>
- <Cell col="1" text="bind:opdeptnm"/>
- <Cell col="2" text="bind:cnt"/>
- <Cell col="3" text="bind:ratio"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div id="grp_sea" position="absolute 0 10 1194 45" style="align: top;" class="div_SA" anchor="default">
- <Layouts>
- <Layout>
- <Static id="caption2" class="search_name" position="absolute 15 9 86 26" style="" text="수술일자 :" anchor="default"/>
- <Static id="caption5" class="search_no_b" position="absolute 202 10 212 27" style="" text="~" anchor="default"/>
- <Shape id="line13" class="line_4" linetype="vertical" position="absolute 1107 7 1110 29" style="" anchor="default"/>
- <Calendar id="ipt_fromdd" class="input_essential" position="absolute 96 9 196 28" style="" anchor="default" dateformat="yyyy-MM-dd" value="null" autoselect="true"/>
- <Calendar id="ipt_todd" class="input_essential" position="absolute 218 10 318 29" style="" anchor="default" dateformat="yyyy-MM-dd" autoselect="true"/>
- <Button id="btn_sea" class="btn1" position="absolute 1123 7 1179 29" style="" text="조회" onclick="grp_biz_grp_sea_btn_sea_onclick" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Button id="btn_excsave" class="btn7" position="absolute 1119 50 1192 69" style="" text="엑셀저장" onclick="grp_biz_btn_excsave_onclick" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Div id="grp_btn" position="absolute 0 757 1192 784" style="">
- <Layouts>
- <Layout>
- <Button id="btn_prt" class="btn6" visible="false" position="absolute 0 5 56 27" style="" text="출력" onclick="grp_btn_btn_prt_onclick" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="hidden" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="hidden"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_opdeptnm_list_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="opdeptnm" type="STRING" size="256"/>
- <Column id="cnt" type="STRING" size="256"/>
- <Column id="ratio" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="opdeptnm"/>
- <Col id="cnt"/>
- <Col id="ratio"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="temp" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="temp"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="init" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="init"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_rexprnt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="benflist" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="benflist"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_opdeptnm_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="srchtodd" type="STRING" size="256"/>
- <Column id="srchfromdd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_biz.grp_sea.ipt_fromdd" propid="value" datasetid="ds_send" columnid="srchfromdd"/>
- <BindItem id="item1" compid="grp_biz.grp_sea.ipt_todd" propid="value" datasetid="ds_send" columnid="srchtodd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs";
- include "com_commodulexp::SSZFM00901.xjs";
- include "ast_tissuebankbasexp::tissuebankcombolist.xjs";
- //include "ast_healexamxp::AHA001.xjs";
- include "com_zipcodexp::ZBP001.xjs";
- //스크립트 시작 ***
- //전체에서 event와 src를 제외한 script 를 모두포함.
- // 화면 초기화
- function fGetScreenInit(){
- ds_send.clearData();
- ds_send.addRow();
- ds_send.setColumn( 0, "srchfromdd", utlf_getCurrentDate());
- ds_send.setColumn( 0, "srchtodd", utlf_getCurrentDate());
- //model.refresh();
- }
- //스크립트 끝
- function SMAVT01300_onload(obj:Form, e:LoadEventInfo) {
- frmf_initForm(obj);
- grdf_initGrid(grp_biz.dtg_opdeptnm_list);
- //grdf_setGridSort(grd_XXX);
- //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
- fGetScreenInit();
- }
- function grp_biz_grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo) {
- if( ds_send.getColumn(0, "srchfromdd") == ""){
- sysf_messageBox("조회기간", "E013", "입력 후 다시 조회하세요.");
- return;
- }
- if( ds_send.getColumn(0, "srchtodd") == "" ){
- sysf_messageBox("조회기간", "E013", "입력 후 다시 조회하세요.");
- return;
- }
- //submit("TRAVT01300");
- var oParam = {};
- oParam.id = "TRAVT01300";
- oParam.service = "tissuebankapp.TissueBankProcess";
- oParam.method = "reqGetStatistics030";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_opdeptnm_list_item=item";
- oParam.async = false;
- tranf_submit(oParam);
- //model.refresh();
- }
- function grp_biz_btn_excsave_onclick(obj:Button, e:ClickEventInfo) {
- grdf_exportExcel(grp_biz.dtg_opdeptnm_list, "excel", "Sheet1", true, "" , 'user' , true);
- }
- ]]></Script>
- </Form>
- </FDL>
|