SMABS10500_UBMT 현황.xfdl 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMABS10500" position="absolute 0 0 806 378" titletext="UBMT 현황" oninit="SMABS10500_oninit" onload="SMABS10500_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="UBMT 현황" class="tit_1" position="absolute 0 0 200 25"/>
  8. <Button id="btn_prt" taborder="1" text="출력" class="btn6" position="absolute 0 26 56 48" onclick="btn_prt_onclick"/>
  9. <Static id="caption1" text="업무내역" class="tit_2" position="absolute 0 101 88 122"/>
  10. <Div id="grp_sea" taborder="2" class="div_SA2" position="absolute 0 50 799 90" anchor="left top right">
  11. <Layouts>
  12. <Layout>
  13. <Static id="caption2" text="기간(등록일) :" class="search_name" position="absolute 15 12 127 29"/>
  14. <Static id="caption5" text="~" class="search_no_b" position="absolute 233 13 245 30"/>
  15. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 717 8 723 32" anchor="top right"/>
  16. <Calendar id="input1" taborder="1" class="input_s_essential" position="absolute 130 11 230 30" autoskip="true" autoselect="true"/>
  17. <Calendar id="input25" taborder="2" class="input_s_essential" position="absolute 249 11 349 30" autoskip="true" autoselect="true"/>
  18. <Button id="btn_sea" taborder="3" text="조회" class="btn1" position="absolute 730 10 786 32" anchor="top right" onclick="grp_sea_btn_sea_onclick"/>
  19. </Layout>
  20. </Layouts>
  21. </Div>
  22. <Button id="btn_excsave" taborder="3" text="엑셀저장" class="btn7" position="absolute 720 98 800 117" anchor="top right" onclick="btn_excsave_onclick"/>
  23. <Shape id="line1" class="line_10" position="absolute 0 117 800 123" anchor="left top right"/>
  24. <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">
  25. <Formats>
  26. <Format id="default">
  27. <Columns>
  28. <Column size="23"/>
  29. <Column size="150"/>
  30. <Column size="120"/>
  31. <Column size="120"/>
  32. <Column size="120"/>
  33. <Column size="120"/>
  34. <Column size="120"/>
  35. </Columns>
  36. <Rows>
  37. <Row size="24" band="head"/>
  38. <Row size="24"/>
  39. </Rows>
  40. <Band id="head">
  41. <Cell/>
  42. <Cell col="1" text="협회"/>
  43. <Cell col="2" text="검색 신청수"/>
  44. <Cell col="3" text="검색후 일치율(%)"/>
  45. <Cell col="4" text="일치후 동의율(%)"/>
  46. <Cell col="5" text="협회별 이식건수"/>
  47. <Cell col="6" text="사망건수"/>
  48. </Band>
  49. <Band id="body">
  50. <Cell celltype="head" expr="currow+1"/>
  51. <Cell col="1" text="bind:boneassonm"/>
  52. <Cell col="2" displaytype="text" edittype="none" style="align:center middle;" text="bind:srchreqcnt"/>
  53. <Cell col="3" displaytype="text" edittype="none" style="align:center middle;" text="bind:srchmatchper"/>
  54. <Cell col="4" text="bind:srchaprvper"/>
  55. <Cell col="5" text="bind:trnptcnt"/>
  56. <Cell col="6" text="bind:dethcnt"/>
  57. </Band>
  58. </Format>
  59. </Formats>
  60. </Grid>
  61. </Layout>
  62. </Layouts>
  63. <Objects>
  64. <Dataset id="ds_send_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  65. <ColumnInfo>
  66. <Column id="rgstfromdd" type="STRING" size="256"/>
  67. <Column id="rgsttodd" type="STRING" size="256"/>
  68. <Column id="patflag" type="STRING" size="256"/>
  69. </ColumnInfo>
  70. <Rows>
  71. <Row>
  72. <Col id="rgstfromdd"/>
  73. <Col id="rgsttodd"/>
  74. <Col id="patflag"/>
  75. </Row>
  76. </Rows>
  77. </Dataset>
  78. <Dataset id="ds_main_ubmtlist_ubmtstats" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  79. <ColumnInfo>
  80. <Column id="boneassonm" type="STRING" size="256" sumtext="협회명"/>
  81. <Column id="srchreqcnt" type="STRING" size="256" sumtext="검색신청수"/>
  82. <Column id="srchmatchper" type="STRING" size="256" sumtext="검색후일치율"/>
  83. <Column id="srchaprvper" type="STRING" size="256" sumtext="일치후동의율"/>
  84. <Column id="trnptcnt" type="STRING" size="256" sumtext="협회별이식건수"/>
  85. <Column id="dethcnt" type="STRING" size="256" sumtext="사망건수"/>
  86. <Column id="boneassocd" type="STRING" size="256" sumtext="협회코드"/>
  87. </ColumnInfo>
  88. </Dataset>
  89. </Objects>
  90. <Bind>
  91. <BindItem id="item0" compid="grp_sea.input1" propid="value" datasetid="ds_send_req" columnid="rgstfromdd"/>
  92. <BindItem id="item1" compid="grp_sea.input25" propid="value" datasetid="ds_send_req" columnid="rgsttodd"/>
  93. </Bind>
  94. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  95. * System Name :
  96. * Job Name :
  97. * Creator :
  98. * Make Date : 2015-11-13
  99. * Description :
  100. *---------------------------------------------------------------------------------------
  101. * Modify Date Modifier Modify Description
  102. *---------------------------------------------------------------------------------------
  103. * 2015-11-13 Live Converter TF->XP
  104. *
  105. *---------------------------------------------------------------------------------------
  106. ****************************************************************************************/
  107. include "com_commonxp::comm_main.xjs";
  108. include "ast_hsctxp::bmtcommon.xjs";
  109. function SMABS10500_oninit(obj:Form, e:InitEventInfo)
  110. {
  111. frmf_initForm(obj);
  112. }
  113. function SMABS10500_onload(obj:Form, e:LoadEventInfo)
  114. {
  115. grdf_initGrid(grd_ubmtlist);
  116. var scurrentdd = String(utlf_getCurrentDate());
  117. ds_send_req.setColumn(0, "rgstfromdd", scurrentdd.toDate().getAddDate(-30,"D").getDateFormat("YYYYMMDD"));
  118. ds_send_req.setColumn(0, "rgsttodd", scurrentdd.toDate().getAddDate(30,"D").getDateFormat("YYYYMMDD"));
  119. }
  120. function grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  121. {
  122. var oParam = {};
  123. oParam.id = "TRABS10501";
  124. oParam.service = "hsctcoordinatorapp.DonorSearch";
  125. oParam.method = "reqGetUbmtStats";
  126. oParam.inds = "req=ds_send_req";
  127. oParam.outds = "ds_main_ubmtlist_ubmtstats=ubmtstats ds_=message";
  128. oParam.async = false;
  129. //oParam.callback = "cf_TRABS10501";
  130. tranf_submit(oParam);
  131. }
  132. function btn_prt_onclick(obj:Button, e:ClickEventInfo)
  133. {
  134. var objDOM = rptf_createDOM();
  135. var objParam = new Object();
  136. rptf_setNodeListToDOM(objDOM, "/root/main/ubmtlist/ubmtstats" , ds_main_ubmtlist_ubmtstats);
  137. rptf_setNodeListToDOM(objDOM, "/root/send/req" , ds_send_req);
  138. objParam.xml_data_XML1 = objDOM.documentElement.source;
  139. var option = "";
  140. rptf_exeReportPreview30(["RPABS10501"],[objParam], option);
  141. }
  142. function btn_excsave_onclick(obj:Button, e:ClickEventInfo)
  143. {
  144. grdf_exportExcel(grd_ubmtlist, "UBMT현황", "see");
  145. }
  146. ]]></Script>
  147. </Form>
  148. </FDL>