SPADB60605_약사메모이력.xfdl 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPADB60605" position="absolute 0 0 632 376" titletext="약사메모이력" oninit="SPADB60605_oninit" onload="SPADB60605_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 0 631 345" id="grp_biz" scrollbars="autoboth">
  8. <Layouts>
  9. <Layout>
  10. <Static text="약사메모이력" position="absolute 2 3 129 19" id="caption1" class="tit_2" anchor="default"/>
  11. <Shape position="absolute 0 28 630 34" linetype="vertical" id="line1" class="line_1" anchor="default"/>
  12. <Grid position="absolute 0 21 630 345" id="grd_memolist" binddataset="ds_main_memoinfo" anchor="default" autofittype="col" autosizingtype="row" cellsizingtype="col" extendsizetype="row">
  13. <Formats>
  14. <Format id="default">
  15. <Columns>
  16. <Column size="357"/>
  17. <Column size="55"/>
  18. <Column size="95"/>
  19. <Column size="120"/>
  20. </Columns>
  21. <Rows>
  22. <Row size="24" band="head"/>
  23. <Row size="24"/>
  24. </Rows>
  25. <Band id="head">
  26. <Cell text="메모"/>
  27. <Cell col="1" text="작성자"/>
  28. <Cell col="2" text="진료과"/>
  29. <Cell col="3" text="작성일시"/>
  30. </Band>
  31. <Band id="body">
  32. <Cell displaytype="text" style="align:left;padding:2 2 0 2;" text="bind:memo" wordwrap="char" autosizerow="limitmin"/>
  33. <Cell col="1" text="bind:writnm"/>
  34. <Cell col="2" style="align:left;padding:0 0 0 5;" text="bind:orddeptnm"/>
  35. <Cell col="3" displaytype="expr:utlf_isNull(writdt)?'normal':'date'" text="bind:writdt" mask="expr:utlf_isNull(writdt)?'':'yyyy-MM-dd HH:mm:ss'"/>
  36. </Band>
  37. </Format>
  38. </Formats>
  39. </Grid>
  40. </Layout>
  41. </Layouts>
  42. </Div>
  43. <Div position="absolute 0 346 630 373" id="grp_btn" scrollbars="autoboth">
  44. <Layouts>
  45. <Layout>
  46. <Button position="absolute 574 3 630 25" id="btn_cls" class="btn4" text="닫기" anchor="default" onclick="grp_btn_btn_cls_onclick"/>
  47. </Layout>
  48. </Layouts>
  49. </Div>
  50. </Layout>
  51. </Layouts>
  52. <Objects>
  53. <Dataset id="ds_main_memoinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  54. <ColumnInfo>
  55. <Column id="memo" type="STRING" size="256"/>
  56. <Column id="writnm" type="STRING" size="256"/>
  57. <Column id="orddeptnm" type="STRING" size="256"/>
  58. <Column id="writdt" type="STRING" size="256"/>
  59. <Column id="pid" type="STRING" size="256"/>
  60. <Column id="seqno" type="STRING" size="256"/>
  61. <Column id="hosinhosoutflag" type="STRING" size="256"/>
  62. <Column id="instcd" type="STRING" size="256"/>
  63. <Column id="orddeptcd" type="STRING" size="256"/>
  64. <Column id="drugno" type="STRING" size="256"/>
  65. <Column id="drugdd" type="STRING" size="256"/>
  66. <Column id="writid" type="STRING" size="256"/>
  67. <Column id="useyn" type="STRING" size="256"/>
  68. </ColumnInfo>
  69. <Rows>
  70. <Row>
  71. <Col id="memo"/>
  72. <Col id="writnm"/>
  73. <Col id="orddeptnm"/>
  74. <Col id="writdt"/>
  75. <Col id="pid"/>
  76. <Col id="seqno"/>
  77. <Col id="hosinhosoutflag"/>
  78. <Col id="instcd"/>
  79. <Col id="orddeptcd"/>
  80. <Col id="drugno"/>
  81. <Col id="drugdd"/>
  82. <Col id="writid"/>
  83. <Col id="useyn"/>
  84. </Row>
  85. </Rows>
  86. </Dataset>
  87. <Dataset id="ds_send_srchinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  88. <ColumnInfo>
  89. <Column id="srchpid" type="STRING" size="256"/>
  90. <Column id="srchinstcd" type="STRING" size="256"/>
  91. <Column id="srchioflag" type="STRING" size="256"/>
  92. <Column id="srchhosinhosoutflag" type="STRING" size="256"/>
  93. </ColumnInfo>
  94. <Rows>
  95. <Row>
  96. <Col id="srchpid"/>
  97. <Col id="srchinstcd"/>
  98. <Col id="srchioflag"/>
  99. <Col id="srchhosinhosoutflag"/>
  100. </Row>
  101. </Rows>
  102. </Dataset>
  103. <Dataset id="ds_send_delinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  104. <ColumnInfo>
  105. <Column id="pid" type="STRING" size="256"/>
  106. <Column id="seqno" type="STRING" size="256"/>
  107. <Column id="hosinhosoutflag" type="STRING" size="256"/>
  108. <Column id="instcd" type="STRING" size="256"/>
  109. <Column id="m" type="STRING" size="256"/>
  110. <Column id="ioflag" type="STRING" size="256"/>
  111. </ColumnInfo>
  112. <Rows>
  113. <Row>
  114. <Col id="pid"/>
  115. <Col id="seqno"/>
  116. <Col id="hosinhosoutflag"/>
  117. <Col id="instcd"/>
  118. <Col id="m"/>
  119. <Col id="ioflag"/>
  120. </Row>
  121. </Rows>
  122. </Dataset>
  123. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  124. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  125. </Objects>
  126. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  127. * System Name :
  128. * Job Name :
  129. * Creator :
  130. * Make Date : 2015-09-08
  131. * Description :
  132. *---------------------------------------------------------------------------------------
  133. * Modify Date Modifier Modify Description
  134. *---------------------------------------------------------------------------------------
  135. * 2015-09-08 Live Converter TF->XP
  136. *
  137. *---------------------------------------------------------------------------------------
  138. ****************************************************************************************/
  139. //=======================================================================================
  140. // Lib Include
  141. //---------------------------------------------------------------------------------------
  142. include "com_commonxp::comm_main.xjs"
  143. //include "ast_commonxp::AST.xjs"
  144. //=======================================================================================
  145. // Event
  146. //---------------------------------------------------------------------------------------
  147. /****************************************************************************************
  148. * Components : Form
  149. * Components ID : SPADB60605
  150. * Event : oninit
  151. * Argument : 01.obj : Object Event has occurred
  152. * : 02.e : Event Object
  153. * Description : 화면 처음 초기화시 폼초기화
  154. ****************************************************************************************/
  155. function SPADB60605_oninit(obj:Form, e:InitEventInfo)
  156. {
  157. frmf_initForm(obj); // 폼 초기화
  158. }
  159. /****************************************************************************************
  160. * Components : Form
  161. * Components ID : SPADB60605
  162. * Event : onload
  163. * Argument : 01.obj : Object Event has occurred
  164. * : 02.e : Event Object
  165. * Description : 화면 처음 초기화시 폼초기화
  166. ****************************************************************************************/
  167. function SPADB60605_onload(obj:Form, e:LoadEventInfo)
  168. {
  169. ds_send_srchinfo.setColumn(0,"srchioflag","");
  170. try{
  171. ds_send_srchinfo.copyData(arg_ds_send_srchinfo);
  172. }catch(e){}
  173. var oParam = {};
  174. oParam.id = "TRADB60605";
  175. oParam.service = "pharmacyprescriptionapp.MpsCheck";
  176. oParam.method = "reqGetMemoList";
  177. oParam.inds = "req=ds_send_srchinfo";
  178. oParam.outds = "ds_main_memoinfo=item";
  179. oParam.async = true;
  180. //oParam.callback = "cf_TRADB60605";
  181. tranf_submit(oParam);
  182. }
  183. /****************************************************************************************
  184. * Components : Button
  185. * Components ID : grp_btn.btn_cls
  186. * Event : onclick
  187. * Argument : 01.obj : Object Event has occurred
  188. * : 02.e : Event Object
  189. * Description : 화면 닫기
  190. ****************************************************************************************/
  191. function grp_btn_btn_cls_onclick(obj:Button, e:ClickEventInfo)
  192. {
  193. this.close();
  194. }
  195. ]]></Script>
  196. </Form>
  197. </FDL>