SMABS11000_처방코드별처리건수(진검).xfdl 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMABS11000" position="absolute 0 0 1280 737" titletext="처방별 조혈모세포처리 현황" onload="SMABS11000_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="grp_biz" scrollbars="autoboth" position="absolute 0 47 1195 791" style="">
  8. <Layouts>
  9. <Layout>
  10. <Grid id="grd_daycelltret" binddataset="ds_main_celltret_daycelltretlist" position="absolute 0 81 1194 681" style="align:center ;">
  11. <Formats>
  12. <Format id="default">
  13. <Columns>
  14. <Column size="70"/>
  15. <Column size="250"/>
  16. <Column size="60"/>
  17. <Column size="60"/>
  18. <Column size="60"/>
  19. <Column size="60"/>
  20. <Column size="60"/>
  21. <Column size="60"/>
  22. <Column size="60"/>
  23. <Column size="60"/>
  24. <Column size="60"/>
  25. <Column size="60"/>
  26. <Column size="60"/>
  27. <Column size="60"/>
  28. <Column size="60"/>
  29. <Column size="60"/>
  30. <Column size="60"/>
  31. <Column size="60"/>
  32. <Column size="60"/>
  33. <Column size="60"/>
  34. <Column size="60"/>
  35. <Column size="60"/>
  36. <Column size="60"/>
  37. <Column size="60"/>
  38. <Column size="60"/>
  39. <Column size="60"/>
  40. <Column size="60"/>
  41. <Column size="60"/>
  42. <Column size="60"/>
  43. <Column size="60"/>
  44. <Column size="60"/>
  45. <Column size="60"/>
  46. <Column size="60"/>
  47. <Column size="63"/>
  48. <Column size="100"/>
  49. <Column size="100"/>
  50. </Columns>
  51. <Rows>
  52. <Row size="23" band="head"/>
  53. <Row size="23"/>
  54. </Rows>
  55. <Band id="head">
  56. <Cell text="처방코드"/>
  57. <Cell col="1" text="처방내용"/>
  58. <Cell col="2" text="1일"/>
  59. <Cell col="3" text="2일"/>
  60. <Cell col="4" text="3일"/>
  61. <Cell col="5" text="4일"/>
  62. <Cell col="6" text="5일"/>
  63. <Cell col="7" text="6일"/>
  64. <Cell col="8" text="7일"/>
  65. <Cell col="9" text="8일"/>
  66. <Cell col="10" text="9일"/>
  67. <Cell col="11" text="10일"/>
  68. <Cell col="12" text="11일"/>
  69. <Cell col="13" text="12일"/>
  70. <Cell col="14" text="13일"/>
  71. <Cell col="15" text="14일"/>
  72. <Cell col="16" text="15일"/>
  73. <Cell col="17" text="16일"/>
  74. <Cell col="18" text="17일"/>
  75. <Cell col="19" text="18일"/>
  76. <Cell col="20" text="19일"/>
  77. <Cell col="21" text="20일"/>
  78. <Cell col="22" text="21일"/>
  79. <Cell col="23" text="22일"/>
  80. <Cell col="24" text="23일"/>
  81. <Cell col="25" text="24일"/>
  82. <Cell col="26" text="25일"/>
  83. <Cell col="27" text="26일"/>
  84. <Cell col="28" text="27일"/>
  85. <Cell col="29" text="28일"/>
  86. <Cell col="30" text="29일"/>
  87. <Cell col="31" text="30일"/>
  88. <Cell col="32" text="31일"/>
  89. <Cell col="33" text="Total"/>
  90. <Cell col="34" text="전월도"/>
  91. <Cell col="35" text="증감율"/>
  92. <Cell col="36" text=""/>
  93. <Cell col="37" text="7)"/>
  94. <Cell col="38" text="8)"/>
  95. </Band>
  96. <Band id="body">
  97. <Cell text="bind:codenm"/>
  98. <Cell col="1" text="bind:codenm2"/>
  99. <Cell col="2" text="bind:daycnt01"/>
  100. <Cell col="3" text="bind:daycnt02"/>
  101. <Cell col="4" text="bind:daycnt03"/>
  102. <Cell col="5" text="bind:daycnt04"/>
  103. <Cell col="6" text="bind:daycnt05"/>
  104. <Cell col="7" text="bind:daycnt06"/>
  105. <Cell col="8" text="bind:daycnt07"/>
  106. <Cell col="9" text="bind:daycnt08"/>
  107. <Cell col="10" text="bind:daycnt09"/>
  108. <Cell col="11" text="bind:daycnt10"/>
  109. <Cell col="12" text="bind:daycnt11"/>
  110. <Cell col="13" text="bind:daycnt12"/>
  111. <Cell col="14" text="bind:daycnt13"/>
  112. <Cell col="15" text="bind:daycnt14"/>
  113. <Cell col="16" text="bind:daycnt15"/>
  114. <Cell col="17" text="bind:daycnt16"/>
  115. <Cell col="18" text="bind:daycnt17"/>
  116. <Cell col="19" text="bind:daycnt18"/>
  117. <Cell col="20" text="bind:daycnt19"/>
  118. <Cell col="21" text="bind:daycnt20"/>
  119. <Cell col="22" text="bind:daycnt21"/>
  120. <Cell col="23" text="bind:daycnt22"/>
  121. <Cell col="24" text="bind:daycnt23"/>
  122. <Cell col="25" text="bind:daycnt24"/>
  123. <Cell col="26" text="bind:daycnt25"/>
  124. <Cell col="27" text="bind:daycnt26"/>
  125. <Cell col="28" text="bind:daycnt27"/>
  126. <Cell col="29" text="bind:daycnt28"/>
  127. <Cell col="30" text="bind:daycnt29"/>
  128. <Cell col="31" text="bind:daycnt30"/>
  129. <Cell col="32" text="bind:daycnt31"/>
  130. <Cell col="33" text="bind:daycnttotal"/>
  131. <Cell col="34" text="bind:beforeyearcnt"/>
  132. <Cell col="35" text="bind:cntaddper"/>
  133. </Band>
  134. </Format>
  135. </Formats>
  136. </Grid>
  137. <Grid id="grd_monthcelltret" binddataset="ds_main_celltret_celltretlist" position="absolute 0 81 1194 681" style="align:center ;" dragscrolltype="none" visible="false">
  138. <Formats>
  139. <Format id="default">
  140. <Columns>
  141. <Column size="70"/>
  142. <Column size="250"/>
  143. <Column size="60"/>
  144. <Column size="60"/>
  145. <Column size="60"/>
  146. <Column size="60"/>
  147. <Column size="60"/>
  148. <Column size="60"/>
  149. <Column size="60"/>
  150. <Column size="60"/>
  151. <Column size="60"/>
  152. <Column size="60"/>
  153. <Column size="60"/>
  154. <Column size="60"/>
  155. <Column size="63"/>
  156. <Column size="100"/>
  157. <Column size="100"/>
  158. </Columns>
  159. <Rows>
  160. <Row size="23" band="head"/>
  161. <Row size="23"/>
  162. </Rows>
  163. <Band id="head">
  164. <Cell text="처방코드"/>
  165. <Cell col="1" text="처방내용"/>
  166. <Cell col="2" text="1월"/>
  167. <Cell col="3" text="2월"/>
  168. <Cell col="4" text="3월"/>
  169. <Cell col="5" text="4월"/>
  170. <Cell col="6" text="5월"/>
  171. <Cell col="7" text="6월"/>
  172. <Cell col="8" text="7월"/>
  173. <Cell col="9" text="8월"/>
  174. <Cell col="10" text="9월"/>
  175. <Cell col="11" text="10월"/>
  176. <Cell col="12" text="11월"/>
  177. <Cell col="13" text="12월"/>
  178. <Cell col="14" text="Total"/>
  179. <Cell col="15" text="전년도"/>
  180. <Cell col="16" text="증감율"/>
  181. <Cell col="17" text=""/>
  182. <Cell col="18" text="7)"/>
  183. <Cell col="19" text="8)"/>
  184. </Band>
  185. <Band id="body">
  186. <Cell text="bind:codenm"/>
  187. <Cell col="1" text="bind:codenm2"/>
  188. <Cell col="2" text="bind:monthcnt01"/>
  189. <Cell col="3" text="bind:monthcnt02"/>
  190. <Cell col="4" text="bind:monthcnt03"/>
  191. <Cell col="5" text="bind:monthcnt04"/>
  192. <Cell col="6" text="bind:monthcnt05"/>
  193. <Cell col="7" text="bind:monthcnt06"/>
  194. <Cell col="8" text="bind:monthcnt07"/>
  195. <Cell col="9" text="bind:monthcnt08"/>
  196. <Cell col="10" text="bind:monthcnt09"/>
  197. <Cell col="11" text="bind:monthcnt10"/>
  198. <Cell col="12" text="bind:monthcnt11"/>
  199. <Cell col="13" text="bind:monthcnt12"/>
  200. <Cell col="14" text="bind:monthcnttotal"/>
  201. <Cell col="15" text="bind:beforeyearcnt"/>
  202. <Cell col="16" text="bind:cntaddper"/>
  203. </Band>
  204. </Format>
  205. </Formats>
  206. </Grid>
  207. <Static id="caption1" class="tit_2" position="absolute 5 59 215 80" style="" text="처방별 조혈모세포처리 현황"/>
  208. <Shape id="line1" class="line_1" linetype="horizontal" position="absolute 0 76 1194 79" style="strokepen:4 solid #33bbbbff;" anchor="default"/>
  209. <Button id="button2" class="btn2" position="absolute 1129 56 1193 75" style="" text="엑셀저장" onclick="grp_biz_button2_onclick"/>
  210. <Div id="grp_sea" position="absolute 0 10 1194 45" style="align: top;">
  211. <Layouts>
  212. <Layout>
  213. <Shape id="roundrect2" anchor="default" type="roundrectangle" position="absolute 0 0 1194 35" style="border:1 solid #ffd799 #ffd799;background:#fffbf2 ;"/>
  214. <Static id="caption4" class="search_name" position="absolute 15 9 127 26" style="" text="기간(적용일) :"/>
  215. <Static id="caption7" class="search_no_b" position="absolute 233 10 245 27" style="" text="~"/>
  216. <Button id="button3" class="btn1" position="absolute 1123 9 1179 31" style="" text="조회" onclick="grp_biz_grp_sea_button3_onclick"/>
  217. <Shape id="line2" class="line_4" linetype="vertical" position="absolute 1107 9 1110 31" style="" anchor="default"/>
  218. <Calendar id="ipt_execfromdd" class="input_s_essential" position="absolute 130 8 230 27" style="" anchor="default" onkillfocus="grp_biz_grp_sea_ipt_execfromdd_onkillfocus"/>
  219. <Calendar id="ipt_exectodd" class="input_s_essential" position="absolute 248 8 348 27" style="" anchor="default" onkillfocus="grp_biz_grp_sea_ipt_exectodd_onkillfocus"/>
  220. <Radio datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" id="rdo_monthday" class="radio_search" position="absolute 358 7 448 27" style="" onitemchanged="grp_biz_grp_sea_rdo_monthday_onitemchanged">
  221. <Dataset id="innerdataset">
  222. <ColumnInfo>
  223. <Column id="codecolumn"/>
  224. <Column id="datacolumn"/>
  225. </ColumnInfo>
  226. <Rows>
  227. <Row>
  228. <Col id="codecolumn">M</Col>
  229. <Col id="datacolumn">월별</Col>
  230. </Row>
  231. <Row>
  232. <Col id="codecolumn">D</Col>
  233. <Col id="datacolumn">일별</Col>
  234. </Row>
  235. </Rows>
  236. </Dataset>
  237. </Radio>
  238. <Static id="caption9" class="search_name" position="absolute 492 10 604 27" style="" text="비교(적용일) :" visible="false"/>
  239. <Calendar id="ipt_execfromdd2" class="input_s_essential" visible="false" position="absolute 607 5 707 24" style="" anchor="default"/>
  240. <Static id="caption2" class="search_no_b" position="absolute 710 7 722 24" style="" text="~" visible="false"/>
  241. <Calendar id="ipt_exectodd2" class="input_s_essential" visible="false" position="absolute 725 5 825 24" style="" anchor="default"/>
  242. </Layout>
  243. </Layouts>
  244. </Div>
  245. </Layout>
  246. </Layouts>
  247. </Div>
  248. <Div id="grp_tle" position="absolute 0 1 1195 30" style="">
  249. <Layouts>
  250. <Layout>
  251. <Static id="caption6" class="tit_1" position="absolute 0 0 210 22" style="" text="처방별 조혈모세포처리 현황" anchor="default"/>
  252. </Layout>
  253. </Layouts>
  254. </Div>
  255. <Div id="grp_btn" position="absolute 0 20 1195 47" style="">
  256. <Layouts>
  257. <Layout>
  258. <Button id="btn_prt" class="btn6" visible="false" position="absolute 0 5 56 27" style="" text="출력"/>
  259. </Layout>
  260. </Layouts>
  261. </Div>
  262. </Layout>
  263. </Layouts>
  264. <Objects>
  265. <Dataset id="ds_main_celltret_daycelltretlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  266. <ColumnInfo>
  267. <Column id="codenm" type="STRING" size="256"/>
  268. <Column id="codenm2" type="STRING" size="256"/>
  269. <Column id="daycnt01" type="STRING" size="256"/>
  270. <Column id="daycnt02" type="STRING" size="256"/>
  271. <Column id="daycnt03" type="STRING" size="256"/>
  272. <Column id="daycnt04" type="STRING" size="256"/>
  273. <Column id="daycnt05" type="STRING" size="256"/>
  274. <Column id="daycnt06" type="STRING" size="256"/>
  275. <Column id="daycnt07" type="STRING" size="256"/>
  276. <Column id="daycnt08" type="STRING" size="256"/>
  277. <Column id="daycnt09" type="STRING" size="256"/>
  278. <Column id="daycnt10" type="STRING" size="256"/>
  279. <Column id="daycnt11" type="STRING" size="256"/>
  280. <Column id="daycnt12" type="STRING" size="256"/>
  281. <Column id="daycnt13" type="STRING" size="256"/>
  282. <Column id="daycnt14" type="STRING" size="256"/>
  283. <Column id="daycnt15" type="STRING" size="256"/>
  284. <Column id="daycnt16" type="STRING" size="256"/>
  285. <Column id="daycnt17" type="STRING" size="256"/>
  286. <Column id="daycnt18" type="STRING" size="256"/>
  287. <Column id="daycnt19" type="STRING" size="256"/>
  288. <Column id="daycnt20" type="STRING" size="256"/>
  289. <Column id="daycnt21" type="STRING" size="256"/>
  290. <Column id="daycnt22" type="STRING" size="256"/>
  291. <Column id="daycnt23" type="STRING" size="256"/>
  292. <Column id="daycnt24" type="STRING" size="256"/>
  293. <Column id="daycnt25" type="STRING" size="256"/>
  294. <Column id="daycnt26" type="STRING" size="256"/>
  295. <Column id="daycnt27" type="STRING" size="256"/>
  296. <Column id="daycnt28" type="STRING" size="256"/>
  297. <Column id="daycnt29" type="STRING" size="256"/>
  298. <Column id="daycnt30" type="STRING" size="256"/>
  299. <Column id="daycnt31" type="STRING" size="256"/>
  300. <Column id="daycnttotal" type="STRING" size="256"/>
  301. <Column id="beforeyearcnt" type="STRING" size="256"/>
  302. <Column id="cntaddper" type="STRING" size="256"/>
  303. <Column id="prcpcd" type="STRING" size="256"/>
  304. </ColumnInfo>
  305. <Rows>
  306. <Row>
  307. <Col id="codenm"/>
  308. <Col id="codenm2"/>
  309. <Col id="daycnt01"/>
  310. <Col id="daycnt02"/>
  311. <Col id="daycnt03"/>
  312. <Col id="daycnt04"/>
  313. <Col id="daycnt05"/>
  314. <Col id="daycnt06"/>
  315. <Col id="daycnt07"/>
  316. <Col id="daycnt08"/>
  317. <Col id="daycnt09"/>
  318. <Col id="daycnt10"/>
  319. <Col id="daycnt11"/>
  320. <Col id="daycnt12"/>
  321. <Col id="daycnt13"/>
  322. <Col id="daycnt14"/>
  323. <Col id="daycnt15"/>
  324. <Col id="daycnt16"/>
  325. <Col id="daycnt17"/>
  326. <Col id="daycnt18"/>
  327. <Col id="daycnt19"/>
  328. <Col id="daycnt20"/>
  329. <Col id="daycnt21"/>
  330. <Col id="daycnt22"/>
  331. <Col id="daycnt23"/>
  332. <Col id="daycnt24"/>
  333. <Col id="daycnt25"/>
  334. <Col id="daycnt26"/>
  335. <Col id="daycnt27"/>
  336. <Col id="daycnt28"/>
  337. <Col id="daycnt29"/>
  338. <Col id="daycnt30"/>
  339. <Col id="daycnt31"/>
  340. <Col id="daycnttotal"/>
  341. <Col id="beforeyearcnt"/>
  342. <Col id="cntaddper"/>
  343. <Col id="prcpcd"/>
  344. </Row>
  345. </Rows>
  346. </Dataset>
  347. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  348. <ColumnInfo>
  349. <Column id="hidden" type="STRING" size="256"/>
  350. </ColumnInfo>
  351. </Dataset>
  352. <Dataset id="ds_main_celltret_celltretlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  353. <ColumnInfo>
  354. <Column id="codenm" type="STRING" size="256"/>
  355. <Column id="codenm2" type="STRING" size="256"/>
  356. <Column id="monthcnt01" type="STRING" size="256"/>
  357. <Column id="monthcnt02" type="STRING" size="256"/>
  358. <Column id="monthcnt03" type="STRING" size="256"/>
  359. <Column id="monthcnt04" type="STRING" size="256"/>
  360. <Column id="monthcnt05" type="STRING" size="256"/>
  361. <Column id="monthcnt06" type="STRING" size="256"/>
  362. <Column id="monthcnt07" type="STRING" size="256"/>
  363. <Column id="monthcnt08" type="STRING" size="256"/>
  364. <Column id="monthcnt09" type="STRING" size="256"/>
  365. <Column id="monthcnt10" type="STRING" size="256"/>
  366. <Column id="monthcnt11" type="STRING" size="256"/>
  367. <Column id="monthcnt12" type="STRING" size="256"/>
  368. <Column id="monthcnttotal" type="STRING" size="256"/>
  369. <Column id="beforeyearcnt" type="STRING" size="256"/>
  370. <Column id="cntaddper" type="STRING" size="256"/>
  371. <Column id="prcpcd" type="STRING" size="256"/>
  372. </ColumnInfo>
  373. <Rows>
  374. <Row>
  375. <Col id="codenm"/>
  376. <Col id="codenm2"/>
  377. <Col id="monthcnt01"/>
  378. <Col id="monthcnt02"/>
  379. <Col id="monthcnt03"/>
  380. <Col id="monthcnt04"/>
  381. <Col id="monthcnt05"/>
  382. <Col id="monthcnt06"/>
  383. <Col id="monthcnt07"/>
  384. <Col id="monthcnt08"/>
  385. <Col id="monthcnt09"/>
  386. <Col id="monthcnt10"/>
  387. <Col id="monthcnt11"/>
  388. <Col id="monthcnt12"/>
  389. <Col id="monthcnttotal"/>
  390. <Col id="beforeyearcnt"/>
  391. <Col id="cntaddper"/>
  392. <Col id="prcpcd"/>
  393. </Row>
  394. </Rows>
  395. </Dataset>
  396. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  397. <ColumnInfo/>
  398. </Dataset>
  399. <Dataset id="ds_send_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  400. <ColumnInfo>
  401. <Column id="execfromdd" type="STRING" size="256"/>
  402. <Column id="exectodd" type="STRING" size="256"/>
  403. <Column id="execfromdd2" type="STRING" size="256"/>
  404. <Column id="exectodd2" type="STRING" size="256"/>
  405. <Column id="prcpexecdeptcd" type="STRING" size="256"/>
  406. <Column id="searchflag" type="STRING" size="256"/>
  407. <Column id="monthdayflag" type="STRING" size="256"/>
  408. </ColumnInfo>
  409. <Rows>
  410. <Row>
  411. <Col id="execfromdd"/>
  412. <Col id="exectodd"/>
  413. <Col id="execfromdd2"/>
  414. <Col id="exectodd2"/>
  415. <Col id="prcpexecdeptcd"/>
  416. <Col id="searchflag">D</Col>
  417. <Col id="monthdayflag"/>
  418. </Row>
  419. </Rows>
  420. </Dataset>
  421. <Dataset id="ds_main_celltret" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  422. <ColumnInfo>
  423. <Column id="cntaddper" type="STRING" size="256"/>
  424. </ColumnInfo>
  425. <Rows>
  426. <Row/>
  427. </Rows>
  428. </Dataset>
  429. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  430. <ColumnInfo/>
  431. </Dataset>
  432. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  433. <ColumnInfo>
  434. <Column id="init" type="STRING" size="256"/>
  435. </ColumnInfo>
  436. <Rows>
  437. <Row>
  438. <Col id="init"/>
  439. </Row>
  440. </Rows>
  441. </Dataset>
  442. <Dataset id="ds_main_message" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  443. </Objects>
  444. <Bind>
  445. <BindItem id="item0" compid="grp_biz.grp_sea.ipt_execfromdd" propid="value" datasetid="ds_send_req" columnid="execfromdd"/>
  446. <BindItem id="item1" compid="grp_biz.grp_sea.ipt_exectodd" propid="value" datasetid="ds_send_req" columnid="exectodd"/>
  447. <BindItem id="item2" compid="grp_biz.grp_sea.rdo_monthday" propid="value" datasetid="ds_send_req" columnid="monthdayflag"/>
  448. <BindItem id="item3" compid="grp_biz.grp_sea.ipt_execfromdd2" propid="value" datasetid="ds_send_req" columnid="execfromdd2"/>
  449. <BindItem id="item4" compid="grp_biz.grp_sea.ipt_exectodd2" propid="value" datasetid="ds_send_req" columnid="exectodd2"/>
  450. </Bind>
  451. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  452. * System Name :
  453. * Job Name :
  454. * Creator :
  455. * Make Date : 2015-11-13
  456. * Description :
  457. *---------------------------------------------------------------------------------------
  458. * Modify Date Modifier Modify Description
  459. *---------------------------------------------------------------------------------------
  460. * 2015-11-13 Live Converter TF->XP
  461. *
  462. *---------------------------------------------------------------------------------------
  463. ****************************************************************************************/
  464. include "com_commonxp::comm_main.xjs";
  465. include "com_basiccodexp::ZBC001.xjs";
  466. function SMABS11000_onload(obj:Form, e:LoadEventInfo) {
  467. frmf_initForm(obj);
  468. //grdf_initGrid(grd_XXX);
  469. //grdf_setGridSort(grd_XXX);
  470. //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
  471. // 시행부서처방도 가져오기 위해서 현재 로그인 한 사람의 실제 근무지를 가져온다.
  472. ds_send_req.setColumn( 0, "prcpexecdeptcd", sysf_getUserInfo("dutplcecd"));
  473. //model.refresh();
  474. // grp_biz.grp_sea.rdo_monthday.select(1);
  475. ds_send_req.setColumn( 0, "monthdayflag", "D");
  476. fSetDefaultDD();
  477. }
  478. //스크립트 시작 ***
  479. //전체에서 event와 src를 제외한 script 를 모두포함.
  480. /* _group : 처방별 조혈모세포처리건수
  481. * _ver : 2008.08.29
  482. * _by : 김은지
  483. * _type : function
  484. * _access : public
  485. * _desc : 월별_일별 디폴트 날짜 지정
  486. * _param :
  487. */
  488. function fSetDefaultDD(){
  489. var scurrentdd = utlf_getCurrentDate();
  490. if(ds_send_req.getColumn(0, "monthdayflag") == "D"){
  491. ds_send_req.setColumn( 0, "execfromdd", scurrentdd);
  492. ds_send_req.setColumn( 0, "exectodd", scurrentdd);
  493. ds_send_req.setColumn( 0, "execfromdd2", scurrentdd.toDate().getAddDate(-1, "M").getDateFormat("YYYYMMDD"));
  494. ds_send_req.setColumn( 0, "exectodd2", scurrentdd.toDate().getAddDate(-1, "M").getDateFormat("YYYYMMDD"));
  495. }
  496. else{
  497. var scurrentdd2 = scurrentdd.toDate().getAddDate(-30).getDateFormat("YYYYMMDD");
  498. ds_send_req.setColumn( 0, "execfromdd", scurrentdd.toDate().getAddDate(-30,"D").getDateFormat("YYYYMMDD"));
  499. ds_send_req.setColumn( 0, "exectodd", scurrentdd.toDate().getAddDate(30,"D").getDateFormat("YYYYMMDD"));
  500. ds_send_req.setColumn( 0, "execfromdd2", scurrentdd.toDate().getAddDate(-30,"D").getDateFormat("YYYYMMDD"));
  501. ds_send_req.setColumn( 0, "exectodd2", scurrentdd.toDate().getAddDate(30,"D").getDateFormat("YYYYMMDD"));
  502. }
  503. //model.refresh();
  504. }
  505. /* _group : 처방별 조혈모세포처리건수
  506. * _ver : 2008.07.16
  507. * _by : 박중규
  508. * _type : function
  509. * _access : public
  510. * _desc : 이식처리건수
  511. * _param :
  512. */
  513. function fGetCellTrpeInfo(){
  514. if(ds_send_req.getColumn(0, "monthdayflag") == "D"){
  515. // submit("TRABS10202");
  516. var oParam = {};
  517. oParam.id = "TRABS10202";
  518. oParam.service = "hsctstemcellapp.StemCellTreat";
  519. oParam.method = "reqGetCellTretStats";
  520. oParam.inds = "req=ds_send_req";
  521. oParam.outds = "ds_main_celltret_daycelltretlist=celltretlist ds_main_message=message";
  522. oParam.async = false;
  523. //oParam.callback = "cf_TRABS10202";
  524. tranf_submit(oParam);
  525. }
  526. else{
  527. // submit("TRABS10201");
  528. var oParam = {};
  529. oParam.id = "TRABS10201";
  530. oParam.service = "hsctstemcellapp.StemCellTreat";
  531. oParam.method = "reqGetCellTretStats";
  532. oParam.inds = "req=ds_send_req";
  533. oParam.outds = "ds_main_celltret_celltretlist=celltretlist ds_main_message=message";
  534. oParam.async = false;
  535. //oParam.callback = "cf_TRABS10201";
  536. tranf_submit(oParam);
  537. }
  538. if(ds_send_req.getColumn(0, "monthdayflag") == "M"){
  539. // 전년 대비 증감율을 구한다.
  540. var nodelist = ds_main_celltret_celltretlist.rowcount;
  541. for (var i = 0; i < nodelist ; i ++) {
  542. var iMonthCntTotal = ds_main_celltret_celltretlist.getColumn(i, "monthcnttotal");
  543. var iBeforeYearCnt = ds_main_celltret_celltretlist.getColumn(i, "beforeyearcnt");
  544. if ( utlf_isNull(iMonthCntTotal) || utlf_isNull(iBeforeYearCnt) || iBeforeYearCnt == 0 ) {
  545. ds_main_celltret.setColumn( i , "cntaddper", "");
  546. } else {
  547. var dCntAddPer = ((parseFloat(iMonthCntTotal) - parseFloat(iBeforeYearCnt)) / parseFloat(iBeforeYearCnt)) * 100;
  548. ds_main_celltret.setColumn( i , "cntaddper", (Math.round(dCntAddPer * 100) / 100));
  549. }
  550. }
  551. }
  552. else{
  553. // 전월도 대비 증감율을 구한다.
  554. var nodelist2 = ds_main_celltret_daycelltretlist.rowcount;
  555. for (var i = 0; i < nodelist2.length ; i ++) {
  556. var iDayCntTotal = ds_main_celltret_daycelltretlist.getColumn(i, "daycnttotal");
  557. var iBeforeYearCnt = ds_main_celltret_daycelltretlist.getColumn(i, "beforeyearcnt");
  558. if ( utlf_isNull(iDayCntTotal) || utlf_isNull(iBeforeYearCnt) || iBeforeYearCnt == 0 ) {
  559. ds_main_celltret.setColumn( i , "cntaddper", "");
  560. } else {
  561. var dCntAddPer = ((parseFloat(iDayCntTotal) - parseFloat(iBeforeYearCnt)) / parseFloat(iBeforeYearCnt)) * 100;
  562. ds_main_celltret.setColumn( i , "cntaddper", (Math.round(dCntAddPer * 100) / 100));
  563. }
  564. }
  565. }
  566. //model.refresh();
  567. }
  568. function grp_biz_button2_onclick(obj:Button, e:ClickEventInfo) {
  569. if(ds_send_req.getColumn(0, "monthdayflag") == "M") {
  570. // var fileName = window.fileDialog("save", ",", false, "처방별조혈모세포처리현황(월별)", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  571. //
  572. // if (fileName != "")
  573. // {
  574. // grp_biz.grd_monthcelltret.saveExcel(fileName);
  575. // }
  576. grdf_exportExcel(grp_biz.grd_monthcelltret, "처방별조혈모세포처리현황(월별)", "처방별조혈모세포처리현황(월별)", false, "", "", false);
  577. }
  578. else{
  579. // var fileName = window.fileDialog("save", ",", false, "처방별조혈모세포처리현황(일별)", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  580. //
  581. // if (fileName != "")
  582. // {
  583. // grp_biz.grd_daycelltret.saveExcel(fileName);
  584. // }
  585. grdf_exportExcel(grp_biz.grd_daycelltret, "처방별조혈모세포처리현황(일별)", "처방별조혈모세포처리현황(일별)", false, "", "", false);
  586. }
  587. }
  588. function grp_biz_grp_sea_button3_onclick(obj:Button, e:ClickEventInfo) {
  589. fGetCellTrpeInfo();
  590. }
  591. function grp_biz_grp_sea_ipt_execfromdd_onkillfocus(obj:Calendar, e:KillFocusEventInfo) {
  592. var fromdd = ds_send_req.getColumn(0, "execfromdd");
  593. var oCurYear = fromdd.toDate().getDateFormat("YYYY");
  594. var oCurMonth = fromdd.toDate().getDateFormat("MM");
  595. var flag = "";
  596. var oMaxDay = new Date(new Date(oCurYear, oCurMonth, 1)-86400000).getDate();
  597. var oMaxDay2 = new Date(new Date(oCurYear, oCurMonth -1, 1)-86400000).getDate();
  598. if(grp_biz.grp_sea.rdo_monthday.value == "D"){
  599. flag = "M";
  600. }else {
  601. flag = "Y";
  602. }
  603. if(flag == "M" && oMaxDay == fromdd.toDate().getDateFormat("DD")){
  604. ds_send_req.setColumn( 0, "execfromdd2", (oCurYear + oCurMonth + "01").toDate().getAddDate(-1, flag).getDateFormat("YYYYMM") + oMaxDay2);
  605. }else{
  606. ds_send_req.setColumn( 0, "execfromdd2", (fromdd ).toDate().getAddDate(-1, flag).getDateFormat("YYYYMMDD"));
  607. }
  608. //model.refresh();
  609. }
  610. function grp_biz_grp_sea_ipt_exectodd_onkillfocus(obj:Calendar, e:KillFocusEventInfo) {
  611. var todd = ds_send_req.getColumn(0, "exectodd");
  612. var oCurYear = todd.toDate().getDateFormat("YYYY");
  613. var oCurMonth = todd.toDate().getDateFormat("MM");
  614. var flag = "";
  615. var oMaxDay = new Date(new Date(oCurYear, oCurMonth, 1)-86400000).getDate();
  616. var oMaxDay2 = new Date(new Date(oCurYear, oCurMonth -1, 1)-86400000).getDate();
  617. if(grp_biz.grp_sea.rdo_monthday.value == "D"){
  618. flag = "M";
  619. }else {
  620. flag = "Y";
  621. }
  622. if(flag == "M" && oMaxDay == todd.toDate().getDateFormat("DD")){
  623. ds_send_req.setColumn( 0, "exectodd2", (oCurYear + oCurMonth + "01").toDate().getAddDate(-1, flag).getDateFormat("YYYYMM") + oMaxDay2);
  624. }else{
  625. ds_send_req.setColumn( 0, "exectodd2", (todd ).toDate().getAddDate(-1, flag).getDateFormat("YYYYMMDD"));
  626. }
  627. //model.refresh();
  628. }
  629. function grp_biz_grp_sea_rdo_monthday_onitemchanged(obj:Radio, e:ItemChangeEventInfo) {
  630. fSetDefaultDD();
  631. var fromdd = ds_send_req.getColumn(0, "execfromdd");
  632. var todd = ds_send_req.getColumn(0, "exectodd");
  633. if(grp_biz.grp_sea.rdo_monthday.value == "D"){
  634. grp_biz.grd_monthcelltret.visible = false;
  635. grp_biz.grd_daycelltret.visible = true;
  636. // grp_biz.grp_sea.ipt_execfromdd.attribute("maxlength") = "8";
  637. // grp_biz.grp_sea.ipt_exectodd.attribute("maxlength") = "8";
  638. // grp_biz.grp_sea.ipt_execfromdd2.attribute("maxlength") = "8";
  639. // grp_biz.grp_sea.ipt_exectodd2.attribute("maxlength") = "8";
  640. grp_biz.grp_sea.ipt_execfromdd.dateformat = "yyyy-MM-dd";
  641. grp_biz.grp_sea.ipt_exectodd.dateformat = "yyyy-MM-dd";
  642. grp_biz.grp_sea.ipt_execfromdd2.dateformat = "yyyy-MM-dd";
  643. grp_biz.grp_sea.ipt_exectodd2.dateformat = "yyyy-MM-dd";
  644. }
  645. else{
  646. grp_biz.grd_monthcelltret.visible = true;
  647. grp_biz.grd_daycelltret.visible = false;
  648. grp_biz.grp_sea.ipt_execfromdd.dateformat = "yyyy-MM";
  649. grp_biz.grp_sea.ipt_exectodd.dateformat = "yyyy-MM";
  650. grp_biz.grp_sea.ipt_execfromdd2.dateformat = "yyyy-MM";
  651. grp_biz.grp_sea.ipt_exectodd2.dateformat = "yyyy-MM";
  652. //grp_biz.grp_sea.ipt_execfromdd.mask = "####-##";
  653. // grp_biz.grp_sea.ipt_exectodd.mask = "####-##";
  654. // grp_biz.grp_sea.ipt_execfromdd2.mask = "####-##";
  655. // grp_biz.grp_sea.ipt_exectodd2.mask = "####-##";
  656. ds_send_req.setColumn( 0, "execfromdd2", (fromdd + 1).toDate().getAddDate(-1, "Y").getDateFormat("YYYYMMDD"));
  657. ds_send_req.setColumn( 0, "exectodd2", (todd + 1).toDate().getAddDate(-1, "Y").getDateFormat("YYYYMMDD"));
  658. }
  659. //model.refresh();
  660. }
  661. ]]></Script>
  662. </Form>
  663. </FDL>