SMLLS00810_수혈반환일건수.xfdl 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMLLS00810" position="absolute 0 0 1256 805" titletext="장비별검사건수" oninit="SMLLS00810_oninit" onload="SMLLS00810_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static text="수혈반환 일건수" position="absolute 0 0 128 25" id="caption6" class="tit_1" anchor="left top"/>
  8. <Button id="btn_print" taborder="1" text="출력" class="btn6" visible="false" position="absolute 1049 63 1105 85" anchor="top right"/>
  9. <Button id="btn_excel" taborder="2" text="엑셀저장" class="btn7" position="absolute 1114 63 1190 85" anchor="top right"/>
  10. <Div id="group1" taborder="3" class="div_SA" position="absolute 0 25 1195 60" anchor="left top right">
  11. <Layouts>
  12. <Layout>
  13. <Button id="btn_ref" taborder="1" text="조회" class="btn1" position="absolute 1123 7 1179 29" onclick="group1_btn_ref_onclick" anchor="top right"/>
  14. <Shape id="line3" linetype="vertical" class="line_4" position="absolute 1105 6 1111 28" anchor="top right"/>
  15. <Calendar id="ipt_workfromdd" taborder="2" class="input_search" position="absolute 128 8 234 27" anchor="left top"/>
  16. <Calendar id="ipt_worktodd" taborder="3" class="input_search" position="absolute 259 8 365 27" onkeyup="group1_ipt_worktodd_onkeyup" anchor="left top"/>
  17. <Static id="caption4" text="통계 희망일 :" class="search_name" position="absolute 15 9 109 26" anchor="left top"/>
  18. <Static id="caption9" text="~" class="search_no_b" position="absolute 241 10 254 27" anchor="left top"/>
  19. </Layout>
  20. </Layouts>
  21. </Div>
  22. <Tab id="swt_statflag" taborder="4" tabindex="0" class="sw_box" position="absolute 1 95 1203 771" anchor="all">
  23. <Tabpages>
  24. <Tabpage id="dd" text="일별 통계">
  25. <Layouts>
  26. <Layout>
  27. <Grid id="grd_dd" taborder="0" binddataset="ds_grd_dd" useinputpanel="false" position="absolute 2 3 1196 649" anchor="all" autofittype="col">
  28. <Formats>
  29. <Format id="default">
  30. <Columns>
  31. <Column size="25"/>
  32. <Column size="156"/>
  33. <Column size="40"/>
  34. <Column size="40"/>
  35. <Column size="40"/>
  36. <Column size="40"/>
  37. <Column size="40"/>
  38. <Column size="40"/>
  39. <Column size="40"/>
  40. <Column size="40"/>
  41. <Column size="40"/>
  42. <Column size="40"/>
  43. <Column size="40"/>
  44. <Column size="40"/>
  45. <Column size="40"/>
  46. <Column size="40"/>
  47. <Column size="40"/>
  48. <Column size="40"/>
  49. <Column size="40"/>
  50. <Column size="40"/>
  51. <Column size="40"/>
  52. <Column size="40"/>
  53. <Column size="40"/>
  54. <Column size="40"/>
  55. <Column size="40"/>
  56. <Column size="40"/>
  57. <Column size="40"/>
  58. <Column size="40"/>
  59. <Column size="40"/>
  60. <Column size="40"/>
  61. <Column size="40"/>
  62. <Column size="40"/>
  63. <Column size="40"/>
  64. <Column size="60"/>
  65. </Columns>
  66. <Rows>
  67. <Row size="24" band="head"/>
  68. <Row size="24"/>
  69. </Rows>
  70. <Band id="head">
  71. <Cell/>
  72. <Cell col="1" text="검사항목"/>
  73. <Cell col="2" text="01"/>
  74. <Cell col="3" text="02"/>
  75. <Cell col="4" text="03"/>
  76. <Cell col="5" text="04"/>
  77. <Cell col="6" text="05"/>
  78. <Cell col="7" text="06"/>
  79. <Cell col="8" text="07"/>
  80. <Cell col="9" text="08"/>
  81. <Cell col="10" text="09"/>
  82. <Cell col="11" text="10"/>
  83. <Cell col="12" text="11"/>
  84. <Cell col="13" text="12"/>
  85. <Cell col="14" text="13"/>
  86. <Cell col="15" text="14"/>
  87. <Cell col="16" text="15"/>
  88. <Cell col="17" text="16"/>
  89. <Cell col="18" text="17"/>
  90. <Cell col="19" text="18"/>
  91. <Cell col="20" text="19"/>
  92. <Cell col="21" text="20"/>
  93. <Cell col="22" text="21"/>
  94. <Cell col="23" text="22"/>
  95. <Cell col="24" text="23"/>
  96. <Cell col="25" text="24"/>
  97. <Cell col="26" text="25"/>
  98. <Cell col="27" text="26"/>
  99. <Cell col="28" text="27"/>
  100. <Cell col="29" text="28"/>
  101. <Cell col="30" text="29"/>
  102. <Cell col="31" text="30"/>
  103. <Cell col="32" text="31"/>
  104. <Cell col="33" text="Total"/>
  105. </Band>
  106. <Band id="body">
  107. <Cell expr="expr:currow + 1"/>
  108. <Cell col="1" style="align:left middle;" text="bind:tclsscrnnm"/>
  109. <Cell col="2" displaytype="number" text="bind:d01"/>
  110. <Cell col="3" displaytype="number" text="bind:d02"/>
  111. <Cell col="4" displaytype="number" text="bind:d03"/>
  112. <Cell col="5" displaytype="number" text="bind:d04"/>
  113. <Cell col="6" displaytype="number" text="bind:d05"/>
  114. <Cell col="7" displaytype="number" text="bind:d06"/>
  115. <Cell col="8" displaytype="number" text="bind:d07"/>
  116. <Cell col="9" displaytype="number" text="bind:d08"/>
  117. <Cell col="10" displaytype="number" text="bind:d09"/>
  118. <Cell col="11" displaytype="number" text="bind:d10"/>
  119. <Cell col="12" displaytype="number" text="bind:d11"/>
  120. <Cell col="13" displaytype="number" text="bind:d12"/>
  121. <Cell col="14" displaytype="number" text="bind:d13"/>
  122. <Cell col="15" displaytype="number" text="bind:d14"/>
  123. <Cell col="16" displaytype="number" text="bind:d15"/>
  124. <Cell col="17" displaytype="number" text="bind:d16"/>
  125. <Cell col="18" displaytype="number" text="bind:d17"/>
  126. <Cell col="19" displaytype="number" text="bind:d18"/>
  127. <Cell col="20" displaytype="number" text="bind:d19"/>
  128. <Cell col="21" displaytype="number" text="bind:d20"/>
  129. <Cell col="22" displaytype="number" text="bind:d21"/>
  130. <Cell col="23" displaytype="number" text="bind:d22"/>
  131. <Cell col="24" displaytype="number" text="bind:d23"/>
  132. <Cell col="25" displaytype="number" text="bind:d24"/>
  133. <Cell col="26" displaytype="number" text="bind:d25"/>
  134. <Cell col="27" displaytype="number" text="bind:d26"/>
  135. <Cell col="28" displaytype="number" text="bind:d27"/>
  136. <Cell col="29" displaytype="number" text="bind:d28"/>
  137. <Cell col="30" displaytype="number" text="bind:d29"/>
  138. <Cell col="31" displaytype="number" text="bind:d30"/>
  139. <Cell col="32" displaytype="number" text="bind:d31"/>
  140. <Cell col="33" displaytype="number" text="bind:total"/>
  141. </Band>
  142. </Format>
  143. </Formats>
  144. </Grid>
  145. </Layout>
  146. </Layouts>
  147. </Tabpage>
  148. </Tabpages>
  149. </Tab>
  150. </Layout>
  151. </Layouts>
  152. <Objects>
  153. <Dataset id="ds_grd_dd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  154. <ColumnInfo>
  155. <Column id="tclsscrnnm" type="STRING"/>
  156. <Column id="d01" type="STRING"/>
  157. <Column id="d02" type="STRING"/>
  158. <Column id="d03" type="STRING"/>
  159. <Column id="d04" type="STRING"/>
  160. <Column id="d05" type="STRING"/>
  161. <Column id="d06" type="STRING"/>
  162. <Column id="d07" type="STRING"/>
  163. <Column id="d08" type="STRING"/>
  164. <Column id="d09" type="STRING"/>
  165. <Column id="d10" type="STRING"/>
  166. <Column id="d11" type="STRING"/>
  167. <Column id="d12" type="STRING"/>
  168. <Column id="d13" type="STRING"/>
  169. <Column id="d14" type="STRING"/>
  170. <Column id="d15" type="STRING"/>
  171. <Column id="d16" type="STRING"/>
  172. <Column id="d17" type="STRING"/>
  173. <Column id="d18" type="STRING"/>
  174. <Column id="d19" type="STRING"/>
  175. <Column id="d20" type="STRING"/>
  176. <Column id="d21" type="STRING"/>
  177. <Column id="d22" type="STRING"/>
  178. <Column id="d23" type="STRING"/>
  179. <Column id="d24" type="STRING"/>
  180. <Column id="d25" type="STRING"/>
  181. <Column id="d26" type="STRING"/>
  182. <Column id="d27" type="STRING"/>
  183. <Column id="d28" type="STRING"/>
  184. <Column id="d29" type="STRING"/>
  185. <Column id="d30" type="STRING"/>
  186. <Column id="d31" type="STRING"/>
  187. <Column id="total" type="STRING"/>
  188. </ColumnInfo>
  189. </Dataset>
  190. <Dataset id="ds_grd_mm" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  191. <ColumnInfo>
  192. <Column id="tclsscrnnm" type="STRING"/>
  193. <Column id="d01" type="STRING"/>
  194. <Column id="d02" type="STRING"/>
  195. <Column id="d03" type="STRING"/>
  196. <Column id="d04" type="STRING"/>
  197. <Column id="d05" type="STRING"/>
  198. <Column id="d06" type="STRING"/>
  199. <Column id="d07" type="STRING"/>
  200. <Column id="d08" type="STRING"/>
  201. <Column id="d09" type="STRING"/>
  202. <Column id="d10" type="STRING"/>
  203. <Column id="d11" type="STRING"/>
  204. <Column id="d12" type="STRING"/>
  205. <Column id="total" type="STRING"/>
  206. </ColumnInfo>
  207. </Dataset>
  208. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  209. <ColumnInfo>
  210. <Column id="statshopefromdd" type="STRING" size="256"/>
  211. <Column id="statshopetodd" type="STRING" size="256"/>
  212. <Column id="sectcd" type="STRING" size="256"/>
  213. <Column id="testeqmtcd" type="STRING" size="256"/>
  214. </ColumnInfo>
  215. <Rows>
  216. <Row/>
  217. </Rows>
  218. </Dataset>
  219. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  220. <ColumnInfo>
  221. <Column id="sectcd" type="STRING" size="256"/>
  222. <Column id="testeqmtcd" type="STRING" size="256"/>
  223. </ColumnInfo>
  224. <Rows>
  225. <Row>
  226. <Col id="sectcd">00</Col>
  227. <Col id="testeqmtcd">00</Col>
  228. </Row>
  229. </Rows>
  230. </Dataset>
  231. </Objects>
  232. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  233. * System Name :
  234. * Job Name :
  235. * Creator :
  236. * Make Date : 2015-11-13
  237. * Description :
  238. *---------------------------------------------------------------------------------------
  239. * Modify Date Modifier Modify Description
  240. *---------------------------------------------------------------------------------------
  241. * 2015-11-13 Live Converter TF->XP
  242. *
  243. *---------------------------------------------------------------------------------------
  244. ****************************************************************************************/
  245. include "com_commonxp::comm_main.xjs";
  246. include "lis_commonxp::LLZ001.xjs";
  247. function SMLLS00810_oninit(obj:Form, e:InitEventInfo)
  248. {
  249. //폼 초기화 함수
  250. frmf_initForm(obj);
  251. }
  252. function SMLLS00810_onload(obj:Form, e:LoadEventInfo)
  253. {
  254. grdf_initGrid(swt_statflag.dd.grd_dd);
  255. group1.ipt_workfromdd.value = utlf_getCurrentDate();
  256. group1.ipt_worktodd.value = utlf_getCurrentDate();
  257. }
  258. function fGetStats()
  259. {
  260. //model.makeValue("/root/send/statshopefromdd", model.getValue("/root/hidden/statshopefromdd")); //통계희망시작일
  261. //model.makeValue("/root/send/statshopetodd", model.getValue("/root/hidden/statshopetodd")); //통계희망종료일
  262. ds_send.setColumn(0, "statshopefromdd", group1.ipt_workfromdd.value);
  263. ds_send.setColumn(0, "statshopetodd", group1.ipt_worktodd.value);
  264. //submit("TRLLS00803");
  265. ds_send.setColumn(0, "sectcd", ds_hidden.getColumn(0, "sectcd"));
  266. ds_send.setColumn(0, "testeqmtcd", ds_hidden.getColumn(0, "testeqmtcd"));
  267. var oParam = {};
  268. oParam.id = "TRLLS00803";
  269. oParam.service = "statsmngtapp.GeneralTestStatsRefMngt";
  270. oParam.method = "reqGetBloodRtnStats";
  271. oParam.inds = "cond=ds_send";
  272. oParam.outds = "ds_grd_dd=getEqmtTestStats";
  273. oParam.async = false;
  274. //oParam.callback = "cf_TRLLS00803";
  275. tranf_submit(oParam);
  276. // model.removeNodeset("/root/send");
  277. // model.makeNode("/root/send");
  278. }
  279. //조회
  280. function group1_btn_ref_onclick(obj:Button, e:ClickEventInfo)
  281. {
  282. fGetStats();
  283. }
  284. function group1_ipt_worktodd_onkeyup(obj:Calendar, e:KeyEventInfo)
  285. {
  286. if(e.keycode == 13)
  287. {
  288. fGetStats();
  289. }
  290. }
  291. ]]></Script>
  292. </Form>
  293. </FDL>