SMAES03700_영상의학부위별실적.xfdl 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAES03700" position="absolute 0 0 1198 755" titletext="부위별통계" oninit="SMAES03700_oninit" onload="SMAES03700_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="group1" taborder="0" class="div_SA" position="absolute 0 25 1195 65" anchor="left top right">
  8. <Layouts>
  9. <Layout>
  10. <Shape id="line2" linetype="vertical" class="line_4" position="absolute 1111 9 1117 29" anchor="top right"/>
  11. <Button id="button1" taborder="1" text="조회" class="btn1" position="absolute 1128 9 1184 31" anchor="top right" onclick="group1_button1_onclick"/>
  12. <Static id="caption7" text="대분류 :" class="search_name" position="absolute 194 13 252 30" anchor="default"/>
  13. <Static id="caption9" text="중분류 :" class="search_name" position="absolute 349 13 407 30" anchor="default"/>
  14. <Radio id="radio1" taborder="2" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 594 11 734 28" anchor="default" onitemchanged="group1_radio1_onitemchanged">
  15. <Dataset id="innerdataset">
  16. <ColumnInfo>
  17. <Column id="codecolumn"/>
  18. <Column id="datacolumn"/>
  19. </ColumnInfo>
  20. <Rows>
  21. <Row>
  22. <Col id="codecolumn">E</Col>
  23. <Col id="datacolumn">촬영건수</Col>
  24. </Row>
  25. <Row>
  26. <Col id="codecolumn">B</Col>
  27. <Col id="datacolumn">부위건수</Col>
  28. </Row>
  29. </Rows>
  30. </Dataset>
  31. </Radio>
  32. <Combo id="cmb_lrgcd" taborder="3" innerdataset="ds_init_cmb_lrgcd" codecolumn="cdid" datacolumn="cdnm" position="absolute 255 10 335 31" anchor="default" onitemchanged="group1_cmb_lrgcd_onitemchanged"/>
  33. <Combo id="cmb_mdlcd" taborder="4" innerdataset="ds_init_cmb_mdlcd" codecolumn="cdid" datacolumn="cdnm" position="absolute 410 9 530 30" anchor="default"/>
  34. <Static id="caption3" text="분류 :" class="search_name" position="absolute 745 13 790 30" anchor="default"/>
  35. <Static id="caption4" text="구분 :" class="search_name" position="absolute 546 13 591 30" anchor="default"/>
  36. <Radio id="rdo_partflag" taborder="5" columncount="4" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 793 12 1102 28" anchor="default">
  37. <Dataset id="innerdataset">
  38. <ColumnInfo>
  39. <Column id="codecolumn"/>
  40. <Column id="datacolumn"/>
  41. </ColumnInfo>
  42. <Rows>
  43. <Row>
  44. <Col id="codecolumn"/>
  45. <Col id="datacolumn">전체</Col>
  46. </Row>
  47. <Row>
  48. <Col id="codecolumn">R</Col>
  49. <Col id="datacolumn">영상</Col>
  50. </Row>
  51. <Row>
  52. <Col id="codecolumn">S</Col>
  53. <Col id="datacolumn">건진</Col>
  54. </Row>
  55. <Row>
  56. <Col id="codecolumn">C</Col>
  57. <Col id="datacolumn">어린이병원</Col>
  58. </Row>
  59. </Rows>
  60. </Dataset>
  61. </Radio>
  62. <Static id="caption2" text="기준년월 :" class="search_name" position="absolute 10 13 81 30" anchor="default"/>
  63. <cp_monthCal id="input4" titletext="monthCalendar" taborder="6" text="cp_monthCal00" scrollbars="none" position="absolute 84 10 184 31" anchor="default"/>
  64. </Layout>
  65. </Layouts>
  66. </Div>
  67. <Tab id="switch1" taborder="2" tabindex="0" position="absolute 0 79 1195 748" onchanged="switch1_onchanged" anchor="left top right">
  68. <Tabpages>
  69. <Tabpage id="case1" text="일별" style="anchor:default;margin:0 0 0 0;">
  70. <Layouts>
  71. <Layout>
  72. <Grid id="grd_daylist" taborder="0" binddataset="ds_main_list" useinputpanel="false" position="absolute 0 3 1195 645" anchor="all">
  73. <Formats>
  74. <Format id="default">
  75. <Columns>
  76. <Column size="25" band="left"/>
  77. <Column size="0" band="left"/>
  78. <Column size="240" band="left"/>
  79. <Column size="43"/>
  80. <Column size="43"/>
  81. <Column size="43"/>
  82. <Column size="43"/>
  83. <Column size="43"/>
  84. <Column size="43"/>
  85. <Column size="43"/>
  86. <Column size="43"/>
  87. <Column size="43"/>
  88. <Column size="43"/>
  89. <Column size="43"/>
  90. <Column size="43"/>
  91. <Column size="43"/>
  92. <Column size="43"/>
  93. <Column size="43"/>
  94. <Column size="43"/>
  95. <Column size="43"/>
  96. <Column size="43"/>
  97. <Column size="43"/>
  98. <Column size="43"/>
  99. <Column size="43"/>
  100. <Column size="43"/>
  101. <Column size="43"/>
  102. <Column size="43"/>
  103. <Column size="43"/>
  104. <Column size="43"/>
  105. <Column size="43"/>
  106. <Column size="43"/>
  107. <Column size="43"/>
  108. <Column size="43"/>
  109. <Column size="43"/>
  110. <Column size="60"/>
  111. </Columns>
  112. <Rows>
  113. <Row size="24" band="head"/>
  114. <Row size="24"/>
  115. <Row size="24" band="summ"/>
  116. </Rows>
  117. <Band id="head">
  118. <Cell/>
  119. <Cell col="1" text="구분"/>
  120. <Cell col="2" text="구분"/>
  121. <Cell col="3" text="1일"/>
  122. <Cell col="4" text="2일"/>
  123. <Cell col="5" text="3일"/>
  124. <Cell col="6" text="4일"/>
  125. <Cell col="7" text="5일"/>
  126. <Cell col="8" text="6일"/>
  127. <Cell col="9" text="7일"/>
  128. <Cell col="10" text="8일"/>
  129. <Cell col="11" text="9일"/>
  130. <Cell col="12" text="10일"/>
  131. <Cell col="13" text="11일"/>
  132. <Cell col="14" text="12일"/>
  133. <Cell col="15" text="13일"/>
  134. <Cell col="16" text="14일"/>
  135. <Cell col="17" text="15일"/>
  136. <Cell col="18" text="16일"/>
  137. <Cell col="19" text="17일"/>
  138. <Cell col="20" text="18일"/>
  139. <Cell col="21" text="19일"/>
  140. <Cell col="22" text="20일"/>
  141. <Cell col="23" text="21일"/>
  142. <Cell col="24" text="22일"/>
  143. <Cell col="25" text="23일"/>
  144. <Cell col="26" text="24일"/>
  145. <Cell col="27" text="25일"/>
  146. <Cell col="28" text="26일"/>
  147. <Cell col="29" text="27일"/>
  148. <Cell col="30" text="28일"/>
  149. <Cell col="31" text="29일"/>
  150. <Cell col="32" text="30일"/>
  151. <Cell col="33" text="31일"/>
  152. <Cell col="34" text="합계"/>
  153. </Band>
  154. <Band id="body">
  155. <Cell celltype="head" text="expr:currow + 1"/>
  156. <Cell col="1" text="bind:systkey1"/>
  157. <Cell col="2" style="align:left middle;" text="bind:systkey2"/>
  158. <Cell col="3" displaytype="number" text="bind:item01"/>
  159. <Cell col="4" displaytype="number" text="bind:item02"/>
  160. <Cell col="5" displaytype="number" text="bind:item03"/>
  161. <Cell col="6" displaytype="number" text="bind:item04"/>
  162. <Cell col="7" displaytype="number" text="bind:item05"/>
  163. <Cell col="8" displaytype="number" text="bind:item06"/>
  164. <Cell col="9" displaytype="number" text="bind:item07"/>
  165. <Cell col="10" displaytype="number" text="bind:item08"/>
  166. <Cell col="11" displaytype="number" text="bind:item09"/>
  167. <Cell col="12" displaytype="number" text="bind:item10"/>
  168. <Cell col="13" displaytype="number" text="bind:item11"/>
  169. <Cell col="14" displaytype="number" text="bind:item12"/>
  170. <Cell col="15" displaytype="number" text="bind:item13"/>
  171. <Cell col="16" displaytype="number" text="bind:item14"/>
  172. <Cell col="17" displaytype="number" text="bind:item15"/>
  173. <Cell col="18" displaytype="number" text="bind:item16"/>
  174. <Cell col="19" displaytype="number" text="bind:item17"/>
  175. <Cell col="20" displaytype="number" text="bind:item18"/>
  176. <Cell col="21" displaytype="number" text="bind:item19"/>
  177. <Cell col="22" displaytype="number" text="bind:item20"/>
  178. <Cell col="23" displaytype="number" text="bind:item21"/>
  179. <Cell col="24" displaytype="number" text="bind:item22"/>
  180. <Cell col="25" displaytype="number" text="bind:item23"/>
  181. <Cell col="26" displaytype="number" text="bind:item24"/>
  182. <Cell col="27" displaytype="number" text="bind:item25"/>
  183. <Cell col="28" displaytype="number" text="bind:item26"/>
  184. <Cell col="29" displaytype="number" text="bind:item27"/>
  185. <Cell col="30" displaytype="number" text="bind:item28"/>
  186. <Cell col="31" displaytype="number" text="bind:item29"/>
  187. <Cell col="32" displaytype="number" text="bind:item30"/>
  188. <Cell col="33" displaytype="number" text="bind:item31"/>
  189. <Cell col="34" displaytype="number" text="bind:total"/>
  190. </Band>
  191. <Band id="summary">
  192. <Cell/>
  193. <Cell col="1"/>
  194. <Cell col="2" style="align:left middle;color:blue;color2:blue;font:Dotum,10,bold;" text="총계"/>
  195. <Cell col="3" displaytype="number" style="color:blue;color2:blue;font:Dotum,9,bold;" expr="expr:getSum('item01')"/>
  196. <Cell col="4" displaytype="number" style="color:blue;color2:blue;font:Dotum,9,bold;" expr="expr:getSum('item02')"/>
  197. <Cell col="5" displaytype="number" style="color:blue;color2:blue;font:Dotum,9,bold;" expr="expr:getSum('item03')"/>
  198. <Cell col="6" displaytype="number" style="color:blue;color2:blue;font:Dotum,9,bold;" expr="expr:getSum('item04')"/>
  199. <Cell col="7" displaytype="number" style="color:blue;color2:blue;font:Dotum,9,bold;" expr="expr:getSum('item05')"/>
  200. <Cell col="8" displaytype="number" style="color:blue;color2:blue;font:Dotum,9,bold;" expr="expr:getSum('item06')"/>
  201. <Cell col="9" displaytype="number" style="color:blue;color2:blue;font:Dotum,9,bold;" expr="expr:getSum('item07')"/>
  202. <Cell col="10" displaytype="number" style="color:blue;color2:blue;font:Dotum,9,bold;" expr="expr:getSum('item8')"/>
  203. <Cell col="11" displaytype="number" style="color:blue;color2:blue;font:Dotum,9,bold;" expr="expr:getSum('item9')"/>
  204. <Cell col="12" displaytype="number" style="color:blue;color2:blue;font:Dotum,9,bold;" expr="expr:getSum('item10')"/>
  205. <Cell col="13" displaytype="number" style="color:blue;color2:blue;font:Dotum,9,bold;" expr="expr:getSum('item11')"/>
  206. <Cell col="14" displaytype="number" style="color:blue;color2:blue;font:Dotum,9,bold;" expr="expr:getSum('item12')"/>
  207. <Cell col="15" displaytype="number" style="color:blue;color2:blue;font:Dotum,9,bold;" expr="expr:getSum('item13')"/>
  208. <Cell col="16" displaytype="number" style="color:blue;color2:blue;font:Dotum,9,bold;" expr="expr:getSum('item14')"/>
  209. <Cell col="17" displaytype="number" style="color:blue;color2:blue;font:Dotum,9,bold;" expr="expr:getSum('item15')"/>
  210. <Cell col="18" displaytype="number" style="color:blue;color2:blue;font:Dotum,9,bold;" expr="expr:getSum('item16')"/>
  211. <Cell col="19" displaytype="number" style="color:blue;color2:blue;font:Dotum,9,bold;" expr="expr:getSum('item17')"/>
  212. <Cell col="20" displaytype="number" style="color:blue;color2:blue;font:Dotum,9,bold;" expr="expr:getSum('item18')"/>
  213. <Cell col="21" displaytype="number" style="color:blue;color2:blue;font:Dotum,9,bold;" expr="expr:getSum('item19')"/>
  214. <Cell col="22" displaytype="number" style="color:blue;color2:blue;font:Dotum,9,bold;" expr="expr:getSum('item20')"/>
  215. <Cell col="23" displaytype="number" style="color:blue;color2:blue;font:Dotum,9,bold;" expr="expr:getSum('item21')"/>
  216. <Cell col="24" displaytype="number" style="color:blue;color2:blue;font:Dotum,9,bold;" expr="expr:getSum('item22')"/>
  217. <Cell col="25" displaytype="number" style="color:blue;color2:blue;font:Dotum,9,bold;" expr="expr:getSum('item23')"/>
  218. <Cell col="26" displaytype="number" style="color:blue;color2:blue;font:Dotum,9,bold;" expr="expr:getSum('item24')"/>
  219. <Cell col="27" displaytype="number" style="color:blue;color2:blue;font:Dotum,9,bold;" expr="expr:getSum('item25')"/>
  220. <Cell col="28" displaytype="number" style="color:blue;color2:blue;font:Dotum,9,bold;" expr="expr:getSum('item26')"/>
  221. <Cell col="29" displaytype="number" style="color:blue;color2:blue;font:Dotum,9,bold;" expr="expr:getSum('item27')"/>
  222. <Cell col="30" displaytype="number" style="color:blue;color2:blue;font:Dotum,9,bold;" expr="expr:getSum('item28')"/>
  223. <Cell col="31" displaytype="number" style="color:blue;color2:blue;font:Dotum,9,bold;" expr="expr:getSum('item29')"/>
  224. <Cell col="32" displaytype="number" style="color:blue;color2:blue;font:Dotum,9,bold;" expr="expr:getSum('item30')"/>
  225. <Cell col="33" displaytype="number" style="color:blue;color2:blue;font:Dotum,9,bold;" expr="expr:getSum('item31')"/>
  226. <Cell col="34" displaytype="number" style="color:blue;color2:blue;font:Dotum,9,bold;" expr="expr:getSum('total')"/>
  227. </Band>
  228. </Format>
  229. </Formats>
  230. </Grid>
  231. </Layout>
  232. </Layouts>
  233. </Tabpage>
  234. <Tabpage id="case2" text="월별" style="anchor:default;margin:0 0 0 0;">
  235. <Layouts>
  236. <Layout>
  237. <Grid id="grd_monthlist" taborder="0" binddataset="ds_main_list" useinputpanel="false" position="absolute 0 2 1194 645" autofittype="col" cellsizingtype="col" anchor="all">
  238. <Formats>
  239. <Format id="default">
  240. <Columns>
  241. <Column size="25"/>
  242. <Column size="0"/>
  243. <Column size="240"/>
  244. <Column size="60"/>
  245. <Column size="60"/>
  246. <Column size="60"/>
  247. <Column size="60"/>
  248. <Column size="60"/>
  249. <Column size="60"/>
  250. <Column size="60"/>
  251. <Column size="60"/>
  252. <Column size="60"/>
  253. <Column size="60"/>
  254. <Column size="60"/>
  255. <Column size="60"/>
  256. <Column size="92"/>
  257. </Columns>
  258. <Rows>
  259. <Row size="24" band="head"/>
  260. <Row size="24" band="head"/>
  261. <Row size="24"/>
  262. <Row size="24" band="summ"/>
  263. </Rows>
  264. <Band id="head">
  265. <Cell rowspan="2" taborder="undefined"/>
  266. <Cell col="1" rowspan="2" text="구분" taborder="undefined"/>
  267. <Cell col="2" rowspan="2" text="구분" taborder="undefined"/>
  268. <Cell col="3" colspan="12" text="2006년" taborder="undefined"/>
  269. <Cell col="15" rowspan="2" text="합계" taborder="undefined"/>
  270. <Cell row="1" col="3" text="1월"/>
  271. <Cell row="1" col="4" text="2월"/>
  272. <Cell row="1" col="5" text="3월"/>
  273. <Cell row="1" col="6" text="4월"/>
  274. <Cell row="1" col="7" text="5월"/>
  275. <Cell row="1" col="8" text="6월"/>
  276. <Cell row="1" col="9" text="7월"/>
  277. <Cell row="1" col="10" text="8월"/>
  278. <Cell row="1" col="11" text="9월"/>
  279. <Cell row="1" col="12" text="10월"/>
  280. <Cell row="1" col="13" text="11월"/>
  281. <Cell row="1" col="14" text="12월"/>
  282. </Band>
  283. <Band id="body">
  284. <Cell celltype="head" text="expr:currow + 1" autosizecol="none"/>
  285. <Cell col="1" text="bind:systkey1" autosizecol="none"/>
  286. <Cell col="2" style="align:left middle;" text="bind:systkey2" autosizecol="none"/>
  287. <Cell col="3" displaytype="number" text="bind:item01"/>
  288. <Cell col="4" displaytype="number" text="bind:item02"/>
  289. <Cell col="5" displaytype="number" text="bind:item03"/>
  290. <Cell col="6" displaytype="number" text="bind:item04"/>
  291. <Cell col="7" displaytype="number" text="bind:item05"/>
  292. <Cell col="8" displaytype="number" text="bind:item06"/>
  293. <Cell col="9" displaytype="number" text="bind:item07"/>
  294. <Cell col="10" displaytype="number" text="bind:item08"/>
  295. <Cell col="11" displaytype="number" text="bind:item09"/>
  296. <Cell col="12" displaytype="number" text="bind:item10"/>
  297. <Cell col="13" displaytype="number" text="bind:item11"/>
  298. <Cell col="14" displaytype="number" text="bind:item12"/>
  299. <Cell col="15" displaytype="number" text="bind:total"/>
  300. </Band>
  301. <Band id="summary">
  302. <Cell/>
  303. <Cell col="1"/>
  304. <Cell col="2" style="align:left middle;color:blue;color2:blue;font:Dotum,10,bold;" text="총계"/>
  305. <Cell col="3" displaytype="number" style="color:blue;color2:blue;font:Dotum,9,bold;" expr="expr:getSum('item01')"/>
  306. <Cell col="4" displaytype="number" style="color:blue;color2:blue;font:Dotum,9,bold;" expr="expr:getSum('item02')"/>
  307. <Cell col="5" displaytype="number" style="color:blue;color2:blue;font:Dotum,9,bold;" expr="expr:getSum('item03')"/>
  308. <Cell col="6" displaytype="number" style="color:blue;color2:blue;font:Dotum,9,bold;" expr="expr:getSum('item04')"/>
  309. <Cell col="7" displaytype="number" style="color:blue;color2:blue;font:Dotum,9,bold;" expr="expr:getSum('item05')"/>
  310. <Cell col="8" displaytype="number" style="color:blue;color2:blue;font:Dotum,9,bold;" expr="expr:getSum('item06')"/>
  311. <Cell col="9" displaytype="number" style="color:blue;color2:blue;font:Dotum,9,bold;" expr="expr:getSum('item07')"/>
  312. <Cell col="10" displaytype="number" style="color:blue;color2:blue;font:Dotum,9,bold;" expr="expr:getSum('item08')"/>
  313. <Cell col="11" displaytype="number" style="color:blue;color2:blue;font:Dotum,9,bold;" expr="expr:getSum('item09')"/>
  314. <Cell col="12" displaytype="number" style="color:blue;color2:blue;font:Dotum,9,bold;" expr="expr:getSum('item10')"/>
  315. <Cell col="13" displaytype="number" style="color:blue;color2:blue;font:Dotum,9,bold;" expr="expr:getSum('item11')"/>
  316. <Cell col="14" displaytype="number" style="color:blue;color2:blue;font:Dotum,9,bold;" expr="expr:getSum('item12')"/>
  317. <Cell col="15" displaytype="number" style="color:blue;color2:blue;font:Dotum,9,bold;" expr="expr:getSum('total')"/>
  318. </Band>
  319. </Format>
  320. </Formats>
  321. </Grid>
  322. </Layout>
  323. </Layouts>
  324. </Tabpage>
  325. </Tabpages>
  326. </Tab>
  327. <Static id="caption6" text="부위별통계" class="tit_1" position="absolute 0 0 200 25"/>
  328. <Button id="button2" taborder="1" text="엑셀저장" class="btn7" position="absolute 1120 79 1195 101" onclick="button2_onclick" anchor="top right"/>
  329. </Layout>
  330. </Layouts>
  331. <Objects>
  332. <Dataset id="ds_init_cmb_lrgcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  333. <ColumnInfo>
  334. <Column id="cdnm" type="STRING"/>
  335. <Column id="cdid" type="STRING"/>
  336. </ColumnInfo>
  337. </Dataset>
  338. <Dataset id="ds_init_cmb_mdlcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  339. <ColumnInfo>
  340. <Column id="cdnm" type="STRING"/>
  341. <Column id="cdid" type="STRING"/>
  342. </ColumnInfo>
  343. </Dataset>
  344. <Dataset id="ds_main_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  345. <ColumnInfo>
  346. <Column id="systkey1" type="STRING"/>
  347. <Column id="systkey2" type="STRING"/>
  348. <Column id="item01" type="STRING"/>
  349. <Column id="item02" type="STRING"/>
  350. <Column id="item03" type="STRING"/>
  351. <Column id="item04" type="STRING"/>
  352. <Column id="item05" type="STRING"/>
  353. <Column id="item06" type="STRING"/>
  354. <Column id="item07" type="STRING"/>
  355. <Column id="item08" type="STRING"/>
  356. <Column id="item09" type="STRING"/>
  357. <Column id="item10" type="STRING"/>
  358. <Column id="item11" type="STRING"/>
  359. <Column id="item12" type="STRING"/>
  360. <Column id="item13" type="STRING"/>
  361. <Column id="item14" type="STRING"/>
  362. <Column id="item15" type="STRING"/>
  363. <Column id="item16" type="STRING"/>
  364. <Column id="item17" type="STRING"/>
  365. <Column id="item18" type="STRING"/>
  366. <Column id="item19" type="STRING"/>
  367. <Column id="item20" type="STRING"/>
  368. <Column id="item21" type="STRING"/>
  369. <Column id="item22" type="STRING"/>
  370. <Column id="item23" type="STRING"/>
  371. <Column id="item24" type="STRING"/>
  372. <Column id="item25" type="STRING"/>
  373. <Column id="item26" type="STRING"/>
  374. <Column id="item27" type="STRING"/>
  375. <Column id="item28" type="STRING"/>
  376. <Column id="item29" type="STRING"/>
  377. <Column id="item30" type="STRING"/>
  378. <Column id="item31" type="STRING"/>
  379. <Column id="total" type="STRING"/>
  380. </ColumnInfo>
  381. </Dataset>
  382. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  383. <ColumnInfo>
  384. <Column id="execfromdd" type="STRING" size="256"/>
  385. <Column id="exectodd" type="STRING" size="256"/>
  386. <Column id="instance1" type="STRING" size="256"/>
  387. <Column id="suppdeptcd" type="STRING" size="256"/>
  388. <Column id="lrgcd" type="STRING" size="256"/>
  389. <Column id="mdlcd" type="STRING" size="256"/>
  390. <Column id="flag" type="STRING" size="256"/>
  391. <Column id="partflag" type="STRING" size="256"/>
  392. <Column id="basecdflag" type="STRING" size="256"/>
  393. <Column id="flag2" type="STRING" size="256"/>
  394. <Column id="srchdate" type="STRING" size="256"/>
  395. <Column id="srchflag" type="STRING" size="256"/>
  396. </ColumnInfo>
  397. <Rows>
  398. <Row>
  399. <Col id="execfromdd"/>
  400. <Col id="exectodd"/>
  401. <Col id="instance1"/>
  402. <Col id="suppdeptcd"/>
  403. <Col id="lrgcd"/>
  404. <Col id="mdlcd"/>
  405. <Col id="flag"/>
  406. <Col id="partflag"/>
  407. <Col id="basecdflag"/>
  408. <Col id="flag2"/>
  409. <Col id="srchdate"/>
  410. <Col id="srchflag"/>
  411. </Row>
  412. </Rows>
  413. </Dataset>
  414. <Dataset id="ds_send_globalinstance" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  415. <ColumnInfo>
  416. <Column id="instance1" type="STRING" size="256"/>
  417. </ColumnInfo>
  418. <Rows>
  419. <Row/>
  420. </Rows>
  421. </Dataset>
  422. </Objects>
  423. <Bind>
  424. <BindItem id="item0" compid="group1.cmb_lrgcd" propid="value" datasetid="ds_send" columnid="lrgcd"/>
  425. <BindItem id="item1" compid="group1.cmb_mdlcd" propid="value" datasetid="ds_send" columnid="mdlcd"/>
  426. <BindItem id="item2" compid="group1.radio1" propid="value" datasetid="ds_send" columnid="flag"/>
  427. <BindItem id="item3" compid="group1.rdo_partflag" propid="value" datasetid="ds_send" columnid="partflag"/>
  428. </Bind>
  429. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  430. * System Name :
  431. * Job Name :
  432. * Creator :
  433. * Make Date : 2015-11-13
  434. * Description :
  435. *---------------------------------------------------------------------------------------
  436. * Modify Date Modifier Modify Description
  437. *---------------------------------------------------------------------------------------
  438. * 2015-11-13 Live Converter TF->XP
  439. *
  440. *---------------------------------------------------------------------------------------
  441. ****************************************************************************************/
  442. include "com_commonxp::comm_main.xjs";
  443. include "com_basiccodexp::ZBC001.xjs";
  444. include "ast_examcurexp::AEZ0001.xjs";
  445. var arErrorCode = new HashArray();
  446. /******************************************************************
  447. * Argument :
  448. * Description : 초기화
  449. ******************************************************************/
  450. function SMAES03700_oninit(obj:Form, e:InitEventInfo)
  451. {
  452. frmf_initForm(obj);
  453. }
  454. function SMAES03700_onload(obj:Form, e:LoadEventInfo)
  455. {
  456. lf_aezfSetSuppDeptcd();
  457. ds_send_globalinstance.setColumn(0, "instance1", frmf_getParameter("AST_DEPTCD"));
  458. var fromdd = utlf_getCurrentDate();
  459. ds_send.setColumn(0, "suppdeptcd", ds_send_globalinstance.getColumn(0, "instance1"));
  460. ds_send.setColumn(0, "srchdate", fromdd);
  461. ds_send.setColumn(0, "flag", "E");
  462. ds_send.setColumn(0, "basecdflag", "R");
  463. //조회기간 달력 set
  464. group1.input4.setData(fromdd);
  465. //조회기간 event
  466. group1.input4.setCallEvent("fn_Cal");
  467. dsf_createDsRow("ds_temp_send",
  468. [{col:"basesuppdeptcd", type:"string", size:256, val:ds_send_globalinstance.getColumn(0, "instance1")}
  469. ,{col:"flag", type:"string", size:256, val:ds_send.getColumn(0, "basecdflag")}], true);
  470. var oParam = {};
  471. oParam.id = "TRAES01502";
  472. oParam.service = "examcurestatsapp.ImgMediSc";
  473. oParam.method = "reqGetBodyGrpPartComCdList";
  474. oParam.inds = "req=ds_temp_send";
  475. oParam.outds = "ds_init_cmb_lrgcd=item";
  476. oParam.async = false;
  477. //oParam.callback = "cf_TRAES01502";
  478. tranf_submit(oParam);
  479. dsf_addDsItem(ds_init_cmb_lrgcd, "cdid", "cdnm", "전체", "", "above");
  480. setTitle();
  481. }
  482. /******************************************************************
  483. * Argument :
  484. * Description : 조회기간(fromdd) event
  485. ******************************************************************/
  486. function fn_Cal(){
  487. var srchdate = group1.input4.getData();
  488. ds_send.setColumn(0, "srchdate", srchdate);
  489. }
  490. /******************************************************************
  491. * Argument :
  492. * Description : setTitle()
  493. ******************************************************************/
  494. function setTitle(){
  495. var stSrchYear = group1.input4.getData();
  496. var dtSrchYear = stSrchYear.toDate().getDateFormat("YYYY");
  497. var baseDate = stSrchYear + "01";
  498. var sDayCnt = baseDate.toDate().getMonthDay();
  499. switch1.case2.grd_monthlist.setCellProperty("Head", 3, "text", dtSrchYear + "년");
  500. if( sDayCnt > 30 ){
  501. switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("body", "item29"), "size", 40);
  502. switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("body", "item30"), "size", 40);
  503. switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("body", "item31"), "size", 40);
  504. } else if( sDayCnt < 29 ){
  505. switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("body", "item29"), "size", 0);
  506. switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("body", "item30"), "size", 0);
  507. switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("body", "item31"), "size", 0);
  508. } else if( sDayCnt == 29 ){
  509. switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("body", "item29"), "size", 40);
  510. switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("body", "item30"), "size", 0);
  511. switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("body", "item31"), "size", 0);
  512. } else {
  513. switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("body", "item29"), "size", 40);
  514. switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("body", "item30"), "size", 40);
  515. switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("body", "item31"), "size", 0);
  516. }
  517. }
  518. /******************************************************************
  519. * Argument :
  520. * Description : 대분류 combo event
  521. ******************************************************************/
  522. function group1_cmb_lrgcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  523. {
  524. ds_send.setColumn(0, "mdlcd", "");
  525. if( utlf_isNull(ds_send.getColumn(0, "lrgcd")) ) {
  526. dsf_createDsRow("ds_temp_send",
  527. [{col:"basesuppdeptcd", type:"string", size:256, val:ds_send_globalinstance.getColumn(0, "instance1")}
  528. ,{col:"flag", type:"string", size:256, val:ds_send.getColumn(0, "basecdflag")}], true);
  529. var oParam = {};
  530. oParam.id = "TRAES01502";
  531. oParam.service = "examcurestatsapp.ImgMediSc";
  532. oParam.method = "reqGetBodyGrpPartComCdList";
  533. oParam.inds = "req=ds_temp_send";
  534. oParam.outds = "ds_init_cmb_lrgcd=item";
  535. oParam.async = false;
  536. //oParam.callback = "cf_TRAES01502";
  537. tranf_submit(oParam);
  538. }else {
  539. dsf_createDsRow("ds_temp_send2",
  540. [{col:"basesuppdeptcd", type:"string", size:256, val:ds_send_globalinstance.getColumn(0, "instance1")}
  541. ,{col:"flag", type:"string", size:256, val:ds_send.getColumn(0, "basecdflag")}
  542. ,{col:"lrgcd", type:"string", size:256, val:ds_send.getColumn(0, "lrgcd")}], true);
  543. var oParam = {};
  544. oParam.id = "TRAES01503";
  545. oParam.service = "examcurestatsapp.ImgMediSc";
  546. oParam.method = "reqGetBodyPartComCdList";
  547. oParam.inds = "req=ds_temp_send2";
  548. oParam.outds = "ds_init_cmb_mdlcd=item";
  549. oParam.async = false;
  550. //oParam.callback = "cf_TRAES01503";
  551. tranf_submit(oParam);
  552. }
  553. }
  554. /******************************************************************
  555. * Argument :
  556. * Description : 구분 radio event
  557. ******************************************************************/
  558. function group1_radio1_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  559. {
  560. ds_send.setColumn(0, "flag2", "");
  561. }
  562. /******************************************************************
  563. * Argument :
  564. * Description : 조회 button event
  565. ******************************************************************/
  566. function group1_button1_onclick(obj:Button, e:ClickEventInfo)
  567. {
  568. frmf_openLoadingBar("검사별통계을 조회 중입니다....");
  569. // 검사별실적 통계 조회
  570. getimgSytsStatsCaseList();
  571. frmf_closeLoadingBar() ;//처리중 화면을 close한다.
  572. }
  573. /******************************************************************
  574. * Argument :
  575. * Description : 검사별통계을 조회하는 함수
  576. ******************************************************************/
  577. function getimgSytsStatsCaseList(){
  578. if( switch1.tabindex == 0 ) { // 일별
  579. ds_send.setColumn(0, "srchflag","D");
  580. } else if( switch1.tabindex == 1 ) { // 월별
  581. ds_send.setColumn(0, "srchflag","M");
  582. }
  583. ds_main_list.clearData();
  584. ds_send.setColumn(0, "suppdeptcd", ds_send_globalinstance.getColumn(0, "instance1"));
  585. dsf_setFixVal(ds_send, "systkey6:101");
  586. dsf_createDsRow("ds_req", [
  587. {col:"srchdate", type:"STRING", size:256, val:ds_send.getColumn(0,"srchdate").substring(0,6)}
  588. , {col:"srchflag", type:"STRING", size:256, val:ds_send.getColumn(0,"srchflag")}
  589. , {col:"lrgcd", type:"STRING", size:256, val:ds_send.getColumn(0,"lrgcd")}
  590. , {col:"mdlcd", type:"STRING", size:256, val:ds_send.getColumn(0,"mdlcd")}
  591. , {col:"flag", type:"STRING", size:256, val:ds_send.getColumn(0,"flag")}
  592. , {col:"flag2", type:"STRING", size:256, val:ds_send.getColumn(0,"flag2")}
  593. , {col:"suppdeptcd", type:"STRING", size:256, val:ds_send.getColumn(0,"suppdeptcd")}
  594. , {col:"systkey6", type:"STRING", size:256, val:ds_send.getColumn(0,"systkey6")}
  595. , {col:"partflag", type:"STRING", size:256, val:ds_send.getColumn(0,"partflag")}
  596. ]);
  597. var oParam = {};
  598. oParam.id = "TRAES03702";
  599. oParam.service = "examcurestatsapp.ImgMediSc";
  600. oParam.method = "reqGetMonthlyPartList";
  601. oParam.inds = "req=ds_req";
  602. oParam.outds = "ds_main_list=item";
  603. oParam.async = false;
  604. oParam.callback = "cf_TRAES03702";
  605. tranf_submit(oParam);
  606. }
  607. function cf_TRAES03702(sSvcId, nErrorCode, sErrorMsg) {
  608. arErrorCode.push(sSvcId, nErrorCode);
  609. ds_main_list.updateColID("ord", "systkey1");
  610. ds_main_list.updateColID("basecdnm", "systkey2");
  611. ds_main_list.updateColID("sumcnt", "total");
  612. }
  613. /******************************************************************
  614. * Argument :
  615. * Description : Tab button event
  616. ******************************************************************/
  617. function switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
  618. {
  619. ds_main_list.clearData();
  620. // 검사별실적 통계 조회
  621. getimgSytsStatsCaseList();
  622. }
  623. /******************************************************************
  624. * Argument :
  625. * Description : excel 저장
  626. ******************************************************************/
  627. function button2_onclick(obj:Button, e:ClickEventInfo)
  628. {
  629. if( ds_main_list.rowcount > 1 ){
  630. if( switch1.tabindex == 0 ){
  631. grdf_exportExcel(switch1.case1.grd_daylist, "부위별통계(일별)", "부위별통계(일별)", false, "", "user", false);
  632. } else {
  633. grdf_exportExcel(switch1.case2.grd_monthlist, "부위별통계(월별)", "부위별통계(월별)", false, "", "user", false);
  634. }
  635. } else {
  636. sysf_messageBox("조회된 데이터가 ", "I004");
  637. }
  638. }
  639. ]]></Script>
  640. </Form>
  641. </FDL>