SMLNS00100_부서별통계(핵체외).xfdl 79 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMLNS00100" position="absolute 0 0 1195 770" titletext="부서별 통계" oninit="SMLNS00100_oninit" onload="SMLNS00100_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static text="검사 통계" position="absolute 0 0 200 23" id="caption6" class="tit_1"/>
  8. <Static text="총분주라벨수" position="absolute 448 23 536 46" align="align:center middle;" id="caption2" class="cell_1" visible="true"/>
  9. <MaskEdit readonly="true" position="absolute 380 24 445 43" id="output26" visible="true" style="align:left middle;"/>
  10. <MaskEdit readonly="true" position="absolute 538 24 603 43" id="output1" visible="true" trimtype="none" type="number" style="align:left middle;"/>
  11. <Shape position="absolute 297 17 906 26" linetype="horizontal" id="line7" class="line_10" visible="true"/>
  12. <Static text="총검사건수" position="absolute 297 23 377 46" align="align:center middle;" id="caption101" class="cell_1" visible="true"/>
  13. <Static text="총검체수" position="absolute 605 23 685 46" align="align:center middle;" id="caption8" class="cell_1" visible="true"/>
  14. <MaskEdit readonly="true" position="absolute 688 24 753 43" id="output2" visible="true" trimtype="none" type="number" style="align:left middle;"/>
  15. <Static text="총환자수" position="absolute 756 23 836 46" align="align:center middle;" id="caption10" class="cell_1" visible="true"/>
  16. <MaskEdit readonly="true" position="absolute 839 24 904 43" id="output3" visible="true" trimtype="none" type="number" style="align:left middle;"/>
  17. <Shape position="absolute 297 43 906 49" linetype="horizontal" id="line1" class="line_3" visible="true"/>
  18. <Button id="btn_excel" taborder="1" text="EXCEL저장" class="btn7" position="absolute 1 25 93 47" onclick="btn_excel_onclick"/>
  19. <Div id="group1" taborder="2" class="div_SA" position="absolute 0 49 1187 89" anchor="left top right">
  20. <Layouts>
  21. <Layout>
  22. <Button id="btn_ref" taborder="1" text="조회" class="btn1" position="absolute 1115 9 1171 31" anchor="top right" onclick="group1_btn_ref_onclick"/>
  23. <Shape id="line3" linetype="vertical" class="line_4" position="absolute 1105 9 1111 31" anchor="top right"/>
  24. <Calendar id="ipt_workfromdd" taborder="2" class="input_search" position="absolute 368 11 438 30" anchor="default" dateformat="yyyy-MM-dd" value="null" autoselect="true" autoskip="true" onchanged="group1_ipt_workfromdd_onchanged"/>
  25. <Calendar id="ipt_worktodd" taborder="3" class="input_search" visible="false" position="absolute 458 11 528 30" anchor="default" dateformat="yyyy-MM-dd" autoselect="true" autoskip="true" onchanged="group1_ipt_worktodd_onchanged"/>
  26. <Static id="caption4" text="통계 희망일 :" class="search_name" position="absolute 255 12 365 29" anchor="default"/>
  27. <Static id="caption9" text="~" class="search_no_b" visible="false" position="absolute 443 12 456 29" anchor="default"/>
  28. <Radio id="radio2" taborder="4" columncount="4" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 750 11 970 31" anchor="default">
  29. <Dataset id="innerdataset">
  30. <ColumnInfo>
  31. <Column id="codecolumn"/>
  32. <Column id="datacolumn"/>
  33. </ColumnInfo>
  34. <Rows>
  35. <Row>
  36. <Col id="codecolumn">T</Col>
  37. <Col id="datacolumn">검사</Col>
  38. </Row>
  39. <Row>
  40. <Col id="codecolumn">W</Col>
  41. <Col id="datacolumn">분주</Col>
  42. </Row>
  43. <Row>
  44. <Col id="codecolumn">B</Col>
  45. <Col id="datacolumn">검체</Col>
  46. </Row>
  47. <Row>
  48. <Col id="codecolumn">P</Col>
  49. <Col id="datacolumn">환자</Col>
  50. </Row>
  51. </Rows>
  52. </Dataset>
  53. </Radio>
  54. <Static id="caption3" text="|" position="absolute 730 11 745 31" anchor="default"/>
  55. <CheckBox id="checkbox1" taborder="5" text="검사항목 제외" truevalue="Y" position="absolute 990 11 1090 31" anchor="default" onclick="group1_checkbox1_onclick"/>
  56. <Static id="caption13" text="통계 구분 :" class="search_name" position="absolute 10 12 109 29" anchor="default"/>
  57. <Combo id="combo2" taborder="6" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 110 11 235 30" anchor="default" onitemchanged="group1_combo2_onitemchanged">
  58. <Dataset id="innerdataset">
  59. <ColumnInfo>
  60. <Column id="codecolumn"/>
  61. <Column id="datacolumn"/>
  62. </ColumnInfo>
  63. <Rows>
  64. <Row>
  65. <Col id="codecolumn">1</Col>
  66. <Col id="datacolumn">검사통계</Col>
  67. </Row>
  68. <Row>
  69. <Col id="codecolumn">2</Col>
  70. <Col id="datacolumn">처방의별통계</Col>
  71. </Row>
  72. <Row>
  73. <Col id="codecolumn">3</Col>
  74. <Col id="datacolumn">처방부서별통계</Col>
  75. </Row>
  76. <Row>
  77. <Col id="codecolumn">4</Col>
  78. <Col id="datacolumn">결과보고자별통계</Col>
  79. </Row>
  80. <Row>
  81. <Col id="codecolumn">5</Col>
  82. <Col id="datacolumn">업무일지통계</Col>
  83. </Row>
  84. </Rows>
  85. </Dataset>
  86. </Combo>
  87. <Combo id="cmb_rtnabnflag" taborder="7" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 640 11 716 30" anchor="default">
  88. <Dataset id="innerdataset">
  89. <ColumnInfo>
  90. <Column id="codecolumn"/>
  91. <Column id="datacolumn"/>
  92. </ColumnInfo>
  93. <Rows>
  94. <Row>
  95. <Col id="codecolumn">0</Col>
  96. <Col id="datacolumn">- 전 체 -</Col>
  97. </Row>
  98. <Row>
  99. <Col id="codecolumn">I</Col>
  100. <Col id="datacolumn">입원</Col>
  101. </Row>
  102. <Row>
  103. <Col id="codecolumn">O</Col>
  104. <Col id="datacolumn">외래</Col>
  105. </Row>
  106. <Row>
  107. <Col id="codecolumn">E</Col>
  108. <Col id="datacolumn">응급</Col>
  109. </Row>
  110. <Row>
  111. <Col id="codecolumn">S</Col>
  112. <Col id="datacolumn">건진</Col>
  113. </Row>
  114. </Rows>
  115. </Dataset>
  116. </Combo>
  117. <Static id="caption5" text="입원/외래 :" class="search_name" position="absolute 548 13 642 30" anchor="default"/>
  118. <Radio id="radio3" taborder="8" columncount="5" codecolumn="codecolumn" datacolumn="datacolumn" visible="false" position="absolute 542 11 998 31" anchor="default" rowcount="0">
  119. <Dataset id="innerdataset">
  120. <ColumnInfo>
  121. <Column id="codecolumn"/>
  122. <Column id="datacolumn"/>
  123. </ColumnInfo>
  124. <Rows>
  125. <Row>
  126. <Col id="codecolumn">T</Col>
  127. <Col id="datacolumn">소모</Col>
  128. </Row>
  129. <Row>
  130. <Col id="codecolumn">P2</Col>
  131. <Col id="datacolumn">전체환자</Col>
  132. </Row>
  133. <Row>
  134. <Col id="codecolumn">W</Col>
  135. <Col id="datacolumn">입원환자</Col>
  136. </Row>
  137. <Row>
  138. <Col id="codecolumn">B</Col>
  139. <Col id="datacolumn">외래환자</Col>
  140. </Row>
  141. <Row>
  142. <Col id="codecolumn">P</Col>
  143. <Col id="datacolumn">건진환자</Col>
  144. </Row>
  145. </Rows>
  146. </Dataset>
  147. </Radio>
  148. </Layout>
  149. </Layouts>
  150. </Div>
  151. <Tab id="swt_statflag" taborder="3" tabindex="0" class="sw_box" position="absolute 0 99 1187 764" anchor="all" onchanged="swt_statflag_onchanged">
  152. <Tabpages>
  153. <Tabpage id="dd" text="일별 통계">
  154. <Layouts>
  155. <Layout>
  156. <Grid id="grd_dd" taborder="0" binddataset="ds_main_ddstats" useinputpanel="false" position="absolute 0 0 1182 628" anchor="all" cellsizingtype="col" selecttype="area" oncellclick="swt_statflag_dd_grd_dd_oncellclick" selectbandtype="default" cellclickbound="control">
  157. <Formats>
  158. <Format id="default">
  159. <Columns>
  160. <Column size="21" band="left"/>
  161. <Column size="100" band="left"/>
  162. <Column size="200" band="left"/>
  163. <Column size="80" band="left"/>
  164. <Column size="40"/>
  165. <Column size="40"/>
  166. <Column size="40"/>
  167. <Column size="40"/>
  168. <Column size="40"/>
  169. <Column size="40"/>
  170. <Column size="40"/>
  171. <Column size="40"/>
  172. <Column size="40"/>
  173. <Column size="40"/>
  174. <Column size="40"/>
  175. <Column size="40"/>
  176. <Column size="40"/>
  177. <Column size="40"/>
  178. <Column size="40"/>
  179. <Column size="40"/>
  180. <Column size="40"/>
  181. <Column size="40"/>
  182. <Column size="40"/>
  183. <Column size="40"/>
  184. <Column size="40"/>
  185. <Column size="40"/>
  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. </Columns>
  196. <Rows>
  197. <Row size="24" band="head"/>
  198. <Row size="24"/>
  199. </Rows>
  200. <Band id="head">
  201. <Cell/>
  202. <Cell col="1" text="구분"/>
  203. <Cell col="2" text="검사항목"/>
  204. <Cell col="3" text="Total"/>
  205. <Cell col="4" text="01"/>
  206. <Cell col="5" text="02"/>
  207. <Cell col="6" text="03"/>
  208. <Cell col="7" text="04"/>
  209. <Cell col="8" text="05"/>
  210. <Cell col="9" text="06"/>
  211. <Cell col="10" text="07"/>
  212. <Cell col="11" text="08"/>
  213. <Cell col="12" text="09"/>
  214. <Cell col="13" text="10"/>
  215. <Cell col="14" text="11"/>
  216. <Cell col="15" text="12"/>
  217. <Cell col="16" text="13"/>
  218. <Cell col="17" text="14"/>
  219. <Cell col="18" text="15"/>
  220. <Cell col="19" text="16"/>
  221. <Cell col="20" text="17"/>
  222. <Cell col="21" text="18"/>
  223. <Cell col="22" text="19"/>
  224. <Cell col="23" text="20"/>
  225. <Cell col="24" text="21"/>
  226. <Cell col="25" text="22"/>
  227. <Cell col="26" text="23"/>
  228. <Cell col="27" text="24"/>
  229. <Cell col="28" text="25"/>
  230. <Cell col="29" text="26"/>
  231. <Cell col="30" text="27"/>
  232. <Cell col="31" text="28"/>
  233. <Cell col="32" text="29"/>
  234. <Cell col="33" text="30"/>
  235. <Cell col="34" text="31"/>
  236. </Band>
  237. <Band id="body">
  238. <Cell celltype="head" expr="currow+1"/>
  239. <Cell col="1" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:sectnm"/>
  240. <Cell col="2" style="align:left middle;background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:tclsscrnnm"/>
  241. <Cell col="3" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '#ffe79d');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '#ffe79d');" text="bind:total"/>
  242. <Cell col="4" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d01"/>
  243. <Cell col="5" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d02"/>
  244. <Cell col="6" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d03"/>
  245. <Cell col="7" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d04"/>
  246. <Cell col="8" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d05"/>
  247. <Cell col="9" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d06"/>
  248. <Cell col="10" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d07"/>
  249. <Cell col="11" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d08"/>
  250. <Cell col="12" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d09"/>
  251. <Cell col="13" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d10"/>
  252. <Cell col="14" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d11"/>
  253. <Cell col="15" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d12"/>
  254. <Cell col="16" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d13"/>
  255. <Cell col="17" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d14"/>
  256. <Cell col="18" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d15"/>
  257. <Cell col="19" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d16"/>
  258. <Cell col="20" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d17"/>
  259. <Cell col="21" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d18"/>
  260. <Cell col="22" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d19"/>
  261. <Cell col="23" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d20"/>
  262. <Cell col="24" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d21"/>
  263. <Cell col="25" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d22"/>
  264. <Cell col="26" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d23"/>
  265. <Cell col="27" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d24"/>
  266. <Cell col="28" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d25"/>
  267. <Cell col="29" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d26"/>
  268. <Cell col="30" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d27"/>
  269. <Cell col="31" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d28"/>
  270. <Cell col="32" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d29"/>
  271. <Cell col="33" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d30"/>
  272. <Cell col="34" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d31"/>
  273. </Band>
  274. </Format>
  275. </Formats>
  276. </Grid>
  277. </Layout>
  278. </Layouts>
  279. </Tabpage>
  280. <Tabpage id="mm" text="월별 통계">
  281. <Layouts>
  282. <Layout>
  283. <Grid id="grd_mm" taborder="0" binddataset="ds_main_mmstats" useinputpanel="false" position="absolute 0 0 1182 628" anchor="all" cellsizingtype="col" autofittype="col" oncellclick="swt_statflag_mm_grd_mm_oncellclick">
  284. <Formats>
  285. <Format id="default">
  286. <Columns>
  287. <Column size="0"/>
  288. <Column size="23"/>
  289. <Column size="100"/>
  290. <Column size="160"/>
  291. <Column size="60"/>
  292. <Column size="60"/>
  293. <Column size="60"/>
  294. <Column size="60"/>
  295. <Column size="60"/>
  296. <Column size="60"/>
  297. <Column size="60"/>
  298. <Column size="60"/>
  299. <Column size="60"/>
  300. <Column size="60"/>
  301. <Column size="60"/>
  302. <Column size="60"/>
  303. <Column size="60"/>
  304. <Column size="60"/>
  305. <Column size="60"/>
  306. </Columns>
  307. <Rows>
  308. <Row size="24" band="head"/>
  309. <Row size="24"/>
  310. </Rows>
  311. <Band id="head">
  312. <Cell text="구분"/>
  313. <Cell col="1"/>
  314. <Cell col="2" text="구분"/>
  315. <Cell col="3" text="검사항목"/>
  316. <Cell col="4" text="01"/>
  317. <Cell col="5" text="02"/>
  318. <Cell col="6" text="03"/>
  319. <Cell col="7" text="04"/>
  320. <Cell col="8" text="05"/>
  321. <Cell col="9" text="06"/>
  322. <Cell col="10" text="07"/>
  323. <Cell col="11" text="08"/>
  324. <Cell col="12" text="09"/>
  325. <Cell col="13" text="10"/>
  326. <Cell col="14" text="11"/>
  327. <Cell col="15" text="12"/>
  328. <Cell col="16" text="Total"/>
  329. <Cell col="17" text="전년 Total"/>
  330. <Cell col="18" text="증감율"/>
  331. </Band>
  332. <Band id="body">
  333. <Cell text="bind:sectnm"/>
  334. <Cell col="1" celltype="head" expr="currow+1"/>
  335. <Cell col="2" text="bind:sectnm"/>
  336. <Cell col="3" style="align:left middle;background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:tclsscrnnm"/>
  337. <Cell col="4" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d01"/>
  338. <Cell col="5" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d02"/>
  339. <Cell col="6" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d03"/>
  340. <Cell col="7" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d04"/>
  341. <Cell col="8" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d05"/>
  342. <Cell col="9" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d06"/>
  343. <Cell col="10" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d07"/>
  344. <Cell col="11" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d08"/>
  345. <Cell col="12" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d09"/>
  346. <Cell col="13" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d10"/>
  347. <Cell col="14" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d11"/>
  348. <Cell col="15" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d12"/>
  349. <Cell col="16" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '#f3e1bf');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '#f3e1bf');" text="bind:total"/>
  350. <Cell col="17" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '#f3e1bf');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '#f3e1bf');" text="bind:bftotal"/>
  351. <Cell col="18" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '#f3e1bf');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '#f3e1bf');" text="bind:totalavg"/>
  352. </Band>
  353. </Format>
  354. </Formats>
  355. </Grid>
  356. </Layout>
  357. </Layouts>
  358. </Tabpage>
  359. <Tabpage id="yy" text="연별 통계">
  360. <Layouts>
  361. <Layout>
  362. <Grid id="grd_yy" taborder="0" binddataset="ds_main_yystats" useinputpanel="false" position="absolute 0 0 1182 628" cellsizingtype="col" anchor="all" oncellclick="swt_statflag_yy_grd_yy_oncellclick">
  363. <Formats>
  364. <Format id="default">
  365. <Columns>
  366. <Column size="23"/>
  367. <Column size="100"/>
  368. <Column size="200"/>
  369. <Column size="80"/>
  370. <Column size="80"/>
  371. <Column size="80"/>
  372. <Column size="80"/>
  373. <Column size="80"/>
  374. <Column size="80"/>
  375. <Column size="80"/>
  376. <Column size="80"/>
  377. <Column size="80"/>
  378. <Column size="80"/>
  379. <Column size="80"/>
  380. </Columns>
  381. <Rows>
  382. <Row size="24" band="head"/>
  383. <Row size="24"/>
  384. </Rows>
  385. <Band id="head">
  386. <Cell/>
  387. <Cell col="1"/>
  388. <Cell col="2"/>
  389. <Cell col="3"/>
  390. <Cell col="4"/>
  391. <Cell col="5"/>
  392. <Cell col="6"/>
  393. <Cell col="7"/>
  394. <Cell col="8"/>
  395. <Cell col="9"/>
  396. <Cell col="10"/>
  397. <Cell col="11"/>
  398. <Cell col="12"/>
  399. <Cell col="13"/>
  400. </Band>
  401. <Band id="body">
  402. <Cell celltype="head" expr="currow+1"/>
  403. <Cell col="1" style="align:left middle;background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:sectnm"/>
  404. <Cell col="2" style="align:left middle;background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:tclsscrnnm"/>
  405. <Cell col="3" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '#f3e1bf');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '#f3e1bf');" text="bind:total"/>
  406. <Cell col="4" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d01"/>
  407. <Cell col="5" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d02"/>
  408. <Cell col="6" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d03"/>
  409. <Cell col="7" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d04"/>
  410. <Cell col="8" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d05"/>
  411. <Cell col="9" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d06"/>
  412. <Cell col="10" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d07"/>
  413. <Cell col="11" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d08"/>
  414. <Cell col="12" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d09"/>
  415. <Cell col="13" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d10"/>
  416. </Band>
  417. </Format>
  418. </Formats>
  419. </Grid>
  420. </Layout>
  421. </Layouts>
  422. </Tabpage>
  423. <Tabpage id="ww" text="요일 통계">
  424. <Layouts>
  425. <Layout>
  426. <Grid id="grd_ww" taborder="0" binddataset="ds_main_wwstats" useinputpanel="false" position="absolute 0 0 1182 628" autofittype="col" cellsizingtype="col" anchor="all">
  427. <Formats>
  428. <Format id="default">
  429. <Columns>
  430. <Column size="25"/>
  431. <Column size="100"/>
  432. <Column size="200"/>
  433. <Column size="80"/>
  434. <Column size="60"/>
  435. <Column size="60"/>
  436. <Column size="60"/>
  437. <Column size="60"/>
  438. <Column size="60"/>
  439. <Column size="60"/>
  440. <Column size="60"/>
  441. </Columns>
  442. <Rows>
  443. <Row size="24" band="head"/>
  444. <Row size="24"/>
  445. </Rows>
  446. <Band id="head">
  447. <Cell/>
  448. <Cell col="1" text="구분"/>
  449. <Cell col="2" text="검사항목"/>
  450. <Cell col="3" text="Total"/>
  451. <Cell col="4" text="일"/>
  452. <Cell col="5" text="월"/>
  453. <Cell col="6" text="화"/>
  454. <Cell col="7" text="수"/>
  455. <Cell col="8" text="목"/>
  456. <Cell col="9" text="금"/>
  457. <Cell col="10" text="토"/>
  458. </Band>
  459. <Band id="body">
  460. <Cell celltype="head" expr="currow+1"/>
  461. <Cell col="1" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:sectnm"/>
  462. <Cell col="2" style="align:left middle;background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:tclsscrnnm"/>
  463. <Cell col="3" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');" text="bind:total"/>
  464. <Cell col="4" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d01"/>
  465. <Cell col="5" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d02"/>
  466. <Cell col="6" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d03"/>
  467. <Cell col="7" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d04"/>
  468. <Cell col="8" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d05"/>
  469. <Cell col="9" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d06"/>
  470. <Cell col="10" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d07"/>
  471. </Band>
  472. </Format>
  473. </Formats>
  474. </Grid>
  475. </Layout>
  476. </Layouts>
  477. </Tabpage>
  478. <Tabpage id="hyy" text="회기연 월별통계">
  479. <Layouts>
  480. <Layout>
  481. <Grid id="grd_hyy" taborder="0" binddataset="ds_main_hyystats" useinputpanel="false" position="absolute 0 0 1182 628" autofittype="col" cellsizingtype="col" anchor="all">
  482. <Formats>
  483. <Format id="default">
  484. <Columns>
  485. <Column size="0"/>
  486. <Column size="26"/>
  487. <Column size="160"/>
  488. <Column size="60"/>
  489. <Column size="60"/>
  490. <Column size="60"/>
  491. <Column size="60"/>
  492. <Column size="60"/>
  493. <Column size="60"/>
  494. <Column size="60"/>
  495. <Column size="60"/>
  496. <Column size="60"/>
  497. <Column size="60"/>
  498. <Column size="60"/>
  499. <Column size="60"/>
  500. <Column size="80"/>
  501. <Column size="80"/>
  502. <Column size="80"/>
  503. </Columns>
  504. <Rows>
  505. <Row size="24" band="head"/>
  506. <Row size="24"/>
  507. </Rows>
  508. <Band id="head">
  509. <Cell text="구분"/>
  510. <Cell col="1"/>
  511. <Cell col="2" text="검사항목"/>
  512. <Cell col="3" text="03"/>
  513. <Cell col="4" text="04"/>
  514. <Cell col="5" text="05"/>
  515. <Cell col="6" text="06"/>
  516. <Cell col="7" text="07"/>
  517. <Cell col="8" text="08"/>
  518. <Cell col="9" text="09"/>
  519. <Cell col="10" text="10"/>
  520. <Cell col="11" text="11"/>
  521. <Cell col="12" text="12"/>
  522. <Cell col="13" text="01"/>
  523. <Cell col="14" text="02"/>
  524. <Cell col="15" text="Total"/>
  525. <Cell col="16" text="전년 Total"/>
  526. <Cell col="17" text="증감율"/>
  527. </Band>
  528. <Band id="body">
  529. <Cell text="bind:sectnm"/>
  530. <Cell col="1" celltype="head" expr="currow+1"/>
  531. <Cell col="2" style="align:left middle;background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:tclsscrnnm"/>
  532. <Cell col="3" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d03"/>
  533. <Cell col="4" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d04"/>
  534. <Cell col="5" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d05"/>
  535. <Cell col="6" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d06"/>
  536. <Cell col="7" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d07"/>
  537. <Cell col="8" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d08"/>
  538. <Cell col="9" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d09"/>
  539. <Cell col="10" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d10"/>
  540. <Cell col="11" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d11"/>
  541. <Cell col="12" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d12"/>
  542. <Cell col="13" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d01"/>
  543. <Cell col="14" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d02"/>
  544. <Cell col="15" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');" text="bind:total"/>
  545. <Cell col="16" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');" text="bind:bftotal"/>
  546. <Cell col="17" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');" text="bind:totalavg"/>
  547. </Band>
  548. </Format>
  549. </Formats>
  550. </Grid>
  551. </Layout>
  552. </Layouts>
  553. </Tabpage>
  554. <Tabpage id="bb" text="분기별 통계">
  555. <Layouts>
  556. <Layout>
  557. <Grid id="grd_bb" taborder="0" binddataset="ds_main_bbstats" useinputpanel="false" position="absolute 0 0 1182 628" anchor="all" cellsizingtype="col" autofittype="col">
  558. <Formats>
  559. <Format id="default">
  560. <Columns>
  561. <Column size="0"/>
  562. <Column size="27"/>
  563. <Column size="200"/>
  564. <Column size="100"/>
  565. <Column size="100"/>
  566. <Column size="100"/>
  567. <Column size="100"/>
  568. <Column size="100"/>
  569. <Column size="100"/>
  570. <Column size="100"/>
  571. <Column size="100"/>
  572. <Column size="100"/>
  573. </Columns>
  574. <Rows>
  575. <Row size="24" band="head"/>
  576. <Row size="24"/>
  577. </Rows>
  578. <Band id="head">
  579. <Cell text="구분"/>
  580. <Cell col="1"/>
  581. <Cell col="2" text="검사항목"/>
  582. <Cell col="3" text="1분기"/>
  583. <Cell col="4" text="1분기 증감율"/>
  584. <Cell col="5" text="2분기"/>
  585. <Cell col="6" text="2분기 증감율"/>
  586. <Cell col="7" text="3분기"/>
  587. <Cell col="8" text="3분기 증감율"/>
  588. <Cell col="9" text="4분기"/>
  589. <Cell col="10" text="4분기 증감율"/>
  590. <Cell col="11" text="Total"/>
  591. </Band>
  592. <Band id="body">
  593. <Cell text="bind:sectnm"/>
  594. <Cell col="1" celltype="head" expr="currow+1"/>
  595. <Cell col="2" style="align:left middle;background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:tclsscrnnm"/>
  596. <Cell col="3" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d01"/>
  597. <Cell col="4" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');" text="bind:totalavg1"/>
  598. <Cell col="5" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d02"/>
  599. <Cell col="6" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');" text="bind:totalavg2"/>
  600. <Cell col="7" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d03"/>
  601. <Cell col="8" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');" text="bind:totalavg3"/>
  602. <Cell col="9" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d04"/>
  603. <Cell col="10" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');" text="bind:totalavg4"/>
  604. <Cell col="11" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');" text="bind:total"/>
  605. </Band>
  606. </Format>
  607. </Formats>
  608. </Grid>
  609. </Layout>
  610. </Layouts>
  611. </Tabpage>
  612. <Tabpage id="hbb" text="회기연 분기별통계">
  613. <Layouts>
  614. <Layout>
  615. <Grid id="grd_hbb" taborder="0" binddataset="ds_main_hbbstats" useinputpanel="false" position="absolute 0 0 1182 628" autofittype="col" cellsizingtype="col" anchor="all">
  616. <Formats>
  617. <Format id="default">
  618. <Columns>
  619. <Column size="0"/>
  620. <Column size="28"/>
  621. <Column size="200"/>
  622. <Column size="100"/>
  623. <Column size="100"/>
  624. <Column size="100"/>
  625. <Column size="100"/>
  626. <Column size="100"/>
  627. <Column size="100"/>
  628. <Column size="100"/>
  629. <Column size="100"/>
  630. <Column size="100"/>
  631. </Columns>
  632. <Rows>
  633. <Row size="24" band="head"/>
  634. <Row size="24"/>
  635. </Rows>
  636. <Band id="head">
  637. <Cell text="구분"/>
  638. <Cell col="1"/>
  639. <Cell col="2" text="검사항목"/>
  640. <Cell col="3" text="1분기"/>
  641. <Cell col="4" text="1분기 증감율"/>
  642. <Cell col="5" text="2분기"/>
  643. <Cell col="6" text="2분기 증감율"/>
  644. <Cell col="7" text="3분기"/>
  645. <Cell col="8" text="3분기 증감율"/>
  646. <Cell col="9" text="4분기"/>
  647. <Cell col="10" text="4분기 증감율"/>
  648. <Cell col="11" text="Total"/>
  649. </Band>
  650. <Band id="body">
  651. <Cell text="bind:sectnm"/>
  652. <Cell col="1" celltype="head" expr="currow+1"/>
  653. <Cell col="2" style="align:left middle;background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:tclsscrnnm"/>
  654. <Cell col="3" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d01"/>
  655. <Cell col="4" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');" text="bind:totalavg1"/>
  656. <Cell col="5" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d02"/>
  657. <Cell col="6" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');" text="bind:totalavg2"/>
  658. <Cell col="7" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d03"/>
  659. <Cell col="8" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');" text="bind:totalavg3"/>
  660. <Cell col="9" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d04"/>
  661. <Cell col="10" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');" text="bind:totalavg4"/>
  662. <Cell col="11" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');" text="bind:total"/>
  663. </Band>
  664. </Format>
  665. </Formats>
  666. </Grid>
  667. </Layout>
  668. </Layouts>
  669. </Tabpage>
  670. </Tabpages>
  671. </Tab>
  672. </Layout>
  673. </Layouts>
  674. <Objects>
  675. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  676. <ColumnInfo>
  677. <Column id="statshopefromdd" type="STRING" size="256"/>
  678. <Column id="statshopetodd" type="STRING" size="256"/>
  679. <Column id="ioflag" type="STRING" size="256"/>
  680. <Column id="sectcd" type="STRING" size="256"/>
  681. <Column id="workgbn" type="STRING" size="256"/>
  682. <Column id="cntgbn" type="STRING" size="256"/>
  683. <Column id="itemgbn" type="STRING" size="256"/>
  684. <Column id="ddstandard" type="STRING" size="256"/>
  685. <Column id="refflag" type="STRING" size="256"/>
  686. </ColumnInfo>
  687. <Rows>
  688. <Row>
  689. <Col id="statshopefromdd"/>
  690. <Col id="statshopetodd"/>
  691. <Col id="ioflag">0</Col>
  692. <Col id="sectcd"/>
  693. <Col id="workgbn">A</Col>
  694. <Col id="cntgbn">T</Col>
  695. <Col id="itemgbn"/>
  696. <Col id="ddstandard">1</Col>
  697. </Row>
  698. </Rows>
  699. </Dataset>
  700. <Dataset id="ds_main_totalcnts" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  701. <ColumnInfo>
  702. <Column id="totaltest" type="STRING" size="256"/>
  703. <Column id="totalbcno" type="STRING" size="256"/>
  704. <Column id="totalpid" type="STRING" size="256"/>
  705. <Column id="totalworklb" type="STRING" size="256"/>
  706. </ColumnInfo>
  707. <Rows>
  708. <Row>
  709. <Col id="totaltest"/>
  710. <Col id="totalbcno"/>
  711. <Col id="totalpid"/>
  712. <Col id="totalworklb"/>
  713. </Row>
  714. </Rows>
  715. </Dataset>
  716. <Dataset id="ds_main_ddstats" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  717. <ColumnInfo>
  718. <Column id="sectnm" type="STRING" size="256" sumtext="sectnm"/>
  719. <Column id="tclsscrnnm" type="STRING" size="256" sumtext="검사항목"/>
  720. <Column id="tclsprntnm" type="STRING" size="256" sumtext="검사항목"/>
  721. <Column id="total" type="STRING" size="256" sumtext="Total"/>
  722. <Column id="d01" type="STRING" size="256" sumtext="건수1"/>
  723. <Column id="d02" type="STRING" size="256" sumtext="건수2"/>
  724. <Column id="d03" type="STRING" size="256" sumtext="건수3"/>
  725. <Column id="d04" type="STRING" size="256" sumtext="건수4"/>
  726. <Column id="d05" type="STRING" size="256" sumtext="건수5"/>
  727. <Column id="d06" type="STRING" size="256" sumtext="건수6"/>
  728. <Column id="d07" type="STRING" size="256" sumtext="건수7"/>
  729. <Column id="d08" type="STRING" size="256" sumtext="건수8"/>
  730. <Column id="d09" type="STRING" size="256" sumtext="건수9"/>
  731. <Column id="d10" type="STRING" size="256" sumtext="건수10"/>
  732. <Column id="d11" type="STRING" size="256" sumtext="건수11"/>
  733. <Column id="d12" type="STRING" size="256" sumtext="건수12"/>
  734. <Column id="d13" type="STRING" size="256" sumtext="건수13"/>
  735. <Column id="d14" type="STRING" size="256" sumtext="건수14"/>
  736. <Column id="d15" type="STRING" size="256" sumtext="건수15"/>
  737. <Column id="d16" type="STRING" size="256" sumtext="건수16"/>
  738. <Column id="d17" type="STRING" size="256" sumtext="건수17"/>
  739. <Column id="d18" type="STRING" size="256" sumtext="건수18"/>
  740. <Column id="d19" type="STRING" size="256" sumtext="건수19"/>
  741. <Column id="d20" type="STRING" size="256" sumtext="건수20"/>
  742. <Column id="d21" type="STRING" size="256" sumtext="건수21"/>
  743. <Column id="d22" type="STRING" size="256" sumtext="건수22"/>
  744. <Column id="d23" type="STRING" size="256" sumtext="건수23"/>
  745. <Column id="d24" type="STRING" size="256" sumtext="건수24"/>
  746. <Column id="d25" type="STRING" size="256" sumtext="건수25"/>
  747. <Column id="d26" type="STRING" size="256" sumtext="건수26"/>
  748. <Column id="d27" type="STRING" size="256" sumtext="건수27"/>
  749. <Column id="d28" type="STRING" size="256" sumtext="건수28"/>
  750. <Column id="d29" type="STRING" size="256" sumtext="건수29"/>
  751. <Column id="d30" type="STRING" size="256" sumtext="건수30"/>
  752. <Column id="d31" type="STRING" size="256" sumtext="건수31"/>
  753. <Column id="btotal" type="STRING" size="256" sumtext="Total"/>
  754. </ColumnInfo>
  755. </Dataset>
  756. <Dataset id="ds_main_mmstats" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  757. <ColumnInfo>
  758. <Column id="sectnm" type="STRING" size="256" sumtext="sectnm"/>
  759. <Column id="tclsscrnnm" type="STRING" size="256" sumtext="검사항목"/>
  760. <Column id="tclsprntnm" type="STRING" size="256" sumtext="검사항목"/>
  761. <Column id="total" type="STRING" size="256" sumtext="Total"/>
  762. <Column id="d01" type="STRING" size="256" sumtext="건수1"/>
  763. <Column id="d02" type="STRING" size="256" sumtext="건수2"/>
  764. <Column id="d03" type="STRING" size="256" sumtext="건수3"/>
  765. <Column id="d04" type="STRING" size="256" sumtext="건수4"/>
  766. <Column id="d05" type="STRING" size="256" sumtext="건수5"/>
  767. <Column id="d06" type="STRING" size="256" sumtext="건수6"/>
  768. <Column id="d07" type="STRING" size="256" sumtext="건수7"/>
  769. <Column id="d08" type="STRING" size="256" sumtext="건수8"/>
  770. <Column id="d09" type="STRING" size="256" sumtext="건수9"/>
  771. <Column id="d10" type="STRING" size="256" sumtext="건수10"/>
  772. <Column id="d11" type="STRING" size="256" sumtext="건수11"/>
  773. <Column id="d12" type="STRING" size="256" sumtext="건수12"/>
  774. <Column id="bftotal" type="STRING" size="256" sumtext="전년Total"/>
  775. <Column id="totalavg" type="STRING" size="256" sumtext="Total증감"/>
  776. </ColumnInfo>
  777. </Dataset>
  778. <Dataset id="ds_main_yystats" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  779. <ColumnInfo>
  780. <Column id="sectnm" type="STRING" size="256" sumtext="sectnm"/>
  781. <Column id="tclsscrnnm" type="STRING" size="256" sumtext="검사항목"/>
  782. <Column id="tclsprntnm" type="STRING" size="256" sumtext="검사항목"/>
  783. <Column id="total" type="STRING" size="256" sumtext="Total"/>
  784. <Column id="d01" type="STRING" size="256" sumtext="건수1"/>
  785. <Column id="d02" type="STRING" size="256" sumtext="건수2"/>
  786. <Column id="d03" type="STRING" size="256" sumtext="건수3"/>
  787. <Column id="d04" type="STRING" size="256" sumtext="건수4"/>
  788. <Column id="d05" type="STRING" size="256" sumtext="건수5"/>
  789. <Column id="d06" type="STRING" size="256" sumtext="건수6"/>
  790. <Column id="d07" type="STRING" size="256" sumtext="건수7"/>
  791. <Column id="d08" type="STRING" size="256" sumtext="건수8"/>
  792. <Column id="d09" type="STRING" size="256" sumtext="건수9"/>
  793. <Column id="d10" type="STRING" size="256" sumtext="건수10"/>
  794. <Column id="btotal" type="STRING" size="256" sumtext="Total"/>
  795. </ColumnInfo>
  796. </Dataset>
  797. <Dataset id="ds_main_wwstats" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  798. <ColumnInfo>
  799. <Column id="ddstandard" type="STRING" size="256" sumtext="통계구분"/>
  800. <Column id="cntgbn" type="STRING" size="256" sumtext="건수구분"/>
  801. <Column id="itemgbn" type="STRING" size="256" sumtext="검사항목제외"/>
  802. <Column id="ioflag" type="STRING" size="256" sumtext="입원/외래구분"/>
  803. <Column id="statshopefromdd" type="STRING" size="256" sumtext="통계조회시작일자"/>
  804. <Column id="statshopetodd" type="STRING" size="256" sumtext="통계조회종료일자"/>
  805. <Column id="refflag" type="STRING" size="256" sumtext="일/연/분기구분"/>
  806. </ColumnInfo>
  807. </Dataset>
  808. <Dataset id="ds_main_hyystats" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  809. <ColumnInfo>
  810. <Column id="sectnm" type="STRING" size="256" sumtext="sectnm"/>
  811. <Column id="tclsscrnnm" type="STRING" size="256" sumtext="검사항목"/>
  812. <Column id="tclsprntnm" type="STRING" size="256" sumtext="검사항목"/>
  813. <Column id="total" type="STRING" size="256" sumtext="Total"/>
  814. <Column id="d01" type="STRING" size="256" sumtext="건수1"/>
  815. <Column id="d02" type="STRING" size="256" sumtext="건수2"/>
  816. <Column id="d03" type="STRING" size="256" sumtext="건수3"/>
  817. <Column id="d04" type="STRING" size="256" sumtext="건수4"/>
  818. <Column id="d05" type="STRING" size="256" sumtext="건수5"/>
  819. <Column id="d06" type="STRING" size="256" sumtext="건수6"/>
  820. <Column id="d07" type="STRING" size="256" sumtext="건수7"/>
  821. <Column id="d08" type="STRING" size="256" sumtext="건수8"/>
  822. <Column id="d09" type="STRING" size="256" sumtext="건수9"/>
  823. <Column id="d10" type="STRING" size="256" sumtext="건수10"/>
  824. <Column id="d11" type="STRING" size="256" sumtext="건수11"/>
  825. <Column id="d12" type="STRING" size="256" sumtext="건수12"/>
  826. <Column id="btotal" type="STRING" size="256" sumtext="Total"/>
  827. <Column id="bftotal" type="STRING" size="256" sumtext="전년Total"/>
  828. <Column id="totalavg" type="STRING" size="256" sumtext="Total증감"/>
  829. </ColumnInfo>
  830. </Dataset>
  831. <Dataset id="ds_main_bbstats" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  832. <ColumnInfo>
  833. <Column id="sectnm" type="STRING" size="256" sumtext="sectnm"/>
  834. <Column id="tclsscrnnm" type="STRING" size="256" sumtext="검사항목"/>
  835. <Column id="tclsprntnm" type="STRING" size="256" sumtext="검사항목"/>
  836. <Column id="total" type="STRING" size="256" sumtext="Total"/>
  837. <Column id="d01" type="STRING" size="256" sumtext="건수1"/>
  838. <Column id="d02" type="STRING" size="256" sumtext="건수2"/>
  839. <Column id="d03" type="STRING" size="256" sumtext="건수3"/>
  840. <Column id="d04" type="STRING" size="256" sumtext="건수4"/>
  841. <Column id="totalavg1" type="STRING" size="256" sumtext="Total증감"/>
  842. <Column id="totalavg2" type="STRING" size="256" sumtext="Total증감"/>
  843. <Column id="totalavg3" type="STRING" size="256" sumtext="Total증감"/>
  844. <Column id="totalavg4" type="STRING" size="256" sumtext="Total증감"/>
  845. <Column id="btotal" type="STRING" size="256" sumtext="Total"/>
  846. </ColumnInfo>
  847. </Dataset>
  848. <Dataset id="ds_main_hbbstats" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  849. <ColumnInfo>
  850. <Column id="sectnm" type="STRING" size="256" sumtext="sectnm"/>
  851. <Column id="tclsscrnnm" type="STRING" size="256" sumtext="검사항목"/>
  852. <Column id="tclsprntnm" type="STRING" size="256" sumtext="검사항목"/>
  853. <Column id="total" type="STRING" size="256" sumtext="Total"/>
  854. <Column id="d01" type="STRING" size="256" sumtext="건수1"/>
  855. <Column id="d02" type="STRING" size="256" sumtext="건수2"/>
  856. <Column id="d03" type="STRING" size="256" sumtext="건수3"/>
  857. <Column id="d04" type="STRING" size="256" sumtext="건수4"/>
  858. <Column id="totalavg1" type="STRING" size="256" sumtext="Total증감"/>
  859. <Column id="totalavg2" type="STRING" size="256" sumtext="Total증감"/>
  860. <Column id="totalavg3" type="STRING" size="256" sumtext="Total증감"/>
  861. <Column id="totalavg4" type="STRING" size="256" sumtext="Total증감"/>
  862. <Column id="btotal" type="STRING" size="256" sumtext="Total"/>
  863. </ColumnInfo>
  864. </Dataset>
  865. </Objects>
  866. <Bind>
  867. <BindItem id="item0" compid="group1.combo2" propid="value" datasetid="ds_hidden" columnid="ddstandard"/>
  868. <BindItem id="item1" compid="group1.ipt_workfromdd" propid="value" datasetid="ds_hidden" columnid="statshopefromdd"/>
  869. <BindItem id="item2" compid="group1.ipt_worktodd" propid="value" datasetid="ds_hidden" columnid="statshopetodd"/>
  870. <BindItem id="item3" compid="group1.cmb_rtnabnflag" propid="value" datasetid="ds_hidden" columnid="ioflag"/>
  871. <BindItem id="item4" compid="group1.radio2" propid="value" datasetid="ds_hidden" columnid="cntgbn"/>
  872. <BindItem id="item5" compid="group1.radio3" propid="value" datasetid="ds_hidden" columnid="cntgbn"/>
  873. <BindItem id="item6" compid="group1.checkbox1" propid="value" datasetid="ds_hidden" columnid="itemgbn"/>
  874. <BindItem id="item7" compid="output26" propid="value" datasetid="ds_main_totalcnts" columnid="totaltest"/>
  875. <BindItem id="item8" compid="output1" propid="value" datasetid="ds_main_totalcnts" columnid="totalworklb"/>
  876. <BindItem id="item9" compid="output2" propid="value" datasetid="ds_main_totalcnts" columnid="totalbcno"/>
  877. <BindItem id="item10" compid="output3" propid="value" datasetid="ds_main_totalcnts" columnid="totalpid"/>
  878. </Bind>
  879. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  880. * System Name :
  881. * Job Name :
  882. * Creator :
  883. * Make Date : 2015-11-13
  884. * Description :
  885. *---------------------------------------------------------------------------------------
  886. * Modify Date Modifier Modify Description
  887. *---------------------------------------------------------------------------------------
  888. * 2015-11-13 Live Converter TF->XP
  889. *
  890. *---------------------------------------------------------------------------------------
  891. ****************************************************************************************/
  892. include "com_commonxp::comm_main.xjs";
  893. include "lis_commonxp::LLZ001.xjs";
  894. function SMLNS00100_oninit(obj:Form, e:InitEventInfo)
  895. {
  896. frmf_initForm(obj);
  897. }
  898. function SMLNS00100_onload(obj:Form, e:LoadEventInfo)
  899. {
  900. grdf_initGrid(swt_statflag.dd.grd_dd);
  901. grdf_initGrid(swt_statflag.mm.grd_mm);
  902. grdf_initGrid(swt_statflag.yy.grd_yy);
  903. grdf_initGrid(swt_statflag.ww.grd_ww);
  904. grdf_initGrid(swt_statflag.hyy.grd_hyy);
  905. grdf_initGrid(swt_statflag.bb.grd_bb);
  906. grdf_initGrid(swt_statflag.hbb.grd_hbb);
  907. fSetInit();
  908. }
  909. function fSetInit()
  910. {
  911. lf_getDbDeptcd("0111|", "")
  912. var toDay = utlf_getCurrentDate();
  913. ds_hidden.setColumn(0, "sectcd", "00");
  914. ds_hidden.setColumn(0, "ioflag", "0");
  915. ds_hidden.setColumn(0, "statshopefromdd", toDay);
  916. ds_hidden.setColumn(0, "statshopetodd", toDay);
  917. group1.caption9.visible = false;
  918. group1.ipt_workfromdd.dateformat = "yyyy-MM";
  919. group1.ipt_workfromdd.editformat = "yyyy-MM";
  920. group1.ipt_worktodd.visible = false;
  921. ds_main_ddstats.clearData();
  922. ds_main_mmstats.clearData();
  923. ds_main_yystats.clearData();
  924. swt_statflag.tabindex = 0;
  925. }
  926. function group1_combo2_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  927. {
  928. fGridInit2();
  929. }
  930. function fGridInit2()
  931. {
  932. var ddstandard = ds_hidden.getColumn(0, "ddstandard");
  933. if(ddstandard != "5")
  934. {
  935. if(ds_hidden.getColumn(0, "cntgbn") == "T2")
  936. {
  937. ds_hidden.setColumn(0, "cntgbn", "T");
  938. }
  939. if(ds_hidden.getColumn(0, "cntgbn") == "P2")
  940. {
  941. ds_hidden.setColumn(0, "cntgbn", "P");
  942. }
  943. }
  944. if(ddstandard == "1" )
  945. {
  946. group1.caption5.visible = true;
  947. group1.cmb_rtnabnflag.visible = true;
  948. }
  949. else
  950. {
  951. group1.caption5.visible = false;
  952. group1.cmb_rtnabnflag.visible = false;
  953. }
  954. if(ddstandard == "5" )
  955. {
  956. group1.radio2.visible = false;
  957. group1.radio3.visible = true;
  958. group1.caption3.visible = false;
  959. }
  960. else
  961. {
  962. group1.radio3.visible = false;
  963. group1.radio2.visible = true;
  964. group1.caption3.visible = true;
  965. }
  966. }
  967. function group1_ipt_workfromdd_onchanged(obj:Calendar, e:ChangeEventInfo)
  968. {
  969. if(swt_statflag.tabindex == 2)
  970. {
  971. ds_hidden.setColumn(0, "statshopefromdd", String(obj.value).substr(0,4));
  972. }
  973. }
  974. function group1_ipt_worktodd_onchanged(obj:Calendar, e:ChangeEventInfo)
  975. {
  976. if(swt_statflag.tabindex == 2)
  977. {
  978. ds_hidden.setColumn(0, "statshopetodd", String(obj.value).substr(0,4));
  979. }
  980. }
  981. function group1_checkbox1_onclick(obj:CheckBox, e:ClickEventInfo)
  982. {
  983. if(obj.value == "Y")
  984. {
  985. }
  986. else
  987. {
  988. ds_hidden.setColumn(0, "itemgbn", "");
  989. }
  990. }
  991. function group1_btn_ref_onclick(obj:Button, e:ClickEventInfo)
  992. {
  993. if(swt_statflag.tabindex == 4)
  994. {
  995. var fromdd = parseInt(ds_hidden.getColumn(0, "statshopefromdd").substr(0,4));
  996. var todd = parseInt(ds_hidden.getColumn(0, "statshopetodd").substr(0,4));
  997. if(todd - fromdd >9 )
  998. {
  999. alert("10년 이내로 조회 가능합니다\n조회기간을 다시 선택하세요");
  1000. return;
  1001. }
  1002. if(fromdd > todd)
  1003. {
  1004. alert("통계 희망일 시작시간이 종료시간보다 작아야 합니다. ");
  1005. return;
  1006. }
  1007. }
  1008. fGetStats();
  1009. fGridInit2();
  1010. }
  1011. function fGetStats()
  1012. {
  1013. if(swt_statflag.tabindex == 0)
  1014. {
  1015. ds_hidden.setColumn(0, "refflag", "dd");
  1016. var oParam = {};
  1017. oParam.id = "TRLNS00101";
  1018. oParam.service = "statsmngtapp.NmedStatsRefMngt";
  1019. oParam.method = "reqGetSectTestStatsN";
  1020. oParam.inds = "cond=ds_hidden";
  1021. oParam.outds = "ds_main_ddstats=getSectTestStats ds_=getSectTestTotalStats";
  1022. oParam.async = false;
  1023. //oParam.callback = "cf_TRLNS00101";
  1024. tranf_submit(oParam);
  1025. }
  1026. else if(swt_statflag.tabindex == 1)
  1027. {
  1028. ds_hidden.setColumn(0, "refflag", "mm");
  1029. var oParam = {};
  1030. oParam.id = "TRLNS00103";
  1031. oParam.service = "statsmngtapp.NmedStatsRefMngt";
  1032. oParam.method = "reqGetSectTestStatsN";
  1033. oParam.inds = "cond=ds_hidden";
  1034. oParam.outds = "ds_main_mmstats=getSectTestStats ds_=getSectTestTotalStats";
  1035. oParam.async = false;
  1036. //oParam.callback = "cf_TRLNS00103";
  1037. tranf_submit(oParam);
  1038. }
  1039. else if(swt_statflag.tabindex == 3)
  1040. {
  1041. ds_hidden.setColumn(0, "refflag", "ww");
  1042. var oParam = {};
  1043. oParam.id = "TRLNS00103";
  1044. oParam.service = "statsmngtapp.NmedStatsRefMngt";
  1045. oParam.method = "reqGetSectTestStatsN";
  1046. oParam.inds = "cond=ds_hidden";
  1047. oParam.outds = "ds_main_wwstats=getSectTestStats ds_=getSectTestTotalStats";
  1048. oParam.async = false;
  1049. //oParam.callback = "cf_TRLNS00103";
  1050. tranf_submit(oParam);
  1051. }
  1052. else if(swt_statflag.tabindex == 4)
  1053. {
  1054. ds_hidden.setColumn(0, "refflag", "hyy");
  1055. var oParam = {};
  1056. oParam.id = "TRLNS00103";
  1057. oParam.service = "statsmngtapp.NmedStatsRefMngt";
  1058. oParam.method = "reqGetSectTestStatsN";
  1059. oParam.inds = "cond=ds_hidden";
  1060. oParam.outds = "ds_main_hyystats=getSectTestStats ds_=getSectTestTotalStats";
  1061. oParam.async = false;
  1062. //oParam.callback = "cf_TRLNS00103";
  1063. tranf_submit(oParam);
  1064. }
  1065. else if(swt_statflag.tabindex == 5)
  1066. {
  1067. ds_hidden.setColumn(0, "refflag", "bb");
  1068. var oParam = {};
  1069. oParam.id = "TRLNS00103";
  1070. oParam.service = "statsmngtapp.NmedStatsRefMngt";
  1071. oParam.method = "reqGetSectTestStatsN";
  1072. oParam.inds = "cond=ds_hidden";
  1073. oParam.outds = "ds_main_bbstats=getSectTestStats ds_=getSectTestTotalStats";
  1074. oParam.async = false;
  1075. //oParam.callback = "cf_TRLNS00103";
  1076. tranf_submit(oParam);
  1077. }
  1078. else if(swt_statflag.tabindex == 6)
  1079. {
  1080. ds_hidden.setColumn(0, "refflag", "hbb");
  1081. var oParam = {};
  1082. oParam.id = "TRLNS00103";
  1083. oParam.service = "statsmngtapp.NmedStatsRefMngt";
  1084. oParam.method = "reqGetSectTestStatsN";
  1085. oParam.inds = "cond=ds_hidden";
  1086. oParam.outds = "ds_main_hbbstats=getSectTestStats ds_=getSectTestTotalStats";
  1087. oParam.async = false;
  1088. //oParam.callback = "cf_TRLNS00103";
  1089. tranf_submit(oParam);
  1090. }
  1091. else
  1092. {
  1093. fSetyygrid();
  1094. ds_hidden.setColumn(0, "refflag", "yy");
  1095. var oParam = {};
  1096. oParam.id = "TRLNS00104";
  1097. oParam.service = "statsmngtapp.NmedStatsRefMngt";
  1098. oParam.method = "reqGetSectTestStatsN";
  1099. oParam.inds = "cond=ds_hidden";
  1100. oParam.outds = "ds_main_yystats=getSectTestStats";
  1101. oParam.async = false;
  1102. //oParam.callback = "cf_TRLNS00104";
  1103. tranf_submit(oParam);
  1104. }
  1105. ds_main_totalcnts.clearData();
  1106. }
  1107. function fSetyygrid()
  1108. {
  1109. for(var j = 5; j <= swt_statflag.yy.grd_yy.getCellCount("Head"); j++)
  1110. {
  1111. swt_statflag.yy.grd_yy.setFormatColProperty(j, "size", 0);
  1112. }
  1113. var sdd = ds_hidden.getColumn(0, "statshopefromdd");
  1114. var edd = ds_hidden.getColumn(0, "statshopetodd");
  1115. var ddcnt = parseInt(edd) - parseInt(sdd);
  1116. var zz = 0;
  1117. for(var i = 4; i < (ddcnt+5); i++)
  1118. {
  1119. swt_statflag.yy.grd_yy.setFormatColProperty(i, "size", 80);
  1120. swt_statflag.yy.grd_yy.setCellProperty("Head", i, "text", parseInt(sdd) + parseInt(zz));
  1121. zz ++;
  1122. }
  1123. }
  1124. function swt_statflag_dd_grd_dd_oncellclick(obj:Grid, e:GridClickEventInfo)
  1125. {
  1126. var lv_nAreaStartRow;
  1127. var lv_nAreaEndRow;
  1128. var lv_nAreaStartCol;
  1129. var lv_nAreaEndCol;
  1130. if(e.row > -1)
  1131. {
  1132. if(e.col > 3)
  1133. {
  1134. fGetTotalcntsetting(e.col);
  1135. }
  1136. }
  1137. }
  1138. function fGetTotalcntsetting(col)
  1139. {
  1140. var stsdy = ds_hidden.getColumn(0, "statshopefromdd").substr(0,4);
  1141. if(swt_statflag.tabindex == 0)
  1142. {
  1143. var colhead = swt_statflag.dd.grd_dd.getCellProperty("Head", col, "text");
  1144. var stsdm = ds_hidden.getColumn(0, "statshopefromdd").substr(4,2);
  1145. dsf_createDsRow("ds_send", [{col:"cntgbn", type:"STRING", size:256 , val : ds_hidden.getColumn(0, "cntgbn")}
  1146. , {col:"itemgbn", type:"STRING", size:256 , val : ds_hidden.getColumn(0, "itemgbn")}
  1147. , {col:"ioflag", type:"STRING", size:256 , val : ds_hidden.getColumn(0, "ioflag")}
  1148. , {col:"statshopefromdd", type:"STRING", size:256 , val : ds_hidden.getColumn(0, "statshopefromdd")}
  1149. , {col:"statshopetodd", type:"STRING", size:256 , val : ds_hidden.getColumn(0, "statshopetodd")}
  1150. , {col:"ddstandard", type:"STRING", size:256 , val : ds_hidden.getColumn(0, "ddstandard")}
  1151. , {col:"stsdy", type:"STRING", size:256 , val : stsdy}
  1152. , {col:"stsdm", type:"STRING", size:256 , val : stsdm}
  1153. , {col:"stsdd", type:"STRING", size:256 , val : colhead}
  1154. , {col:"refflag", type:"STRING", size:256 , val : "dd"}]);
  1155. var oParam = {};
  1156. oParam.id = "TRLNS00101";
  1157. oParam.service = "statsmngtapp.NmedStatsRefMngt";
  1158. oParam.method = "reqGetSectTestStatsTotalN";
  1159. oParam.inds = "cond=ds_send";
  1160. oParam.outds = "ds_main_totalcnts=getSectTestStats";
  1161. oParam.async = false;
  1162. //oParam.callback = "cf_TRLNS00101";
  1163. tranf_submit(oParam);
  1164. }
  1165. else if(swt_statflag.tabindex == 1)
  1166. {
  1167. var stsdm = swt_statflag.mm.grd_mm.getCellProperty("Head", col, "text");
  1168. dsf_createDsRow("ds_send", [{col:"cntgbn", type:"STRING", size:256 , val : ds_hidden.getColumn(0, "cntgbn")}
  1169. , {col:"itemgbn", type:"STRING", size:256 , val : ds_hidden.getColumn(0, "itemgbn")}
  1170. , {col:"ioflag", type:"STRING", size:256 , val : ds_hidden.getColumn(0, "ioflag")}
  1171. , {col:"statshopefromdd", type:"STRING", size:256 , val : ds_hidden.getColumn(0, "statshopefromdd")}
  1172. , {col:"statshopetodd", type:"STRING", size:256 , val : ds_hidden.getColumn(0, "statshopetodd")}
  1173. , {col:"ddstandard", type:"STRING", size:256 , val : ds_hidden.getColumn(0, "ddstandard")}
  1174. , {col:"stsdy", type:"STRING", size:256 , val : stsdy}
  1175. , {col:"stsdm", type:"STRING", size:256 , val : stsdm}
  1176. , {col:"stsdd", type:"STRING", size:256 , val : ""}
  1177. , {col:"refflag", type:"STRING", size:256 , val : "mm"}]);
  1178. var oParam = {};
  1179. oParam.id = "TRLNS00101";
  1180. oParam.service = "statsmngtapp.NmedStatsRefMngt";
  1181. oParam.method = "reqGetSectTestStatsTotalN";
  1182. oParam.inds = "cond=ds_send";
  1183. oParam.outds = "ds_main_totalcnts=getSectTestStats";
  1184. oParam.async = false;
  1185. //oParam.callback = "cf_TRLNS00101";
  1186. tranf_submit(oParam);
  1187. }
  1188. else
  1189. {
  1190. stsdy = swt_statflag.yy.grd_yy.getCellProperty("Head", col, "text");
  1191. var stsdm = ds_hidden.getColumn(0, "statshopefromdd").substr(4,2);
  1192. dsf_createDsRow("ds_send", [{col:"cntgbn", type:"STRING", size:256 , val : ds_hidden.getColumn(0, "cntgbn")}
  1193. , {col:"itemgbn", type:"STRING", size:256 , val : ds_hidden.getColumn(0, "itemgbn")}
  1194. , {col:"ioflag", type:"STRING", size:256 , val : ds_hidden.getColumn(0, "ioflag")}
  1195. , {col:"statshopefromdd", type:"STRING", size:256 , val : ds_hidden.getColumn(0, "statshopefromdd")}
  1196. , {col:"statshopetodd", type:"STRING", size:256 , val : ds_hidden.getColumn(0, "statshopetodd")}
  1197. , {col:"ddstandard", type:"STRING", size:256 , val : ds_hidden.getColumn(0, "ddstandard")}
  1198. , {col:"stsdy", type:"STRING", size:256 , val : stsdy}
  1199. , {col:"stsdm", type:"STRING", size:256 , val : stsdm}
  1200. , {col:"stsdd", type:"STRING", size:256 , val : ""}
  1201. , {col:"refflag", type:"STRING", size:256 , val : "yy"}]);
  1202. var oParam = {};
  1203. oParam.id = "TRLNS00101";
  1204. oParam.service = "statsmngtapp.NmedStatsRefMngt";
  1205. oParam.method = "reqGetSectTestStatsTotalN";
  1206. oParam.inds = "cond=ds_send";
  1207. oParam.outds = "ds_main_totalcnts=getSectTestStats";
  1208. oParam.async = false;
  1209. //oParam.callback = "cf_TRLNS00101";
  1210. tranf_submit(oParam);
  1211. }
  1212. }
  1213. function swt_statflag_mm_grd_mm_oncellclick(obj:Grid, e:GridClickEventInfo)
  1214. {
  1215. if(e.row > -1)
  1216. {
  1217. if(e.col > 3)
  1218. {
  1219. fGetTotalcntsetting(e.col);
  1220. }
  1221. }
  1222. }
  1223. function swt_statflag_yy_grd_yy_oncellclick(obj:Grid, e:GridClickEventInfo)
  1224. {
  1225. if(e.row > -1)
  1226. {
  1227. if(e.col > 3)
  1228. {
  1229. fGetTotalcntsetting(e.col);
  1230. }
  1231. }
  1232. }
  1233. function swt_statflag_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
  1234. {
  1235. fGridInit();
  1236. }
  1237. function btn_excel_onclick(obj:Button, e:ClickEventInfo)
  1238. {
  1239. fExeSaveToExcel();
  1240. }
  1241. function fExeSaveToExcel()
  1242. {
  1243. if(swt_statflag.tabindex == 0)
  1244. {
  1245. grdf_exportExcel(swt_statflag.dd.grd_dd, "", "sheet1");
  1246. }
  1247. else if(swt_statflag.tabindex == 1)
  1248. {
  1249. grdf_exportExcel(swt_statflag.mm.grd_mm, "", "sheet1");
  1250. }
  1251. else if(swt_statflag.tabindex == 2)
  1252. {
  1253. grdf_exportExcel(swt_statflag.yy.grd_yy, "", "sheet1");
  1254. }
  1255. }
  1256. function fGridInit()
  1257. {
  1258. if(swt_statflag.tabindex == 0)
  1259. {
  1260. group1.caption9.visible = false;
  1261. ds_hidden.setColumn(0, "statshopefromdd", utlf_getCurrentDate().substr(0,6));
  1262. group1.ipt_workfromdd.dateformat = "yyyy-MM";
  1263. group1.ipt_workfromdd.editformat = "yyyy-MM";
  1264. group1.ipt_worktodd.visible = false;
  1265. }
  1266. else if(swt_statflag.tabindex == 1)
  1267. {
  1268. group1.caption9.visible = false;
  1269. ds_hidden.setColumn(0, "statshopefromdd", utlf_getCurrentDate().substr(0,6));
  1270. group1.ipt_workfromdd.dateformat = "yyyy-MM";
  1271. group1.ipt_workfromdd.editformat = "yyyy-MM";
  1272. group1.ipt_worktodd.visible = false;
  1273. }
  1274. else if(swt_statflag.tabindex == 3)
  1275. {
  1276. group1.caption9.visible = false;
  1277. ds_hidden.setColumn(0, "statshopefromdd", utlf_getCurrentDate().substr(0,6));
  1278. group1.ipt_workfromdd.dateformat = "yyyy-MM";
  1279. group1.ipt_workfromdd.editformat = "yyyy-MM";
  1280. group1.ipt_worktodd.visible = false;
  1281. }
  1282. else if(swt_statflag.tabindex == 4)
  1283. {
  1284. group1.caption9.visible = false;
  1285. ds_hidden.setColumn(0, "statshopefromdd", utlf_getCurrentDate().substr(0,6));
  1286. group1.ipt_workfromdd.dateformat = "yyyy-MM";
  1287. group1.ipt_workfromdd.editformat = "yyyy-MM";
  1288. group1.ipt_worktodd.visible = false;
  1289. }
  1290. else if(swt_statflag.tabindex == 5)
  1291. {
  1292. group1.caption9.visible = false;
  1293. ds_hidden.setColumn(0, "statshopefromdd", utlf_getCurrentDate().substr(0,6));
  1294. group1.ipt_workfromdd.dateformat = "yyyy-MM";
  1295. group1.ipt_workfromdd.editformat = "yyyy-MM";
  1296. group1.ipt_worktodd.visible = false;
  1297. }
  1298. else if(swt_statflag.tabindex == 6)
  1299. {
  1300. group1.caption9.visible = false;
  1301. ds_hidden.setColumn(0, "statshopefromdd", utlf_getCurrentDate().substr(0,6));
  1302. group1.ipt_workfromdd.dateformat = "yyyy-MM";
  1303. group1.ipt_workfromdd.editformat = "yyyy-MM";
  1304. group1.ipt_worktodd.visible = false;
  1305. }
  1306. else if(swt_statflag.tabindex == 2)
  1307. {
  1308. fSetyytitle();
  1309. }
  1310. }
  1311. function fSetyytitle()
  1312. {
  1313. ds_hidden.setColumn(0, "statshopefromdd", utlf_getCurrentDate().substr(0,4));
  1314. ds_hidden.setColumn(0, "statshopetodd", utlf_getCurrentDate().substr(0,4));
  1315. swt_statflag.yy.grd_yy.setFormatColProperty(4, "size", 80)
  1316. for(i = 5; i < swt_statflag.yy.grd_yy.getCellCount("Head");i++)
  1317. {
  1318. swt_statflag.yy.grd_yy.setFormatColProperty(i, "size", 0)
  1319. }
  1320. group1.caption9.visible = true;
  1321. group1.ipt_workfromdd.dateformat = "yyyy";
  1322. group1.ipt_workfromdd.editformat = "yyyy";
  1323. group1.ipt_worktodd.visible = true;
  1324. group1.ipt_worktodd.dateformat = "yyyy";
  1325. group1.ipt_worktodd.editformat = "yyyy";
  1326. swt_statflag.yy.grd_yy.setCellProperty("Head", 1, "text", "구분")
  1327. swt_statflag.yy.grd_yy.setCellProperty("Head", 2, "text", "검사항목")
  1328. swt_statflag.yy.grd_yy.setCellProperty("Head", 3, "text", "Total")
  1329. var caption = parseInt(ds_hidden.getColumn(0, "statshopefromdd"));
  1330. for(var i = 4; i < ds_main_yystats.getColCount(); i++)
  1331. {
  1332. if(caption != parseInt(ds_hidden.getColumn(0, "statshopetodd")))
  1333. {
  1334. swt_statflag.yy.grd_yy.setCellProperty("Head", i, "text", caption);
  1335. caption++;
  1336. }
  1337. else
  1338. {
  1339. swt_statflag.yy.grd_yy.setCellProperty("Head", i, "text", caption);
  1340. break;
  1341. }
  1342. }
  1343. }]]></Script>
  1344. </Form>
  1345. </FDL>