SMMNE07300_Trauma지표관리.xfdl 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMNE07300" position="absolute 0 0 1196 771" titletext="Trauma 지표관리" oninit="SMMNE07300_oninit" onload="SMMNE07300_onload" ontimer="SMMNE07300_ontimer">
  5. <Layouts>
  6. <Layout>
  7. <Div id="group2" taborder="0" class="div_SA" position="absolute 0 25 1194 65" anchor="left top right">
  8. <Layouts>
  9. <Layout>
  10. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1036 10 1042 32" anchor="top right"/>
  11. <Static id="caption2" text="조회기간 :" class="search_name" position="absolute 31 14 102 31" anchor="default"/>
  12. <Calendar id="input_refFrDT" taborder="1" class="input_s_essential" position="absolute 114 10 214 32" anchor="default" dateformat="yyyy-MM-dd" value="null" autoselect="true" autoskip="true"/>
  13. <Static id="caption5" text="~" class="search_no_b" position="absolute 222 13 233 30" anchor="default"/>
  14. <Calendar id="input_refToDT" taborder="2" class="input_s_essential" position="absolute 240 10 340 32" anchor="default" dateformat="yyyy-MM-dd" autoselect="true"/>
  15. <Button id="btn_srch" taborder="3" text="조회" class="btn1" position="absolute 1055 10 1111 32" anchor="top right" onclick="group2_btn_srch_onclick"/>
  16. <Button id="button1" taborder="4" text="엑셀" class="btn7" position="absolute 1120 10 1176 32" anchor="top right" onclick="group2_button1_onclick"/>
  17. </Layout>
  18. </Layouts>
  19. </Div>
  20. <Shape id="line4" linetype="horizontal" class="line_10" position="absolute 0 90 1194 96" anchor="left top right"/>
  21. <Grid id="grd_erpatlist" class="datagrid2" taborder="1" binddataset="ds_grd_erpatlist" useinputpanel="false" position="absolute 0 95 1194 751" autofittype="col" anchor="all">
  22. <Formats>
  23. <Format id="default">
  24. <Columns>
  25. <Column size="90"/>
  26. <Column size="91"/>
  27. <Column size="61"/>
  28. <Column size="130"/>
  29. <Column size="50"/>
  30. <Column size="100"/>
  31. <Column size="130"/>
  32. <Column size="130"/>
  33. <Column size="130"/>
  34. <Column size="130"/>
  35. <Column size="130"/>
  36. </Columns>
  37. <Rows>
  38. <Row size="24" band="head"/>
  39. <Row size="24"/>
  40. </Rows>
  41. <Band id="head">
  42. <Cell text="등록번호"/>
  43. <Cell col="1" text="환자명"/>
  44. <Cell col="2" text="과"/>
  45. <Cell col="3" text="경과기록작성시간"/>
  46. <Cell col="4" text="S/A"/>
  47. <Cell col="5" text="Date"/>
  48. <Cell col="6" text="DoorTime"/>
  49. <Cell col="7" text="Activation"/>
  50. <Cell col="8" text="Visit-Time"/>
  51. <Cell col="9" text="Admission"/>
  52. <Cell col="10" text="Admission Type"/>
  53. </Band>
  54. <Band id="body">
  55. <Cell text="bind:pid" suppress="0"/>
  56. <Cell col="1" text="bind:hngnm" suppress="0"/>
  57. <Cell col="2" text="bind:abbrnm"/>
  58. <Cell col="3" text="bind:rectm" mask="expr:utlf_isNull(rectm) ? '' : '####-##-## ##:##'" maskchar=" "/>
  59. <Cell col="4" text="bind:sex"/>
  60. <Cell col="5" displaytype="expr:utlf_isNull(indd) ? 'normal' : 'date'" text="bind:indd"/>
  61. <Cell col="6" text="bind:doortime" mask="expr:utlf_isNull(doortime) ? '' : '####-##-## ##:##'" maskchar=" "/>
  62. <Cell col="7" text="bind:fcalltime" mask="expr:utlf_isNull(fcalltime) ? '' : '####-##-## ##:##'" maskchar=" "/>
  63. <Cell col="8" text="bind:visittime" mask="expr:utlf_isNull(visittime) ? '' : '####-##-## ##:##'" maskchar=" "/>
  64. <Cell col="9" text="bind:outtime" mask="expr:utlf_isNull(outtime) ? '' : '####-##-## ##:##'" maskchar=" "/>
  65. <Cell col="10" text="bind:admstp"/>
  66. </Band>
  67. </Format>
  68. </Formats>
  69. </Grid>
  70. <Static id="caption22" text="Trauma 환자 리스트" class="tit_2" position="absolute 0 74 221 91"/>
  71. <Shape id="line1" linetype="horizontal" class="line_3" position="absolute 0 750 1194 756" anchor="left right bottom"/>
  72. <Static id="caption6" text="Trauma 지표관리" class="tit_1" position="absolute 0 0 137 25"/>
  73. <Static id="caption1" text="[표]" position="absolute 1171 757 1196 769" anchor="right bottom"/>
  74. </Layout>
  75. </Layouts>
  76. <Objects>
  77. <Dataset id="ds_main_erpatinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  78. <ColumnInfo>
  79. <Column id="pid" type="STRING"/>
  80. <Column id="hngnm" type="STRING"/>
  81. <Column id="abbrnm" type="STRING"/>
  82. <Column id="rectm" type="STRING"/>
  83. <Column id="sex" type="STRING"/>
  84. <Column id="indd" type="STRING"/>
  85. <Column id="doortime" type="STRING"/>
  86. <Column id="fcalltime" type="STRING"/>
  87. <Column id="visittime" type="STRING"/>
  88. <Column id="outtime" type="STRING"/>
  89. <Column id="admstp" type="STRING"/>
  90. </ColumnInfo>
  91. </Dataset>
  92. <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  93. <ColumnInfo>
  94. <Column id="fromdd" type="STRING" size="256"/>
  95. <Column id="todd" type="STRING" size="256"/>
  96. </ColumnInfo>
  97. <Rows>
  98. <Row/>
  99. </Rows>
  100. </Dataset>
  101. </Objects>
  102. <Bind>
  103. <BindItem id="item0" compid="group2.input_refFrDT" propid="value" datasetid="ds_cond" columnid="fromdd"/>
  104. <BindItem id="item1" compid="group2.input_refToDT" propid="value" datasetid="ds_cond" columnid="todd"/>
  105. </Bind>
  106. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  107. * System Name :
  108. * Job Name :
  109. * Creator :
  110. * Make Date : 2015-11-13
  111. * Description :
  112. *---------------------------------------------------------------------------------------
  113. * Modify Date Modifier Modify Description
  114. *---------------------------------------------------------------------------------------
  115. * 2015-11-13 Live Converter TF->XP
  116. *
  117. *---------------------------------------------------------------------------------------
  118. ****************************************************************************************/
  119. include "com_commonxp::comm_main.xjs";
  120. /******************************************************************
  121. * Argument :
  122. * Description : 초기화
  123. ******************************************************************/
  124. function SMMNE07300_oninit(obj:Form, e:InitEventInfo)
  125. {
  126. frmf_initForm(obj);
  127. }
  128. function SMMNE07300_onload(obj:Form, e:LoadEventInfo)
  129. {
  130. var toDate = utlf_getCurrentDate();
  131. ds_cond.setColumn(0, "fromdd", toDate);
  132. ds_cond.setColumn(0, "todd", toDate);
  133. //속도개선
  134. this.setTimer(0, 100);
  135. //frmf_inputEnterKey("group2.btn_srch", "onclick", new ClickEventInfo);
  136. }
  137. /******************************************************************
  138. * Argument :
  139. * Description : 조회 button event
  140. ******************************************************************/
  141. function group2_btn_srch_onclick(obj:Button, e:ClickEventInfo)
  142. {
  143. ds_main_erpatinfo.clearData();
  144. var oParam = {};
  145. oParam.id = "TRMNE07301";
  146. oParam.service = "ercareapp.ERSmsIndexMngt";
  147. oParam.method = "reqGetTraumaList";
  148. oParam.inds = "req=ds_cond";
  149. oParam.outds = "ds_main_erpatinfo=erpatlist";
  150. oParam.async = false;
  151. //oParam.callback = "cf_TRMNE07301";
  152. tranf_submit(oParam);
  153. }
  154. /******************************************************************
  155. * Argument :
  156. * Description : Excel button event
  157. ******************************************************************/
  158. function group2_button1_onclick(obj:Button, e:ClickEventInfo)
  159. {
  160. if( ds_main_erpatinfo.rowcount > 0 ){
  161. grdf_exportExcel(grd_erpatlist, "Trauma 지표", "Trauma 지표", false, "", "", false);
  162. } else {
  163. sysf_messageBox("조회된 데이터가 ", "I004");
  164. }
  165. }
  166. function SMMNE07300_ontimer(obj:Form, e:TimerEventInfo)
  167. {
  168. if (e.timerid == 0) {
  169. this.killTimer(0);
  170. frmf_inputEnterKey("group2.btn_srch", "onclick", new ClickEventInfo);
  171. }
  172. }
  173. ]]></Script>
  174. </Form>
  175. </FDL>