SSMNW00700_연보관련통계.xfdl 43 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SSMNW00700" position="absolute 0 0 1238 805" oninit="SSMNW00700_oninit" onload="SSMNW00700_onload" titletext="연보통계">
  5. <Layouts>
  6. <Layout>
  7. <Div id="group3" taborder="1" class="div_SA" position="absolute 0 25 1232 65" anchor="left top right">
  8. <Layouts>
  9. <Layout>
  10. <Calendar id="ipt_fromdd" taborder="6" class="input_default" position="absolute 84 10 184 31" anchor="default" dateformat="yyyy-MM-dd" value="null" autoselect="true"/>
  11. <Static id="caption8" text="업무일자 :" class="search_name" position="absolute 10 12 81 29" anchor="default"/>
  12. <Button id="btn_srch" taborder="7" text="조회" class="btn1" position="absolute 1158 9 1214 31" anchor="top right" onclick="group3_btn_srch_onclick"/>
  13. <Shape id="line2" linetype="vertical" class="line_4" position="absolute 1113 9 1119 31" anchor="top right"/>
  14. <Calendar id="ipt_todd" taborder="9" class="input_default" position="absolute 204 10 304 31" anchor="default" dateformat="yyyy-MM-dd" autoselect="true"/>
  15. <Static id="caption2" text="~" position="absolute 189 10 204 30" anchor="default"/>
  16. <Combo id="cmb_orddept" taborder="10" innerdataset="@ds_init_dept" codecolumn="deptcd" datacolumn="depthngnm" position="absolute 566 9 676 30" anchor="default"/>
  17. <Static id="caption3" text="부서코드 :" class="search_name" position="absolute 492 12 563 29" anchor="default"/>
  18. <Radio id="rdo_srchflag" taborder="11" columncount="3" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 324 12 469 29" anchor="default" onitemchanged="group3_rdo_srchflag_onitemchanged" index="-1">
  19. <Dataset id="innerdataset">
  20. <ColumnInfo>
  21. <Column id="codecolumn" size="256"/>
  22. <Column id="datacolumn" size="256"/>
  23. </ColumnInfo>
  24. <Rows>
  25. <Row>
  26. <Col id="codecolumn">Y</Col>
  27. <Col id="datacolumn">연간</Col>
  28. </Row>
  29. <Row>
  30. <Col id="codecolumn">M</Col>
  31. <Col id="datacolumn">월간</Col>
  32. </Row>
  33. <Row>
  34. <Col id="codecolumn">D</Col>
  35. <Col id="datacolumn">일간</Col>
  36. </Row>
  37. </Rows>
  38. </Dataset>
  39. </Radio>
  40. </Layout>
  41. </Layouts>
  42. </Div>
  43. <Static id="caption6" text="연보통계" class="tit_1" position="absolute 0 0 88 25"/>
  44. <Tab id="switch1" taborder="5" tabindex="0" scrollbars="autoboth" position="absolute 1 76 1232 800" onchanged="switch1_onchanged">
  45. <Tabpages>
  46. <Tabpage id="case1" text="과별입실현황">
  47. <Layouts>
  48. <Layout>
  49. <Shape id="line1" class="line_1" position="absolute 0 20 1231 26" anchor="left top right" style="strokepen:3 solid #33bbbbff;"/>
  50. <Static id="caption1" text="과별입실현황" class="tit_2" position="absolute 0 2 101 19"/>
  51. <Grid id="grd_inptlist" class="datagrid2" taborder="1" useinputpanel="false" cellsizingtype="col" cellsizebandtype="body" position="absolute 0 24 1231 696" anchor="all" binddataset="ds_grd_inptlist" scrollpixel="all">
  52. <Formats>
  53. <Format id="default">
  54. <Columns>
  55. <Column size="100"/>
  56. <Column size="40"/>
  57. <Column size="40"/>
  58. <Column size="40"/>
  59. <Column size="40"/>
  60. <Column size="40"/>
  61. <Column size="40"/>
  62. <Column size="40"/>
  63. <Column size="40"/>
  64. <Column size="40"/>
  65. <Column size="40"/>
  66. <Column size="40"/>
  67. <Column size="40"/>
  68. <Column size="40"/>
  69. <Column size="40"/>
  70. <Column size="40"/>
  71. <Column size="40"/>
  72. <Column size="40"/>
  73. <Column size="40"/>
  74. <Column size="40"/>
  75. <Column size="40"/>
  76. <Column size="40"/>
  77. <Column size="40"/>
  78. <Column size="40"/>
  79. <Column size="40"/>
  80. <Column size="40"/>
  81. <Column size="40"/>
  82. </Columns>
  83. <Rows>
  84. <Row size="24" band="head"/>
  85. <Row size="20" band="head"/>
  86. <Row size="24"/>
  87. </Rows>
  88. <Band id="head">
  89. <Cell text="월별"/>
  90. <Cell col="1" colspan="2" text="1" taborder="undefined"/>
  91. <Cell col="3" colspan="2" text="2" taborder="undefined"/>
  92. <Cell col="5" colspan="2" text="3" taborder="undefined"/>
  93. <Cell col="7" colspan="2" text="4" taborder="undefined"/>
  94. <Cell col="9" colspan="2" text="5" taborder="undefined"/>
  95. <Cell col="11" colspan="2" text="6" taborder="undefined"/>
  96. <Cell col="13" colspan="2" text="7" taborder="undefined"/>
  97. <Cell col="15" colspan="2" text="8" taborder="undefined"/>
  98. <Cell col="17" colspan="2" text="9" taborder="undefined"/>
  99. <Cell col="19" colspan="2" text="10" taborder="undefined"/>
  100. <Cell col="21" colspan="2" text="11" taborder="undefined"/>
  101. <Cell col="23" colspan="2" text="12" taborder="undefined"/>
  102. <Cell col="25" colspan="2" text="전체" taborder="undefined"/>
  103. <Cell row="1" text="과별"/>
  104. <Cell row="1" col="1" text="입실"/>
  105. <Cell row="1" col="2" text="연인원"/>
  106. <Cell row="1" col="3" text="입실"/>
  107. <Cell row="1" col="4" text="연인원"/>
  108. <Cell row="1" col="5" text="입실"/>
  109. <Cell row="1" col="6" text="연인원"/>
  110. <Cell row="1" col="7" text="입실"/>
  111. <Cell row="1" col="8" text="연인원"/>
  112. <Cell row="1" col="9" text="입실"/>
  113. <Cell row="1" col="10" text="연인원"/>
  114. <Cell row="1" col="11" text="입실"/>
  115. <Cell row="1" col="12" text="연인원" taborder="undefined"/>
  116. <Cell row="1" col="13" text="입실" taborder="undefined"/>
  117. <Cell row="1" col="14" text="연인원" taborder="undefined"/>
  118. <Cell row="1" col="15" text="입실" taborder="undefined"/>
  119. <Cell row="1" col="16" text="연인원"/>
  120. <Cell row="1" col="17" text="입실"/>
  121. <Cell row="1" col="18" text="연인원"/>
  122. <Cell row="1" col="19" text="입실"/>
  123. <Cell row="1" col="20" text="연인원"/>
  124. <Cell row="1" col="21" text="입실"/>
  125. <Cell row="1" col="22" text="연인원"/>
  126. <Cell row="1" col="23" text="입실"/>
  127. <Cell row="1" col="24" text="연인원"/>
  128. <Cell row="1" col="25" text="입실"/>
  129. <Cell row="1" col="26" text="연인원"/>
  130. </Band>
  131. <Band id="body">
  132. <Cell style="align:left;padding:0 0 0 3;background:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);background2:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);" text="bind:deptnm"/>
  133. <Cell col="1" displaytype="normal" edittype="none" style="align:right middle;padding:0 2 0 0;background:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);background2:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);" text="bind:inptcnt1" wordwrap="char"/>
  134. <Cell col="2" displaytype="number" style="padding:0 2 0 0;background:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);background2:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);" text="bind:totingcnt1" wordwrap="char"/>
  135. <Cell col="3" displaytype="number" style="padding:0 2 0 0;background:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);background2:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);" text="bind:inptcnt2" wordwrap="char"/>
  136. <Cell col="4" displaytype="number" style="padding:0 2 0 0;background:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);background2:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);" text="bind:totingcnt2" wordwrap="char"/>
  137. <Cell col="5" displaytype="number" style="padding:0 2 0 0;background:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);background2:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);" text="bind:inptcnt3" wordwrap="char"/>
  138. <Cell col="6" displaytype="number" style="padding:0 2 0 0;background:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);background2:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);" text="bind:totingcnt3" wordwrap="char"/>
  139. <Cell col="7" displaytype="number" style="padding:0 2 0 0;background:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);background2:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);" text="bind:inptcnt4" wordwrap="char"/>
  140. <Cell col="8" displaytype="number" style="padding:0 2 0 0;background:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);background2:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);" text="bind:totingcnt4" wordwrap="char"/>
  141. <Cell col="9" displaytype="number" style="padding:0 2 0 0;background:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);background2:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);" text="bind:inptcnt5" wordwrap="char"/>
  142. <Cell col="10" displaytype="number" style="padding:0 2 0 0;background:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);background2:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);" text="bind:totingcnt5" wordwrap="char"/>
  143. <Cell col="11" displaytype="number" style="padding:0 2 0 0;background:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);background2:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);" text="bind:inptcnt6" wordwrap="char"/>
  144. <Cell col="12" displaytype="number" style="padding:0 2 0 0;background:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);background2:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);" text="bind:totingcnt6" wordwrap="char"/>
  145. <Cell col="13" displaytype="normal" style="align:right middle;padding:0 2 0 0;background:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);background2:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);" text="bind:inptcnt7" wordwrap="char"/>
  146. <Cell col="14" displaytype="number" style="padding:0 2 0 0;background:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);background2:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);" text="bind:totingcnt7" wordwrap="char"/>
  147. <Cell col="15" displaytype="normal" style="align:right middle;padding:0 2 0 0;background:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);background2:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);" text="bind:inptcnt8" wordwrap="char"/>
  148. <Cell col="16" displaytype="number" style="padding:0 2 0 0;background:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);background2:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);" text="bind:totingcnt8" wordwrap="char"/>
  149. <Cell col="17" displaytype="number" style="padding:0 2 0 0;background:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);background2:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);" text="bind:inptcnt9" wordwrap="char"/>
  150. <Cell col="18" displaytype="number" style="padding:0 2 0 0;background:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);background2:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);" text="bind:totingcnt9" wordwrap="char"/>
  151. <Cell col="19" displaytype="number" style="padding:0 2 0 0;background:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);background2:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);" text="bind:inptcnt10" wordwrap="char"/>
  152. <Cell col="20" displaytype="number" style="padding:0 2 0 0;background:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);background2:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);" text="bind:totingcnt10" wordwrap="char"/>
  153. <Cell col="21" displaytype="number" style="padding:0 2 0 0;background:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);background2:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);" text="bind:inptcnt11" wordwrap="char"/>
  154. <Cell col="22" displaytype="number" style="padding:0 2 0 0;background:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);background2:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);" text="bind:totingcnt11" wordwrap="char"/>
  155. <Cell col="23" displaytype="number" style="padding:0 2 0 0;background:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);background2:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);" text="bind:inptcnt12" wordwrap="char"/>
  156. <Cell col="24" style="align:right middle;padding:0 2 0 0;background:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);background2:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);" text="bind:totingcnt12" wordwrap="char"/>
  157. <Cell col="25" style="align:right middle;padding:0 2 0 0;background:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);background2:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);" text="bind:suminptcnt" wordwrap="char"/>
  158. <Cell col="26" displaytype="number" style="padding:0 2 0 0;background:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);background2:EXPR(deptnm==&quot;계&quot;||deptnm==&quot;평균재원일수(일)&quot; ? &quot;#eeffee&quot; : &quot;&quot;);" text="bind:sumtotingcnt" wordwrap="char"/>
  159. </Band>
  160. </Format>
  161. </Formats>
  162. </Grid>
  163. </Layout>
  164. </Layouts>
  165. </Tabpage>
  166. <Tabpage id="case2" text="과별퇴실현황">
  167. <Layouts>
  168. <Layout>
  169. <Grid id="grd_dschlist" class="datagrid2" taborder="0" useinputpanel="false" cellsizingtype="col" cellsizebandtype="body" position="absolute 0 24 1231 696" anchor="all" binddataset="ds_grd_dschlist">
  170. <Formats>
  171. <Format id="default">
  172. <Columns>
  173. <Column size="120"/>
  174. <Column size="90"/>
  175. <Column size="90"/>
  176. <Column size="90"/>
  177. <Column size="90"/>
  178. <Column size="90"/>
  179. <Column size="90"/>
  180. <Column size="90"/>
  181. <Column size="90"/>
  182. <Column size="90"/>
  183. </Columns>
  184. <Rows>
  185. <Row size="24" band="head"/>
  186. <Row size="20" band="head"/>
  187. <Row size="24"/>
  188. </Rows>
  189. <Band id="head">
  190. <Cell rowspan="2" text="과별/구분" taborder="undefined"/>
  191. <Cell col="1" colspan="2" text="입실" taborder="undefined"/>
  192. <Cell col="3" colspan="7" text="퇴실" taborder="undefined"/>
  193. <Cell row="1" col="1" text="남"/>
  194. <Cell row="1" col="2" text="여"/>
  195. <Cell row="1" col="3" text="전실"/>
  196. <Cell row="1" col="4" text="사망"/>
  197. <Cell row="1" col="5" text="임종퇴원"/>
  198. <Cell row="1" col="6" text="자의퇴원"/>
  199. <Cell row="1" col="7" text="전원"/>
  200. <Cell row="1" col="8" text="퇴원"/>
  201. <Cell row="1" col="9" text="계"/>
  202. </Band>
  203. <Band id="body">
  204. <Cell displaytype="text" style="padding:0 0 0 5;background:expr:getRowLevel(currow)&gt;0?&quot;#eeffeeff&quot;:&quot;default&quot;;background2:expr:getRowLevel(currow)&gt;0?&quot;#eeffeeff&quot;:&quot;default&quot;;font:expr:getRowLevel(currow)&gt;0?&quot;arial,9,bold&quot;:&quot;arial,9&quot;;" text="bind:deptnm" subsumtext="expr:&quot;합계&quot;"/>
  205. <Cell col="1" displaytype="number" edittype="none" style="align:left middle;padding:0 0 0 2;background:expr:getRowLevel(currow)&gt;0?&quot;#eeffeeff&quot;:&quot;default&quot;;background2:expr:getRowLevel(currow)&gt;0?&quot;#eeffeeff&quot;:&quot;default&quot;;font:expr:getRowLevel(currow)&gt;0?&quot;arial,9,bold&quot;:&quot;arial,9&quot;;" text="bind:inptmcnt"/>
  206. <Cell col="2" displaytype="number" style="align:left middle;padding:0 0 0 2;background:expr:getRowLevel(currow)&gt;0?&quot;#eeffeeff&quot;:&quot;default&quot;;background2:expr:getRowLevel(currow)&gt;0?&quot;#eeffeeff&quot;:&quot;default&quot;;font:expr:getRowLevel(currow)&gt;0?&quot;arial,9,bold&quot;:&quot;arial,9&quot;;" text="bind:inptfcnt"/>
  207. <Cell col="3" displaytype="number" style="align:left middle;padding:0 0 0 2;background:expr:getRowLevel(currow)&gt;0?&quot;#eeffeeff&quot;:&quot;default&quot;;background2:expr:getRowLevel(currow)&gt;0?&quot;#eeffeeff&quot;:&quot;default&quot;;font:expr:getRowLevel(currow)&gt;0?&quot;arial,9,bold&quot;:&quot;arial,9&quot;;" text="bind:trnsoutcnt"/>
  208. <Cell col="4" displaytype="number" style="align:left middle;padding:0 0 0 2;background:expr:getRowLevel(currow)&gt;0?&quot;#eeffeeff&quot;:&quot;default&quot;;background2:expr:getRowLevel(currow)&gt;0?&quot;#eeffeeff&quot;:&quot;default&quot;;font:expr:getRowLevel(currow)&gt;0?&quot;arial,9,bold&quot;:&quot;arial,9&quot;;" text="bind:dethdschcnt"/>
  209. <Cell col="5" displaytype="number" style="align:left middle;padding:0 0 0 2;background:expr:getRowLevel(currow)&gt;0?&quot;#eeffeeff&quot;:&quot;default&quot;;background2:expr:getRowLevel(currow)&gt;0?&quot;#eeffeeff&quot;:&quot;default&quot;;font:expr:getRowLevel(currow)&gt;0?&quot;arial,9,bold&quot;:&quot;arial,9&quot;;" text="bind:diedschcnt"/>
  210. <Cell col="6" displaytype="number" style="align:left middle;padding:0 0 0 2;background:expr:getRowLevel(currow)&gt;0?&quot;#eeffeeff&quot;:&quot;default&quot;;background2:expr:getRowLevel(currow)&gt;0?&quot;#eeffeeff&quot;:&quot;default&quot;;font:expr:getRowLevel(currow)&gt;0?&quot;arial,9,bold&quot;:&quot;arial,9&quot;;" text="bind:hopedschcnt"/>
  211. <Cell col="7" displaytype="number" style="align:left middle;padding:0 0 0 2;background:expr:getRowLevel(currow)&gt;0?&quot;#eeffeeff&quot;:&quot;default&quot;;background2:expr:getRowLevel(currow)&gt;0?&quot;#eeffeeff&quot;:&quot;default&quot;;font:expr:getRowLevel(currow)&gt;0?&quot;arial,9,bold&quot;:&quot;arial,9&quot;;" text="bind:trnshosdschcnt"/>
  212. <Cell col="8" displaytype="number" style="align:left middle;padding:0 0 0 2;background:expr:getRowLevel(currow)&gt;0?&quot;#eeffeeff&quot;:&quot;default&quot;;background2:expr:getRowLevel(currow)&gt;0?&quot;#eeffeeff&quot;:&quot;default&quot;;font:expr:getRowLevel(currow)&gt;0?&quot;arial,9,bold&quot;:&quot;arial,9&quot;;" text="bind:nodethdschcnt"/>
  213. <Cell col="9" displaytype="number" style="align:left middle;padding:0 0 0 2;background:#eeffeeff;font:expr:getRowLevel(currow)&gt;0?&quot;arial,9,bold&quot;:&quot;arial,9&quot;;" text="bind:totoutrmcnt"/>
  214. </Band>
  215. </Format>
  216. </Formats>
  217. </Grid>
  218. <Shape id="line1" class="line_1" position="absolute 0 21 1231 25" anchor="left top right" style="strokepen:3 solid #33bbbbff;"/>
  219. <Static id="caption1" text="과별퇴실현황" class="tit_2" position="absolute 0 2 101 18"/>
  220. </Layout>
  221. </Layouts>
  222. </Tabpage>
  223. </Tabpages>
  224. </Tab>
  225. <Button id="btn_exl" taborder="3" text="엑셀" class="btn7" position="absolute 1161 72 1217 94" anchor="top right" onclick="btn_exl_onclick"/>
  226. </Layout>
  227. </Layouts>
  228. <Objects>
  229. <Dataset id="ds_main_inpt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  230. <ColumnInfo>
  231. <Column id="stsdd" type="STRING"/>
  232. <Column id="wardnm" type="STRING"/>
  233. <Column id="roomcnt" type="STRING"/>
  234. <Column id="ingcnt" type="STRING"/>
  235. <Column id="inptcnt" type="STRING"/>
  236. <Column id="trnsinrmcnt" type="STRING"/>
  237. <Column id="totinrmcnt" type="STRING"/>
  238. <Column id="dschcnt" type="STRING"/>
  239. <Column id="trnsoutrmcnt" type="STRING"/>
  240. <Column id="totoutrmcnt" type="STRING"/>
  241. <Column id="dethcnt" type="STRING"/>
  242. <Column id="opcnfmcnt" type="STRING"/>
  243. <Column id="gadong" type="STRING"/>
  244. <Column id="gadongper" type="STRING"/>
  245. <Column id="dschrate" type="STRING"/>
  246. <Column id="dschrateper" type="STRING"/>
  247. <Column id="avgrepaday" type="STRING"/>
  248. <Column id="realreparoomcnt" type="STRING"/>
  249. <Column id="indschtdpatcnt" type="STRING"/>
  250. <Column id="dept01" type="STRING"/>
  251. <Column id="dept02" type="STRING"/>
  252. <Column id="dept03" type="STRING"/>
  253. <Column id="dept04" type="STRING"/>
  254. <Column id="dept05" type="STRING"/>
  255. <Column id="dept06" type="STRING"/>
  256. <Column id="dept07" type="STRING"/>
  257. <Column id="dept08" type="STRING"/>
  258. <Column id="dept09" type="STRING"/>
  259. <Column id="dept10" type="STRING"/>
  260. <Column id="dept11" type="STRING"/>
  261. <Column id="dept12" type="STRING"/>
  262. <Column id="dept13" type="STRING"/>
  263. <Column id="dept14" type="STRING"/>
  264. <Column id="dept15" type="STRING"/>
  265. <Column id="dept16" type="STRING"/>
  266. <Column id="dept17" type="STRING"/>
  267. <Column id="dept18" type="STRING"/>
  268. <Column id="dept19" type="STRING"/>
  269. <Column id="dept20" type="STRING"/>
  270. <Column id="dept21" type="STRING"/>
  271. <Column id="dept22" type="STRING"/>
  272. <Column id="dept23" type="STRING"/>
  273. <Column id="dept24" type="STRING"/>
  274. <Column id="dept25" type="STRING"/>
  275. <Column id="dept26" type="STRING"/>
  276. <Column id="dept27" type="STRING"/>
  277. <Column id="dept28" type="STRING"/>
  278. <Column id="dept29" type="STRING"/>
  279. <Column id="dept30" type="STRING"/>
  280. <Column id="dept31" type="STRING"/>
  281. <Column id="dept32" type="STRING"/>
  282. <Column id="dept33" type="STRING"/>
  283. <Column id="dept34" type="STRING"/>
  284. <Column id="dept35" type="STRING"/>
  285. <Column id="dept36" type="STRING"/>
  286. <Column id="dept37" type="STRING"/>
  287. <Column id="dept38" type="STRING"/>
  288. <Column id="dept39" type="STRING"/>
  289. <Column id="dept40" type="STRING"/>
  290. <Column id="dept41" type="STRING"/>
  291. <Column id="dept42" type="STRING"/>
  292. <Column id="dept43" type="STRING"/>
  293. <Column id="dept44" type="STRING"/>
  294. <Column id="dept45" type="STRING"/>
  295. <Column id="dept46" type="STRING"/>
  296. <Column id="dept47" type="STRING"/>
  297. <Column id="dept48" type="STRING"/>
  298. <Column id="dept49" type="STRING"/>
  299. <Column id="dept50" type="STRING"/>
  300. <Column id="dept51" type="STRING"/>
  301. <Column id="dept52" type="STRING"/>
  302. <Column id="dept53" type="STRING"/>
  303. <Column id="dept54" type="STRING"/>
  304. <Column id="dept55" type="STRING"/>
  305. <Column id="dept56" type="STRING"/>
  306. <Column id="dept57" type="STRING"/>
  307. <Column id="dept58" type="STRING"/>
  308. <Column id="dept59" type="STRING"/>
  309. <Column id="dept60" type="STRING"/>
  310. <Column id="dept61" type="STRING"/>
  311. <Column id="dept62" type="STRING"/>
  312. <Column id="dept63" type="STRING"/>
  313. <Column id="dept64" type="STRING"/>
  314. <Column id="dept65" type="STRING"/>
  315. <Column id="dept66" type="STRING"/>
  316. <Column id="dept67" type="STRING"/>
  317. <Column id="dept68" type="STRING"/>
  318. <Column id="dept69" type="STRING"/>
  319. <Column id="dept70" type="STRING"/>
  320. <Column id="dept71" type="STRING"/>
  321. <Column id="dept72" type="STRING"/>
  322. <Column id="dept73" type="STRING"/>
  323. <Column id="dept74" type="STRING"/>
  324. <Column id="dept75" type="STRING"/>
  325. <Column id="dept76" type="STRING"/>
  326. <Column id="dept77" type="STRING"/>
  327. <Column id="dept78" type="STRING"/>
  328. <Column id="dept79" type="STRING"/>
  329. <Column id="dept80" type="STRING"/>
  330. <Column id="dept81" type="STRING"/>
  331. <Column id="dept82" type="STRING"/>
  332. <Column id="dept83" type="STRING"/>
  333. <Column id="dept84" type="STRING"/>
  334. <Column id="dept85" type="STRING"/>
  335. <Column id="dept86" type="STRING"/>
  336. <Column id="dept87" type="STRING"/>
  337. <Column id="dept88" type="STRING"/>
  338. <Column id="dept89" type="STRING"/>
  339. <Column id="dept90" type="STRING"/>
  340. <Column id="dept91" type="STRING"/>
  341. <Column id="dept92" type="STRING"/>
  342. <Column id="dept93" type="STRING"/>
  343. <Column id="dept94" type="STRING"/>
  344. <Column id="dept95" type="STRING"/>
  345. <Column id="dept96" type="STRING"/>
  346. <Column id="dept97" type="STRING"/>
  347. <Column id="dept98" type="STRING"/>
  348. <Column id="dept99" type="STRING"/>
  349. </ColumnInfo>
  350. </Dataset>
  351. <Dataset id="ds_main_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  352. <ColumnInfo>
  353. <Column id="seq" type="STRING"/>
  354. <Column id="deptengabbr" type="STRING"/>
  355. </ColumnInfo>
  356. </Dataset>
  357. <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  358. <ColumnInfo>
  359. <Column id="fromdd" type="STRING" size="256"/>
  360. <Column id="todd" type="STRING" size="256"/>
  361. <Column id="deptcd" type="STRING" size="256"/>
  362. <Column id="srchflag" type="STRING" size="256"/>
  363. <Column id="flag" type="STRING" size="256"/>
  364. </ColumnInfo>
  365. <Rows>
  366. <Row>
  367. <Col id="fromdd"/>
  368. <Col id="todd"/>
  369. <Col id="deptcd"/>
  370. <Col id="srchflag">1</Col>
  371. <Col id="flag">1</Col>
  372. </Row>
  373. </Rows>
  374. </Dataset>
  375. <Dataset id="ds_init_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  376. <ColumnInfo>
  377. <Column id="deptcd" type="STRING" size="256"/>
  378. <Column id="depthngnm" type="STRING" size="256"/>
  379. </ColumnInfo>
  380. <Rows>
  381. <Row/>
  382. </Rows>
  383. </Dataset>
  384. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  385. <ColumnInfo>
  386. <Column id="fromdd" type="STRING" size="256"/>
  387. <Column id="todd" type="STRING" size="256"/>
  388. <Column id="deptcd" type="STRING" size="256"/>
  389. </ColumnInfo>
  390. </Dataset>
  391. <Dataset id="ds_grd_dschlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  392. <ColumnInfo>
  393. <Column id="deptnm" type="STRING" size="256"/>
  394. <Column id="inptmcnt" type="BIGDECIMAL" size="256" prop="SUM"/>
  395. <Column id="inptfcnt" type="BIGDECIMAL" size="256" prop="SUM"/>
  396. <Column id="trnsoutcnt" type="BIGDECIMAL" size="256" prop="SUM"/>
  397. <Column id="dethdschcnt" type="BIGDECIMAL" size="256" prop="SUM"/>
  398. <Column id="diedschcnt" type="BIGDECIMAL" size="256" prop="SUM"/>
  399. <Column id="hopedschcnt" type="BIGDECIMAL" size="256" prop="SUM"/>
  400. <Column id="trnshosdschcnt" type="BIGDECIMAL" size="256" prop="SUM"/>
  401. <Column id="nodethdschcnt" type="BIGDECIMAL" size="256" prop="SUM"/>
  402. <Column id="totoutrmcnt" type="BIGDECIMAL" size="256" prop="SUM"/>
  403. <Column id="group" type="STRING" size="256"/>
  404. </ColumnInfo>
  405. </Dataset>
  406. <Dataset id="ds_grd_inptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  407. <ColumnInfo>
  408. <Column id="deptnm" type="STRING" size="256"/>
  409. <Column id="inptcnt1" type="STRING" size="256"/>
  410. <Column id="totingcnt1" type="STRING" size="256"/>
  411. <Column id="inptcnt2" type="STRING" size="256"/>
  412. <Column id="totingcnt2" type="STRING" size="256"/>
  413. <Column id="inptcnt3" type="STRING" size="256"/>
  414. <Column id="totingcnt3" type="STRING" size="256"/>
  415. <Column id="inptcnt4" type="STRING" size="256"/>
  416. <Column id="totingcnt4" type="STRING" size="256"/>
  417. <Column id="inptcnt5" type="STRING" size="256"/>
  418. <Column id="totingcnt5" type="STRING" size="256"/>
  419. <Column id="inptcnt6" type="STRING" size="256"/>
  420. <Column id="totingcnt6" type="STRING" size="256"/>
  421. <Column id="inptcnt7" type="STRING" size="256"/>
  422. <Column id="totingcnt7" type="STRING" size="256"/>
  423. <Column id="inptcnt8" type="STRING" size="256"/>
  424. <Column id="totingcnt8" type="STRING" size="256"/>
  425. <Column id="inptcnt9" type="STRING" size="256"/>
  426. <Column id="totingcnt9" type="STRING" size="256"/>
  427. <Column id="inptcnt10" type="STRING" size="256"/>
  428. <Column id="totingcnt10" type="STRING" size="256"/>
  429. <Column id="inptcnt11" type="STRING" size="256"/>
  430. <Column id="totingcnt11" type="STRING" size="256"/>
  431. <Column id="inptcnt12" type="STRING" size="256"/>
  432. <Column id="totingcnt12" type="STRING" size="256"/>
  433. <Column id="suminptcnt" type="STRING" size="256"/>
  434. <Column id="sumtotingcnt" type="STRING" size="256"/>
  435. </ColumnInfo>
  436. </Dataset>
  437. </Objects>
  438. <Bind>
  439. <BindItem id="item0" compid="group3.ipt_fromdd" propid="value" datasetid="ds_main_cond" columnid="fromdd"/>
  440. <BindItem id="item1" compid="group3.ipt_todd" propid="value" datasetid="ds_main_cond" columnid="todd"/>
  441. <BindItem id="item2" compid="group3.rdo_srchflag" propid="value" datasetid="ds_main_cond" columnid="srchflag"/>
  442. <BindItem id="item3" compid="group3.cmb_orddept" propid="value" datasetid="ds_main_cond" columnid="deptcd"/>
  443. </Bind>
  444. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  445. * System Name :
  446. * Job Name :
  447. * Creator :
  448. * Make Date : 2017-01-16
  449. * Description :
  450. *---------------------------------------------------------------------------------------
  451. * Modify Date Modifier Modify Description
  452. *---------------------------------------------------------------------------------------
  453. * 2017-01-16 Live Converter TF->XP
  454. *
  455. *---------------------------------------------------------------------------------------
  456. ****************************************************************************************/
  457. include "com_commonxp::comm_main.xjs";
  458. include "com_departmentcodexp::ZSD001.xjs";
  459. var arErrorCode = new HashArray();
  460. /******************************************************************
  461. * Argument :
  462. * Description : 초기화
  463. ******************************************************************/
  464. function SSMNW00700_oninit(obj:Form, e:InitEventInfo)
  465. {
  466. frmf_initForm(obj);
  467. }
  468. function SSMNW00700_onload(obj:Form, e:LoadEventInfo)
  469. {
  470. fInit();
  471. }
  472. function fInit()
  473. {
  474. var curdd = utlf_getCurrentDate();
  475. ds_main_cond.setColumn(0, "fromdd", curdd.substr(0,4)+"0101");
  476. ds_main_cond.setColumn(0, "todd", curdd.substr(0,4)+"1231");
  477. ds_main_cond.setColumn(0, "flag", "1");
  478. ds_main_cond.setColumn(0, "srchflag", "Y");
  479. var instcd = sysf_getUserInfo("dutplceinstcd");
  480. var standard_yn = "orduseyn";
  481. var ord_deptflag = 'W';
  482. var rslt_ref = "ds_init_dept";
  483. var sort_field = "depthngnm";
  484. var sort_method = "asc";
  485. var dt = utlf_getCurrentDate();
  486. // 간호외래진료부서콤보 (특정하위부서를 포함- 분만실, 육아상담실, 인공신장실)
  487. appf_getDeptCodeList(instcd, standard_yn, ord_deptflag, sort_field, sort_method, dt, "", "", rslt_ref, false, "");
  488. dsf_addDsItem( ds_init_dept, "deptcd", "depthngnm", "전체", "", "above");
  489. group3.cmb_orddept.value = sysf_getUserInfo("dutplcecd");
  490. fSearch();
  491. }
  492. /******************************************************************
  493. * Argument :
  494. * Description : 조회 button event
  495. ******************************************************************/
  496. function group3_btn_srch_onclick(obj:Button, e:ClickEventInfo)
  497. {
  498. fSearch();
  499. }
  500. function fSearch() {
  501. var deptcd = ds_main_cond.getColumn(0, "deptcd");
  502. var fromdd = ds_main_cond.getColumn(0, "fromdd");
  503. var todd = ds_main_cond.getColumn(0, "todd");
  504. var flag = ds_main_cond.getColumn(0, "flag");
  505. if( utlf_isNull(deptcd) ) {
  506. sysf_messageBox("병동을 선택하십시오.", "I");
  507. return;
  508. }
  509. ds_send.deleteAll();
  510. ds_send.addRow();
  511. ds_send.setColumn(0, "fromdd", fromdd);
  512. ds_send.setColumn(0, "todd", todd);
  513. ds_send.setColumn(0, "deptcd", deptcd);
  514. if(flag == "1"){
  515. var oParam = {};
  516. oParam.id = "TRSNW00701";
  517. oParam.service = "stsenrapp.StsPatMngt";
  518. oParam.method = "reqGetInrmInfo";
  519. oParam.inds = "req=ds_send";
  520. oParam.outds = "ds_grd_inptlist=inptlist";
  521. oParam.async = false;
  522. oParam.callback = "cf_TRSNW00701";
  523. tranf_submit(oParam);
  524. ds_grd_inptlist.rowposition = -1;
  525. fRowSum();
  526. } else if(flag == "2"){
  527. var oParam = {};
  528. oParam.id = "TRSNW00702";
  529. oParam.service = "stsenrapp.StsPatMngt";
  530. oParam.method = "reqGetDschInfo";
  531. oParam.inds = "req=ds_send";
  532. oParam.outds = "ds_grd_dschlist=dschlist";
  533. oParam.async = false;
  534. oParam.callback = "cf_TRSNW00702";
  535. tranf_submit(oParam);
  536. ds_grd_dschlist.rowposition = -1;
  537. }
  538. }
  539. function cf_TRSNW00701(sSvcId, nErrorCode, sErrorMsg) {
  540. if(nErrorCode < 0) return;
  541. }
  542. function cf_TRSNW00702(sSvcId, nErrorCode, sErrorMsg) {
  543. if(nErrorCode < 0) return;
  544. dsf_setDefaultVal(ds_grd_dschlist, "group:1");
  545. ds_grd_dschlist.keystring = "G:group";
  546. }
  547. /******************************************************************
  548. * Argument :
  549. * Description : radio button event
  550. ******************************************************************/
  551. function group3_rdo_srchflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  552. {
  553. var srchflag = ds_main_cond.getColumn(0, "srchflag");
  554. var curdd = utlf_getCurrentDate();
  555. if(srchflag == "Y") {
  556. ds_main_cond.setColumn(0, "fromdd", curdd.substr(0,4)+"0101");
  557. ds_main_cond.setColumn(0, "todd", curdd.substr(0,4)+"1231");
  558. } else if(srchflag == "M"){
  559. var dd = "";
  560. var year = curdd.substr(0,4);
  561. var month = curdd.substr(4,2);
  562. if((year % 4== 0 && year % 100 != 0) || (year % 400 == 0)){
  563. dd = "29";
  564. }else{
  565. dd = "28";
  566. }
  567. if(month=="01"||month=="03"||month=="05"||month=="07"||month=="08"||month=="10"||month=="12"){
  568. dd = "31";
  569. }else if(month=="02"){
  570. }else{
  571. dd = "30";
  572. }
  573. ds_main_cond.setColumn(0, "fromdd", curdd.substr(0,6)+"01");
  574. ds_main_cond.setColumn(0, "todd", curdd.substr(0,6)+dd);
  575. } else{
  576. ds_main_cond.setColumn(0, "fromdd", curdd);
  577. ds_main_cond.setColumn(0, "todd", curdd);
  578. }
  579. }
  580. /******************************************************************
  581. * Argument :
  582. * Description : 과별입실현황 Row 별 합계
  583. ******************************************************************/
  584. function fRowSum(){
  585. var inptsum = 0;
  586. var totingsum = 0;
  587. ds_grd_inptlist.enableevent = false;
  588. for(var i = 0; i<ds_grd_inptlist.rowcount; i++){
  589. ds_grd_inptlist.addColumn("suminptcnt", "string", 256);
  590. ds_grd_inptlist.addColumn("sumtotingcnt", "string", 256);
  591. for(var j = 1; j <= 12; j++){
  592. inptsum += ds_grd_inptlist.getColumn(i, "inptcnt"+j);
  593. totingsum += ds_grd_inptlist.getColumn(i, "totingcnt"+j);
  594. }
  595. if(i == ds_grd_inptlist.rowcount-1){
  596. ds_grd_inptlist.setColumn(i, "suminptcnt", "");
  597. ds_grd_inptlist.setColumn(i, "sumtotingcnt", totingsum);
  598. }else{
  599. ds_grd_inptlist.setColumn(i, "suminptcnt", inptsum);
  600. ds_grd_inptlist.setColumn(i, "sumtotingcnt", totingsum);
  601. }
  602. inptsum = 0;
  603. totingsum = 0;
  604. }
  605. ds_grd_inptlist.enableevent = true;
  606. }
  607. /******************************************************************
  608. * Argument :
  609. * Description : 엑셀 button event
  610. ******************************************************************/
  611. function btn_exl_onclick(obj:Button, e:ClickEventInfo)
  612. {
  613. var flag = ds_main_cond.getColumn(0, "flag");
  614. if(flag == "1"){
  615. if(ds_grd_inptlist.rowcount > 0){
  616. grdf_exportExcel(switch1.case1.grd_inptlist, "과별입실현황", "과별입실현황", false, "", "user", false);
  617. }else {
  618. sysf_messageBox("조회된 데이터가 ", "I004");
  619. }
  620. }else{
  621. if(ds_grd_dschlist.rowcount > 0){
  622. grdf_exportExcel(switch1.case2.grd_dschlist, "과별퇴실현황", "과별퇴실현황", false, "", "user", false);
  623. }else{
  624. sysf_messageBox("조회된 데이터가 ", "I004");
  625. }
  626. }
  627. }
  628. function switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
  629. {
  630. var flag = ds_main_cond.getColumn(0, "flag");
  631. if(flag == "1"){
  632. ds_main_cond.setColumn(0, "flag", "2");
  633. }else{
  634. ds_main_cond.setColumn(0, "flag", "1");
  635. }
  636. fSearch();
  637. }
  638. ]]></Script>
  639. </Form>
  640. </FDL>