123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMABS10500" position="absolute 0 0 806 378" titletext="UBMT 현황" oninit="SMABS10500_oninit" onload="SMABS10500_onload">
- <Layouts>
- <Layout>
- <Static id="caption6" text="UBMT 현황" class="tit_1" position="absolute 0 0 200 25"/>
- <Button id="btn_prt" taborder="1" text="출력" class="btn6" position="absolute 0 26 56 48" onclick="btn_prt_onclick"/>
- <Static id="caption1" text="업무내역" class="tit_2" position="absolute 0 101 88 122"/>
- <Div id="grp_sea" taborder="2" class="div_SA2" position="absolute 0 50 799 90" anchor="left top right">
- <Layouts>
- <Layout>
- <Static id="caption2" text="기간(등록일) :" class="search_name" position="absolute 15 12 127 29"/>
- <Static id="caption5" text="~" class="search_no_b" position="absolute 233 13 245 30"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 717 8 723 32" anchor="top right"/>
- <Calendar id="input1" taborder="1" class="input_s_essential" position="absolute 130 11 230 30" autoskip="true" autoselect="true"/>
- <Calendar id="input25" taborder="2" class="input_s_essential" position="absolute 249 11 349 30" autoskip="true" autoselect="true"/>
- <Button id="btn_sea" taborder="3" text="조회" class="btn1" position="absolute 730 10 786 32" anchor="top right" onclick="grp_sea_btn_sea_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Button id="btn_excsave" taborder="3" text="엑셀저장" class="btn7" position="absolute 720 98 800 117" anchor="top right" onclick="btn_excsave_onclick"/>
- <Shape id="line1" class="line_10" position="absolute 0 117 800 123" anchor="left top right"/>
- <Grid id="grd_ubmtlist" taborder="4" binddataset="ds_main_ubmtlist_ubmtstats" useinputpanel="false" position="absolute 0 122 800 372" autoenter="select" autofittype="col" cellsizingtype="col" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="23"/>
- <Column size="150"/>
- <Column size="120"/>
- <Column size="120"/>
- <Column size="120"/>
- <Column size="120"/>
- <Column size="120"/>
- </Columns>
- <Rows>
- <Row size="24" 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="사망건수"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" text="bind:boneassonm"/>
- <Cell col="2" displaytype="text" edittype="none" style="align:center middle;" text="bind:srchreqcnt"/>
- <Cell col="3" displaytype="text" edittype="none" style="align:center middle;" text="bind:srchmatchper"/>
- <Cell col="4" text="bind:srchaprvper"/>
- <Cell col="5" text="bind:trnptcnt"/>
- <Cell col="6" text="bind:dethcnt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="rgstfromdd" type="STRING" size="256"/>
- <Column id="rgsttodd" type="STRING" size="256"/>
- <Column id="patflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="rgstfromdd"/>
- <Col id="rgsttodd"/>
- <Col id="patflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_ubmtlist_ubmtstats" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="boneassonm" type="STRING" size="256" sumtext="협회명"/>
- <Column id="srchreqcnt" type="STRING" size="256" sumtext="검색신청수"/>
- <Column id="srchmatchper" type="STRING" size="256" sumtext="검색후일치율"/>
- <Column id="srchaprvper" type="STRING" size="256" sumtext="일치후동의율"/>
- <Column id="trnptcnt" type="STRING" size="256" sumtext="협회별이식건수"/>
- <Column id="dethcnt" type="STRING" size="256" sumtext="사망건수"/>
- <Column id="boneassocd" type="STRING" size="256" sumtext="협회코드"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_sea.input1" propid="value" datasetid="ds_send_req" columnid="rgstfromdd"/>
- <BindItem id="item1" compid="grp_sea.input25" propid="value" datasetid="ds_send_req" columnid="rgsttodd"/>
- </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 "ast_hsctxp::bmtcommon.xjs";
- function SMABS10500_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMABS10500_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_ubmtlist);
-
- var scurrentdd = String(utlf_getCurrentDate());
- ds_send_req.setColumn(0, "rgstfromdd", scurrentdd.toDate().getAddDate(-30,"D").getDateFormat("YYYYMMDD"));
- ds_send_req.setColumn(0, "rgsttodd", scurrentdd.toDate().getAddDate(30,"D").getDateFormat("YYYYMMDD"));
- }
- function grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
- var oParam = {};
- oParam.id = "TRABS10501";
- oParam.service = "hsctcoordinatorapp.DonorSearch";
- oParam.method = "reqGetUbmtStats";
- oParam.inds = "req=ds_send_req";
- oParam.outds = "ds_main_ubmtlist_ubmtstats=ubmtstats ds_=message";
- oParam.async = false;
- //oParam.callback = "cf_TRABS10501";
- tranf_submit(oParam);
- }
- function btn_prt_onclick(obj:Button, e:ClickEventInfo)
- {
- var objDOM = rptf_createDOM();
- var objParam = new Object();
- rptf_setNodeListToDOM(objDOM, "/root/main/ubmtlist/ubmtstats" , ds_main_ubmtlist_ubmtstats);
- rptf_setNodeListToDOM(objDOM, "/root/send/req" , ds_send_req);
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "";
- rptf_exeReportPreview30(["RPABS10501"],[objParam], option);
- }
- function btn_excsave_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(grd_ubmtlist, "UBMT현황", "see");
- }
- ]]></Script>
- </Form>
- </FDL>
|