SMAES06500_내시경CLO검사(일별).xfdl 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAES06500" position="absolute 0 0 1211 784" titletext="내시경CLO검사조회" oninit="SMAES06500_oninit" onload="SMAES06500_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 0 1195 25" id="grp_tle">
  8. <Layouts>
  9. <Layout>
  10. <Static text="내시경 CLO검사 건수" 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="내시경 CLO검사 건수" 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 1190 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="387"/>
  42. <Column size="131"/>
  43. <Column size="213"/>
  44. </Columns>
  45. <Rows>
  46. <Row size="24" band="head"/>
  47. <Row size="24"/>
  48. </Rows>
  49. <Band id="head">
  50. <Cell text="처방일자"/>
  51. <Cell col="1" text="입외"/>
  52. <Cell col="2" text="환자번호"/>
  53. <Cell col="3" text="환자명"/>
  54. <Cell col="4" text="처방코드"/>
  55. <Cell col="5" text="처방명"/>
  56. <Cell col="6" text="바코드번호"/>
  57. <Cell col="7" text="검사결과"/>
  58. </Band>
  59. <Band id="body">
  60. <Cell style="align:middle;" text="bind:prcpdd" suppress="1" suppressalign="middle"/>
  61. <Cell col="1" style="align:middle;" text="bind:ioflag" suppress="2" suppressalign="middle"/>
  62. <Cell col="2" style="align:middle;" text="bind:pid" suppress="3" suppressalign="middle"/>
  63. <Cell col="3" style="align:middle;" text="bind:hngnm" suppress="3" suppressalign="middle"/>
  64. <Cell col="4" text="bind:prcpcd"/>
  65. <Cell col="5" style="align:left;" text="bind:prcpnm"/>
  66. <Cell col="6" text="bind:bcno"/>
  67. <Cell col="7" text="bind:reptrslt"/>
  68. </Band>
  69. </Format>
  70. </Formats>
  71. </Grid>
  72. </Layout>
  73. </Layouts>
  74. </Div>
  75. </Layout>
  76. </Layouts>
  77. <Objects>
  78. <Dataset id="ds_grd_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  79. <ColumnInfo>
  80. <Column id="prcpdd" type="STRING"/>
  81. <Column id="ioflag" type="STRING"/>
  82. <Column id="pid" type="STRING"/>
  83. <Column id="hngnm" type="STRING"/>
  84. <Column id="prcpcd" type="STRING"/>
  85. <Column id="prcpnm" type="STRING"/>
  86. <Column id="bcno" type="STRING"/>
  87. <Column id="reptrslt" type="STRING"/>
  88. </ColumnInfo>
  89. </Dataset>
  90. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  91. <ColumnInfo>
  92. <Column id="execfromdd" type="STRING" size="256"/>
  93. <Column id="exectodd" type="STRING" size="256"/>
  94. <Column id="comparefromdd" type="STRING" size="256"/>
  95. <Column id="comparetodd" type="STRING" size="256"/>
  96. <Column id="orddeptcd" type="STRING" size="256"/>
  97. <Column id="orddrid" type="STRING" size="256"/>
  98. <Column id="execdeptcd" type="STRING" size="256"/>
  99. <Column id="execdrid" type="STRING" size="256"/>
  100. <Column id="suppdeptcd" type="STRING" size="256"/>
  101. <Column id="srchflag" type="STRING" size="256"/>
  102. </ColumnInfo>
  103. <Rows>
  104. <Row>
  105. <Col id="execfromdd"/>
  106. <Col id="exectodd"/>
  107. <Col id="comparefromdd"/>
  108. <Col id="comparetodd"/>
  109. <Col id="orddeptcd"/>
  110. <Col id="orddrid"/>
  111. <Col id="execdeptcd"/>
  112. <Col id="execdrid"/>
  113. <Col id="suppdeptcd"/>
  114. <Col id="srchflag"/>
  115. </Row>
  116. </Rows>
  117. </Dataset>
  118. </Objects>
  119. <Bind>
  120. <BindItem id="item0" compid="grp_biz.grp_sea.ipt_fromdd" propid="value" datasetid="ds_send" columnid="execfromdd"/>
  121. <BindItem id="item1" compid="grp_biz.grp_sea.ipt_todd" propid="value" datasetid="ds_send" columnid="exectodd"/>
  122. </Bind>
  123. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  124. * System Name :
  125. * Job Name :
  126. * Creator :
  127. * Make Date : 2015-11-13
  128. * Description :
  129. *---------------------------------------------------------------------------------------
  130. * Modify Date Modifier Modify Description
  131. *---------------------------------------------------------------------------------------
  132. * 2015-11-13 Live Converter TF->XP
  133. *
  134. *---------------------------------------------------------------------------------------
  135. ****************************************************************************************/
  136. include "com_commonxp::comm_main.xjs";
  137. include "ast_examcurexp::AEZ0001.xjs";
  138. function SMAES06500_oninit(obj:Form, e:InitEventInfo)
  139. {
  140. frmf_initForm(obj); // 화면공통
  141. }
  142. function SMAES06500_onload(obj:Form, e:LoadEventInfo)
  143. {
  144. lf_aezfSetSuppDeptcd();
  145. grdf_initGrid(grp_biz.grd_list);
  146. ds_grd_list.clearData();
  147. ds_send.setColumn(0,"suppdeptcd", suppdeptcd);
  148. ds_send.setColumn(0,"execfromdd", utlf_getCurrentDate().toDate().getAddDate(-1, "D").getDateFormat("YYYYMMDD"));
  149. ds_send.setColumn(0,"exectodd", utlf_getCurrentDate().toDate().getAddDate(-1, "D").getDateFormat("YYYYMMDD"));
  150. }
  151. function grp_biz_grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  152. {
  153. ds_grd_list.clearData();
  154. //20150603 by kya 건진내시경일 경우
  155. if (suppdeptcd == "2370124000" ) {
  156. ds_send.setColumn(0,"srchflag","S");
  157. } else {
  158. ds_send.setColumn(0,"srchflag","O");
  159. }
  160. dsf_createDsRow("ds_send_req",
  161. [{col:"execfromdd", val:ds_send.getColumn(0,"execfromdd")}
  162. ,{col:"exectodd", val:ds_send.getColumn(0,"exectodd")}
  163. ,{col:"suppdeptcd", val:suppdeptcd}
  164. ,{col:"srchflag", val:ds_send.getColumn(0,"srchflag")}
  165. ]);
  166. var oParam = {};
  167. oParam.id = "TRAES06501";
  168. oParam.service = "examcurestatsapp.FuntExam";
  169. oParam.method = "reqGetCLOList";
  170. oParam.inds = "req=ds_send_req";
  171. oParam.outds = "ds_grd_list=item";
  172. oParam.async = false;
  173. oParam.callback = "cf_TRAES06501";
  174. tranf_submit(oParam);
  175. }
  176. function cf_TRAES06501(sSvcId, nErrorCode, sErrorMsg) {
  177. if(nErrorCode < 0) return;
  178. }
  179. function grp_biz_btn_excsave_onclick(obj:Button, e:ClickEventInfo)
  180. {
  181. grdf_exportExcel(grp_biz.grd_list, "내시경CLO검사", "sheet1");
  182. }
  183. ]]></Script>
  184. </Form>
  185. </FDL>