SMAES06400_내시경병리조직검사(일별).xfdl 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAES06400" position="absolute 0 0 1211 784" titletext="내시경병리조직검사조회" oninit="SMAES06400_oninit" onload="SMAES06400_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 0 1195 25" id="grp_tle">
  8. <Layouts>
  9. <Layout>
  10. <Static text="내시경 병리조직검사 건수" position="absolute 0 0 200 25" id="caption6" class="tit_1"/>
  11. </Layout>
  12. </Layouts>
  13. </Div>
  14. <Div position="absolute 0 13 1195 757" id="grp_biz" scrollbars="autoboth">
  15. <Layouts>
  16. <Layout>
  17. <Static text="내시경 병리조직검사 건수" position="absolute 5 50 205 64" id="caption1" class="tit_2"/>
  18. <Shape position="absolute 0 62 1195 68" linetype="vertical" id="line1" class="line_1"/>
  19. <Div position="absolute 0 13 1195 43" align="align:center top;" id="grp_sea" class="div_SA">
  20. <Layouts>
  21. <Layout>
  22. <Static text="조회기간 :" position="absolute 15 7 101 24" id="caption2" class="search_name" anchor="default"/>
  23. <Shape position="absolute 1107 5 1113 25" linetype="vertical" id="line13" class="line_4" anchor="default"/>
  24. <Button position="absolute 1120 4 1176 26" id="btn_sea" class="btn1" taborder="4" text="조회" anchor="default" onclick="grp_biz_grp_sea_btn_sea_onclick"/>
  25. <Calendar position="absolute 109 6 209 25" id="ipt_fromdd" class="input_default" taborder="1" anchor="default" autoselect="true" autoskip="true"/>
  26. <Calendar position="absolute 227 6 327 25" id="ipt_todd" class="input_default" taborder="2" anchor="default" autoselect="true"/>
  27. <Static text="~" position="absolute 212 6 224 23" id="caption5" class="search_no_b" anchor="default"/>
  28. </Layout>
  29. </Layouts>
  30. </Div>
  31. <Button position="absolute 1130 45 1194 64" id="btn_excsave" class="btn2" text="엑셀저장" onclick="grp_biz_btn_excsave_onclick"/>
  32. <Grid position="absolute 0 70 1195 740" id="grd_list" binddataset="ds_grd_list" autofittype="col">
  33. <Formats>
  34. <Format id="default">
  35. <Columns>
  36. <Column size="108"/>
  37. <Column size="51"/>
  38. <Column size="72"/>
  39. <Column size="85"/>
  40. <Column size="75"/>
  41. <Column size="325"/>
  42. <Column size="86"/>
  43. <Column size="255"/>
  44. <Column size="84"/>
  45. </Columns>
  46. <Rows>
  47. <Row size="24" band="head"/>
  48. <Row size="24"/>
  49. <Row size="24" band="summ"/>
  50. </Rows>
  51. <Band id="head">
  52. <Cell text="처방일자"/>
  53. <Cell col="1" text="입외"/>
  54. <Cell col="2" text="환자번호"/>
  55. <Cell col="3" text="환자명"/>
  56. <Cell col="4" text="처방코드"/>
  57. <Cell col="5" text="처방명"/>
  58. <Cell col="6" text="검체코드"/>
  59. <Cell col="7" text="검체명"/>
  60. <Cell col="8" text="검체채취건수"/>
  61. </Band>
  62. <Band id="body">
  63. <Cell style="align:middle;" text="bind:prcpdd" suppress="1" suppressalign="middle"/>
  64. <Cell col="1" style="align:middle;" text="bind:ioflag" suppress="2" suppressalign="middle"/>
  65. <Cell col="2" style="align:middle;" text="bind:pid" suppress="3" suppressalign="middle"/>
  66. <Cell col="3" style="align:middle;" text="bind:hngnm" suppress="3" suppressalign="middle"/>
  67. <Cell col="4" text="bind:prcpcd"/>
  68. <Cell col="5" style="align:left;" text="bind:prcpnm"/>
  69. <Cell col="6" text="bind:drugmthdspccd"/>
  70. <Cell col="7" style="align:left;" text="bind:spcnm"/>
  71. <Cell col="8" text="bind:spccnt"/>
  72. </Band>
  73. <Band id="summary">
  74. <Cell colspan="2" style="background:#ccffccff;background2:#ccffccff;color:blue;color2:blue;font:돋움,9,bold;" text="총계" taborder="undefined"/>
  75. <Cell col="2" style="background:#ccffccff;background2:#ccffccff;"/>
  76. <Cell col="3" style="background:#ccffccff;background2:#ccffccff;"/>
  77. <Cell col="4" style="background:#ccffccff;background2:#ccffccff;"/>
  78. <Cell col="5" style="background:#ccffccff;background2:#ccffccff;"/>
  79. <Cell col="6" style="background:#ccffccff;background2:#ccffccff;"/>
  80. <Cell col="7" style="background:#ccffccff;background2:#ccffccff;"/>
  81. <Cell col="8" displaytype="number" style="align:center;background:#ccffccff;background2:#ccffccff;color:blue;color2:blue;font:돋움,9,bold;" text="expr:getSum(&quot;spccnt&quot;)" mask="9,999"/>
  82. </Band>
  83. </Format>
  84. </Formats>
  85. </Grid>
  86. </Layout>
  87. </Layouts>
  88. </Div>
  89. </Layout>
  90. </Layouts>
  91. <Objects>
  92. <Dataset id="ds_grd_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  93. <ColumnInfo>
  94. <Column id="prcpdd" type="STRING"/>
  95. <Column id="ioflag" type="STRING"/>
  96. <Column id="pid" type="STRING"/>
  97. <Column id="hngnm" type="STRING"/>
  98. <Column id="prcpcd" type="STRING"/>
  99. <Column id="prcpnm" type="STRING"/>
  100. <Column id="drugmthdspccd" type="STRING"/>
  101. <Column id="spcnm" type="STRING"/>
  102. <Column id="spccnt" type="STRING"/>
  103. </ColumnInfo>
  104. </Dataset>
  105. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  106. <ColumnInfo>
  107. <Column id="execfromdd" type="STRING" size="256"/>
  108. <Column id="exectodd" type="STRING" size="256"/>
  109. <Column id="comparefromdd" type="STRING" size="256"/>
  110. <Column id="comparetodd" type="STRING" size="256"/>
  111. <Column id="orddeptcd" type="STRING" size="256"/>
  112. <Column id="orddrid" type="STRING" size="256"/>
  113. <Column id="execdeptcd" type="STRING" size="256"/>
  114. <Column id="execdrid" type="STRING" size="256"/>
  115. <Column id="suppdeptcd" type="STRING" size="256"/>
  116. <Column id="srchflag" type="STRING" size="256"/>
  117. </ColumnInfo>
  118. <Rows>
  119. <Row>
  120. <Col id="execfromdd"/>
  121. <Col id="exectodd"/>
  122. <Col id="comparefromdd"/>
  123. <Col id="comparetodd"/>
  124. <Col id="orddeptcd"/>
  125. <Col id="orddrid"/>
  126. <Col id="execdeptcd"/>
  127. <Col id="execdrid"/>
  128. <Col id="suppdeptcd"/>
  129. <Col id="srchflag"/>
  130. </Row>
  131. </Rows>
  132. </Dataset>
  133. </Objects>
  134. <Bind>
  135. <BindItem id="item0" compid="grp_biz.grp_sea.ipt_fromdd" propid="value" datasetid="ds_send" columnid="execfromdd"/>
  136. <BindItem id="item1" compid="grp_biz.grp_sea.ipt_todd" propid="value" datasetid="ds_send" columnid="exectodd"/>
  137. </Bind>
  138. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  139. * System Name :
  140. * Job Name :
  141. * Creator :
  142. * Make Date : 2015-11-13
  143. * Description :
  144. *---------------------------------------------------------------------------------------
  145. * Modify Date Modifier Modify Description
  146. *---------------------------------------------------------------------------------------
  147. * 2015-11-13 Live Converter TF->XP
  148. *
  149. *---------------------------------------------------------------------------------------
  150. ****************************************************************************************/
  151. include "com_commonxp::comm_main.xjs";
  152. include "ast_examcurexp::AEZ0001.xjs";
  153. function SMAES06400_oninit(obj:Form, e:InitEventInfo)
  154. {
  155. frmf_initForm(obj); // 화면공통
  156. }
  157. function SMAES06400_onload(obj:Form, e:LoadEventInfo)
  158. {
  159. lf_aezfSetSuppDeptcd();
  160. grdf_initGrid(grp_biz.grd_list);
  161. ds_grd_list.clearData();
  162. ds_send.setColumn(0,"suppdeptcd", suppdeptcd);
  163. ds_send.setColumn(0,"execfromdd", utlf_getCurrentDate().toDate().getAddDate(-1, "D").getDateFormat("YYYYMMDD"));
  164. ds_send.setColumn(0,"exectodd", utlf_getCurrentDate().toDate().getAddDate(-1, "D").getDateFormat("YYYYMMDD"));
  165. }
  166. function cf_TRAES06401(sSvcId, nErrorCode, sErrorMsg) {
  167. if(nErrorCode < 0) return;
  168. }
  169. function grp_biz_grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  170. {
  171. ds_grd_list.clearData();
  172. //20150603 by kya 건진내시경일 경우
  173. if (suppdeptcd == "2370124000" ) {
  174. ds_send.setColumn(0,"srchflag","S");
  175. } else {
  176. ds_send.setColumn(0,"srchflag","O");
  177. }
  178. dsf_createDsRow("ds_send_req",
  179. [{col:"execfromdd", val:ds_send.getColumn(0,"execfromdd")}
  180. ,{col:"exectodd", val:ds_send.getColumn(0,"exectodd")}
  181. ,{col:"suppdeptcd", val:suppdeptcd}
  182. ,{col:"srchflag", val:ds_send.getColumn(0,"srchflag")}
  183. ]);
  184. var oParam = {};
  185. oParam.id = "TRAES06401";
  186. oParam.service = "examcurestatsapp.FuntExam";
  187. oParam.method = "reqGetPathoList";
  188. oParam.inds = "req=ds_send_req";
  189. oParam.outds = "ds_grd_list=item";
  190. oParam.async = false;
  191. oParam.callback = "cf_TRAES06401";
  192. tranf_submit(oParam);
  193. }
  194. function grp_biz_btn_excsave_onclick(obj:Button, e:ClickEventInfo)
  195. {
  196. grdf_exportExcel(grp_biz.grd_list, "내시경병리조직검사", "sheet1");
  197. }
  198. ]]></Script>
  199. </Form>
  200. </FDL>