SMLLP02300_범용통계.xfdl 106 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMLLP02300" position="absolute 0 0 1200 771" titletext="범용조회" oninit="SMLLP02300_oninit" onload="SMLLP02300_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="범용 조회" class="tit_1" position="absolute 0 0 104 25"/>
  8. <Button id="btn_excel" taborder="1" text="EXCEL저장" class="btn7" position="absolute 0 26 92 48" onclick="btn_excel_onclick"/>
  9. <Shape id="line2" linetype="horizontal" class="line_2" position="absolute 0 46 1195 52" anchor="left top right"/>
  10. <Tab id="swt_statflag" taborder="2" tabindex="0" class="sw_box" position="absolute 0 121 1195 770" anchor="all">
  11. <Tabpages>
  12. <Tabpage id="dd" text="통계데이터">
  13. <Layouts>
  14. <Layout>
  15. <Grid id="grd_dd2" taborder="2" binddataset="ds_main_ddstats" useinputpanel="false" cellsizingtype="col" visible="false" position="absolute 0 0 1195 616" anchor="all">
  16. <Formats>
  17. <Format id="default">
  18. <Columns>
  19. <Column size="35"/>
  20. <Column size="95"/>
  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="60"/>
  48. <Column size="60"/>
  49. <Column size="60"/>
  50. <Column size="60"/>
  51. <Column size="60"/>
  52. <Column size="60"/>
  53. <Column size="60"/>
  54. <Column size="60"/>
  55. <Column size="60"/>
  56. <Column size="60"/>
  57. <Column size="60"/>
  58. <Column size="60"/>
  59. <Column size="60"/>
  60. </Columns>
  61. <Rows>
  62. <Row size="24" band="head"/>
  63. <Row size="24" band="head"/>
  64. <Row size="24"/>
  65. </Rows>
  66. <Band id="head">
  67. <Cell rowspan="2" taborder="undefined"/>
  68. <Cell col="1" rowspan="2" text="시행부서명" taborder="undefined"/>
  69. <Cell col="2" colspan="3" text="1" taborder="undefined"/>
  70. <Cell col="5" colspan="3" text="2" taborder="undefined"/>
  71. <Cell col="8" colspan="3" text="3" taborder="undefined"/>
  72. <Cell col="11" colspan="3" text="4" taborder="undefined"/>
  73. <Cell col="14" colspan="3" text="5" taborder="undefined"/>
  74. <Cell col="17" colspan="3" text="6" taborder="undefined"/>
  75. <Cell col="20" colspan="3" text="7" taborder="undefined"/>
  76. <Cell col="23" colspan="3" text="8" taborder="undefined"/>
  77. <Cell col="26" colspan="3" text="9" taborder="undefined"/>
  78. <Cell col="29" colspan="3" text="10" taborder="undefined"/>
  79. <Cell col="32" colspan="3" text="11" taborder="undefined"/>
  80. <Cell col="35" colspan="3" text="12" taborder="undefined"/>
  81. <Cell col="38" colspan="3" text="Total" taborder="undefined"/>
  82. <Cell row="1" col="2" text="검사건수"/>
  83. <Cell row="1" col="3" text="응급건수"/>
  84. <Cell row="1" col="4" text="응급율"/>
  85. <Cell row="1" col="5" text="검사건수"/>
  86. <Cell row="1" col="6" text="응급건수"/>
  87. <Cell row="1" col="7" text="응급율"/>
  88. <Cell row="1" col="8" text="검사건수"/>
  89. <Cell row="1" col="9" text="응급건수"/>
  90. <Cell row="1" col="10" text="응급율"/>
  91. <Cell row="1" col="11" text="검사건수"/>
  92. <Cell row="1" col="12" text="응급건수"/>
  93. <Cell row="1" col="13" text="응급율"/>
  94. <Cell row="1" col="14" text="검사건수"/>
  95. <Cell row="1" col="15" text="응급건수"/>
  96. <Cell row="1" col="16" text="응급율"/>
  97. <Cell row="1" col="17" text="검사건수"/>
  98. <Cell row="1" col="18" text="응급건수"/>
  99. <Cell row="1" col="19" text="응급율"/>
  100. <Cell row="1" col="20" text="검사건수"/>
  101. <Cell row="1" col="21" text="응급건수"/>
  102. <Cell row="1" col="22" text="응급율"/>
  103. <Cell row="1" col="23" text="검사건수"/>
  104. <Cell row="1" col="24" text="응급건수"/>
  105. <Cell row="1" col="25" text="응급율"/>
  106. <Cell row="1" col="26" text="검사건수"/>
  107. <Cell row="1" col="27" text="응급건수"/>
  108. <Cell row="1" col="28" text="응급율"/>
  109. <Cell row="1" col="29" text="검사건수"/>
  110. <Cell row="1" col="30" text="응급건수"/>
  111. <Cell row="1" col="31" text="응급율"/>
  112. <Cell row="1" col="32" text="검사건수"/>
  113. <Cell row="1" col="33" text="응급건수"/>
  114. <Cell row="1" col="34" text="응급율"/>
  115. <Cell row="1" col="35" text="검사건수"/>
  116. <Cell row="1" col="36" text="응급건수"/>
  117. <Cell row="1" col="37" text="응급율"/>
  118. <Cell row="1" col="38" text="검사건수"/>
  119. <Cell row="1" col="39" text="응급건수"/>
  120. <Cell row="1" col="40" text="응급율"/>
  121. </Band>
  122. <Band id="body">
  123. <Cell celltype="head" text="expr:currow + 1"/>
  124. <Cell col="1" text="bind:nm1"/>
  125. <Cell col="2" text="bind:a01"/>
  126. <Cell col="3" text="bind:b01"/>
  127. <Cell col="4" text="bind:c01"/>
  128. <Cell col="5" text="bind:a02"/>
  129. <Cell col="6" text="bind:b02"/>
  130. <Cell col="7" text="bind:c02"/>
  131. <Cell col="8" text="bind:a03"/>
  132. <Cell col="9" text="bind:b03"/>
  133. <Cell col="10" text="bind:c03"/>
  134. <Cell col="11" text="bind:a04"/>
  135. <Cell col="12" text="bind:b04"/>
  136. <Cell col="13" text="bind:c04"/>
  137. <Cell col="14" text="bind:a05"/>
  138. <Cell col="15" text="bind:b05"/>
  139. <Cell col="16" text="bind:c05"/>
  140. <Cell col="17" text="bind:a06"/>
  141. <Cell col="18" text="bind:b06"/>
  142. <Cell col="19" text="bind:c06"/>
  143. <Cell col="20" text="bind:a07"/>
  144. <Cell col="21" text="bind:b07"/>
  145. <Cell col="22" text="bind:c07"/>
  146. <Cell col="23" text="bind:a08"/>
  147. <Cell col="24" text="bind:b08"/>
  148. <Cell col="25" text="bind:c08"/>
  149. <Cell col="26" text="bind:a09"/>
  150. <Cell col="27" text="bind:b09"/>
  151. <Cell col="28" text="bind:c09"/>
  152. <Cell col="29" text="bind:a10"/>
  153. <Cell col="30" text="bind:b10"/>
  154. <Cell col="31" text="bind:c10"/>
  155. <Cell col="32" text="bind:a11"/>
  156. <Cell col="33" text="bind:b11"/>
  157. <Cell col="34" text="bind:c11"/>
  158. <Cell col="35" text="bind:a12"/>
  159. <Cell col="36" text="bind:b12"/>
  160. <Cell col="37" text="bind:c12"/>
  161. <Cell col="38" text="bind:a13"/>
  162. <Cell col="39" text="bind:b13"/>
  163. <Cell col="40" text="bind:c13"/>
  164. </Band>
  165. </Format>
  166. </Formats>
  167. </Grid>
  168. <Grid id="grd_dd" taborder="0" binddataset="ds_main_ddstats" useinputpanel="false" position="absolute 0 0 1195 616" anchor="all" cellsizingtype="col">
  169. <Formats>
  170. <Format id="default">
  171. <Columns>
  172. <Column size="27"/>
  173. <Column size="23"/>
  174. <Column size="80"/>
  175. <Column size="0"/>
  176. <Column size="80"/>
  177. <Column size="0"/>
  178. <Column size="80"/>
  179. <Column size="0"/>
  180. <Column size="80"/>
  181. <Column size="0"/>
  182. <Column size="0"/>
  183. <Column size="0"/>
  184. <Column size="0"/>
  185. <Column size="0"/>
  186. <Column size="40"/>
  187. <Column size="40"/>
  188. <Column size="40"/>
  189. <Column size="40"/>
  190. <Column size="40"/>
  191. <Column size="40"/>
  192. <Column size="40"/>
  193. <Column size="40"/>
  194. <Column size="40"/>
  195. <Column size="40"/>
  196. <Column size="40"/>
  197. <Column size="40"/>
  198. <Column size="40"/>
  199. <Column size="40"/>
  200. <Column size="40"/>
  201. <Column size="40"/>
  202. <Column size="40"/>
  203. <Column size="40"/>
  204. <Column size="40"/>
  205. <Column size="40"/>
  206. <Column size="40"/>
  207. <Column size="40"/>
  208. <Column size="40"/>
  209. <Column size="40"/>
  210. <Column size="40"/>
  211. <Column size="40"/>
  212. <Column size="40"/>
  213. <Column size="40"/>
  214. <Column size="40"/>
  215. <Column size="40"/>
  216. <Column size="40"/>
  217. <Column size="60"/>
  218. <Column size="0"/>
  219. <Column size="0"/>
  220. <Column size="0"/>
  221. <Column size="0"/>
  222. <Column size="0"/>
  223. <Column size="0"/>
  224. <Column size="0"/>
  225. <Column size="0"/>
  226. <Column size="0"/>
  227. <Column size="0"/>
  228. <Column size="0"/>
  229. <Column size="0"/>
  230. <Column size="0"/>
  231. <Column size="0"/>
  232. <Column size="0"/>
  233. <Column size="0"/>
  234. <Column size="0"/>
  235. <Column size="0"/>
  236. <Column size="0"/>
  237. <Column size="0"/>
  238. <Column size="0"/>
  239. <Column size="0"/>
  240. <Column size="0"/>
  241. <Column size="0"/>
  242. <Column size="0"/>
  243. <Column size="0"/>
  244. <Column size="0"/>
  245. <Column size="0"/>
  246. <Column size="0"/>
  247. <Column size="0"/>
  248. <Column size="0"/>
  249. <Column size="0"/>
  250. <Column size="0"/>
  251. <Column size="0"/>
  252. <Column size="0"/>
  253. <Column size="0"/>
  254. <Column size="0"/>
  255. <Column size="0"/>
  256. <Column size="0"/>
  257. <Column size="0"/>
  258. <Column size="0"/>
  259. <Column size="0"/>
  260. <Column size="0"/>
  261. <Column size="0"/>
  262. <Column size="0"/>
  263. <Column size="0"/>
  264. <Column size="0"/>
  265. <Column size="0"/>
  266. <Column size="0"/>
  267. <Column size="0"/>
  268. <Column size="0"/>
  269. <Column size="0"/>
  270. <Column size="0"/>
  271. <Column size="0"/>
  272. <Column size="0"/>
  273. <Column size="0"/>
  274. <Column size="0"/>
  275. <Column size="0"/>
  276. <Column size="0"/>
  277. <Column size="0"/>
  278. <Column size="0"/>
  279. <Column size="0"/>
  280. <Column size="0"/>
  281. <Column size="0"/>
  282. <Column size="0"/>
  283. <Column size="0"/>
  284. <Column size="0"/>
  285. <Column size="0"/>
  286. <Column size="0"/>
  287. <Column size="0"/>
  288. <Column size="0"/>
  289. <Column size="0"/>
  290. <Column size="0"/>
  291. <Column size="0"/>
  292. <Column size="0"/>
  293. <Column size="0"/>
  294. <Column size="0"/>
  295. <Column size="0"/>
  296. <Column size="0"/>
  297. <Column size="0"/>
  298. <Column size="0"/>
  299. <Column size="0"/>
  300. <Column size="0"/>
  301. <Column size="0"/>
  302. <Column size="0"/>
  303. <Column size="0"/>
  304. <Column size="0"/>
  305. <Column size="0"/>
  306. <Column size="0"/>
  307. <Column size="0"/>
  308. <Column size="0"/>
  309. <Column size="0"/>
  310. <Column size="0"/>
  311. </Columns>
  312. <Rows>
  313. <Row size="24" band="head"/>
  314. <Row size="24"/>
  315. </Rows>
  316. <Band id="head">
  317. <Cell/>
  318. <Cell col="1"/>
  319. <Cell col="2" text="명"/>
  320. <Cell col="3" text="코드"/>
  321. <Cell col="4" text="명"/>
  322. <Cell col="5" text="코드"/>
  323. <Cell col="6" text="명"/>
  324. <Cell col="7" text="코드"/>
  325. <Cell col="8" text="명"/>
  326. <Cell col="9" text="명"/>
  327. <Cell col="10" text="명"/>
  328. <Cell col="11" text="명"/>
  329. <Cell col="12" text="명"/>
  330. <Cell col="13" text="명"/>
  331. <Cell col="14" text="01"/>
  332. <Cell col="15" text="02"/>
  333. <Cell col="16" text="03"/>
  334. <Cell col="17" text="04"/>
  335. <Cell col="18" text="05"/>
  336. <Cell col="19" text="06"/>
  337. <Cell col="20" text="07"/>
  338. <Cell col="21" text="08"/>
  339. <Cell col="22" text="09"/>
  340. <Cell col="23" text="10"/>
  341. <Cell col="24" text="11"/>
  342. <Cell col="25" text="12"/>
  343. <Cell col="26" text="13"/>
  344. <Cell col="27" text="14"/>
  345. <Cell col="28" text="15"/>
  346. <Cell col="29" text="16"/>
  347. <Cell col="30" text="17"/>
  348. <Cell col="31" text="18"/>
  349. <Cell col="32" text="19"/>
  350. <Cell col="33" text="20"/>
  351. <Cell col="34" text="21"/>
  352. <Cell col="35" text="22"/>
  353. <Cell col="36" text="23"/>
  354. <Cell col="37" text="24"/>
  355. <Cell col="38" text="25"/>
  356. <Cell col="39" text="26"/>
  357. <Cell col="40" text="27"/>
  358. <Cell col="41" text="28"/>
  359. <Cell col="42" text="29"/>
  360. <Cell col="43" text="30"/>
  361. <Cell col="44" text="31"/>
  362. <Cell col="45" text="Total"/>
  363. <Cell col="46"/>
  364. <Cell col="47"/>
  365. <Cell col="48"/>
  366. <Cell col="49"/>
  367. <Cell col="50"/>
  368. <Cell col="51"/>
  369. <Cell col="52"/>
  370. <Cell col="53"/>
  371. <Cell col="54"/>
  372. <Cell col="55"/>
  373. <Cell col="56"/>
  374. <Cell col="57"/>
  375. <Cell col="58"/>
  376. <Cell col="59"/>
  377. <Cell col="60"/>
  378. <Cell col="61"/>
  379. <Cell col="62"/>
  380. <Cell col="63"/>
  381. <Cell col="64"/>
  382. <Cell col="65"/>
  383. <Cell col="66"/>
  384. <Cell col="67"/>
  385. <Cell col="68"/>
  386. <Cell col="69"/>
  387. <Cell col="70"/>
  388. <Cell col="71"/>
  389. <Cell col="72"/>
  390. <Cell col="73"/>
  391. <Cell col="74"/>
  392. <Cell col="75"/>
  393. <Cell col="76"/>
  394. <Cell col="77"/>
  395. <Cell col="78"/>
  396. <Cell col="79"/>
  397. <Cell col="80"/>
  398. <Cell col="81"/>
  399. <Cell col="82"/>
  400. <Cell col="83"/>
  401. <Cell col="84"/>
  402. <Cell col="85"/>
  403. <Cell col="86"/>
  404. <Cell col="87"/>
  405. <Cell col="88"/>
  406. <Cell col="89"/>
  407. <Cell col="90"/>
  408. <Cell col="91"/>
  409. <Cell col="92"/>
  410. <Cell col="93"/>
  411. <Cell col="94"/>
  412. <Cell col="95"/>
  413. <Cell col="96"/>
  414. <Cell col="97"/>
  415. <Cell col="98"/>
  416. <Cell col="99"/>
  417. <Cell col="100"/>
  418. <Cell col="101"/>
  419. <Cell col="102"/>
  420. <Cell col="103"/>
  421. <Cell col="104"/>
  422. <Cell col="105"/>
  423. <Cell col="106"/>
  424. <Cell col="107"/>
  425. <Cell col="108"/>
  426. <Cell col="109"/>
  427. <Cell col="110"/>
  428. <Cell col="111"/>
  429. <Cell col="112"/>
  430. <Cell col="113"/>
  431. <Cell col="114"/>
  432. <Cell col="115"/>
  433. <Cell col="116"/>
  434. <Cell col="117"/>
  435. <Cell col="118"/>
  436. <Cell col="119"/>
  437. <Cell col="120"/>
  438. <Cell col="121"/>
  439. <Cell col="122"/>
  440. <Cell col="123"/>
  441. <Cell col="124"/>
  442. <Cell col="125"/>
  443. <Cell col="126"/>
  444. <Cell col="127"/>
  445. <Cell col="128"/>
  446. <Cell col="129"/>
  447. <Cell col="130"/>
  448. <Cell col="131"/>
  449. <Cell col="132"/>
  450. <Cell col="133"/>
  451. <Cell col="134"/>
  452. <Cell col="135"/>
  453. <Cell col="136"/>
  454. <Cell col="137"/>
  455. <Cell col="138"/>
  456. </Band>
  457. <Band id="body">
  458. <Cell celltype="head" expr="expr:currow+1"/>
  459. <Cell col="1" celltype="none" text="bind:nm1"/>
  460. <Cell col="2" style="align:left middle;" text="bind:nm1" wordwrap="both"/>
  461. <Cell col="3" text="bind:cd2"/>
  462. <Cell col="4" text="bind:nm2"/>
  463. <Cell col="5" text="bind:cd3"/>
  464. <Cell col="6" text="bind:nm3"/>
  465. <Cell col="7" text="bind:cd4"/>
  466. <Cell col="8" text="bind:nm4"/>
  467. <Cell col="9" text="bind:h01"/>
  468. <Cell col="10" text="bind:h02"/>
  469. <Cell col="11" text="bind:h03"/>
  470. <Cell col="12" text="bind:h04"/>
  471. <Cell col="13" text="bind:h05"/>
  472. <Cell col="14" displaytype="number" text="bind:d01"/>
  473. <Cell col="15" displaytype="number" text="bind:d02"/>
  474. <Cell col="16" displaytype="number" text="bind:d03"/>
  475. <Cell col="17" displaytype="number" text="bind:d04"/>
  476. <Cell col="18" displaytype="number" text="bind:d05"/>
  477. <Cell col="19" displaytype="number" text="bind:d06"/>
  478. <Cell col="20" displaytype="number" text="bind:d07"/>
  479. <Cell col="21" displaytype="number" text="bind:d08"/>
  480. <Cell col="22" displaytype="number" text="bind:d09"/>
  481. <Cell col="23" displaytype="number" text="bind:d10"/>
  482. <Cell col="24" displaytype="number" text="bind:d11"/>
  483. <Cell col="25" displaytype="number" text="bind:d12"/>
  484. <Cell col="26" displaytype="number" text="bind:d13"/>
  485. <Cell col="27" displaytype="number" text="bind:d14"/>
  486. <Cell col="28" displaytype="number" text="bind:d15"/>
  487. <Cell col="29" displaytype="number" text="bind:d16"/>
  488. <Cell col="30" displaytype="number" text="bind:d17"/>
  489. <Cell col="31" displaytype="number" text="bind:d18"/>
  490. <Cell col="32" displaytype="number" text="bind:d19"/>
  491. <Cell col="33" displaytype="number" text="bind:d20"/>
  492. <Cell col="34" displaytype="number" text="bind:d21"/>
  493. <Cell col="35" displaytype="number" text="bind:d22"/>
  494. <Cell col="36" displaytype="number" text="bind:d23"/>
  495. <Cell col="37" displaytype="number" text="bind:d24"/>
  496. <Cell col="38" displaytype="number" text="bind:d25"/>
  497. <Cell col="39" displaytype="number" text="bind:d26"/>
  498. <Cell col="40" displaytype="number" text="bind:d27"/>
  499. <Cell col="41" displaytype="number" text="bind:d28"/>
  500. <Cell col="42" displaytype="number" text="bind:d29"/>
  501. <Cell col="43" displaytype="number" text="bind:d30"/>
  502. <Cell col="44" displaytype="number" text="bind:d31"/>
  503. <Cell col="45" displaytype="number" text="bind:total"/>
  504. <Cell col="46" text="bind:a01" mask="#,###"/>
  505. <Cell col="47" text="bind:b01" mask="#,###"/>
  506. <Cell col="48" text="bind:c01"/>
  507. <Cell col="49" text="bind:a02" mask="#,###"/>
  508. <Cell col="50" text="bind:b02" mask="#,###"/>
  509. <Cell col="51" text="bind:c02"/>
  510. <Cell col="52" text="bind:a03" mask="#,###"/>
  511. <Cell col="53" text="bind:b03" mask="#,###"/>
  512. <Cell col="54" text="bind:c03"/>
  513. <Cell col="55" text="bind:a04" mask="#,###"/>
  514. <Cell col="56" text="bind:b04" mask="#,###"/>
  515. <Cell col="57" text="bind:c04"/>
  516. <Cell col="58" text="bind:a05" mask="#,###"/>
  517. <Cell col="59" text="bind:b05" mask="#,###"/>
  518. <Cell col="60" text="bind:c05"/>
  519. <Cell col="61" text="bind:a06" mask="#,###"/>
  520. <Cell col="62" text="bind:b06" mask="#,###"/>
  521. <Cell col="63" text="bind:c06"/>
  522. <Cell col="64" text="bind:a07" mask="#,###"/>
  523. <Cell col="65" text="bind:b07" mask="#,###"/>
  524. <Cell col="66" text="bind:c07"/>
  525. <Cell col="67" text="bind:a08" mask="#,###"/>
  526. <Cell col="68" text="bind:b08" mask="#,###"/>
  527. <Cell col="69" text="bind:c08"/>
  528. <Cell col="70" text="bind:a09" mask="#,###"/>
  529. <Cell col="71" text="bind:b09" mask="#,###"/>
  530. <Cell col="72" text="bind:c09"/>
  531. <Cell col="73" text="bind:a10" mask="#,###"/>
  532. <Cell col="74" text="bind:b10" mask="#,###"/>
  533. <Cell col="75" text="bind:c10"/>
  534. <Cell col="76" text="bind:a11" mask="#,###"/>
  535. <Cell col="77" text="bind:b11" mask="#,###"/>
  536. <Cell col="78" text="bind:c11"/>
  537. <Cell col="79" text="bind:a12" mask="#,###"/>
  538. <Cell col="80" text="bind:b12" mask="#,###"/>
  539. <Cell col="81" text="bind:c12"/>
  540. <Cell col="82" text="bind:a13" mask="#,###"/>
  541. <Cell col="83" text="bind:b13" mask="#,###"/>
  542. <Cell col="84" text="bind:c13"/>
  543. <Cell col="85" text="bind:a14" mask="#,###"/>
  544. <Cell col="86" text="bind:b14" mask="#,###"/>
  545. <Cell col="87" text="bind:c14"/>
  546. <Cell col="88" text="bind:a15" mask="#,###"/>
  547. <Cell col="89" text="bind:b15" mask="#,###"/>
  548. <Cell col="90" text="bind:c15"/>
  549. <Cell col="91" text="bind:a16" mask="#,###"/>
  550. <Cell col="92" text="bind:b16" mask="#,###"/>
  551. <Cell col="93" text="bind:c16"/>
  552. <Cell col="94" text="bind:a17" mask="#,###"/>
  553. <Cell col="95" text="bind:b17" mask="#,###"/>
  554. <Cell col="96" text="bind:c17"/>
  555. <Cell col="97" text="bind:a18" mask="#,###"/>
  556. <Cell col="98" text="bind:b18" mask="#,###"/>
  557. <Cell col="99" text="bind:c18"/>
  558. <Cell col="100" text="bind:a19" mask="#,###"/>
  559. <Cell col="101" text="bind:b19" mask="#,###"/>
  560. <Cell col="102" text="bind:c19"/>
  561. <Cell col="103" text="bind:a20" mask="#,###"/>
  562. <Cell col="104" text="bind:b20" mask="#,###"/>
  563. <Cell col="105" text="bind:c20"/>
  564. <Cell col="106" text="bind:a21" mask="#,###"/>
  565. <Cell col="107" text="bind:b21" mask="#,###"/>
  566. <Cell col="108" text="bind:c21"/>
  567. <Cell col="109" text="bind:a22" mask="#,###"/>
  568. <Cell col="110" text="bind:b22" mask="#,###"/>
  569. <Cell col="111" text="bind:c22"/>
  570. <Cell col="112" text="bind:a23" mask="#,###"/>
  571. <Cell col="113" text="bind:b23" mask="#,###"/>
  572. <Cell col="114" text="bind:c23"/>
  573. <Cell col="115" text="bind:a24" mask="#,###"/>
  574. <Cell col="116" text="bind:b24" mask="#,###"/>
  575. <Cell col="117" text="bind:c24"/>
  576. <Cell col="118" text="bind:a25" mask="#,###"/>
  577. <Cell col="119" text="bind:b25" mask="#,###"/>
  578. <Cell col="120" text="bind:c25"/>
  579. <Cell col="121" text="bind:a26" mask="#,###"/>
  580. <Cell col="122" text="bind:b26" mask="#,###"/>
  581. <Cell col="123" text="bind:c26"/>
  582. <Cell col="124" text="bind:a27" mask="#,###"/>
  583. <Cell col="125" text="bind:b27" mask="#,###"/>
  584. <Cell col="126" text="bind:c27"/>
  585. <Cell col="127" text="bind:a28" mask="#,###"/>
  586. <Cell col="128" text="bind:b28" mask="#,###"/>
  587. <Cell col="129" text="bind:c28"/>
  588. <Cell col="130" text="bind:a29" mask="#,###"/>
  589. <Cell col="131" text="bind:b29" mask="#,###"/>
  590. <Cell col="132" text="bind:c29"/>
  591. <Cell col="133" text="bind:a30" mask="#,###"/>
  592. <Cell col="134" text="bind:b30" mask="#,###"/>
  593. <Cell col="135" text="bind:c30"/>
  594. <Cell col="136" text="bind:a31" mask="#,###"/>
  595. <Cell col="137" text="bind:b31" mask="#,###"/>
  596. <Cell col="138" text="bind:c31"/>
  597. </Band>
  598. </Format>
  599. </Formats>
  600. </Grid>
  601. <Grid id="grd_dd1" taborder="1" binddataset="ds_main_ddstats" useinputpanel="false" cellsizingtype="col" position="absolute 0 1 1195 617" anchor="all" visible="false">
  602. <Formats>
  603. <Format id="default">
  604. <Columns>
  605. <Column size="35"/>
  606. <Column size="89"/>
  607. <Column size="95"/>
  608. <Column size="60"/>
  609. <Column size="60"/>
  610. <Column size="60"/>
  611. <Column size="59"/>
  612. <Column size="60"/>
  613. <Column size="60"/>
  614. <Column size="60"/>
  615. <Column size="60"/>
  616. <Column size="60"/>
  617. <Column size="60"/>
  618. <Column size="60"/>
  619. <Column size="60"/>
  620. <Column size="60"/>
  621. <Column size="60"/>
  622. <Column size="60"/>
  623. <Column size="60"/>
  624. <Column size="60"/>
  625. <Column size="60"/>
  626. <Column size="60"/>
  627. <Column size="60"/>
  628. <Column size="60"/>
  629. <Column size="60"/>
  630. <Column size="60"/>
  631. <Column size="60"/>
  632. <Column size="60"/>
  633. <Column size="60"/>
  634. <Column size="60"/>
  635. <Column size="60"/>
  636. <Column size="60"/>
  637. <Column size="60"/>
  638. <Column size="60"/>
  639. <Column size="60"/>
  640. <Column size="60"/>
  641. <Column size="60"/>
  642. <Column size="60"/>
  643. <Column size="60"/>
  644. <Column size="60"/>
  645. <Column size="60"/>
  646. <Column size="60"/>
  647. </Columns>
  648. <Rows>
  649. <Row size="24" band="head"/>
  650. <Row size="24" band="head"/>
  651. <Row size="24"/>
  652. </Rows>
  653. <Band id="head">
  654. <Cell rowspan="2" taborder="undefined"/>
  655. <Cell col="1" rowspan="2" text="시행부서코드" taborder="undefined"/>
  656. <Cell col="2" rowspan="2" text="시행부서명" taborder="undefined"/>
  657. <Cell col="3" colspan="3" text="1" taborder="undefined"/>
  658. <Cell col="6" colspan="3" text="2" taborder="undefined"/>
  659. <Cell col="9" colspan="3" text="3" taborder="undefined"/>
  660. <Cell col="12" colspan="3" text="4" taborder="undefined"/>
  661. <Cell col="15" colspan="3" text="5" taborder="undefined"/>
  662. <Cell col="18" colspan="3" text="6" taborder="undefined"/>
  663. <Cell col="21" colspan="3" text="7" taborder="undefined"/>
  664. <Cell col="24" colspan="3" text="8" taborder="undefined"/>
  665. <Cell col="27" colspan="3" text="9" taborder="undefined"/>
  666. <Cell col="30" colspan="3" text="10" taborder="undefined"/>
  667. <Cell col="33" colspan="3" text="11" taborder="undefined"/>
  668. <Cell col="36" colspan="3" text="12" taborder="undefined"/>
  669. <Cell col="39" colspan="3" text="Total" taborder="undefined"/>
  670. <Cell row="1" col="3" text="검사건수"/>
  671. <Cell row="1" col="4" text="수정건수"/>
  672. <Cell row="1" col="5" text="수정율"/>
  673. <Cell row="1" col="6" text="검사건수"/>
  674. <Cell row="1" col="7" text="수정건수"/>
  675. <Cell row="1" col="8" text="수정율"/>
  676. <Cell row="1" col="9" text="검사건수"/>
  677. <Cell row="1" col="10" text="수정건수"/>
  678. <Cell row="1" col="11" text="수정율"/>
  679. <Cell row="1" col="12" text="검사건수"/>
  680. <Cell row="1" col="13" text="수정건수"/>
  681. <Cell row="1" col="14" text="수정율"/>
  682. <Cell row="1" col="15" text="검사건수"/>
  683. <Cell row="1" col="16" text="수정건수"/>
  684. <Cell row="1" col="17" text="수정율"/>
  685. <Cell row="1" col="18" text="검사건수"/>
  686. <Cell row="1" col="19" text="수정건수"/>
  687. <Cell row="1" col="20" text="수정율"/>
  688. <Cell row="1" col="21" text="검사건수"/>
  689. <Cell row="1" col="22" text="수정건수"/>
  690. <Cell row="1" col="23" text="수정율"/>
  691. <Cell row="1" col="24" text="검사건수"/>
  692. <Cell row="1" col="25" text="수정건수"/>
  693. <Cell row="1" col="26" text="수정율"/>
  694. <Cell row="1" col="27" text="검사건수"/>
  695. <Cell row="1" col="28" text="수정건수"/>
  696. <Cell row="1" col="29" text="수정율"/>
  697. <Cell row="1" col="30" text="검사건수"/>
  698. <Cell row="1" col="31" text="수정건수"/>
  699. <Cell row="1" col="32" text="수정율"/>
  700. <Cell row="1" col="33" text="검사건수"/>
  701. <Cell row="1" col="34" text="수정건수"/>
  702. <Cell row="1" col="35" text="수정율"/>
  703. <Cell row="1" col="36" text="검사건수"/>
  704. <Cell row="1" col="37" text="수정건수"/>
  705. <Cell row="1" col="38" text="수정율"/>
  706. <Cell row="1" col="39" text="검사건수"/>
  707. <Cell row="1" col="40" text="수정건수"/>
  708. <Cell row="1" col="41" text="수정율"/>
  709. </Band>
  710. <Band id="body">
  711. <Cell celltype="head" text="expr:currow + 1"/>
  712. <Cell col="1" text="bind:cd1"/>
  713. <Cell col="2" text="bind:nm1"/>
  714. <Cell col="3" text="bind:a01"/>
  715. <Cell col="4" text="bind:b01"/>
  716. <Cell col="5" text="bind:c01"/>
  717. <Cell col="6" text="bind:a02"/>
  718. <Cell col="7" text="bind:b02"/>
  719. <Cell col="8" text="bind:c02"/>
  720. <Cell col="9" text="bind:a03"/>
  721. <Cell col="10" text="bind:b03"/>
  722. <Cell col="11" text="bind:c03"/>
  723. <Cell col="12" text="bind:a04"/>
  724. <Cell col="13" text="bind:b04"/>
  725. <Cell col="14" text="bind:c04"/>
  726. <Cell col="15" text="bind:a05"/>
  727. <Cell col="16" text="bind:b05"/>
  728. <Cell col="17" text="bind:c05"/>
  729. <Cell col="18" text="bind:a06"/>
  730. <Cell col="19" text="bind:b06"/>
  731. <Cell col="20" text="bind:c06"/>
  732. <Cell col="21" text="bind:a07"/>
  733. <Cell col="22" text="bind:b07"/>
  734. <Cell col="23" text="bind:c07"/>
  735. <Cell col="24" text="bind:a08"/>
  736. <Cell col="25" text="bind:b08"/>
  737. <Cell col="26" text="bind:c08"/>
  738. <Cell col="27" text="bind:a09"/>
  739. <Cell col="28" text="bind:b09"/>
  740. <Cell col="29" text="bind:c09"/>
  741. <Cell col="30" text="bind:a10"/>
  742. <Cell col="31" text="bind:b10"/>
  743. <Cell col="32" text="bind:c10"/>
  744. <Cell col="33" text="bind:a11"/>
  745. <Cell col="34" text="bind:b11"/>
  746. <Cell col="35" text="bind:c11"/>
  747. <Cell col="36" text="bind:a12"/>
  748. <Cell col="37" text="bind:b12"/>
  749. <Cell col="38" text="bind:c12"/>
  750. <Cell col="39" text="bind:a13"/>
  751. <Cell col="40" text="bind:b13"/>
  752. <Cell col="41" text="bind:c13"/>
  753. </Band>
  754. </Format>
  755. </Formats>
  756. </Grid>
  757. </Layout>
  758. </Layouts>
  759. </Tabpage>
  760. </Tabpages>
  761. </Tab>
  762. <Div id="group1" taborder="3" class="div_SA" position="absolute 0 51 1195 116" anchor="left top right">
  763. <Layouts>
  764. <Layout>
  765. <Button id="btn_ref" taborder="1" text="조회" class="btn1" position="absolute 1123 7 1179 29" anchor="top right" onclick="group1_btn_ref_onclick"/>
  766. <Shape id="line3" linetype="vertical" class="line_4" position="absolute 1105 6 1111 28" anchor="top right"/>
  767. <Calendar id="ipt_workfromdd" taborder="2" autoselect="true" autoskip="true" dateformat="yyyy-MM-dd" class="input_search" position="absolute 148 37 238 56" anchor="default"/>
  768. <Calendar id="ipt_worktodd" taborder="3" autoselect="true" autoskip="true" dateformat="yyyy-MM-dd" class="input_search" position="absolute 253 37 343 56" anchor="default"/>
  769. <Static id="caption4" text="일자 :" class="search_name" position="absolute 4 38 69 55" anchor="default"/>
  770. <Static id="cap_daygap" text="~" class="search_no_b" position="absolute 240 39 253 56" anchor="default"/>
  771. <Combo id="combo8" taborder="4" innerdataset="@ds_hidden_menu_dflagItem_item" codecolumn="cd" datacolumn="nm" position="absolute 70 37 146 56" anchor="default"/>
  772. <Static id="caption1" text="통계 :" class="search_name" position="absolute 5 10 70 27" anchor="default"/>
  773. <Combo id="cmb_sts" taborder="5" innerdataset="@ds_menulist" codecolumn="stsval" datacolumn="stsnm" position="absolute 71 9 341 28" anchor="default" onitemchanged="group1_cmb_sts_onitemchanged"/>
  774. <Static id="cap_item1" class="search_name" position="absolute 405 10 517 27" anchor="default"/>
  775. <Combo id="cmb_item1" taborder="6" innerdataset="@ds_hidden_menu_gbn1_item" codecolumn="cd" datacolumn="nm" position="absolute 520 9 710 28" anchor="default"/>
  776. <Static id="cap_item2" class="search_name" position="absolute 405 38 517 55" anchor="default"/>
  777. <Combo id="cmb_item2" taborder="7" innerdataset="@ds_hidden_menu_gbn2_item" codecolumn="cd" datacolumn="nm" position="absolute 520 37 710 56" anchor="default"/>
  778. <Static id="cap_sect" text="시행부서 :" class="search_name" position="absolute 789 11 875 28" anchor="default"/>
  779. <Combo id="cmd_TMdlCd" taborder="9" innerdataset="@ds_init_lb0106" codecolumn="cd" datacolumn="nm" class="combo_s_essential" position="absolute 986 10 1086 29" anchor="default"/>
  780. <Combo id="cmb_TLrgCd" taborder="10" innerdataset="@ds_init_lb0111" codecolumn="cd" datacolumn="nm" class="combo_s_essential" position="absolute 880 10 980 29" anchor="default" onitemchanged="group1_cmb_TLrgCd_onitemchanged"/>
  781. <cp_checkboxList id="chk1" taborder="11" scrollbars="none" position="absolute 789 36 1181 59" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible" anchor="default"/>
  782. </Layout>
  783. </Layouts>
  784. </Div>
  785. <Combo id="Combo00" taborder="4" text="Combo00" position="absolute 248 18 348 38" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="Combo00_onitemchanged" visible="false">
  786. <Dataset id="innerdataset">
  787. <ColumnInfo>
  788. <Column id="codecolumn" size="256"/>
  789. <Column id="datacolumn" size="256"/>
  790. </ColumnInfo>
  791. <Rows>
  792. <Row>
  793. <Col id="codecolumn">1</Col>
  794. <Col id="datacolumn">1</Col>
  795. </Row>
  796. <Row>
  797. <Col id="codecolumn">2</Col>
  798. <Col id="datacolumn">2</Col>
  799. </Row>
  800. <Row>
  801. <Col id="codecolumn">3</Col>
  802. <Col id="datacolumn">3</Col>
  803. </Row>
  804. <Row>
  805. <Col id="codecolumn">4</Col>
  806. <Col id="datacolumn">4</Col>
  807. </Row>
  808. <Row>
  809. <Col id="codecolumn">5</Col>
  810. <Col id="datacolumn">5</Col>
  811. </Row>
  812. <Row>
  813. <Col id="codecolumn">6</Col>
  814. <Col id="datacolumn">6</Col>
  815. </Row>
  816. <Row>
  817. <Col id="codecolumn">7</Col>
  818. <Col id="datacolumn">7</Col>
  819. </Row>
  820. <Row>
  821. <Col id="codecolumn">8</Col>
  822. <Col id="datacolumn">8</Col>
  823. </Row>
  824. </Rows>
  825. </Dataset>
  826. </Combo>
  827. </Layout>
  828. </Layouts>
  829. <Objects>
  830. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  831. <ColumnInfo>
  832. <Column id="ddstats" type="STRING" size="256"/>
  833. <Column id="yystats" type="STRING" size="256"/>
  834. </ColumnInfo>
  835. <Rows>
  836. <Row/>
  837. </Rows>
  838. </Dataset>
  839. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  840. <ColumnInfo>
  841. <Column id="sql" type="STRING" size="256"/>
  842. <Column id="fromdd" type="STRING" size="256"/>
  843. <Column id="todd" type="STRING" size="256"/>
  844. <Column id="dflag" type="STRING" size="256"/>
  845. <Column id="gbn1val" type="STRING" size="256"/>
  846. <Column id="gbn2val" type="STRING" size="256"/>
  847. <Column id="gbn3val" type="STRING" size="256"/>
  848. <Column id="sectcd" type="STRING" size="256"/>
  849. <Column id="tsectcd" type="STRING" size="256"/>
  850. <Column id="param" type="STRING" size="256"/>
  851. <Column id="groupid" type="STRING" size="256"/>
  852. </ColumnInfo>
  853. <Rows>
  854. <Row/>
  855. </Rows>
  856. </Dataset>
  857. <Dataset id="ds_init_menulist_menu" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  858. <ColumnInfo>
  859. <Column id="stsnm" type="STRING" size="256"/>
  860. <Column id="stsval" type="STRING" size="256"/>
  861. <Column id="dlflag" type="STRING" size="256"/>
  862. <Column id="gbn1val" type="STRING" size="256"/>
  863. <Column id="gbn2val" type="STRING" size="256"/>
  864. <Column id="gbn3val" type="STRING" size="256"/>
  865. <Column id="dflagItem" type="STRING" size="256"/>
  866. <Column id="gbn1" type="STRING" size="256"/>
  867. <Column id="gbn2" type="STRING" size="256"/>
  868. <Column id="gbn3" type="STRING" size="256"/>
  869. <Column id="sqlstr" type="STRING" size="256"/>
  870. <Column id="grdstr" type="STRING" size="256"/>
  871. </ColumnInfo>
  872. <Rows>
  873. <Row>
  874. <Col id="stsnm">그래그래통계</Col>
  875. <Col id="stsval">3</Col>
  876. <Col id="dlflag">1</Col>
  877. </Row>
  878. </Rows>
  879. </Dataset>
  880. <Dataset id="ds_init_menulist_dflagItem_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  881. <ColumnInfo>
  882. <Column id="cd" type="STRING" size="256"/>
  883. <Column id="nm" type="STRING" size="256"/>
  884. </ColumnInfo>
  885. <Rows>
  886. <Row>
  887. <Col id="cd">1</Col>
  888. <Col id="nm">보고일</Col>
  889. </Row>
  890. <Row>
  891. <Col id="cd">2</Col>
  892. <Col id="nm">접수일</Col>
  893. </Row>
  894. </Rows>
  895. </Dataset>
  896. <Dataset id="ds_init_menulist_menu_gbn1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  897. <ColumnInfo>
  898. <Column id="gbnnm" type="STRING" size="256"/>
  899. <Column id="item" type="STRING" size="256"/>
  900. </ColumnInfo>
  901. <Rows>
  902. <Row>
  903. <Col id="gbnnm">입원/외래</Col>
  904. </Row>
  905. </Rows>
  906. </Dataset>
  907. <Dataset id="ds_init_menulist_menu_gbn1_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  908. <ColumnInfo>
  909. <Column id="cd" type="STRING" size="256"/>
  910. <Column id="nm" type="STRING" size="256"/>
  911. </ColumnInfo>
  912. </Dataset>
  913. <Dataset id="ds_init_menulist_menu_gbn2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  914. <ColumnInfo>
  915. <Column id="gbnnm" type="STRING" size="256"/>
  916. <Column id="item" type="STRING" size="256"/>
  917. </ColumnInfo>
  918. </Dataset>
  919. <Dataset id="ds_init_menulist_menu_gbn2_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  920. <ColumnInfo>
  921. <Column id="cd" type="STRING" size="256"/>
  922. <Column id="nm" type="STRING" size="256"/>
  923. </ColumnInfo>
  924. </Dataset>
  925. <Dataset id="ds_init_menulist_menu_gbn3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  926. <ColumnInfo>
  927. <Column id="gbnnm" type="STRING" size="256"/>
  928. <Column id="item" type="STRING" size="256"/>
  929. </ColumnInfo>
  930. </Dataset>
  931. <Dataset id="ds_init_menulist_menu_gbn3_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  932. <ColumnInfo>
  933. <Column id="cd" type="STRING" size="256"/>
  934. <Column id="nm" type="STRING" size="256"/>
  935. </ColumnInfo>
  936. <Rows>
  937. <Row>
  938. <Col id="cd">1</Col>
  939. <Col id="nm">aa</Col>
  940. </Row>
  941. <Row>
  942. <Col id="cd">1</Col>
  943. <Col id="nm">aa</Col>
  944. </Row>
  945. <Row>
  946. <Col id="cd">1</Col>
  947. <Col id="nm">aa</Col>
  948. </Row>
  949. <Row>
  950. <Col id="cd">1</Col>
  951. <Col id="nm">aa</Col>
  952. </Row>
  953. <Row>
  954. <Col id="cd">1</Col>
  955. <Col id="nm">aa</Col>
  956. </Row>
  957. </Rows>
  958. </Dataset>
  959. <Dataset id="ds_init_menulist_menu_sqlstr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  960. <ColumnInfo>
  961. <Column id="head" type="STRING" size="256"/>
  962. <Column id="item1" type="STRING" size="256"/>
  963. <Column id="item2" type="STRING" size="256"/>
  964. <Column id="item3" type="STRING" size="256"/>
  965. <Column id="foot" type="STRING" size="256"/>
  966. </ColumnInfo>
  967. </Dataset>
  968. <Dataset id="ds_init_menulist_menu_grdstr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  969. <ColumnInfo>
  970. <Column id="caption" type="STRING" size="256"/>
  971. <Column id="colwidth" type="STRING" size="256"/>
  972. </ColumnInfo>
  973. <Rows>
  974. <Row>
  975. <Col id="caption">코드^명^코드^명^코드^명^01^02^03^04^05^06^07^08^09^10^11^12^13^14^15^16^17^18^19^20^21^22^23^24^25^26^27^28^29^30^31^Total</Col>
  976. <Col id="colwidth">0^80^0^80^0^80^40^40^40^40^40^40^40^40^40^40^40^40^40^40^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0</Col>
  977. </Row>
  978. </Rows>
  979. </Dataset>
  980. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  981. <ColumnInfo>
  982. <Column id="tabgbn" type="STRING" size="256"/>
  983. <Column id="stsgbn" type="STRING" size="256"/>
  984. <Column id="fromdd" type="STRING" size="256"/>
  985. <Column id="todd" type="STRING" size="256"/>
  986. </ColumnInfo>
  987. <Rows>
  988. <Row>
  989. <Col id="stsgbn">1</Col>
  990. </Row>
  991. </Rows>
  992. </Dataset>
  993. <Dataset id="ds_hidden_menu" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  994. <ColumnInfo>
  995. <Column id="stsnm" type="STRING" size="256"/>
  996. <Column id="stsval" type="STRING" size="256"/>
  997. <Column id="daytoyn" type="STRING" size="256"/>
  998. <Column id="dflag" type="STRING" size="256"/>
  999. <Column id="gbn1val" type="STRING" size="256"/>
  1000. <Column id="gbn2val" type="STRING" size="256"/>
  1001. <Column id="gbn3val" type="STRING" size="256"/>
  1002. <Column id="sectcd" type="STRING" size="256"/>
  1003. <Column id="tsectcd" type="STRING" size="256"/>
  1004. </ColumnInfo>
  1005. <Rows>
  1006. <Row/>
  1007. </Rows>
  1008. </Dataset>
  1009. <Dataset id="ds_hidden_menu_dflagItem_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1010. <ColumnInfo>
  1011. <Column id="cd" type="STRING" size="256"/>
  1012. <Column id="nm" type="STRING" size="256"/>
  1013. </ColumnInfo>
  1014. </Dataset>
  1015. <Dataset id="ds_hidden_menu_gbn1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1016. <ColumnInfo>
  1017. <Column id="gbnnm" type="STRING" size="256"/>
  1018. <Column id="item" type="STRING" size="256"/>
  1019. </ColumnInfo>
  1020. </Dataset>
  1021. <Dataset id="ds_hidden_menu_gbn1_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1022. <ColumnInfo>
  1023. <Column id="cd" type="STRING" size="256"/>
  1024. <Column id="nm" type="STRING" size="256"/>
  1025. </ColumnInfo>
  1026. </Dataset>
  1027. <Dataset id="ds_hidden_menu_gbn2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1028. <ColumnInfo>
  1029. <Column id="gbnnm" type="STRING" size="256"/>
  1030. <Column id="item" type="STRING" size="256"/>
  1031. </ColumnInfo>
  1032. </Dataset>
  1033. <Dataset id="ds_hidden_menu_gbn2_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1034. <ColumnInfo>
  1035. <Column id="cd" type="STRING" size="256"/>
  1036. <Column id="nm" type="STRING" size="256"/>
  1037. </ColumnInfo>
  1038. </Dataset>
  1039. <Dataset id="ds_hidden_menu_gbn3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1040. <ColumnInfo>
  1041. <Column id="gbnnm" type="STRING" size="256"/>
  1042. <Column id="item" type="STRING" size="256"/>
  1043. </ColumnInfo>
  1044. </Dataset>
  1045. <Dataset id="ds_hidden_menu_gbn3_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1046. <ColumnInfo>
  1047. <Column id="cd" type="STRING" size="256"/>
  1048. <Column id="nm" type="STRING" size="256"/>
  1049. </ColumnInfo>
  1050. </Dataset>
  1051. <Dataset id="ds_hidden_menu_sqlstr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1052. <ColumnInfo>
  1053. <Column id="head" type="STRING" size="256"/>
  1054. <Column id="foot" type="STRING" size="256"/>
  1055. </ColumnInfo>
  1056. </Dataset>
  1057. <Dataset id="ds_hidden_menu_grdstr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1058. <ColumnInfo>
  1059. <Column id="caption" type="STRING" size="256"/>
  1060. <Column id="colwidth" type="STRING" size="256"/>
  1061. </ColumnInfo>
  1062. </Dataset>
  1063. <Dataset id="ds_main_ddstats" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1064. <ColumnInfo>
  1065. <Column id="col" type="STRING" size="256"/>
  1066. </ColumnInfo>
  1067. </Dataset>
  1068. <Dataset id="ds_init_menulist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1069. <ColumnInfo>
  1070. <Column id="menu" type="STRING" size="256" sumtext="메뉴정보"/>
  1071. </ColumnInfo>
  1072. </Dataset>
  1073. <Dataset id="ds_init_lb0102" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1074. <ColumnInfo>
  1075. <Column id="nm" type="STRING" size="256"/>
  1076. <Column id="cd" type="STRING" size="256"/>
  1077. </ColumnInfo>
  1078. </Dataset>
  1079. <Dataset id="ds_init_lb0106" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1080. <ColumnInfo>
  1081. <Column id="nm" type="STRING" size="256"/>
  1082. <Column id="cd" type="STRING" size="256"/>
  1083. </ColumnInfo>
  1084. </Dataset>
  1085. <Dataset id="ds_init_lb0104" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1086. <ColumnInfo>
  1087. <Column id="nm" type="STRING" size="256"/>
  1088. <Column id="cd" type="STRING" size="256"/>
  1089. </ColumnInfo>
  1090. </Dataset>
  1091. <Dataset id="ds_init_lb0111" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1092. <ColumnInfo>
  1093. <Column id="nm" type="STRING" size="256"/>
  1094. <Column id="cd" type="STRING" size="256"/>
  1095. </ColumnInfo>
  1096. </Dataset>
  1097. <Dataset id="ds_init_lb0000" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1098. <ColumnInfo>
  1099. <Column id="nm" type="STRING" size="256"/>
  1100. <Column id="cd" type="STRING" size="256"/>
  1101. </ColumnInfo>
  1102. </Dataset>
  1103. <Dataset id="ds_menulist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1104. <ColumnInfo>
  1105. <Column id="stsnm" type="STRING" size="256"/>
  1106. <Column id="stsval" type="STRING" size="256"/>
  1107. </ColumnInfo>
  1108. <Rows>
  1109. <Row>
  1110. <Col id="stsnm">시간대별 검사건수</Col>
  1111. <Col id="stsval">1</Col>
  1112. </Row>
  1113. <Row>
  1114. <Col id="stsnm">근무시간대별 건수</Col>
  1115. <Col id="stsval">2</Col>
  1116. </Row>
  1117. <Row>
  1118. <Col id="stsval">3</Col>
  1119. <Col id="stsnm">부적합검체통계 - 일별</Col>
  1120. </Row>
  1121. <Row>
  1122. <Col id="stsval">4</Col>
  1123. <Col id="stsnm">부적합검체통계 - 월별</Col>
  1124. </Row>
  1125. <Row>
  1126. <Col id="stsval">5</Col>
  1127. <Col id="stsnm">수정검사건수 통계 - 일별</Col>
  1128. </Row>
  1129. <Row>
  1130. <Col id="stsval">6</Col>
  1131. <Col id="stsnm">수정검사건수 통계 - 월별</Col>
  1132. </Row>
  1133. <Row>
  1134. <Col id="stsval">7</Col>
  1135. <Col id="stsnm">응급검사건수 통계 - 일별</Col>
  1136. </Row>
  1137. <Row>
  1138. <Col id="stsval">8</Col>
  1139. <Col id="stsnm">응급검사건수 통계 - 월별</Col>
  1140. </Row>
  1141. </Rows>
  1142. </Dataset>
  1143. <Dataset id="ds_hidden_menu_param" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1144. <ColumnInfo>
  1145. <Column id="nm" type="STRING" size="256"/>
  1146. <Column id="cd" type="STRING" size="256"/>
  1147. </ColumnInfo>
  1148. </Dataset>
  1149. <Dataset id="ds_menulist1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1150. <ColumnInfo>
  1151. <Column id="stsnm" type="STRING" size="256"/>
  1152. <Column id="stsval" type="STRING" size="256"/>
  1153. </ColumnInfo>
  1154. <Rows>
  1155. <Row>
  1156. <Col id="stsnm">장비별 검사건수 - 일별</Col>
  1157. <Col id="stsval">8</Col>
  1158. </Row>
  1159. <Row>
  1160. <Col id="stsval">9</Col>
  1161. <Col id="stsnm">장비별 검사건수 - 월별</Col>
  1162. </Row>
  1163. <Row>
  1164. <Col id="stsval">12</Col>
  1165. <Col id="stsnm">재검건수 통계 - 일별</Col>
  1166. </Row>
  1167. <Row>
  1168. <Col id="stsval">13</Col>
  1169. <Col id="stsnm">재검건수 통계 - 월별</Col>
  1170. </Row>
  1171. <Row>
  1172. <Col id="stsval">18</Col>
  1173. <Col id="stsnm">진단검사시행부서별통계 - 월별</Col>
  1174. </Row>
  1175. <Row>
  1176. <Col id="stsval">3</Col>
  1177. <Col id="stsnm">진료과별 통계 - 월별</Col>
  1178. </Row>
  1179. <Row>
  1180. <Col id="stsval">14</Col>
  1181. <Col id="stsnm">POCT건수 통계 - 일별</Col>
  1182. </Row>
  1183. <Row>
  1184. <Col id="stsval">15</Col>
  1185. <Col id="stsnm">POCT건수 통계 - 월별</Col>
  1186. </Row>
  1187. <Row>
  1188. <Col id="stsval">8</Col>
  1189. <Col id="stsnm">지출통계 - 회기년별</Col>
  1190. </Row>
  1191. <Row>
  1192. <Col id="stsval">5</Col>
  1193. <Col id="stsnm">지출통계 - 일자별</Col>
  1194. </Row>
  1195. <Row>
  1196. <Col id="stsval">7</Col>
  1197. <Col id="stsnm">지출통계 - 분기별</Col>
  1198. </Row>
  1199. <Row>
  1200. <Col id="stsval">6</Col>
  1201. <Col id="stsnm">지출통계 - 월별</Col>
  1202. </Row>
  1203. </Rows>
  1204. </Dataset>
  1205. </Objects>
  1206. <Bind>
  1207. <BindItem id="item0" compid="group1.cmb_sts" propid="value" datasetid="ds_hidden" columnid="stsgbn"/>
  1208. <BindItem id="item1" compid="group1.cmb_item1" propid="value" datasetid="ds_hidden_menu" columnid="gbn1val"/>
  1209. <BindItem id="item2" compid="group1.cmb_TLrgCd" propid="value" datasetid="ds_hidden_menu" columnid="sectcd"/>
  1210. <BindItem id="item3" compid="group1.cmd_TMdlCd" propid="value" datasetid="ds_hidden_menu" columnid="tsectcd"/>
  1211. <BindItem id="item4" compid="group1.combo8" propid="value" datasetid="ds_hidden_menu" columnid="dflag"/>
  1212. <BindItem id="item5" compid="group1.ipt_workfromdd" propid="value" datasetid="ds_hidden" columnid="fromdd"/>
  1213. <BindItem id="item6" compid="group1.ipt_worktodd" propid="value" datasetid="ds_hidden" columnid="todd"/>
  1214. <BindItem id="item7" compid="group1.cmb_item2" propid="value" datasetid="ds_hidden_menu" columnid="gbn2val"/>
  1215. <BindItem id="item8" compid="Combo00" propid="value" datasetid="ds_hidden" columnid="stsgbn"/>
  1216. <BindItem id="item9" compid="group1.cap_item1" propid="text" datasetid="ds_hidden_menu_gbn1" columnid="gbnnm"/>
  1217. <BindItem id="item10" compid="group1.cap_item2" propid="text" datasetid="ds_hidden_menu_gbn2" columnid="gbnnm"/>
  1218. </Bind>
  1219. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  1220. * System Name :
  1221. * Job Name :
  1222. * Creator :
  1223. * Make Date : 2015-05-01
  1224. * Description :
  1225. *---------------------------------------------------------------------------------------
  1226. * Modify Date Modifier Modify Description
  1227. *---------------------------------------------------------------------------------------
  1228. * 2015-05-01 Live Converter TF->XP
  1229. *
  1230. *---------------------------------------------------------------------------------------
  1231. ****************************************************************************************/
  1232. include "com_commonxp::comm_main.xjs";
  1233. include "lis_commonxp::LLZ001.xjs";
  1234. include "com_commodulexp::SSZFM00901.xjs";
  1235. function SMLLP02300_oninit(obj:Form, e:InitEventInfo)
  1236. {
  1237. frmf_initForm(obj);
  1238. }
  1239. function SMLLP02300_onload(obj:Form, e:LoadEventInfo)
  1240. {
  1241. grdf_initGrid(swt_statflag.dd.grd_dd);
  1242. grdf_initGrid(swt_statflag.dd.grd_dd1);
  1243. fSetInit();
  1244. }
  1245. function fSetInit()
  1246. {
  1247. var toDay = utlf_getCurrentDate();
  1248. ds_hidden.setColumn(0, "fromdd", toDay);
  1249. ds_hidden.setColumn(0, "todd", toDay);
  1250. ds_main_ddstats.clearData();
  1251. ds_init_menulist_menu.clearData();
  1252. var menuparam = frmf_getMenuParam();
  1253. if(utlf_isNull(menuparam))
  1254. {
  1255. menuparam = "01";
  1256. }
  1257. ds_send.setColumn(0, "groupid", "GROUP" + menuparam);
  1258. trace("MENUPARAM = " + ds_send.getColumn(0, "groupid"));
  1259. var oParam = {};
  1260. oParam.id = "TRLLS01601";
  1261. oParam.service = "statsmngtapp.GeneralTestStatsRefMngt";
  1262. oParam.method = "reqGetStsMenu";
  1263. oParam.inds = "cond=ds_send";
  1264. oParam.outds = "ds_init_menulist=getStsMenu";
  1265. oParam.async = false;
  1266. //oParam.callback = "cf_TRLLS01601";
  1267. tranf_submit(oParam);
  1268. if(ds_init_menulist.rowcount < 1) return;
  1269. lf_getDbDeptcd("0102|0106|0104|0111|0000|", "")
  1270. if(ds_send.getColumn(0, "groupid") == "GROUP01")
  1271. {
  1272. fchgSts(); //진검
  1273. }
  1274. else if(ds_send.getColumn(0, "groupid") == "GROUPN1")
  1275. {
  1276. //group1.cmb_sts.innerdataset = ds_menulist1;
  1277. //fchgSts1(); //핵의학
  1278. }
  1279. }
  1280. function fchgSts()
  1281. {
  1282. ds_main_ddstats.clearData();
  1283. for(var i = 1; i < swt_statflag.dd.grd_dd.getCellCount("Head"); i++)
  1284. {
  1285. swt_statflag.dd.grd_dd.setFormatColProperty(i, "size", 0);
  1286. }
  1287. var idx = ds_hidden.getColumn(0, "stsgbn");
  1288. var str = ds_init_menulist.getColumn(idx-1,"menu");
  1289. var pParamObj = new Object();
  1290. pParamObj.pathYN = "N";
  1291. pParamObj.nullColumnYN = "Y";
  1292. lf_convertXmlToDs4("<menu"+idx+">"+str+"</menu"+idx+">", pParamObj);
  1293. if(idx == 1) //시간대별 검사건순
  1294. {
  1295. ds_hidden_menu.copyData(ds_data_menu1);
  1296. ds_hidden_menu_dflagItem_item.copyData(ds_data_menu1_dflagItem_item);
  1297. ds_hidden_menu_gbn1.copyData(ds_data_menu1_gbn1);
  1298. ds_hidden_menu_gbn2.copyData(ds_data_menu1_gbn2);
  1299. ds_hidden_menu_gbn1_item.copyData(ds_data_menu1_gbn1_item);
  1300. ds_hidden_menu_gbn2_item.copyData(ds_data_menu1_gbn2_item);
  1301. ds_hidden_menu_gbn3_item.copyData(ds_data_menu1_gbn3_item);
  1302. ds_hidden_menu_grdstr.copyData(ds_data_menu1_grdstr);
  1303. ds_hidden_menu_param.copyData(ds_data_menu1_param_item);
  1304. group1.chk1.visible = true;
  1305. swt_statflag.dd.grd_dd.visible = true;
  1306. swt_statflag.dd.grd_dd1.visible = false;
  1307. swt_statflag.dd.grd_dd2.visible = false;
  1308. }
  1309. else if(idx == 2) //근무시간대별 건수
  1310. {
  1311. ds_hidden_menu.copyData(ds_data_menu2);
  1312. ds_hidden_menu_dflagItem_item.copyData(ds_data_menu2_dflagItem_item);
  1313. ds_hidden_menu_gbn1.copyData(ds_data_menu2_gbn1);
  1314. ds_hidden_menu_gbn2.copyData(ds_data_menu2_gbn2);
  1315. ds_hidden_menu_gbn1_item.copyData(ds_data_menu2_gbn1_item);
  1316. ds_hidden_menu_gbn2_item.copyData(ds_data_menu2_gbn2_item);
  1317. ds_hidden_menu_gbn3_item.copyData(ds_data_menu2_gbn3_item);
  1318. ds_hidden_menu_grdstr.copyData(ds_data_menu2_grdstr);
  1319. ds_hidden_menu_param.copyData(ds_data_menu2_param_item);
  1320. group1.chk1.visible = true;
  1321. swt_statflag.dd.grd_dd.visible = true;
  1322. swt_statflag.dd.grd_dd1.visible = false;
  1323. swt_statflag.dd.grd_dd2.visible = false;
  1324. }
  1325. else if(idx == 3) //부적합검체통계 - 일별
  1326. {
  1327. ds_hidden_menu.copyData(ds_data_menu3);
  1328. ds_hidden_menu_dflagItem_item.copyData(ds_data_menu3_dflagItem_item);
  1329. ds_hidden_menu_gbn1.copyData(ds_data_menu3_gbn1);
  1330. ds_hidden_menu_gbn1_item.copyData(ds_data_menu3_gbn1_item);
  1331. ds_hidden_menu_grdstr.copyData(ds_data_menu3_grdstr);
  1332. group1.chk1.visible = false;
  1333. swt_statflag.dd.grd_dd.visible = true;
  1334. swt_statflag.dd.grd_dd1.visible = false;
  1335. swt_statflag.dd.grd_dd2.visible = false;
  1336. }
  1337. else if(idx == 4) //부적합검체통계 - 월별
  1338. {
  1339. ds_hidden_menu.copyData(ds_data_menu4);
  1340. ds_hidden_menu_dflagItem_item.copyData(ds_data_menu4_dflagItem_item);
  1341. ds_hidden_menu_gbn1.copyData(ds_data_menu4_gbn1);
  1342. ds_hidden_menu_gbn1_item.copyData(ds_data_menu4_gbn1_item);
  1343. ds_hidden_menu_grdstr.copyData(ds_data_menu4_grdstr);
  1344. group1.chk1.visible = false;
  1345. swt_statflag.dd.grd_dd.visible = true;
  1346. swt_statflag.dd.grd_dd1.visible = false;
  1347. swt_statflag.dd.grd_dd2.visible = false;
  1348. }
  1349. else if(idx == 5) //수정검사건수 통계 - 일별
  1350. {
  1351. ds_hidden_menu.copyData(ds_data_menu5);
  1352. ds_hidden_menu_dflagItem_item.copyData(ds_data_menu5_dflagItem_item);
  1353. ds_hidden_menu_gbn1.copyData(ds_data_menu5_gbn1);
  1354. ds_hidden_menu_gbn1_item.copyData(ds_data_menu5_gbn1_item);
  1355. ds_hidden_menu_grdstr.copyData(ds_data_menu5_grdstr);
  1356. ds_hidden_menu_param.copyData(ds_data_menu5_param_item);
  1357. group1.chk1.visible = false;
  1358. swt_statflag.dd.grd_dd.visible = true;
  1359. swt_statflag.dd.grd_dd1.visible = false;
  1360. swt_statflag.dd.grd_dd2.visible = false;
  1361. }
  1362. else if(idx == 6) //수정검사건수 통계 - 월별
  1363. {
  1364. ds_hidden_menu.copyData(ds_data_menu6);
  1365. ds_hidden_menu_dflagItem_item.copyData(ds_data_menu6_dflagItem_item);
  1366. ds_hidden_menu_gbn1.copyData(ds_data_menu6_gbn1);
  1367. ds_hidden_menu_gbn1_item.copyData(ds_data_menu6_gbn1_item);
  1368. ds_hidden_menu_grdstr.copyData(ds_data_menu6_grdstr);
  1369. ds_hidden_menu_param.copyData(ds_data_menu6_param_item);
  1370. group1.chk1.visible = false;
  1371. swt_statflag.dd.grd_dd.visible = false;
  1372. swt_statflag.dd.grd_dd1.visible = true;
  1373. swt_statflag.dd.grd_dd2.visible = false;
  1374. }
  1375. else if(idx == 7) //응급검사건수 통계 - 일별
  1376. {
  1377. ds_hidden_menu.copyData(ds_data_menu7);
  1378. ds_hidden_menu_dflagItem_item.copyData(ds_data_menu7_dflagItem_item);
  1379. ds_hidden_menu_gbn1.copyData(ds_data_menu7_gbn1);
  1380. ds_hidden_menu_gbn1_item.copyData(ds_data_menu7_gbn1_item);
  1381. ds_hidden_menu_gbn2_item.copyData(ds_data_menu7_gbn2_item);
  1382. ds_hidden_menu_gbn3_item.copyData(ds_data_menu7_gbn3_item);
  1383. ds_hidden_menu_param.copyData(ds_data_menu7_param_item);
  1384. ds_hidden_menu_grdstr.copyData(ds_data_menu7_grdstr);
  1385. group1.chk1.visible = true;
  1386. swt_statflag.dd.grd_dd.visible = true;
  1387. swt_statflag.dd.grd_dd1.visible = false;
  1388. swt_statflag.dd.grd_dd2.visible = false;
  1389. }
  1390. else if(idx == 8) //응급검사건수 통계 - 월별
  1391. {
  1392. ds_hidden_menu.copyData(ds_data_menu8);
  1393. ds_hidden_menu_dflagItem_item.copyData(ds_data_menu8_dflagItem_item);
  1394. ds_hidden_menu_gbn1.copyData(ds_data_menu8_gbn1);
  1395. ds_hidden_menu_gbn1_item.copyData(ds_data_menu8_gbn1_item);
  1396. ds_hidden_menu_gbn2_item.copyData(ds_data_menu8_gbn2_item);
  1397. ds_hidden_menu_gbn3_item.copyData(ds_data_menu8_gbn3_item);
  1398. ds_hidden_menu_param.copyData(ds_data_menu8_param_item);
  1399. ds_hidden_menu_grdstr.copyData(ds_data_menu8_grdstr);
  1400. group1.chk1.visible = true;
  1401. swt_statflag.dd.grd_dd.visible = false;
  1402. swt_statflag.dd.grd_dd1.visible = false;
  1403. swt_statflag.dd.grd_dd2.visible = true;
  1404. }
  1405. var sProp="col=7,row=1,cellspacing=4,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow='visible'";
  1406. group1.chk1.setInitComp(sProp, ds_hidden_menu_gbn3_item, "cd", "nm");
  1407. var caption = ds_hidden_menu_grdstr.getColumn(0, "caption").split("^");
  1408. var colarr = ds_hidden_menu_grdstr.getColumn(0, "colwidth").split("^");
  1409. trace("caption = " + caption.length);
  1410. for(i = 0; i < caption.length; i++)
  1411. {
  1412. grdf_setColumn(swt_statflag.dd.grd_dd, "I", i+1, caption[i], caption[i]);
  1413. }
  1414. trace("colarr = " + colarr.length);
  1415. for(i = 0; i < colarr.length; i++)
  1416. {
  1417. swt_statflag.dd.grd_dd.setFormatColProperty(i+1, "size", colarr[i]);
  1418. }
  1419. if(ds_hidden_menu.rowcount < 1)
  1420. {
  1421. group1.cap_sect.visible = false;
  1422. group1.cmd_TMdlCd.visible = false;
  1423. group1.cmb_TLrgCd.visible = false;
  1424. }
  1425. else
  1426. {
  1427. group1.cap_sect.visible = true;
  1428. group1.cmd_TMdlCd.visible = true;
  1429. group1.cmb_TLrgCd.visible = true;
  1430. }
  1431. if(utlf_isNull(ds_hidden_menu.getColumn(0, "gbn1val")))
  1432. {
  1433. group1.cap_item1.visible = false;
  1434. group1.cmb_item1.visible = false;
  1435. }
  1436. else
  1437. {
  1438. group1.cap_item1.visible = true;
  1439. group1.cmb_item1.visible = true;
  1440. }
  1441. if(utlf_isNull(ds_hidden_menu.getColumn(0, "gbn2val")))
  1442. {
  1443. group1.cap_item2.visible = false;
  1444. group1.cmb_item2.visible = false;
  1445. }
  1446. else
  1447. {
  1448. group1.cap_item2.visible = true;
  1449. group1.cmb_item2.visible = true;
  1450. }
  1451. if(ds_hidden_menu.getColumn(0, "daytoyn") == "Y")
  1452. {
  1453. group1.cap_daygap.visible = true;
  1454. group1.ipt_worktodd.visible = true;
  1455. }
  1456. else
  1457. {
  1458. group1.cap_daygap.visible = false;
  1459. group1.ipt_worktodd.visible = false;
  1460. }
  1461. // 조건을 DB에서 조회 해야 하는 경우 사용나 기타 선처리가 필요한 경우
  1462. fevalScript("prescript");
  1463. }
  1464. //스크립트 실행
  1465. function group1_cmb_sts_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1466. {
  1467. if(ds_send.getColumn(0, "groupid") == "GROUP01")
  1468. {
  1469. fchgSts(); //진검
  1470. }
  1471. else if(ds_send.getColumn(0, "groupid") == "GROUPN1")
  1472. {
  1473. fchgSts1(); //핵의학
  1474. }
  1475. }
  1476. function group1_cmb_TLrgCd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1477. {
  1478. if(obj.value == "00")
  1479. {
  1480. ds_init_lb0106.filterstr = "";
  1481. }
  1482. else
  1483. {
  1484. ds_init_lb0106.filterstr = "cd == '00'||etc01 == '"+obj.value+"'";
  1485. }
  1486. }
  1487. function Combo00_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1488. {
  1489. fchgSts();
  1490. }
  1491. function group1_btn_ref_onclick(obj:Button, e:ClickEventInfo)
  1492. {
  1493. fGetStats();
  1494. }
  1495. function fGetStats()
  1496. {
  1497. ds_send.setColumn(0, "sql", ds_hidden_menu.getColumn(0, "sql"));
  1498. var stsval = ds_hidden_menu.getColumn(0, "stsval");
  1499. //sql 문장 및 파라메터 값을 완성하는 스크립트
  1500. fevalScript("startscript", stsval);
  1501. ds_send.setColumn(0, "fromdd", ds_hidden.getColumn(0, "fromdd"));
  1502. ds_send.setColumn(0, "todd", ds_hidden.getColumn(0, "fromdd"));
  1503. ds_send.setColumn(0, "dflag", ds_hidden_menu.getColumn(0, "dflag"));
  1504. ds_send.setColumn(0, "gbn1val", ds_hidden_menu.getColumn(0, "gbn1val"));
  1505. ds_send.setColumn(0, "gbn2val", ds_hidden_menu.getColumn(0, "gbn2val"));
  1506. ds_send.setColumn(0, "gbn3val", group1.chk1.getData());
  1507. ds_send.setColumn(0, "sectcd", ds_hidden_menu.getColumn(0, "sectcd"));
  1508. ds_send.setColumn(0, "tsectcd", ds_hidden_menu.getColumn(0, "tsectcd"));
  1509. var oParam = {};
  1510. oParam.id = "TRLLS01601";
  1511. oParam.service = "statsmngtapp.GeneralTestStatsRefMngt";
  1512. oParam.method = "reqGetStsData";
  1513. oParam.inds = "cond=ds_send prm=ds_hidden_menu_param";
  1514. oParam.outds = "ds_main_ddstats=getStsData";
  1515. oParam.async = false;
  1516. //oParam.callback = "cf_TRLLS01601";
  1517. tranf_submit(oParam);
  1518. if(stsval == 1)
  1519. {
  1520. }
  1521. else if(stsval == 2)
  1522. {
  1523. }
  1524. else if(stsval == 3)
  1525. {
  1526. swt_statflag.dd.grd_dd.setCellProperty("Body", 2, "text", "bind:nm1");
  1527. swt_statflag.dd.grd_dd.setCellProperty("Body", 14, "text", "bind:d01");
  1528. swt_statflag.dd.grd_dd.setCellProperty("Body", 15, "text", "bind:d02");
  1529. swt_statflag.dd.grd_dd.setCellProperty("Body", 16, "text", "bind:d03");
  1530. swt_statflag.dd.grd_dd.setCellProperty("Body", 17, "text", "bind:d04");
  1531. swt_statflag.dd.grd_dd.setCellProperty("Body", 18, "text", "bind:d05");
  1532. swt_statflag.dd.grd_dd.setCellProperty("Body", 19, "text", "bind:d06");
  1533. swt_statflag.dd.grd_dd.setCellProperty("Body", 20, "text", "bind:d07");
  1534. swt_statflag.dd.grd_dd.setCellProperty("Body", 21, "text", "bind:d08");
  1535. swt_statflag.dd.grd_dd.setCellProperty("Body", 22, "text", "bind:d09");
  1536. swt_statflag.dd.grd_dd.setCellProperty("Body", 23, "text", "bind:d10");
  1537. swt_statflag.dd.grd_dd.setCellProperty("Body", 24, "text", "bind:d11");
  1538. swt_statflag.dd.grd_dd.setCellProperty("Body", 25, "text", "bind:d12");
  1539. swt_statflag.dd.grd_dd.setCellProperty("Body", 26, "text", "bind:d13");
  1540. swt_statflag.dd.grd_dd.setCellProperty("Body", 27, "text", "bind:d14");
  1541. swt_statflag.dd.grd_dd.setCellProperty("Body", 28, "text", "bind:d15");
  1542. swt_statflag.dd.grd_dd.setCellProperty("Body", 29, "text", "bind:d16");
  1543. swt_statflag.dd.grd_dd.setCellProperty("Body", 30, "text", "bind:d17");
  1544. swt_statflag.dd.grd_dd.setCellProperty("Body", 31, "text", "bind:d18");
  1545. swt_statflag.dd.grd_dd.setCellProperty("Body", 32, "text", "bind:d19");
  1546. swt_statflag.dd.grd_dd.setCellProperty("Body", 33, "text", "bind:d20");
  1547. swt_statflag.dd.grd_dd.setCellProperty("Body", 34, "text", "bind:d21");
  1548. swt_statflag.dd.grd_dd.setCellProperty("Body", 35, "text", "bind:d22");
  1549. swt_statflag.dd.grd_dd.setCellProperty("Body", 36, "text", "bind:d23");
  1550. swt_statflag.dd.grd_dd.setCellProperty("Body", 37, "text", "bind:d24");
  1551. swt_statflag.dd.grd_dd.setCellProperty("Body", 38, "text", "bind:d25");
  1552. swt_statflag.dd.grd_dd.setCellProperty("Body", 39, "text", "bind:d26");
  1553. swt_statflag.dd.grd_dd.setCellProperty("Body", 40, "text", "bind:d27");
  1554. swt_statflag.dd.grd_dd.setCellProperty("Body", 41, "text", "bind:d28");
  1555. swt_statflag.dd.grd_dd.setCellProperty("Body", 42, "text", "bind:d29");
  1556. swt_statflag.dd.grd_dd.setCellProperty("Body", 43, "text", "bind:d30");
  1557. swt_statflag.dd.grd_dd.setCellProperty("Body", 44, "text", "bind:d31");
  1558. swt_statflag.dd.grd_dd.setCellProperty("Body", 45, "text", "bind:total");
  1559. swt_statflag.dd.grd_dd.setCellProperty("Body", 46, "text", "bind:a01");
  1560. }
  1561. else if(stsval == 4)
  1562. {
  1563. trace("sss = " + swt_statflag.dd.grd_dd.getCellProperty("Body", 45, "text"));
  1564. swt_statflag.dd.grd_dd.setCellProperty("Body", 2, "text", "bind:nm1");
  1565. swt_statflag.dd.grd_dd.setCellProperty("Body", 14, "text", "bind:d01");
  1566. swt_statflag.dd.grd_dd.setCellProperty("Body", 15, "text", "bind:d02");
  1567. swt_statflag.dd.grd_dd.setCellProperty("Body", 16, "text", "bind:d03");
  1568. swt_statflag.dd.grd_dd.setCellProperty("Body", 17, "text", "bind:d04");
  1569. swt_statflag.dd.grd_dd.setCellProperty("Body", 18, "text", "bind:d05");
  1570. swt_statflag.dd.grd_dd.setCellProperty("Body", 19, "text", "bind:d06");
  1571. swt_statflag.dd.grd_dd.setCellProperty("Body", 20, "text", "bind:d07");
  1572. swt_statflag.dd.grd_dd.setCellProperty("Body", 21, "text", "bind:d08");
  1573. swt_statflag.dd.grd_dd.setCellProperty("Body", 22, "text", "bind:d09");
  1574. swt_statflag.dd.grd_dd.setCellProperty("Body", 23, "text", "bind:d10");
  1575. swt_statflag.dd.grd_dd.setCellProperty("Body", 24, "text", "bind:d11");
  1576. swt_statflag.dd.grd_dd.setCellProperty("Body", 25, "text", "bind:d12");
  1577. swt_statflag.dd.grd_dd.setCellProperty("Body", 26, "text", "bind:d13");
  1578. swt_statflag.dd.grd_dd.setCellProperty("Body", 27, "text", "bind:d14");
  1579. swt_statflag.dd.grd_dd.setCellProperty("Body", 28, "text", "bind:d15");
  1580. swt_statflag.dd.grd_dd.setCellProperty("Body", 45, "text", "bind:total");
  1581. swt_statflag.dd.grd_dd.setCellProperty("Body", 46, "text", "bind:a01");
  1582. }
  1583. else if(stsval == 5)
  1584. {
  1585. swt_statflag.dd.grd_dd.setCellProperty("Body", 1, "text", "bind:cd1");
  1586. swt_statflag.dd.grd_dd.setCellProperty("Body", 2, "text", "bind:nm1");
  1587. swt_statflag.dd.grd_dd.setCellProperty("Body", 14, "text", "bind:d01");
  1588. swt_statflag.dd.grd_dd.setCellProperty("Body", 15, "text", "bind:d02");
  1589. swt_statflag.dd.grd_dd.setCellProperty("Body", 16, "text", "bind:d03");
  1590. swt_statflag.dd.grd_dd.setCellProperty("Body", 17, "text", "bind:d04");
  1591. swt_statflag.dd.grd_dd.setCellProperty("Body", 18, "text", "bind:d05");
  1592. swt_statflag.dd.grd_dd.setCellProperty("Body", 19, "text", "bind:d06");
  1593. swt_statflag.dd.grd_dd.setCellProperty("Body", 20, "text", "bind:d07");
  1594. swt_statflag.dd.grd_dd.setCellProperty("Body", 21, "text", "bind:d08");
  1595. swt_statflag.dd.grd_dd.setCellProperty("Body", 22, "text", "bind:d09");
  1596. swt_statflag.dd.grd_dd.setCellProperty("Body", 23, "text", "bind:d10");
  1597. swt_statflag.dd.grd_dd.setCellProperty("Body", 24, "text", "bind:d11");
  1598. swt_statflag.dd.grd_dd.setCellProperty("Body", 25, "text", "bind:d12");
  1599. swt_statflag.dd.grd_dd.setCellProperty("Body", 26, "text", "bind:d13");
  1600. swt_statflag.dd.grd_dd.setCellProperty("Body", 27, "text", "bind:d14");
  1601. swt_statflag.dd.grd_dd.setCellProperty("Body", 28, "text", "bind:d15");
  1602. swt_statflag.dd.grd_dd.setCellProperty("Body", 29, "text", "bind:d16");
  1603. swt_statflag.dd.grd_dd.setCellProperty("Body", 30, "text", "bind:d17");
  1604. swt_statflag.dd.grd_dd.setCellProperty("Body", 31, "text", "bind:d18");
  1605. swt_statflag.dd.grd_dd.setCellProperty("Body", 32, "text", "bind:d19");
  1606. swt_statflag.dd.grd_dd.setCellProperty("Body", 33, "text", "bind:d20");
  1607. swt_statflag.dd.grd_dd.setCellProperty("Body", 34, "text", "bind:d21");
  1608. swt_statflag.dd.grd_dd.setCellProperty("Body", 35, "text", "bind:d22");
  1609. swt_statflag.dd.grd_dd.setCellProperty("Body", 36, "text", "bind:d23");
  1610. swt_statflag.dd.grd_dd.setCellProperty("Body", 37, "text", "bind:d24");
  1611. swt_statflag.dd.grd_dd.setCellProperty("Body", 38, "text", "bind:d25");
  1612. swt_statflag.dd.grd_dd.setCellProperty("Body", 39, "text", "bind:d26");
  1613. swt_statflag.dd.grd_dd.setCellProperty("Body", 40, "text", "bind:d27");
  1614. swt_statflag.dd.grd_dd.setCellProperty("Body", 41, "text", "bind:d28");
  1615. swt_statflag.dd.grd_dd.setCellProperty("Body", 42, "text", "bind:d29");
  1616. swt_statflag.dd.grd_dd.setCellProperty("Body", 43, "text", "bind:d30");
  1617. swt_statflag.dd.grd_dd.setCellProperty("Body", 44, "text", "bind:d31");
  1618. swt_statflag.dd.grd_dd.setCellProperty("Body", 45, "text", "bind:total");
  1619. swt_statflag.dd.grd_dd.setCellProperty("Body", 46, "text", "bind:a01");
  1620. swt_statflag.dd.grd_dd.setCellProperty("Body", 47, "text", "bind:b01");
  1621. swt_statflag.dd.grd_dd.setCellProperty("Body", 48, "text", "bind:c01");
  1622. }
  1623. else if(stsval == 7)
  1624. {
  1625. //swt_statflag.dd.grd_dd.setCellProperty("Body", 1, "text", "bind:cd1");
  1626. swt_statflag.dd.grd_dd.setCellProperty("Body", 2, "text", "bind:nm1");
  1627. swt_statflag.dd.grd_dd.setCellProperty("Body", 14, "text", "bind:d01");
  1628. swt_statflag.dd.grd_dd.setCellProperty("Body", 15, "text", "bind:d02");
  1629. swt_statflag.dd.grd_dd.setCellProperty("Body", 16, "text", "bind:d03");
  1630. swt_statflag.dd.grd_dd.setCellProperty("Body", 17, "text", "bind:d04");
  1631. swt_statflag.dd.grd_dd.setCellProperty("Body", 18, "text", "bind:d05");
  1632. swt_statflag.dd.grd_dd.setCellProperty("Body", 19, "text", "bind:d06");
  1633. swt_statflag.dd.grd_dd.setCellProperty("Body", 20, "text", "bind:d07");
  1634. swt_statflag.dd.grd_dd.setCellProperty("Body", 21, "text", "bind:d08");
  1635. swt_statflag.dd.grd_dd.setCellProperty("Body", 22, "text", "bind:d09");
  1636. swt_statflag.dd.grd_dd.setCellProperty("Body", 23, "text", "bind:d10");
  1637. swt_statflag.dd.grd_dd.setCellProperty("Body", 24, "text", "bind:d11");
  1638. swt_statflag.dd.grd_dd.setCellProperty("Body", 25, "text", "bind:d12");
  1639. swt_statflag.dd.grd_dd.setCellProperty("Body", 26, "text", "bind:d13");
  1640. swt_statflag.dd.grd_dd.setCellProperty("Body", 27, "text", "bind:d14");
  1641. swt_statflag.dd.grd_dd.setCellProperty("Body", 28, "text", "bind:d15");
  1642. swt_statflag.dd.grd_dd.setCellProperty("Body", 29, "text", "bind:d16");
  1643. swt_statflag.dd.grd_dd.setCellProperty("Body", 30, "text", "bind:d17");
  1644. swt_statflag.dd.grd_dd.setCellProperty("Body", 31, "text", "bind:d18");
  1645. swt_statflag.dd.grd_dd.setCellProperty("Body", 32, "text", "bind:d19");
  1646. swt_statflag.dd.grd_dd.setCellProperty("Body", 33, "text", "bind:d20");
  1647. swt_statflag.dd.grd_dd.setCellProperty("Body", 34, "text", "bind:d21");
  1648. swt_statflag.dd.grd_dd.setCellProperty("Body", 35, "text", "bind:d22");
  1649. swt_statflag.dd.grd_dd.setCellProperty("Body", 36, "text", "bind:d23");
  1650. swt_statflag.dd.grd_dd.setCellProperty("Body", 37, "text", "bind:d24");
  1651. swt_statflag.dd.grd_dd.setCellProperty("Body", 38, "text", "bind:d25");
  1652. swt_statflag.dd.grd_dd.setCellProperty("Body", 39, "text", "bind:d26");
  1653. swt_statflag.dd.grd_dd.setCellProperty("Body", 40, "text", "bind:d27");
  1654. swt_statflag.dd.grd_dd.setCellProperty("Body", 41, "text", "bind:d28");
  1655. swt_statflag.dd.grd_dd.setCellProperty("Body", 42, "text", "bind:d29");
  1656. swt_statflag.dd.grd_dd.setCellProperty("Body", 43, "text", "bind:d30");
  1657. swt_statflag.dd.grd_dd.setCellProperty("Body", 44, "text", "bind:d31");
  1658. swt_statflag.dd.grd_dd.setCellProperty("Body", 45, "text", "bind:total");
  1659. swt_statflag.dd.grd_dd.setCellProperty("Body", 46, "text", "bind:a01");
  1660. swt_statflag.dd.grd_dd.setCellProperty("Body", 47, "text", "bind:b01");
  1661. swt_statflag.dd.grd_dd.setCellProperty("Body", 48, "text", "bind:c01");
  1662. }
  1663. //조회 후 처리가 필요한 경우
  1664. fevalScript("endscript");
  1665. }
  1666. function fevalScript(str, stsval)
  1667. {
  1668. if(utlf_isNull(ds_hidden_menu.getColumn(0, str)))
  1669. {
  1670. return;
  1671. }
  1672. else
  1673. {
  1674. if(ds_send.getColumn(0, "groupid") == "GROUP01")
  1675. {
  1676. fScript01(str, stsval);
  1677. }
  1678. else if(ds_send.getColumn(0, "groupid") == "GROUPN1")
  1679. {
  1680. fScriptN1(str, stsval);
  1681. }
  1682. }
  1683. }
  1684. function fScript01(str, stsval)
  1685. {
  1686. if(str == "prescript")
  1687. {
  1688. }
  1689. else if(str == "startscript")
  1690. {
  1691. if(stsval == 1) //시간대별 검사건수
  1692. {
  1693. if(ds_hidden_menu.getColumn(0, "dflag") == "2")
  1694. {
  1695. fSetParamvVal("stscd", "L02");
  1696. }
  1697. else
  1698. {
  1699. fSetParamvVal("stscd", "L01");
  1700. }
  1701. if(ds_hidden_menu.getColumn(0, "sectcd") == "00")
  1702. {
  1703. fSetSqlChg(/▦sectcd▦/g, "");
  1704. }
  1705. else
  1706. {
  1707. fSetSqlChg(/▦sectcd▦/g, "and a.itemcd2 = #sectcd#");
  1708. }
  1709. if(ds_hidden_menu.getColumn(0, "tsectcd") == "00")
  1710. {
  1711. fSetSqlChg(/▦tsectcd▦/g, "");
  1712. }
  1713. else
  1714. {
  1715. fSetSqlChg(/▦tsectcd▦/g, "and a.itemnm2 = #tsectcd#");
  1716. }
  1717. var i = 0;
  1718. var str = "";
  1719. var tmp = group1.chk1.getData();
  1720. if(!utlf_isNull(tmp))
  1721. {
  1722. str = "and a.stsflag3 in ("
  1723. for(i = 1; i <= tmp.length; i++)
  1724. {
  1725. if(i==1) str = str + "#gbn3val_" + i + "#"
  1726. else str = str + ", #gbn3val_" + i + "#"
  1727. }
  1728. str = str + ")"
  1729. fSetSqlChg(/▦day▦/g, str);
  1730. }
  1731. else
  1732. {
  1733. fSetSqlChg(/▦day▦/g, "");
  1734. }
  1735. if(ds_hidden_menu.getColumn(0, "gbn2val") == "-")
  1736. {
  1737. fSetSqlChg(/▦group▦/g, "group by rollup(stsdy|| '-' ||stsdm|| '-' ||stsdd, a.itemnm2, (a.itemcd3, a.itemnm3)) order by stsdy|| '-' ||stsdm|| '-' ||stsdd, a.itemnm2, a.itemcd3");
  1738. fSetSqlChg(/▦cd2▦/g, "nvl((select /*+ index_desc (sb pk_llfmtsec) */TSECTNM from lis.llfmtsec sb where instcd = #%dutplceinstcd# and TSECTCD = a.itemnm2 and rownum = 1), nvl(a.itemnm2, nvl2(stsdy|| '-' ||stsdm|| '-' ||stsdd,'◆◆일계◆◆', ''))) cd2, ");
  1739. fSetSqlChg(/▦cd3▦/g, "nvl((select /*+ index_desc (sb pk_llfmtcls) */tclsnm from lis.llfmtcls sb where instcd = #%dutplceinstcd# and tclscd = a.itemcd3 and rownum = 1), nvl(a.itemcd3, nvl2(a.itemnm2,'◆◆부서계◆◆',''))) nm2, itemcd3 cd3, itemnm3 nm3,");
  1740. swt_statflag.dd.grd_dd.setFormatColProperty(3, "size", 80);
  1741. swt_statflag.dd.grd_dd.setFormatColProperty(4, "size", 120);
  1742. swt_statflag.dd.grd_dd.setFormatColProperty(5, "size", 60);
  1743. swt_statflag.dd.grd_dd.setFormatColProperty(6, "size", 50);
  1744. }
  1745. else if(ds_hidden_menu.getColumn(0, "gbn2val") == "1")
  1746. {
  1747. fSetSqlChg(/▦group▦/g, "group by rollup(stsdy|| '-' ||stsdm|| '-' ||stsdd, a.itemnm2) order by stsdy|| '-' ||stsdm|| '-' ||stsdd, a.itemnm2");
  1748. fSetSqlChg(/▦cd2▦/g, "nvl((select /*+ index_desc (sb pk_llfmtsec) */TSECTNM from lis.llfmtsec sb where instcd = #%dutplceinstcd# and TSECTCD = a.itemnm2 and rownum = 1), nvl(a.itemnm2, nvl2(stsdy|| '-' ||stsdm|| '-' ||stsdd,'◆◆일계◆◆', ''))) cd2, ");
  1749. fSetSqlChg(/▦cd3▦/g, "");
  1750. swt_statflag.dd.grd_dd.setFormatColProperty(3, "size", 80);
  1751. swt_statflag.dd.grd_dd.setFormatColProperty(4, "size", 0);
  1752. swt_statflag.dd.grd_dd.setFormatColProperty(5, "size", 0);
  1753. swt_statflag.dd.grd_dd.setFormatColProperty(6, "size", 0);
  1754. }
  1755. else if(ds_hidden_menu.getColumn(0, "gbn2val") == "2")
  1756. {
  1757. fSetSqlChg(/▦group▦/g, "group by rollup(stsdy|| '-' ||stsdm|| '-' ||stsdd)");
  1758. fSetSqlChg(/▦cd2▦/g, "");
  1759. fSetSqlChg(/▦cd3▦/g, "");
  1760. swt_statflag.dd.grd_dd.setFormatColProperty(3, "size", 0);
  1761. swt_statflag.dd.grd_dd.setFormatColProperty(4, "size", 0);
  1762. swt_statflag.dd.grd_dd.setFormatColProperty(5, "size", 0);
  1763. swt_statflag.dd.grd_dd.setFormatColProperty(6, "size", 0);
  1764. }
  1765. }//stsval == 1
  1766. else if(stsval == 2) //근무시간대별 건수
  1767. {
  1768. if(ds_hidden_menu.getColumn(0, "dflag") == "2")
  1769. {
  1770. fSetParamvVal("stscd", "L02");
  1771. }
  1772. else
  1773. {
  1774. fSetParamvVal("stscd", "L01");
  1775. }
  1776. if(ds_hidden_menu.getColumn(0, "sectcd") == "00")
  1777. {
  1778. fSetSqlChg(/▦sectcd▦/g, "");
  1779. }
  1780. else
  1781. {
  1782. fSetSqlChg(/▦sectcd▦/g, "and a.itemcd2 = #sectcd#");
  1783. }
  1784. if(ds_hidden_menu.getColumn(0, "tsectcd") == "00")
  1785. {
  1786. fSetSqlChg(/▦tsectcd▦/g, "");
  1787. }
  1788. else
  1789. {
  1790. fSetSqlChg(/▦tsectcd▦/g, "and a.itemnm2 = #tsectcd#");
  1791. }
  1792. var i = 0;
  1793. var str = "";
  1794. var tmp = group1.chk1.getData();
  1795. if(!utlf_isNull(tmp))
  1796. {
  1797. str = "and stsflag3 in ("
  1798. for(i = 1; i <= tmp.length; i++)
  1799. {
  1800. if(i==1)
  1801. {
  1802. str = str + "#gbn3val_" + i + "#"
  1803. }
  1804. else
  1805. {
  1806. str = str + ", #gbn3val_" + i + "#"
  1807. }
  1808. }
  1809. str = str + ")"
  1810. fSetSqlChg(/▦day▦/g, str);
  1811. }
  1812. else
  1813. {
  1814. fSetSqlChg(/▦day▦/g, "");
  1815. }
  1816. if(ds_hidden_menu.getColumn(0, "gbn2val") == "-")
  1817. {
  1818. fSetSqlChg(/▦group▦/g, "group by rollup(dd, itemnm2, (itemcd3, itemnm3)) order by dd, itemnm2, itemcd3, itemnm3");
  1819. fSetSqlChg(/▦cd2▦/g, "nvl((select /*+ index_desc (sb pk_llfmtsec) */TSECTNM from lis.llfmtsec sb where instcd = #%dutplceinstcd# and TSECTCD = itemnm2 and rownum = 1), nvl(itemnm2, nvl2(dd,'◆◆일계◆◆', ''))) cd2, ");
  1820. fSetSqlChg(/▦cd3▦/g, "nvl((select /*+ index_desc (sb pk_llfmtcls) */tclsnm from lis.llfmtcls sb where instcd = #%dutplceinstcd# and tclscd = itemcd3 and rownum = 1), nvl(itemcd3, nvl2(itemnm2,'◆◆부서계◆◆',''))) nm3, itemcd3 cd3, itemnm3 cd4,");
  1821. swt_statflag.dd.grd_dd.setFormatColProperty(3, "size", 80);
  1822. swt_statflag.dd.grd_dd.setFormatColProperty(5, "size", 70);
  1823. swt_statflag.dd.grd_dd.setFormatColProperty(6, "size", 220);
  1824. swt_statflag.dd.grd_dd.setFormatColProperty(7, "size", 70);
  1825. }
  1826. else if(ds_hidden_menu.getColumn(0, "gbn2val") == "1")
  1827. {
  1828. fSetSqlChg(/▦group▦/g, "group by rollup(dd, itemnm2) order by dd, itemnm2");
  1829. fSetSqlChg(/▦cd2▦/g, "nvl((select /*+ index_desc (sb pk_llfmtsec) */TSECTNM from lis.llfmtsec sb where instcd = #%dutplceinstcd# and TSECTCD = itemnm2 and rownum = 1), nvl(itemnm2, nvl2(dd,'◆◆일계◆◆', ''))) cd2, ");
  1830. fSetSqlChg(/▦cd3▦/g, "");
  1831. swt_statflag.dd.grd_dd.setFormatColProperty(3, "size", 80);
  1832. swt_statflag.dd.grd_dd.setFormatColProperty(5, "size", 0);
  1833. swt_statflag.dd.grd_dd.setFormatColProperty(6, "size", 0);
  1834. swt_statflag.dd.grd_dd.setFormatColProperty(7, "size", 0);
  1835. }
  1836. else if(ds_hidden_menu.getColumn(0, "gbn2val") == "2")
  1837. {
  1838. fSetSqlChg(/▦group▦/g, "group by rollup(dd)");
  1839. fSetSqlChg(/▦cd2▦/g, "");
  1840. fSetSqlChg(/▦cd3▦/g, "");
  1841. swt_statflag.dd.grd_dd.setFormatColProperty(3, "size", 0);
  1842. swt_statflag.dd.grd_dd.setFormatColProperty(5, "size", 0);
  1843. swt_statflag.dd.grd_dd.setFormatColProperty(6, "size", 0);
  1844. swt_statflag.dd.grd_dd.setFormatColProperty(7, "size", 0);
  1845. }
  1846. }//stsval == 2
  1847. else if(stsval == 3) //부적합검체통계 - 일별
  1848. {
  1849. if(ds_hidden_menu.getColumn(0, "sectcd") == "00" && ds_hidden_menu.getColumn(0, "tsectcd") == "00" &&
  1850. ds_hidden_menu.getColumn(0, "gbn1val") == "-" || ds_hidden_menu.getColumn(0, "gbn1val") == "M")
  1851. {
  1852. fSetSqlChg(/▦bgd▦/g, "");
  1853. }
  1854. else
  1855. {
  1856. fSetSqlChg(/▦bgd▦/g, "and exists (select 1 from lis.llchsbgd where instcd = a.instcd and bcno = a.bcno ▦sectcd▦ ▦iogbn▦ and rownum = 1)");
  1857. }
  1858. if(ds_hidden_menu.getColumn(0, "sectcd") != "00" && ds_hidden_menu.getColumn(0, "tsectcd") == "00")
  1859. {
  1860. fSetSqlChg(/▦sectcd▦/g, "and execdeptcd like #sectcd# || '%'");
  1861. }
  1862. else if(ds_hidden_menu.getColumn(0, "tsectcd") != "00")
  1863. {
  1864. fSetSqlChg(/▦sectcd▦/g, "and execdeptcd = #tsectcd#");
  1865. }
  1866. else
  1867. {
  1868. fSetSqlChg(/▦sectcd▦/g, "");
  1869. }
  1870. if(ds_hidden_menu.getColumn(0, "gbn1val") == "-" || ds_hidden_menu.getColumn(0, "gbn1val") == "M")
  1871. {
  1872. fSetSqlChg(/▦iogbn▦/g, "");
  1873. }
  1874. else
  1875. {
  1876. fSetSqlChg(/▦iogbn▦/g, "and prcpgenrflag = #gbn1val#");
  1877. }
  1878. if(ds_hidden_menu.getColumn(0, "gbn1val") == "M")
  1879. {
  1880. fSetSqlChg(/▦M▦/g, "and a.bcno like 'M%'");
  1881. }
  1882. else
  1883. {
  1884. fSetSqlChg(/▦M▦/g, "");
  1885. }
  1886. if(ds_hidden_menu.getColumn(0, "sectcd") != "00" && ds_hidden_menu.getColumn(0, "tsectcd") == "00")
  1887. {
  1888. fSetSqlChg(/▦sectcd2▦/g, "and itemcd1 like #sectcd# || '%'");
  1889. }
  1890. else if(ds_hidden_menu.getColumn(0, "tsectcd") != "00")
  1891. {
  1892. fSetSqlChg(/▦sectcd2▦/g, "and itemcd1 = #sectcd#");
  1893. }
  1894. else
  1895. {
  1896. fSetSqlChg(/▦sectcd2▦/g, "");
  1897. }
  1898. if(ds_hidden_menu.getColumn(0, "gbn1val") == "-" || ds_hidden_menu.getColumn(0, "gbn1val") == "M")
  1899. {
  1900. fSetSqlChg(/▦iogbn2▦/g, "and s.stsflag1 = '-'");
  1901. }
  1902. else
  1903. {
  1904. fSetSqlChg(/▦iogbn2▦/g, "and s.stsflag1 = #gbn1val#");
  1905. }
  1906. }//stsval == 3
  1907. else if(stsval == 4) //부적합검체통계 - 월별
  1908. {
  1909. if(ds_hidden_menu.getColumn(0, "sectcd") == "00" && ds_hidden_menu.getColumn(0, "tsectcd") == "00" &&
  1910. ds_hidden_menu.getColumn(0, "gbn1val") == "-" || ds_hidden_menu.getColumn(0, "gbn1val") == "M")
  1911. {
  1912. fSetSqlChg(/▦bgd▦/g, "");
  1913. }
  1914. else
  1915. {
  1916. fSetSqlChg(/▦bgd▦/g, "and exists (select 1 from lis.llchsbgd where instcd = a.instcd and bcno = a.bcno ▦sectcd▦ ▦iogbn▦ and rownum = 1)");
  1917. }
  1918. if(ds_hidden_menu.getColumn(0, "sectcd") != "00" && ds_hidden_menu.getColumn(0, "tsectcd") == "00")
  1919. {
  1920. fSetSqlChg(/▦sectcd▦/g, "and execdeptcd like #sectcd# || '%'");
  1921. }
  1922. else if(ds_hidden_menu.getColumn(0, "tsectcd") != "00")
  1923. {
  1924. fSetSqlChg(/▦sectcd▦/g, "and execdeptcd = #tsectcd#");
  1925. }
  1926. else
  1927. {
  1928. fSetSqlChg(/▦sectcd▦/g, "");
  1929. }
  1930. if(ds_hidden_menu.getColumn(0, "gbn1val") == "-" || ds_hidden_menu.getColumn(0, "gbn1val") == "M")
  1931. {
  1932. fSetSqlChg(/▦iogbn▦/g, "");
  1933. }
  1934. else
  1935. {
  1936. fSetSqlChg(/▦iogbn▦/g, "and prcpgenrflag = #gbn1val#");
  1937. }
  1938. if(ds_hidden_menu.getColumn(0, "gbn1val") == "M")
  1939. {
  1940. fSetSqlChg(/▦M▦/g, "and a.bcno like 'M%'");
  1941. }
  1942. else
  1943. {
  1944. fSetSqlChg(/▦M▦/g, "");
  1945. }
  1946. if(ds_hidden_menu.getColumn(0, "sectcd") != "00" && ds_hidden_menu.getColumn(0, "tsectcd") == "00")
  1947. {
  1948. fSetSqlChg(/▦sectcd2▦/g, "and itemcd1 like #sectcd# || '%'");
  1949. }
  1950. else if(ds_hidden_menu.getColumn(0, "tsectcd") != "00")
  1951. {
  1952. fSetSqlChg(/▦sectcd2▦/g, "and itemcd1 = #sectcd#");
  1953. }
  1954. else
  1955. {
  1956. fSetSqlChg(/▦sectcd2▦/g, "");
  1957. }
  1958. if(ds_hidden_menu.getColumn(0, "gbn1val") == "-" || ds_hidden_menu.getColumn(0, "gbn1val") == "M")
  1959. {
  1960. fSetSqlChg(/▦iogbn2▦/g, "and s.stsflag1 = '-'");
  1961. }
  1962. else
  1963. {
  1964. fSetSqlChg(/▦iogbn2▦/g, "and s.stsflag1 = #gbn1val#");
  1965. }
  1966. }//strvarl == 4
  1967. else if(stsval == 5) //수정검사건수 통계 - 일별
  1968. {
  1969. if(ds_hidden_menu.getColumn(0, "dflag") == "2")
  1970. {
  1971. fSetParamvVal("stscd", "L02");
  1972. }
  1973. else
  1974. {
  1975. fSetParamvVal("stscd", "L01");
  1976. }
  1977. if(ds_hidden_menu.getColumn(0, "sectcd") == "00")
  1978. {
  1979. fSetSqlChg(/▦sectcd▦/g, "");
  1980. fSetSqlChg(/▦sectcd2▦/g, "");
  1981. }
  1982. else
  1983. {
  1984. fSetSqlChg(/▦sectcd▦/g, "and itemcd2 = #sectcd#");
  1985. fSetSqlChg(/▦sectcd2▦/g, "and a.itemcd1 = #sectcd#");
  1986. }
  1987. if(ds_hidden_menu.getColumn(0, "tsectcd") == "00")
  1988. {
  1989. fSetSqlChg(/▦tsectcd▦/g, "");
  1990. }
  1991. else
  1992. {
  1993. fSetSqlChg(/▦tsectcd▦/g, "and itemnm2 = #tsectcd#");
  1994. }
  1995. }//stsval == 5
  1996. else if(stsval == 6) //수정검사건수 통계 - 월별
  1997. {
  1998. if(ds_hidden_menu.getColumn(0, "dflag") == "2")
  1999. {
  2000. fSetParamvVal("stscd", "L02");
  2001. }
  2002. else
  2003. {
  2004. fSetParamvVal("stscd", "L01");
  2005. }
  2006. if(ds_hidden_menu.getColumn(0, "sectcd") == "00")
  2007. {
  2008. fSetSqlChg(/▦sectcd▦/g, "");
  2009. fSetSqlChg(/▦sectcd2▦/g, "");
  2010. }
  2011. else
  2012. {
  2013. fSetSqlChg(/▦sectcd▦/g, "and itemcd2 = #sectcd#");
  2014. fSetSqlChg(/▦sectcd2▦/g, "and a.itemcd1 = #sectcd#");
  2015. }
  2016. if(ds_hidden_menu.getColumn(0, "tsectcd") == "00")
  2017. {
  2018. fSetSqlChg(/▦tsectcd▦/g, "");
  2019. }
  2020. else
  2021. {
  2022. fSetSqlChg(/▦tsectcd▦/g, "and a.itemnm2 = #tsectcd#");
  2023. }
  2024. }//stsval == 6
  2025. else if(stsval == 7)
  2026. {
  2027. if(ds_hidden_menu.getColumn(0, "dflag") == "2")
  2028. {
  2029. fSetParamvVal("stscd", "L02");
  2030. }
  2031. else
  2032. {
  2033. fSetParamvVal("stscd", "L01");
  2034. }
  2035. if(ds_hidden_menu.getColumn(0, "sectcd") == "00")
  2036. {
  2037. fSetSqlChg(/▦sectcd▦/g, "");
  2038. fSetSqlChg(/▦sectcd2▦/g, "");
  2039. }
  2040. else
  2041. {
  2042. fSetSqlChg(/▦sectcd▦/g, "and itemnm1 = #sectcd#");
  2043. fSetSqlChg(/▦sectcd2▦/g, "and a.itemcd1 = #sectcd#");
  2044. }
  2045. if(ds_hidden_menu.getColumn(0, "tsectcd") == "00")
  2046. {
  2047. fSetSqlChg(/▦tsectcd▦/g, "");
  2048. }
  2049. else
  2050. {
  2051. fSetSqlChg(/▦tsectcd▦/g, "and itemcd1 = #tsectcd#");
  2052. }
  2053. var tmp = new String(group1.chk1.getData());
  2054. var gbn1;
  2055. var gbn2;
  2056. var gbn3;
  2057. if(!utlf_isNull(tmp))
  2058. {
  2059. gbn1 = tmp.indexOf("-");
  2060. gbn2 = tmp.indexOf("1");
  2061. gbn3 = tmp.indexOf("2");
  2062. }
  2063. if(gbn1 >= 0)
  2064. {
  2065. fSetSqlChg(/▦er▦/g, "");
  2066. }
  2067. else if(gbn2 >= 0 && gbn3 >= 0)
  2068. {
  2069. fSetSqlChg(/▦er▦/g, "");
  2070. }
  2071. else if(gbn2 >= 0 && gbn3 == -1)
  2072. {
  2073. fSetSqlChg(/▦er▦/g, "AND stsflag2= '1'");
  2074. }
  2075. else if(gbn2 == -1 && gbn3 >= 0)
  2076. {
  2077. fSetSqlChg(/▦er▦/g, "AND stsflag2= '2'");
  2078. }
  2079. else
  2080. {
  2081. fSetSqlChg(/▦er▦/g, "");
  2082. }
  2083. if(ds_hidden_menu.getColumn(0, "gbn2val") == "-")
  2084. {
  2085. fSetSqlChg(/▦ord▦/g, "");
  2086. }
  2087. else
  2088. {
  2089. fSetSqlChg(/▦ord▦/g, "AND itemcd2 = #gbn2val#");
  2090. }
  2091. }//stsval == 7
  2092. else if(stsval == 8)
  2093. {
  2094. if(ds_hidden_menu.getColumn(0, "dflag") == "2")
  2095. {
  2096. fSetParamvVal("stscd", "L02");
  2097. }
  2098. else
  2099. {
  2100. fSetParamvVal("stscd", "L01");
  2101. }
  2102. if(ds_hidden_menu.getColumn(0, "sectcd") == "00")
  2103. {
  2104. fSetSqlChg(/▦sectcd▦/g, "");
  2105. fSetSqlChg(/▦sectcd2▦/g, "");
  2106. }
  2107. else
  2108. {
  2109. fSetSqlChg(/▦sectcd▦/g, "and itemnm1 = #sectcd#");
  2110. fSetSqlChg(/▦sectcd2▦/g, "and a.itemcd1 = #sectcd#");
  2111. }
  2112. if(ds_hidden_menu.getColumn(0, "tsectcd") == "00")
  2113. {
  2114. fSetSqlChg(/▦tsectcd▦/g, "");
  2115. }
  2116. else
  2117. {
  2118. fSetSqlChg(/▦tsectcd▦/g, "and itemcd1 = #tsectcd#");
  2119. }
  2120. var gbn1;
  2121. var gbn2;
  2122. var gbn3;
  2123. var tmp = new String(group1.chk1.getData());
  2124. if(!utlf_isNull(tmp))
  2125. {
  2126. gbn1 = tmp.indexOf("-");
  2127. gbn2 = tmp.indexOf("1");
  2128. gbn3 = tmp.indexOf("2");
  2129. }
  2130. if(gbn1 >= 0)
  2131. {
  2132. fSetSqlChg(/▦er▦/g, "");
  2133. }
  2134. else if(gbn2 >= 0 && gbn3 >= 0)
  2135. {
  2136. fSetSqlChg(/▦er▦/g, "");
  2137. }
  2138. else if(gbn2 >= 0 && gbn3 == -1)
  2139. {
  2140. fSetSqlChg(/▦er▦/g, "AND stsflag2= '1'");
  2141. }
  2142. else if(gbn2 == -1 && gbn3 >= 0)
  2143. {
  2144. fSetSqlChg(/▦er▦/g, "AND stsflag2= '2'");
  2145. }
  2146. else
  2147. {
  2148. fSetSqlChg(/▦er▦/g, "");
  2149. }
  2150. if(ds_hidden_menu.getColumn(0, "gbn2val") == "-")
  2151. {
  2152. fSetSqlChg(/▦ord▦/g, "");
  2153. }
  2154. else
  2155. {
  2156. fSetSqlChg(/▦ord▦/g, "AND itemcd2 = #gbn2val#");
  2157. }
  2158. }
  2159. }
  2160. else if(str == "endscript")
  2161. {
  2162. //if(stsval == 1)
  2163. //else if(strval == 2)
  2164. //else if(strval == 3)
  2165. //else if(strval == 4)
  2166. }
  2167. }
  2168. //파라메터 값 설정
  2169. function fSetParamvVal(nm, val)
  2170. {
  2171. ds_hidden_menu_param.setColumn("nm =='" + nm + "'", "cd", val);
  2172. }
  2173. //sql 변경
  2174. function fSetSqlChg(re, val)
  2175. {
  2176. ds_send.setColumn(0, "sql", ds_send.getColumn(0, "sql").replace(re, val));
  2177. }
  2178. function btn_excel_onclick(obj:Button, e:ClickEventInfo)
  2179. {
  2180. var idx = ds_hidden.getColumn(0, "stsgbn");
  2181. if(idx == 1 || idx == 2 || idx == 3 || idx == 4 || idx == 5 || idx == 7 )
  2182. {
  2183. grdf_exportExcel(swt_statflag.dd.grd_dd, "", "see");
  2184. }
  2185. else if(idx == 6 || idx == 8)
  2186. {
  2187. grdf_exportExcel(swt_statflag.dd.grd_dd1, "", "see");
  2188. }
  2189. }
  2190. function fchgSts1()
  2191. {
  2192. ds_main_ddstats.clearData();
  2193. for(var i = 1; i < swt_statflag.dd.grd_dd.getCellCount("Head"); i++)
  2194. {
  2195. swt_statflag.dd.grd_dd.setFormatColProperty(i, "size", 0);
  2196. }
  2197. var idx = ds_hidden.getColumn(0, "stsgbn");
  2198. trace("idx = " + idx);
  2199. var str = ds_init_menulist.getColumn(idx-1,"menu");
  2200. var pParamObj = new Object();
  2201. pParamObj.pathYN = "N";
  2202. pParamObj.nullColumnYN = "Y";
  2203. lf_convertXmlToDs4("<menu"+idx+">"+str+"</menu"+idx+">", pParamObj);
  2204. if(idx == 8) //시간대별 검사건순
  2205. {
  2206. ds_hidden_menu.copyData(ds_data_menu8);
  2207. ds_hidden_menu_dflagItem_item.copyData(ds_data_menu8_dflagItem_item);
  2208. ds_hidden_menu_gbn1.copyData(ds_data_menu8_gbn1);
  2209. ds_hidden_menu_gbn1_item.copyData(ds_data_menu8_gbn1_item);
  2210. ds_hidden_menu_grdstr.copyData(ds_data_menu8_grdstr);
  2211. ds_hidden_menu_param.copyData(ds_data_menu8_param_item);
  2212. swt_statflag.dd.grd_dd.visible = true;
  2213. swt_statflag.dd.grd_dd1.visible = false;
  2214. }
  2215. else if(idx == 9) //근무시간대별 건수
  2216. {
  2217. ds_hidden_menu.copyData(ds_data_menu9);
  2218. ds_hidden_menu_dflagItem_item.copyData(ds_data_menu9_dflagItem_item);
  2219. ds_hidden_menu_gbn1.copyData(ds_data_menu9_gbn1);
  2220. ds_hidden_menu_gbn1_item.copyData(ds_data_menu9_gbn1_item);
  2221. ds_hidden_menu_grdstr.copyData(ds_data_menu9_grdstr);
  2222. ds_hidden_menu_param.copyData(ds_data_menu9_param);
  2223. swt_statflag.dd.grd_dd.visible = true;
  2224. swt_statflag.dd.grd_dd1.visible = false;
  2225. }
  2226. var sProp="col=7,row=1,cellspacing=4,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow='visible'";
  2227. group1.chk1.setInitComp(sProp, ds_hidden_menu_gbn3_item, "cd", "nm");
  2228. var caption = ds_hidden_menu_grdstr.getColumn(0, "caption").split("^");
  2229. var colarr = ds_hidden_menu_grdstr.getColumn(0, "colwidth").split("^");
  2230. trace("caption = " + caption.length);
  2231. for(i = 0; i < caption.length; i++)
  2232. {
  2233. grdf_setColumn(swt_statflag.dd.grd_dd, "I", i+1, caption[i], caption[i]);
  2234. }
  2235. trace("colarr = " + colarr.length);
  2236. for(i = 0; i < colarr.length; i++)
  2237. {
  2238. swt_statflag.dd.grd_dd.setFormatColProperty(i+1, "size", colarr[i]);
  2239. }
  2240. if(ds_hidden_menu.rowcount < 1)
  2241. {
  2242. group1.cap_sect.visible = false;
  2243. group1.cmd_TMdlCd.visible = false;
  2244. group1.cmb_TLrgCd.visible = false;
  2245. }
  2246. else
  2247. {
  2248. group1.cap_sect.visible = true;
  2249. group1.cmd_TMdlCd.visible = true;
  2250. group1.cmb_TLrgCd.visible = true;
  2251. }
  2252. if(utlf_isNull(ds_hidden_menu.getColumn(0, "gbn1val")))
  2253. {
  2254. group1.cap_item1.visible = false;
  2255. group1.cmb_item1.visible = false;
  2256. }
  2257. else
  2258. {
  2259. group1.cap_item1.visible = true;
  2260. group1.cmb_item1.visible = true;
  2261. }
  2262. if(utlf_isNull(ds_hidden_menu.getColumn(0, "gbn2val")))
  2263. {
  2264. group1.cap_item2.visible = false;
  2265. group1.cmb_item2.visible = false;
  2266. }
  2267. else
  2268. {
  2269. group1.cap_item2.visible = true;
  2270. group1.cmb_item2.visible = true;
  2271. }
  2272. if(ds_hidden_menu.getColumn(0, "daytoyn") == "Y")
  2273. {
  2274. group1.cap_daygap.visible = true;
  2275. group1.ipt_worktodd.visible = true;
  2276. }
  2277. else
  2278. {
  2279. group1.cap_daygap.visible = false;
  2280. group1.ipt_worktodd.visible = false;
  2281. }
  2282. // 조건을 DB에서 조회 해야 하는 경우 사용나 기타 선처리가 필요한 경우
  2283. var stsval = ds_hidden_menu.getColumn(0, "stsval");
  2284. fevalScript("prescript", stsval);
  2285. }
  2286. function fScriptN1(str, stsval)
  2287. {
  2288. if(str == "prescript")
  2289. {
  2290. if(stsval == 8)
  2291. {
  2292. ds_send.setColumn(0, "sql", ds_hidden_menu.getColumn(0, "basecdsql"));
  2293. //submit("TRLLS01603"); xml 파일이 없음.
  2294. }
  2295. else if(stsval == 9)
  2296. {
  2297. ds_send.setColumn(0, "sql", ds_hidden_menu.getColumn(0, "basecdsql"));
  2298. //submit("TRLLS01603");
  2299. }
  2300. }
  2301. else if(str == "startscript")
  2302. {
  2303. if(stsval == 8)
  2304. {
  2305. if(ds_hidden_menu.getColumn(0, "sectcd") == "00")
  2306. {
  2307. fSetSqlChg(/▦sectcd▦/g, "");
  2308. }
  2309. else
  2310. {
  2311. fSetSqlChg(/▦sectcd▦/g, "and a.itemcd1 = #sectcd#");
  2312. }
  2313. if(ds_hidden_menu.getColumn(0, "tsectcd") == "00")
  2314. {
  2315. fSetSqlChg(/▦tsectcd▦/g, "");
  2316. }
  2317. else
  2318. {
  2319. fSetSqlChg(/▦tsectcd▦/g, "and a.itemnm1 = #tsectcd#");
  2320. }
  2321. if(ds_hidden_menu.getColumn(0, "gbn2val") == "00")
  2322. {
  2323. fSetSqlChg(/▦eqmtcd▦/g, "");
  2324. }
  2325. else
  2326. {
  2327. fSetSqlChg(/▦eqmtcd▦/g, "and a.itemcd2 = #gbn2val#");
  2328. }
  2329. }
  2330. else if(stsval == 9)
  2331. {
  2332. if(ds_hidden_menu.getColumn(0, "sectcd") == "00")
  2333. {
  2334. fSetSqlChg(/▦sectcd▦/g, "");
  2335. }
  2336. else
  2337. {
  2338. fSetSqlChg(/▦sectcd▦/g, "and a.itemcd1 = #sectcd#");
  2339. }
  2340. if(ds_hidden_menu.getColumn(0, "tsectcd") == "00")
  2341. {
  2342. fSetSqlChg(/▦tsectcd▦/g, "");
  2343. }
  2344. else
  2345. {
  2346. fSetSqlChg(/▦tsectcd▦/g, "and a.itemnm1 = #tsectcd#");
  2347. }
  2348. if(ds_hidden_menu.getColumn(0, "gbn2val") == "00")
  2349. {
  2350. fSetSqlChg(/▦eqmtcd▦/g, "");
  2351. }
  2352. else
  2353. {
  2354. fSetSqlChg(/▦eqmtcd▦/g, "and a.itemcd2 = #gbn2val#");
  2355. }
  2356. }
  2357. }
  2358. }]]></Script>
  2359. </Form>
  2360. </FDL>