SPMNP00202_SMS전송내역조회.xfdl 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPMNP00202" position="absolute 0 0 680 470" titletext="수술준비확인 SMS전송내역조회" oninit="SPMNP00202_oninit" onload="SPMNP00202_onload">
  5. <Layouts>
  6. <Layout>
  7. <Shape id="roundrect1" type="roundrectangle" class="roundrect_search" position="absolute 0 0 665 40"/>
  8. <Static text="SMS전송내역" position="absolute 0 55 225 71" align="align:center middle;" id="caption1" class="tit_2"/>
  9. <Grid position="absolute 0 75 665 460" id="grd_smslist" binddataset="ds_main_smsinfo_smslist">
  10. <Formats>
  11. <Format id="default">
  12. <Columns>
  13. <Column size="20"/>
  14. <Column size="73"/>
  15. <Column size="41"/>
  16. <Column size="443"/>
  17. <Column size="55"/>
  18. </Columns>
  19. <Rows>
  20. <Row size="24" band="head"/>
  21. <Row size="24"/>
  22. </Rows>
  23. <Band id="head">
  24. <Cell/>
  25. <Cell col="1" colspan="2" text="전송일시" taborder="undefined"/>
  26. <Cell col="3" text="전송내용"/>
  27. <Cell col="4" text="전송자"/>
  28. </Band>
  29. <Band id="body">
  30. <Cell celltype="head" expr="expr:currow + 1"/>
  31. <Cell col="1" displaytype="date" style="align:center;" text="bind:senddd" calendardisplaynulltype="none"/>
  32. <Cell col="2" style="align:center;" text="bind:sendtm" mask="expr:utlf_isNull(sendtm) ? '' : '##:##'"/>
  33. <Cell col="3" style="align:left;" text="bind:msgcnts"/>
  34. <Cell col="4" style="align:center;" text="bind:sendrnm"/>
  35. </Band>
  36. </Format>
  37. </Formats>
  38. </Grid>
  39. <Static text="전송일자 :" position="absolute 6 13 82 30" id="caption3" class="search_name"/>
  40. <Static text="환자명 :" position="absolute 290 14 351 31" id="caption2" class="search_name"/>
  41. <Static text="~" position="absolute 174 12 189 32" id="caption4"/>
  42. <Calendar position="absolute 187 11 277 30" id="ipt_todd" class="input_s_essential" taborder="2"/>
  43. <Calendar position="absolute 82 11 172 30" id="ipt_fromdd" class="input_s_essential" taborder="1"/>
  44. <Button position="absolute 601 9 657 31" id="button1" class="btn1" text="조회" onclick="button1_onclick"/>
  45. <Shape position="absolute 588 9 594 31" linetype="vertical" id="line2" class="line_4"/>
  46. <Edit position="absolute 487 12 582 31" id="ipt_srchnm"/>
  47. <Radio position="absolute 350 13 484 30" id="rdo_srchflag" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn">
  48. <Dataset id="innerdataset">
  49. <ColumnInfo>
  50. <Column id="codecolumn"/>
  51. <Column id="datacolumn"/>
  52. </ColumnInfo>
  53. <Rows>
  54. <Row>
  55. <Col id="codecolumn">1</Col>
  56. <Col id="datacolumn">등록번호</Col>
  57. </Row>
  58. <Row>
  59. <Col id="codecolumn">2</Col>
  60. <Col id="datacolumn">환자명</Col>
  61. </Row>
  62. </Rows>
  63. </Dataset>
  64. </Radio>
  65. </Layout>
  66. </Layouts>
  67. <Objects>
  68. <Dataset id="ds_main_smsinfo_smslist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  69. <ColumnInfo>
  70. <Column id="senddd" type="STRING"/>
  71. <Column id="sendtm" type="STRING"/>
  72. <Column id="msgcnts" type="STRING"/>
  73. <Column id="sendrnm" type="STRING"/>
  74. </ColumnInfo>
  75. </Dataset>
  76. <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  77. <ColumnInfo>
  78. <Column id="fromdd" type="STRING" size="256" sumtext="시작일자"/>
  79. <Column id="todd" type="STRING" size="256" sumtext="종료일자"/>
  80. <Column id="srchflag" type="STRING" size="256" sumtext="조회구분"/>
  81. <Column id="srchnm" type="STRING" size="256" sumtext="조회명"/>
  82. </ColumnInfo>
  83. <Rows>
  84. <Row/>
  85. </Rows>
  86. </Dataset>
  87. <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  88. <ColumnInfo>
  89. <Column id="fromdd" type="STRING" size="256"/>
  90. <Column id="todd" type="STRING" size="256"/>
  91. <Column id="srchflag" type="STRING" size="256"/>
  92. <Column id="srchnm" type="STRING" size="256"/>
  93. </ColumnInfo>
  94. <Rows>
  95. <Row/>
  96. </Rows>
  97. </Dataset>
  98. </Objects>
  99. <Bind>
  100. <BindItem id="item0" compid="ipt_fromdd" propid="value" datasetid="ds_main_cond" columnid="fromdd"/>
  101. <BindItem id="item1" compid="ipt_todd" propid="value" datasetid="ds_main_cond" columnid="todd"/>
  102. <BindItem id="item2" compid="rdo_srchflag" propid="value" datasetid="ds_main_cond" columnid="srchflag"/>
  103. <BindItem id="item3" compid="ipt_srchnm" propid="value" datasetid="ds_main_cond" columnid="srchnm"/>
  104. </Bind>
  105. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  106. * System Name : 경대 의료정보시스템
  107. * Job Name : emr_opanstxp -> SPMNP00202
  108. * Creator : yjh
  109. * Make Date : 2016-06-08
  110. * Description :
  111. *---------------------------------------------------------------------------------------
  112. * Modify Date Modifier Modify Description
  113. *---------------------------------------------------------------------------------------
  114. * 2016-06-08 yjh TF->XP
  115. *
  116. *---------------------------------------------------------------------------------------
  117. ****************************************************************************************/
  118. //=======================================================================================
  119. // Lib Include
  120. //---------------------------------------------------------------------------------------
  121. include "com_commonxp::comm_main.xjs";
  122. //=======================================================================================
  123. // Global Form Variable
  124. //---------------------------------------------------------------------------------------
  125. //=======================================================================================
  126. // Function
  127. //---------------------------------------------------------------------------------------
  128. function fSearch() {
  129. ds_send_reqdata.copyRow(0, ds_main_cond, 0);
  130. var oParam = {};
  131. oParam.id = "TRMNP00221";
  132. oParam.service = "opanstapp.OpAnstRec";
  133. oParam.method = "reqGetSendSmsList";
  134. oParam.inds = "req=ds_send_reqdata";
  135. oParam.outds = "ds_main_smsinfo_smslist=smslist";
  136. oParam.async = false;
  137. //oParam.callback = "cf_TRMNP00221";
  138. tranf_submit(oParam);
  139. }
  140. //=======================================================================================
  141. // Event
  142. //---------------------------------------------------------------------------------------
  143. /****************************************************************************************
  144. * Components : Form
  145. * Components ID : SPMNP00202
  146. * Event : oninit
  147. * Argument : 01.obj : Object Event has occurred
  148. * : 02.e : Event Object
  149. * Description : 화면 처음 초기화시
  150. ****************************************************************************************/
  151. function SPMNP00202_oninit(obj:Form, e:InitEventInfo)
  152. {
  153. frmf_initForm(obj); //폼 초기화
  154. }
  155. /****************************************************************************************
  156. * Components : Form
  157. * Components ID : SPMNP00202
  158. * Event : onload
  159. * Argument : 01.obj : Object Event has occurred
  160. * : 02.e : Event Object
  161. * Description : 화면 로딩 완료시
  162. ****************************************************************************************/
  163. function SPMNP00202_onload(obj:Form, e:LoadEventInfo)
  164. {
  165. ds_main_cond.setColumn(0, "srchflag", "1");
  166. var pid = sysf_getModelProperty("pid");
  167. var hngnm = sysf_getModelProperty("hngnm");
  168. var opcnfmdd = sysf_getModelProperty("opcnfmdd");
  169. if( utlf_isNull(opcnfmdd) ){
  170. ipt_fromdd.value = utlf_getCurrentDate();
  171. } else {
  172. ipt_fromdd.value = opcnfmdd;
  173. }
  174. ipt_todd.value = utlf_getCurrentDate();
  175. if( !utlf_isNull(pid) ){
  176. ipt_srchnm.value = pid;
  177. }
  178. fSearch() ;
  179. sysf_setModelProperty("pid", "");
  180. sysf_setModelProperty("hngnm", "");
  181. }
  182. /****************************************************************************************
  183. * Components : Button
  184. * Components ID : button1
  185. * Event : onclick
  186. * Argument : 01.obj : Object Event has occurred
  187. * : 02.e : Event Object
  188. * Description : 조회버튼 클릭시
  189. ****************************************************************************************/
  190. function button1_onclick(obj:Button, e:ClickEventInfo)
  191. {
  192. fSearch();
  193. }
  194. ]]></Script>
  195. </Form>
  196. </FDL>