SPMNG04300_부서별enema현황.xfdl 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPMNG04300" position="absolute 0 0 538 664" titletext="SET기구 처방 집계현황" oninit="SPMNG04300_oninit" onload="SPMNG04300_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 15 530 637" id="grp_biz" scrollbars="autoboth">
  8. <Layouts>
  9. <Layout>
  10. <Div position="absolute 0 10 530 45" align="align:center top;" id="grp_sea">
  11. <Layouts>
  12. <Layout>
  13. <Shape position="absolute 0 0 530 35" id="roundrect1" class="roundrect_search" type="roundrectangle"/>
  14. <Static text="조회일자:" position="absolute 15 10 106 27" id="cap_instcd" class="search_name"/>
  15. <Shape position="absolute 387 5 393 30" linetype="vertical" id="line13" class="line_4"/>
  16. <Button position="absolute 405 8 461 30" id="btn_search" class="btn1" taborder="2" text="조회" onclick="grp_biz_grp_sea_btn_search_onclick"/>
  17. <Calendar position="absolute 100 8 185 27" id="ipt_fromdd"/>
  18. <Calendar position="absolute 195 8 280 27" id="ipt_todd"/>
  19. <Static text="~" position="absolute 185 10 201 28" id="caption1"/>
  20. <Button position="absolute 465 8 521 30" id="button1" class="btn7" taborder="2" text="엑셀" onclick="grp_biz_grp_sea_button1_onclick"/>
  21. </Layout>
  22. </Layouts>
  23. </Div>
  24. <Static text="부서별 Enema/Skin Prep 현황" position="absolute 1 58 217 74" id="caption8" class="tit_2"/>
  25. <Shape position="absolute 0 74 530 80" linetype="horizontal" id="line1" class="line_10"/>
  26. <Grid position="absolute 0 79 530 620" id="grd_sumlist" binddataset="ds_main_suminfo_sumlist" autofittype="col">
  27. <Formats>
  28. <Format id="default">
  29. <Columns>
  30. <Column size="100"/>
  31. <Column size="58"/>
  32. <Column size="58"/>
  33. <Column size="58"/>
  34. <Column size="58"/>
  35. <Column size="59"/>
  36. <Column size="58"/>
  37. <Column size="60"/>
  38. </Columns>
  39. <Rows>
  40. <Row size="24" band="head"/>
  41. <Row size="24" band="head"/>
  42. <Row size="24"/>
  43. </Rows>
  44. <Band id="head">
  45. <Cell rowspan="2" text="부서명" taborder="undefined"/>
  46. <Cell col="1" colspan="2" text="Enema" taborder="undefined"/>
  47. <Cell col="3" text="Enema"/>
  48. <Cell col="4" colspan="3" text="Skin Prep" taborder="undefined"/>
  49. <Cell col="7" rowspan="2" text="총합" taborder="undefined"/>
  50. <Cell row="1" col="1" text="Day"/>
  51. <Cell row="1" col="2" text="Eve"/>
  52. <Cell row="1" col="3" text="합계"/>
  53. <Cell row="1" col="4" text="Day"/>
  54. <Cell row="1" col="5" text="Eve"/>
  55. <Cell row="1" col="6" text="합계"/>
  56. </Band>
  57. <Band id="body">
  58. <Cell style="align:left top;padding:5 1 0 2;" text="bind:reqdeptnm" wordwrap="char"/>
  59. <Cell col="1" displaytype="number" text="bind:enemadaycnt"/>
  60. <Cell col="2" displaytype="number" text="bind:enemaevecnt"/>
  61. <Cell col="3" displaytype="number" text="bind:enemacnt"/>
  62. <Cell col="4" displaytype="number" text="bind:skindaycnt"/>
  63. <Cell col="5" displaytype="number" text="bind:skinevecnt"/>
  64. <Cell col="6" displaytype="number" text="bind:skincnt"/>
  65. <Cell col="7" displaytype="number" text="bind:sumcnt"/>
  66. </Band>
  67. </Format>
  68. </Formats>
  69. </Grid>
  70. </Layout>
  71. </Layouts>
  72. </Div>
  73. <Static text="2012년 06월 29일 이전 자료의 경우에는 진료재료파트 멸균일지 수량과 다를수있습니다" position="absolute 0 637 470 657" id="caption2"/>
  74. <Static id="caption6" text="부서별 Enema/Skin Prep 현황" class="tit_1" position="absolute 0 0 216 25"/>
  75. </Layout>
  76. </Layouts>
  77. <Objects>
  78. <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  79. <ColumnInfo>
  80. <Column id="fromdd" type="STRING" size="256"/>
  81. <Column id="todd" type="STRING" size="256"/>
  82. <Column id="flag" type="STRING" size="256"/>
  83. <Column id="deptcd" type="STRING" size="256"/>
  84. <Column id="deptflag" type="STRING" size="256"/>
  85. </ColumnInfo>
  86. <Rows>
  87. <Row>
  88. <Col id="fromdd"/>
  89. <Col id="todd"/>
  90. <Col id="flag"/>
  91. <Col id="deptcd"/>
  92. <Col id="deptflag"/>
  93. </Row>
  94. </Rows>
  95. </Dataset>
  96. <Dataset id="ds_main_suminfo_sumlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  97. <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  98. </Objects>
  99. <Bind>
  100. <BindItem id="item0" compid="grp_biz.grp_sea.ipt_fromdd" propid="value" datasetid="ds_main_cond" columnid="fromdd"/>
  101. <BindItem id="item1" compid="grp_biz.grp_sea.ipt_todd" propid="value" datasetid="ds_main_cond" columnid="todd"/>
  102. </Bind>
  103. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  104. * System Name :
  105. * Job Name :
  106. * Creator :
  107. * Make Date : 2017-07-11
  108. * Description :
  109. *---------------------------------------------------------------------------------------
  110. * Modify Date Modifier Modify Description
  111. *---------------------------------------------------------------------------------------
  112. * 2017-07-11 Live Converter TF->XP
  113. *
  114. *---------------------------------------------------------------------------------------
  115. ****************************************************************************************/
  116. include "com_commonxp::comm_main.xjs";
  117. var arErrorCode = new HashArray();
  118. function SPMNG04300_oninit(obj:Form, e:InitEventInfo)
  119. {
  120. frmf_initForm(obj); //폼 초기화
  121. }
  122. function SPMNG04300_onload(obj:Form, e:LoadEventInfo)
  123. {
  124. fInitialize();
  125. }
  126. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  127. function fInitialize() {
  128. if(frmf_checkOpener()) {
  129. grp_biz.grp_sea.ipt_fromdd.value = opener.frmf_getParameter("fromdd");
  130. grp_biz.grp_sea.ipt_todd.value = opener.frmf_getParameter("todd");
  131. } else {
  132. grp_biz.grp_sea.ipt_fromdd.value = utlf_getCurrentDate();
  133. grp_biz.grp_sea.ipt_todd.value = utlf_getCurrentDate();
  134. }
  135. fSearch();
  136. }
  137. function fSearch(){
  138. ds_send_reqdata.copyData(ds_main_cond);
  139. var oParam = {};
  140. oParam.id = "TRMNG04301";
  141. oParam.service = "csrapp.CsrMngt";
  142. oParam.method = "reqGetEnemaSumInfo";
  143. oParam.inds = "req=ds_send_reqdata";
  144. oParam.outds = "ds_main_suminfo_sumlist=sumlist";
  145. oParam.async = false;
  146. tranf_submit(oParam);
  147. }
  148. function grp_biz_grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo)
  149. {
  150. fSearch();
  151. }
  152. function grp_biz_grp_sea_button1_onclick(obj:Button, e:ClickEventInfo)
  153. {
  154. grdf_exportExcel(grp_biz.grd_sumlist, "부서별Enema SkinPrep" + utlf_getCurrentDate(), "sheetname1" , true, "" , "" , true);
  155. }
  156. ]]></Script>
  157. </Form>
  158. </FDL>