SSMNE00100_체류시간대장.xfdl 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SSMNE00100" position="absolute 0 0 1256 805" titletext="체류시간대장" onload="SSMNE00100_onload" scrollbars="none">
  5. <Layouts>
  6. <Layout>
  7. <Tab position="absolute 0 82 1256 806" id="switch1" positiontype="position" onchanged="switch1_onchanged" anchor="all" style="buttonpadding:0 0 0 0;" class="tab_Normal">
  8. <Tabpages>
  9. <Tabpage id="case1">
  10. <Layouts>
  11. <Layout>
  12. <Grid position="absolute 0 0 1256 708" id="grd_stayddlist" binddataset="ds_grid_grd_stayddlist" positiontype="position" autofittype="col" anchor="all">
  13. <Formats>
  14. <Format id="default">
  15. <Columns>
  16. <Column size="120"/>
  17. <Column size="31"/>
  18. <Column size="31"/>
  19. <Column size="31"/>
  20. <Column size="31"/>
  21. <Column size="31"/>
  22. <Column size="31"/>
  23. <Column size="31"/>
  24. <Column size="31"/>
  25. <Column size="31"/>
  26. <Column size="31"/>
  27. <Column size="31"/>
  28. <Column size="31"/>
  29. <Column size="31"/>
  30. <Column size="31"/>
  31. <Column size="31"/>
  32. <Column size="31"/>
  33. <Column size="31"/>
  34. <Column size="31"/>
  35. <Column size="31"/>
  36. <Column size="31"/>
  37. <Column size="31"/>
  38. <Column size="31"/>
  39. <Column size="31"/>
  40. <Column size="31"/>
  41. <Column size="31"/>
  42. <Column size="31"/>
  43. <Column size="31"/>
  44. <Column size="31"/>
  45. <Column size="31"/>
  46. <Column size="31"/>
  47. <Column size="31"/>
  48. <Column size="60"/>
  49. </Columns>
  50. <Rows>
  51. <Row size="24" band="head"/>
  52. <Row size="24"/>
  53. </Rows>
  54. <Band id="head">
  55. <Cell text="임상과"/>
  56. <Cell col="1" text="1"/>
  57. <Cell col="2" text="2"/>
  58. <Cell col="3" text="3"/>
  59. <Cell col="4" text="4"/>
  60. <Cell col="5" text="5"/>
  61. <Cell col="6" text="6"/>
  62. <Cell col="7" text="7"/>
  63. <Cell col="8" text="8"/>
  64. <Cell col="9" text="9"/>
  65. <Cell col="10" text="10"/>
  66. <Cell col="11" text="11"/>
  67. <Cell col="12" text="12"/>
  68. <Cell col="13" text="13"/>
  69. <Cell col="14" text="14"/>
  70. <Cell col="15" text="15"/>
  71. <Cell col="16" text="16"/>
  72. <Cell col="17" text="17"/>
  73. <Cell col="18" text="18"/>
  74. <Cell col="19" text="19"/>
  75. <Cell col="20" text="20"/>
  76. <Cell col="21" text="21"/>
  77. <Cell col="22" text="22"/>
  78. <Cell col="23" text="23"/>
  79. <Cell col="24" text="24"/>
  80. <Cell col="25" text="25"/>
  81. <Cell col="26" text="26"/>
  82. <Cell col="27" text="27"/>
  83. <Cell col="28" text="28"/>
  84. <Cell col="29" text="29"/>
  85. <Cell col="30" text="30"/>
  86. <Cell col="31" text="31"/>
  87. <Cell col="32" text="TOTAL"/>
  88. </Band>
  89. <Band id="body">
  90. <Cell text="bind:deptnm" tooltiptext="bind:depthngnm"/>
  91. <Cell col="1" text="bind:col1"/>
  92. <Cell col="2" text="bind:col2"/>
  93. <Cell col="3" text="bind:col3"/>
  94. <Cell col="4" text="bind:col4"/>
  95. <Cell col="5" text="bind:col5"/>
  96. <Cell col="6" text="bind:col6"/>
  97. <Cell col="7" text="bind:col7"/>
  98. <Cell col="8" text="bind:col8"/>
  99. <Cell col="9" text="bind:col9"/>
  100. <Cell col="10" text="bind:col10"/>
  101. <Cell col="11" text="bind:col11"/>
  102. <Cell col="12" text="bind:col12"/>
  103. <Cell col="13" text="bind:col13"/>
  104. <Cell col="14" text="bind:col14"/>
  105. <Cell col="15" text="bind:col15"/>
  106. <Cell col="16" text="bind:col16"/>
  107. <Cell col="17" text="bind:col17"/>
  108. <Cell col="18" text="bind:col18"/>
  109. <Cell col="19" text="bind:col19"/>
  110. <Cell col="20" text="bind:col20"/>
  111. <Cell col="21" text="bind:col21"/>
  112. <Cell col="22" text="bind:col22"/>
  113. <Cell col="23" text="bind:col23"/>
  114. <Cell col="24" text="bind:col24"/>
  115. <Cell col="25" text="bind:col25"/>
  116. <Cell col="26" text="bind:col26"/>
  117. <Cell col="27" text="bind:col27"/>
  118. <Cell col="28" text="bind:col28"/>
  119. <Cell col="29" text="bind:col29"/>
  120. <Cell col="30" text="bind:col30"/>
  121. <Cell col="31" text="bind:col31"/>
  122. <Cell col="32" text="bind:stayddsum"/>
  123. </Band>
  124. </Format>
  125. </Formats>
  126. </Grid>
  127. </Layout>
  128. </Layouts>
  129. </Tabpage>
  130. <Tabpage id="case2">
  131. <Layouts>
  132. <Layout>
  133. <Grid position="absolute 0 0 1256 708" id="grd_staymmlist" binddataset="ds_grid_grd_staymmlist" positiontype="position" autofittype="col" anchor="all">
  134. <Formats>
  135. <Format id="default">
  136. <Columns>
  137. <Column size="130"/>
  138. <Column size="65"/>
  139. <Column size="65"/>
  140. <Column size="65"/>
  141. <Column size="65"/>
  142. <Column size="65"/>
  143. <Column size="65"/>
  144. <Column size="65"/>
  145. <Column size="65"/>
  146. <Column size="65"/>
  147. <Column size="65"/>
  148. <Column size="65"/>
  149. <Column size="65"/>
  150. <Column size="100"/>
  151. </Columns>
  152. <Rows>
  153. <Row size="24" band="head"/>
  154. <Row size="24"/>
  155. </Rows>
  156. <Band id="head">
  157. <Cell text="임상과"/>
  158. <Cell col="1" text="1월"/>
  159. <Cell col="2" text="2월"/>
  160. <Cell col="3" text="3월"/>
  161. <Cell col="4" text="4월"/>
  162. <Cell col="5" text="5월"/>
  163. <Cell col="6" text="6월"/>
  164. <Cell col="7" text="7월"/>
  165. <Cell col="8" text="8월"/>
  166. <Cell col="9" text="9월"/>
  167. <Cell col="10" text="10월"/>
  168. <Cell col="11" text="11월"/>
  169. <Cell col="12" text="12월"/>
  170. <Cell col="13" text="TOTAL"/>
  171. </Band>
  172. <Band id="body">
  173. <Cell text="bind:deptnm" tooltiptext="bind:depthngnm"/>
  174. <Cell col="1" text="bind:col1"/>
  175. <Cell col="2" text="bind:col2"/>
  176. <Cell col="3" text="bind:col3"/>
  177. <Cell col="4" text="bind:col4"/>
  178. <Cell col="5" text="bind:col5"/>
  179. <Cell col="6" text="bind:col6"/>
  180. <Cell col="7" text="bind:col7"/>
  181. <Cell col="8" text="bind:col8"/>
  182. <Cell col="9" text="bind:col9"/>
  183. <Cell col="10" text="bind:col10"/>
  184. <Cell col="11" text="bind:col11"/>
  185. <Cell col="12" text="bind:col12"/>
  186. <Cell col="13" text="bind:staymmsum"/>
  187. </Band>
  188. </Format>
  189. </Formats>
  190. </Grid>
  191. </Layout>
  192. </Layouts>
  193. </Tabpage>
  194. <Tabpage id="case3">
  195. <Layouts>
  196. <Layout>
  197. <Grid position="absolute 0 0 1256 708" id="grd_staytminfo" binddataset="ds_grid_grd_staytminfo" positiontype="position" autofittype="col" anchor="all">
  198. <Formats>
  199. <Format id="default">
  200. <Columns>
  201. <Column size="130"/>
  202. <Column size="103"/>
  203. <Column size="103"/>
  204. <Column size="103"/>
  205. <Column size="103"/>
  206. <Column size="102"/>
  207. <Column size="103"/>
  208. <Column size="103"/>
  209. <Column size="103"/>
  210. <Column size="103"/>
  211. </Columns>
  212. <Rows>
  213. <Row size="24" band="head"/>
  214. <Row size="24"/>
  215. </Rows>
  216. <Band id="head">
  217. <Cell text="임상과"/>
  218. <Cell col="1" text="1H 미만"/>
  219. <Cell col="2" text="3H미만"/>
  220. <Cell col="3" text="4H 미만"/>
  221. <Cell col="4" text="6H 미만"/>
  222. <Cell col="5" text="12H 미만"/>
  223. <Cell col="6" text="24H 미만"/>
  224. <Cell col="7" text="72H 미만"/>
  225. <Cell col="8" text="72H 이상"/>
  226. <Cell col="9" text="TOTAL"/>
  227. </Band>
  228. <Band id="body">
  229. <Cell text="bind:deptnm" tooltiptext="bind:depthngnm"/>
  230. <Cell col="1" text="bind:col1"/>
  231. <Cell col="2" text="bind:col2"/>
  232. <Cell col="3" text="bind:col3"/>
  233. <Cell col="4" text="bind:col4"/>
  234. <Cell col="5" text="bind:col5"/>
  235. <Cell col="6" text="bind:col6"/>
  236. <Cell col="7" text="bind:col7"/>
  237. <Cell col="8" text="bind:col8"/>
  238. <Cell col="9" text="bind:staytmsum"/>
  239. </Band>
  240. </Format>
  241. </Formats>
  242. </Grid>
  243. </Layout>
  244. </Layouts>
  245. </Tabpage>
  246. </Tabpages>
  247. </Tab>
  248. <Static id="caption6" text="체류시간대장" class="tit_1" position="absolute 0 3 106 23"/>
  249. <Static id="Static11" text="폼의 상단부터 h25" class="sta_guide" visible="false" position="absolute 313 0 533 25"/>
  250. <Div id="Div00" taborder="1" text="Div00" scrollbars="none" class="div_SA" position="absolute 0 25 1256 67" anchor="left top right">
  251. <Layouts>
  252. <Layout>
  253. <Static id="sta_Fund" text="검색조건 :" class="search_name" position="absolute 8 10 88 30" ustext="Fund"/>
  254. <Static id="Static08" class="sta_WF_Line" position="absolute 513 19 515 30"/>
  255. <Static id="sta_Fund00" text="조회기간 :" class="search_name" position="absolute 465 10 547 31" ustext="Fund"/>
  256. <Static id="Static11" text="h10" class="sta_guide" visible="false" position="absolute 1189 0 1244 10"/>
  257. <Static id="Static10" text="w&#13;&#10;10" onclick="Static04_onclick" class="sta_guide" visible="false" position="absolute 1244 0 1254 41"/>
  258. <Static id="Static00" text="h10" class="sta_guide" visible="false" position="absolute 1189 30 1244 40"/>
  259. </Layout>
  260. </Layouts>
  261. </Div>
  262. <Static id="Static00" text="h10" class="sta_guide" visible="false" position="absolute 0 67 55 77"/>
  263. <Button id="btn_search" taborder="2" text="조회" class="btn1" position="absolute 1189 36 1245 56" onclick="btn_search_onclick" anchor="top right"/>
  264. <Static id="Static10" text="w24" onclick="Static04_onclick" class="sta_guide" visible="false" position="absolute 442 25 466 66"/>
  265. <Static id="Static01" text="h7" class="sta_guide" visible="false" position="absolute 1200 67 1255 74"/>
  266. <Static id="Static19" text="w8" class="sta_guide" visible="false" position="absolute 84 26 92 66"/>
  267. <Static id="Static03" text="w8" class="sta_guide" visible="false" position="absolute 541 26 549 66"/>
  268. <Radio id="rdo_srchflag1" taborder="4" columncount="5" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 91 38 242 54" onitemchanged="rdo_srchflag1_onitemchanged">
  269. <Dataset id="innerdataset">
  270. <ColumnInfo>
  271. <Column id="codecolumn"/>
  272. <Column id="datacolumn"/>
  273. </ColumnInfo>
  274. <Rows>
  275. <Row>
  276. <Col id="codecolumn">1</Col>
  277. <Col id="datacolumn">내원 기준</Col>
  278. </Row>
  279. <Row>
  280. <Col id="codecolumn">2</Col>
  281. <Col id="datacolumn">퇴실 기준</Col>
  282. </Row>
  283. </Rows>
  284. </Dataset>
  285. </Radio>
  286. <Radio id="rdo_srchflag2" taborder="5" columncount="5" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 258 38 305 54" onitemchanged="rdo_srchflag2_onitemchanged">
  287. <Dataset id="innerdataset">
  288. <ColumnInfo>
  289. <Column id="codecolumn" size="256"/>
  290. <Column id="datacolumn" size="256"/>
  291. </ColumnInfo>
  292. <Rows>
  293. <Row>
  294. <Col id="codecolumn">1</Col>
  295. <Col id="datacolumn">일별</Col>
  296. </Row>
  297. </Rows>
  298. </Dataset>
  299. </Radio>
  300. <Calendar id="ipt_srchfromdd" taborder="6" class="input_search" visible="false" position="absolute 548 36 648 56" mask="@@@@-@@-@@"/>
  301. <Calendar id="ipt_srchtodd" taborder="7" class="input_search" visible="false" position="absolute 671 36 771 56" mask="@@@@-@@-@@"/>
  302. <Static id="caption3" text="~" visible="false" position="absolute 655 37 670 56"/>
  303. <Static id="Static02" text="w8" class="sta_guide" visible="false" position="absolute 648 26 656 66"/>
  304. <Static id="Static04" text="w8" class="sta_guide" visible="false" position="absolute 663 26 671 66"/>
  305. <Static id="Static05" text="w24" onclick="Static04_onclick" class="sta_guide" visible="false" position="absolute 235 26 259 67"/>
  306. <Button id="btn_excel" taborder="8" text="엑셀저장" onclick="btn_excel_onclick" class="btn7" position="absolute 1180 74 1255 94" anchor="top right"/>
  307. <Static id="Static06" text="h3" class="sta_guide" visible="false" position="absolute 1200 94 1255 97"/>
  308. <Calendar id="ipt_srchdd" taborder="10" class="input_search" visible="false" position="absolute 548 36 619 56" mask="@@@@-@@-@@" dateformat="yyyy-MM" value="null" editformat="yyyy-MM"/>
  309. <Calendar id="ipt_srchyear" taborder="9" class="input_search" position="absolute 548 36 603 56" mask="@@@@-@@-@@" dateformat="yyyy" value="null" editformat="yyyy" visible="false"/>
  310. <Radio id="rdo_srchflag3" taborder="11" columncount="5" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="rdo_srchflag2_onitemchanged" position="absolute 306 38 353 54">
  311. <Dataset id="innerdataset">
  312. <ColumnInfo>
  313. <Column id="codecolumn" size="256"/>
  314. <Column id="datacolumn" size="256"/>
  315. </ColumnInfo>
  316. <Rows>
  317. <Row>
  318. <Col id="codecolumn">2</Col>
  319. <Col id="datacolumn">월별</Col>
  320. </Row>
  321. </Rows>
  322. </Dataset>
  323. </Radio>
  324. <Radio id="rdo_srchflag4" taborder="12" columncount="5" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="rdo_srchflag2_onitemchanged" position="absolute 354 38 449 54">
  325. <Dataset id="innerdataset">
  326. <ColumnInfo>
  327. <Column id="codecolumn" size="256"/>
  328. <Column id="datacolumn" size="256"/>
  329. </ColumnInfo>
  330. <Rows>
  331. <Row>
  332. <Col id="codecolumn">3</Col>
  333. <Col id="datacolumn">체류시간대별</Col>
  334. </Row>
  335. </Rows>
  336. </Dataset>
  337. </Radio>
  338. <Static id="Static07" text="w8" class="sta_guide" visible="false" position="absolute 299 26 307 66"/>
  339. <Static id="Static08" text="w8" class="sta_guide" visible="false" position="absolute 347 26 355 66"/>
  340. </Layout>
  341. </Layouts>
  342. <Objects>
  343. <Dataset id="ds_grid_grd_stayddlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  344. <ColumnInfo>
  345. <Column id="deptnm" type="STRING" size="255"/>
  346. <Column id="col1" type="BIGDECIMAL" size="255"/>
  347. <Column id="col2" type="BIGDECIMAL" size="255"/>
  348. <Column id="col3" type="BIGDECIMAL" size="255"/>
  349. <Column id="col4" type="BIGDECIMAL" size="255"/>
  350. <Column id="col5" type="BIGDECIMAL" size="255"/>
  351. <Column id="col6" type="BIGDECIMAL" size="255"/>
  352. <Column id="col7" type="BIGDECIMAL" size="255"/>
  353. <Column id="col8" type="BIGDECIMAL" size="255"/>
  354. <Column id="col9" type="BIGDECIMAL" size="255"/>
  355. <Column id="col10" type="BIGDECIMAL" size="255"/>
  356. <Column id="col11" type="BIGDECIMAL" size="255"/>
  357. <Column id="col12" type="BIGDECIMAL" size="255"/>
  358. <Column id="col13" type="BIGDECIMAL" size="255"/>
  359. <Column id="col14" type="BIGDECIMAL" size="255"/>
  360. <Column id="col15" type="BIGDECIMAL" size="255"/>
  361. <Column id="col16" type="BIGDECIMAL" size="255"/>
  362. <Column id="col17" type="BIGDECIMAL" size="255"/>
  363. <Column id="col18" type="BIGDECIMAL" size="255"/>
  364. <Column id="col19" type="BIGDECIMAL" size="255"/>
  365. <Column id="col20" type="BIGDECIMAL" size="255"/>
  366. <Column id="col21" type="BIGDECIMAL" size="255"/>
  367. <Column id="col22" type="BIGDECIMAL" size="255"/>
  368. <Column id="col23" type="BIGDECIMAL" size="255"/>
  369. <Column id="col24" type="BIGDECIMAL" size="255"/>
  370. <Column id="col25" type="BIGDECIMAL" size="255"/>
  371. <Column id="col26" type="BIGDECIMAL" size="255"/>
  372. <Column id="col27" type="BIGDECIMAL" size="255"/>
  373. <Column id="col28" type="BIGDECIMAL" size="255"/>
  374. <Column id="col29" type="BIGDECIMAL" size="255"/>
  375. <Column id="col30" type="BIGDECIMAL" size="255"/>
  376. <Column id="col31" type="BIGDECIMAL" size="255"/>
  377. <Column id="stayddsum" type="STRING" size="255"/>
  378. <Column id="deptcd" type="STRING" size="255"/>
  379. <Column id="depthngnm" type="STRING" size="255"/>
  380. </ColumnInfo>
  381. </Dataset>
  382. <Dataset id="ds_grid_grd_staymmlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  383. <ColumnInfo>
  384. <Column id="deptnm" type="STRING" size="255"/>
  385. <Column id="col1" type="BIGDECIMAL" size="255"/>
  386. <Column id="col2" type="BIGDECIMAL" size="255"/>
  387. <Column id="col3" type="BIGDECIMAL" size="255"/>
  388. <Column id="col4" type="BIGDECIMAL" size="255"/>
  389. <Column id="col5" type="BIGDECIMAL" size="255"/>
  390. <Column id="col6" type="BIGDECIMAL" size="255"/>
  391. <Column id="col7" type="BIGDECIMAL" size="255"/>
  392. <Column id="col8" type="BIGDECIMAL" size="255"/>
  393. <Column id="col9" type="BIGDECIMAL" size="255"/>
  394. <Column id="col10" type="BIGDECIMAL" size="255"/>
  395. <Column id="col11" type="BIGDECIMAL" size="255"/>
  396. <Column id="col12" type="BIGDECIMAL" size="255"/>
  397. <Column id="staymmsum" type="STRING" size="255"/>
  398. <Column id="deptcd" type="STRING" size="255"/>
  399. <Column id="depthngnm" type="STRING" size="255"/>
  400. </ColumnInfo>
  401. </Dataset>
  402. <Dataset id="ds_grid_grd_staytminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  403. <ColumnInfo>
  404. <Column id="deptnm" type="STRING" size="255"/>
  405. <Column id="deptcd" type="STRING" size="255"/>
  406. <Column id="col1" type="BIGDECIMAL" size="255"/>
  407. <Column id="col2" type="BIGDECIMAL" size="255"/>
  408. <Column id="col3" type="BIGDECIMAL" size="255"/>
  409. <Column id="col4" type="BIGDECIMAL" size="255"/>
  410. <Column id="col5" type="BIGDECIMAL" size="255"/>
  411. <Column id="col6" type="BIGDECIMAL" size="255"/>
  412. <Column id="col7" type="BIGDECIMAL" size="255"/>
  413. <Column id="col8" type="BIGDECIMAL" size="255"/>
  414. <Column id="staytmsum" type="STRING" size="255"/>
  415. <Column id="depthngnm" type="STRING" size="255"/>
  416. </ColumnInfo>
  417. </Dataset>
  418. <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  419. <ColumnInfo>
  420. <Column id="srchdd" type="STRING" size="256"/>
  421. <Column id="srchyear" type="STRING" size="256"/>
  422. <Column id="srchfromdd" type="STRING" size="256"/>
  423. <Column id="srchtodd" type="STRING" size="256"/>
  424. <Column id="srchflag1" type="STRING" size="256"/>
  425. <Column id="srchflag2" type="STRING" size="256"/>
  426. <Column id="basedd" type="STRING" size="256"/>
  427. </ColumnInfo>
  428. <Rows>
  429. <Row/>
  430. </Rows>
  431. </Dataset>
  432. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  433. <ColumnInfo>
  434. <Column id="srchdd" type="STRING" size="256"/>
  435. <Column id="srchyear" type="STRING" size="256"/>
  436. <Column id="srchfromdd" type="STRING" size="256"/>
  437. <Column id="srchtodd" type="STRING" size="256"/>
  438. <Column id="srchflag1" type="STRING" size="256"/>
  439. <Column id="srchflag2" type="STRING" size="256"/>
  440. <Column id="basedd" type="STRING" size="256"/>
  441. </ColumnInfo>
  442. <Rows>
  443. <Row/>
  444. </Rows>
  445. </Dataset>
  446. </Objects>
  447. <Bind>
  448. <BindItem id="item0" compid="rdo_srchflag1" propid="value" datasetid="ds_main_cond" columnid="srchflag1"/>
  449. <BindItem id="item1" compid="rdo_srchflag2" propid="value" datasetid="ds_main_cond" columnid="srchflag2"/>
  450. <BindItem id="item2" compid="ipt_srchyear" propid="value" datasetid="ds_main_cond" columnid="srchyear"/>
  451. <BindItem id="item3" compid="ipt_srchdd" propid="value" datasetid="ds_main_cond" columnid="srchdd"/>
  452. <BindItem id="item4" compid="ipt_srchfromdd" propid="value" datasetid="ds_main_cond" columnid="srchfromdd"/>
  453. <BindItem id="item5" compid="ipt_srchtodd" propid="value" datasetid="ds_main_cond" columnid="srchtodd"/>
  454. <BindItem id="item6" compid="rdo_srchflag3" propid="value" datasetid="ds_main_cond" columnid="srchflag2"/>
  455. <BindItem id="item7" compid="rdo_srchflag4" propid="value" datasetid="ds_main_cond" columnid="srchflag2"/>
  456. </Bind>
  457. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  458. * System Name : Himed
  459. * Job Name :
  460. * File Name : SSMNE00100_체류시간대장.xfdl
  461. * Creator :
  462. * Make Date : 2014-08-20
  463. *
  464. * Description :
  465. *---------------------------------------------------------------------------------------
  466. * Modify Date Modifier Modify Description
  467. *---------------------------------------------------------------------------------------
  468. * 2014-08-20 Converting Program(TF->XP)
  469. *
  470. *---------------------------------------------------------------------------------------
  471. ****************************************************************************************/
  472. //=======================================================================================
  473. // xjs Include
  474. //---------------------------------------------------------------------------------------
  475. include "com_commonxp::comm_main.xjs";
  476. //=======================================================================================
  477. // Function
  478. //---------------------------------------------------------------------------------------
  479. /****************************************************************************************
  480. * Argument :
  481. * Description : 조회
  482. ****************************************************************************************/
  483. function lf_fGetStsData()
  484. {
  485. ds_send.clearData();
  486. ds_send.addRow();
  487. ds_grid_grd_stayddlist.clearData();
  488. ds_grid_grd_staymmlist.clearData();
  489. ds_grid_grd_staytminfo.clearData();
  490. if (rdo_srchflag2.value == "1") {
  491. ipt_srchyear.visible = false;
  492. ipt_srchfromdd.visible = false;
  493. ipt_srchtodd.visible = false;
  494. caption3.visible = false;
  495. ipt_srchdd.visible = true;
  496. ds_send.enableevent = false;
  497. ds_send.setColumn(0, "srchdd", ds_main_cond.getColumn(0, "srchdd"));
  498. ds_send.setColumn(0, "srchflag1", ds_main_cond.getColumn(0, "srchflag1"));
  499. ds_send.setColumn(0, "srchflag2", ds_main_cond.getColumn(0, "srchflag2"));
  500. ds_send.enableevent = true;
  501. lf_TRSNE00101();
  502. switch1.case1.grd_stayddlist.enableredraw = false;
  503. switch1.case1.grd_stayddlist.setCellProperty('Body', 32, "background", "#7cff7c");
  504. switch1.case1.grd_stayddlist.setCellProperty('Body', 32, "background2", "#7cff7c");
  505. switch1.case1.grd_stayddlist.setCellProperty('Body', 32, "font", "Dotum,9,bold");
  506. switch1.case1.grd_stayddlist.enableredraw = true;
  507. }else if(rdo_srchflag2.value == "2"){
  508. ipt_srchdd.visible = false;
  509. ipt_srchfromdd.visible = false;
  510. ipt_srchtodd.visible = false;
  511. caption3.visible = false;
  512. ipt_srchyear.visible = true;
  513. ds_send.enableevent = false;
  514. ds_send.setColumn(0, "srchyear", ds_main_cond.getColumn(0, "srchyear"));
  515. ds_send.setColumn(0, "srchflag1", ds_main_cond.getColumn(0, "srchflag1"));
  516. ds_send.setColumn(0, "srchflag2", ds_main_cond.getColumn(0, "srchflag2"));
  517. ds_send.enableevent = true;
  518. lf_TRSNE00102();
  519. switch1.case2.grd_staymmlist.enableredraw = false;
  520. switch1.case2.grd_staymmlist.setCellProperty('Body', 13, "background", "#7cff7c");
  521. switch1.case2.grd_staymmlist.setCellProperty('Body', 13, "background2", "#7cff7c");
  522. switch1.case2.grd_staymmlist.setCellProperty('Body', 13, "font", "Dotum,9,bold");
  523. switch1.case2.grd_staymmlist.enableredraw = true;
  524. }else if(rdo_srchflag2.value == "3"){
  525. ipt_srchdd.visible = false;
  526. ipt_srchyear.visible = false;
  527. ipt_srchfromdd.visible = true;
  528. ipt_srchtodd.visible = true;
  529. caption3.visible = true;
  530. ds_send.enableevent = false;
  531. ds_send.setColumn(0, "srchfromdd", ds_main_cond.getColumn(0, "srchfromdd"));
  532. ds_send.setColumn(0, "srchtodd", ds_main_cond.getColumn(0, "srchtodd"));
  533. ds_send.setColumn(0, "srchflag1", ds_main_cond.getColumn(0, "srchflag1"));
  534. ds_send.setColumn(0, "srchflag2", ds_main_cond.getColumn(0, "srchflag2"));
  535. ds_send.enableevent = true;
  536. lf_TRSNE00103();
  537. switch1.case3.grd_staytminfo.enableredraw = false;
  538. switch1.case3.grd_staytminfo.setCellProperty('Body', 9, "background", "#7cff7c");
  539. switch1.case3.grd_staytminfo.setCellProperty('Body', 9, "background2", "#7cff7c");
  540. switch1.case3.grd_staytminfo.setCellProperty('Body', 9, "font", "Dotum,9,bold");
  541. switch1.case3.grd_staytminfo.enableredraw = true;
  542. }
  543. }
  544. /****************************************************************************************
  545. * Argument :
  546. * Description : 조회
  547. ****************************************************************************************/
  548. function lf_TRSNE00101()
  549. {
  550. tranf_submit({
  551. id : "TRSNE00101"
  552. , service : "stsenrapp.StsErMngt"
  553. , method : "reqGetStayDDList"
  554. , inds : "req=ds_send"
  555. , outds : "ds_grid_grd_stayddlist=stayddlist"
  556. , async : false
  557. });
  558. }
  559. /****************************************************************************************
  560. * Argument :
  561. * Description : 조회
  562. ****************************************************************************************/
  563. function lf_TRSNE00102()
  564. {
  565. tranf_submit({
  566. id : "TRSNE00102"
  567. , service : "stsenrapp.StsErMngt"
  568. , method : "reqGetStayMMList"
  569. , inds : "req=ds_send"
  570. , outds : "ds_grid_grd_staymmlist=staymmlist"
  571. , async : false
  572. });
  573. }
  574. /****************************************************************************************
  575. * Argument :
  576. * Description : 조회
  577. ****************************************************************************************/
  578. function lf_TRSNE00103()
  579. {
  580. tranf_submit({
  581. id : "TRSNE00103"
  582. , service : "stsenrapp.StsErMngt"
  583. , method : "reqGetStayTMList"
  584. , inds : "req=ds_send"
  585. , outds : "ds_grid_grd_staytminfo=staytmlist"
  586. , async : false
  587. });
  588. }
  589. //=======================================================================================
  590. // Event
  591. //---------------------------------------------------------------------------------------
  592. /****************************************************************************************
  593. * Components :
  594. * Components ID : SSMNE00100
  595. * Event : onload
  596. * Argument : 01.obj : Object Event has occurred
  597. * : 02.e : Event Object
  598. * Description : 온로드
  599. ****************************************************************************************/
  600. function SSMNE00100_onload(obj:Form, e:LoadEventInfo)
  601. {
  602. frmf_initForm(obj); // 화면공통
  603. lf_commoduleDataSetShow(); //DataSet 조회
  604. ds_main_cond.enableevent = false;
  605. ds_main_cond.setColumn(0, "basedd", utlf_addDate(utlf_getCurrentDate(), -1));
  606. ds_main_cond.setColumn(0, "srchdd", ds_main_cond.getColumn(0, "basedd").substr(0,6));
  607. ds_main_cond.setColumn(0, "srchyear", ds_main_cond.getColumn(0, "basedd").substr(0,4));
  608. ds_main_cond.setColumn(0, "srchfromdd", ds_main_cond.getColumn(0, "basedd"));
  609. ds_main_cond.setColumn(0, "srchtodd", ds_main_cond.getColumn(0, "basedd"));
  610. ds_main_cond.setColumn(0, "srchflag1", "1");
  611. ds_main_cond.setColumn(0, "srchflag2", "1");
  612. ds_main_cond.enableevent = true;
  613. lf_fGetStsData();
  614. }
  615. /****************************************************************************************
  616. * Components :
  617. * Components ID : btn_search
  618. * Event : onclick
  619. * Argument : 01.obj : Object Event has occurred
  620. * : 02.e : Event Object
  621. * Description : 조회
  622. ****************************************************************************************/
  623. function btn_search_onclick(obj:Button, e:ClickEventInfo)
  624. {
  625. lf_fGetStsData();
  626. }
  627. /****************************************************************************************
  628. * Components :
  629. * Components ID : btn_excel
  630. * Event : onclick
  631. * Argument : 01.obj : Object Event has occurred
  632. * : 02.e : Event Object
  633. * Description : 엑셀
  634. ****************************************************************************************/
  635. function btn_excel_onclick(obj:Button, e:ClickEventInfo)
  636. {
  637. var fromdd = ds_main_cond.getColumn(0, "srchfromdd");
  638. var todd = ds_main_cond.getColumn(0, "srchtodd");
  639. var syear = ds_main_cond.getColumn(0, "srchyear");
  640. var smon = ds_main_cond.getColumn(0, "srchdd");
  641. if(rdo_srchflag2.value == "1"){
  642. grdf_exportExcel(switch1.case1.grd_stayddlist, "체류시간대장_일별(" + smon + ")", "체류시간대장_일별(" + smon + ")");
  643. }else if(rdo_srchflag2.value == "2"){
  644. grdf_exportExcel(switch1.case2.grd_staymmlist, "체류시간대장_월별(" + syear + ")", "체류시간대장_월별(" + syear + ")");
  645. }else if(rdo_srchflag2.value == "3"){
  646. grdf_exportExcel(switch1.case3.grd_staytminfo, "체류시간대장_체류시간대별(" + fromdd + "-" + todd + ")", "체류시간대장_체류시간대별"); // 길어서 시간 삭제
  647. }
  648. }
  649. /****************************************************************************************
  650. * Components :
  651. * Components ID : rdo_srchflag1
  652. * Event : onitemchanged
  653. * Argument : 01.obj : Object Event has occurred
  654. * : 02.e : Event Object
  655. * Description : 검색조건 변경1
  656. ****************************************************************************************/
  657. function rdo_srchflag1_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  658. {
  659. lf_fGetStsData();
  660. }
  661. /****************************************************************************************
  662. * Components :
  663. * Components ID : rdo_srchflag2
  664. * Event : onitemchanged
  665. * Argument : 01.obj : Object Event has occurred
  666. * : 02.e : Event Object
  667. * Description : 검색조건 변경2
  668. ****************************************************************************************/
  669. function rdo_srchflag2_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  670. {
  671. if(rdo_srchflag2.value == "1"){
  672. switch1.tabindex = 0;
  673. }
  674. if(rdo_srchflag3.value == "2"){
  675. switch1.tabindex = 1;
  676. }
  677. if(rdo_srchflag4.value == "3"){
  678. switch1.tabindex = 2;
  679. }
  680. // lf_fGetStsData();
  681. }
  682. /****************************************************************************************
  683. * Components :
  684. * Components ID : switch1
  685. * Event : onchanged
  686. * Argument : 01.obj : Object Event has occurred
  687. * : 02.e : Event Object
  688. * Description : 탭 변경
  689. ****************************************************************************************/
  690. function switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
  691. {
  692. if (switch1.tabindex == 0) {
  693. rdo_srchflag2.value = 1;
  694. } else if (switch1.tabindex == 1) {
  695. rdo_srchflag3.value = 2;
  696. } else if (switch1.tabindex == 2) {
  697. rdo_srchflag4.value = 3;
  698. }
  699. lf_fGetStsData();
  700. }
  701. ]]></Script>
  702. </Form>
  703. </FDL>