SMLLP02800_건진작업조회.xfdl 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMLLP02800" position="absolute 0 0 1197 793" titletext="건진조회" oninit="SMLLP02800_oninit" onload="SMLLP02800_onload">
  5. <Layouts>
  6. <Layout>
  7. <Button id="btn_reset" taborder="1" text="초기화" class="btn4" position="absolute 1127 24 1195 46" onclick="btn_reset_onclick" anchor="top right"/>
  8. <Button id="button11" taborder="2" text="출력" class="btn6" position="absolute 0 33 56 55" onclick="button11_onclick" anchor="left top"/>
  9. <Static id="caption6" text="건진조회" class="tit_1" position="absolute 0 0 88 25" anchor="left top"/>
  10. <Shape id="line1" linetype="horizontal" class="line_1" position="absolute 0 123 1194 129" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
  11. <Div id="group1" taborder="3" position="absolute 0 62 1195 97" anchor="left top right" class="div_SA2">
  12. <Layouts>
  13. <Layout>
  14. <Shape id="line3" linetype="vertical" class="line_4" position="absolute 1105 7 1111 29" anchor="top right"/>
  15. <Button id="btn_Ref" taborder="3" text="조회" class="btn1" position="absolute 1123 7 1179 29" onclick="group1_btn_Ref_onclick" anchor="top right"/>
  16. <Static id="caption11" text="조회일자 :" class="search_name" position="absolute 890 10 981 27" anchor="top right"/>
  17. <Calendar id="input1" taborder="4" class="input_search" position="absolute 985 9 1085 28" onkeyup="group1_input1_onkeyup" anchor="top right"/>
  18. </Layout>
  19. </Layouts>
  20. </Div>
  21. <Static id="caption3" text="건진조회리스트" class="tit_2" position="absolute 1 106 116 122" anchor="left top"/>
  22. <Grid id="grd_slist" taborder="4" binddataset="ds_grd_slist" useinputpanel="false" position="absolute 0 127 1194 792" anchor="all" cellsizingtype="none" autofittype="col">
  23. <Formats>
  24. <Format id="default">
  25. <Columns>
  26. <Column size="100"/>
  27. <Column size="80"/>
  28. <Column size="80"/>
  29. <Column size="35"/>
  30. <Column size="35"/>
  31. <Column size="35"/>
  32. <Column size="105"/>
  33. <Column size="80"/>
  34. <Column size="120"/>
  35. <Column size="120"/>
  36. <Column size="80"/>
  37. <Column size="320"/>
  38. </Columns>
  39. <Rows>
  40. <Row size="24" band="head"/>
  41. <Row size="24"/>
  42. </Rows>
  43. <Band id="head">
  44. <Cell text="처방일자"/>
  45. <Cell col="1" text="등록번호"/>
  46. <Cell col="2" text="환자명"/>
  47. <Cell col="3" text="성별"/>
  48. <Cell col="4" text="나이"/>
  49. <Cell col="5" text="ABO"/>
  50. <Cell col="6" text="진료과"/>
  51. <Cell col="7" text="WBC"/>
  52. <Cell col="8" text="HBsAg"/>
  53. <Cell col="9" text="HIVAg/Ab"/>
  54. <Cell col="10" text="Plt"/>
  55. <Cell col="11" text="진단"/>
  56. </Band>
  57. <Band id="body">
  58. <Cell displaytype="date" edittype="date" text="bind:prcpdd" mask="yyyy-MM-dd"/>
  59. <Cell col="1" text="bind:pid"/>
  60. <Cell col="2" text="bind:patnm"/>
  61. <Cell col="3" text="bind:sex"/>
  62. <Cell col="4" text="bind:age"/>
  63. <Cell col="5" text="bind:abo"/>
  64. <Cell col="6" text="bind:orddeptnm"/>
  65. <Cell col="7" text="bind:wbc"/>
  66. <Cell col="8" text="bind:hbs"/>
  67. <Cell col="9" text="bind:hiv"/>
  68. <Cell col="10" text="bind:plt"/>
  69. <Cell col="11" text="bind:termhngnm"/>
  70. </Band>
  71. </Format>
  72. </Formats>
  73. </Grid>
  74. </Layout>
  75. </Layouts>
  76. <Objects>
  77. <Dataset id="ds_grd_slist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  78. <ColumnInfo>
  79. <Column id="prcpdd" type="STRING"/>
  80. <Column id="pid" type="STRING"/>
  81. <Column id="patnm" type="STRING"/>
  82. <Column id="sex" type="STRING"/>
  83. <Column id="age" type="STRING"/>
  84. <Column id="abo" type="STRING"/>
  85. <Column id="orddeptnm" type="STRING"/>
  86. <Column id="wbc" type="STRING"/>
  87. <Column id="hbs" type="STRING"/>
  88. <Column id="hiv" type="STRING"/>
  89. <Column id="plt" type="STRING"/>
  90. <Column id="termhngnm" type="STRING"/>
  91. </ColumnInfo>
  92. </Dataset>
  93. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  94. <ColumnInfo>
  95. <Column id="fromdd" type="STRING" size="256"/>
  96. </ColumnInfo>
  97. <Rows>
  98. <Row/>
  99. </Rows>
  100. </Dataset>
  101. <Dataset id="ds_hidden_ref" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  102. <ColumnInfo>
  103. <Column id="fromdd" type="STRING" size="256"/>
  104. </ColumnInfo>
  105. <Rows>
  106. <Row/>
  107. </Rows>
  108. </Dataset>
  109. </Objects>
  110. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  111. * System Name :
  112. * Job Name :
  113. * Creator :
  114. * Make Date : 2015-05-01
  115. * Description :
  116. *---------------------------------------------------------------------------------------
  117. * Modify Date Modifier Modify Description
  118. *---------------------------------------------------------------------------------------
  119. * 2015-05-01 Live Converter TF->XP
  120. *
  121. *---------------------------------------------------------------------------------------
  122. ****************************************************************************************/
  123. include "com_commonxp::comm_main.xjs";
  124. function SMLLP02800_oninit(obj:Form, e:InitEventInfo)
  125. {
  126. //폼 초기화 함수
  127. frmf_initForm(obj);
  128. }
  129. function SMLLP02800_onload(obj:Form, e:LoadEventInfo)
  130. {
  131. grdf_initGrid(grd_slist);
  132. fSetInit();
  133. }
  134. function fSetInit()
  135. {
  136. group1.input1.value = utlf_getCurrentDate();
  137. }
  138. //조회
  139. function fGetSList()
  140. {
  141. ds_send.setColumn(0, "fromdd", group1.input1.value);
  142. var oParam = {};
  143. oParam.id = "TRLLP02801";
  144. oParam.service = "refprintmngtapp.GeneralRefPrintMngt";
  145. oParam.method = "reqGetSWorkList";
  146. oParam.inds = "cond=ds_send";
  147. oParam.outds = "ds_grd_slist=getSWorkList";
  148. oParam.async = false;
  149. //oParam.callback = "cf_TRLLP02801";
  150. tranf_submit(oParam);
  151. }
  152. //조회
  153. function group1_btn_Ref_onclick(obj:Button, e:ClickEventInfo)
  154. {
  155. fGetSList();
  156. }
  157. function group1_input1_onkeyup(obj:Calendar, e:KeyEventInfo)
  158. {
  159. if(e.keycode == 13)
  160. {
  161. fGetSList();
  162. }
  163. }
  164. //초기화
  165. function btn_reset_onclick(obj:Button, e:ClickEventInfo)
  166. {
  167. this.reload();
  168. }
  169. function button11_onclick(obj:Button, e:ClickEventInfo)
  170. {
  171. var objDOM = rptf_createDOM();
  172. rptf_setNodeListToDOM(objDOM, "root/main/slist", ds_grd_slist);
  173. rptf_setValueToDOM(objDOM, "root/send/fromdd", group1.input1.value);
  174. var objParam = new Object();
  175. objParam.xml_data_XML1 = objDOM.documentElement.source;
  176. var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
  177. rptf_exeReportPreview30(["RPLLP02800"],[objParam], option);
  178. }
  179. ]]></Script>
  180. </Form>
  181. </FDL>