SSMNE00300_진료과별병동별대장.xfdl 54 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SSMNE00300" position="absolute 0 0 1256 805" titletext="진료결과별 병동별 대장" onload="SSMNE00300_onload" scrollbars="none">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="진료결과별 병동별 대장" class="tit_1" position="absolute 0 3 170 23"/>
  8. <Static id="Static11" text="폼의 상단부터 h25" class="sta_guide" visible="false" position="absolute 313 0 533 25"/>
  9. <Div id="Div00" taborder="1" text="Div00" scrollbars="none" class="div_SA" position="absolute 0 25 1256 67" anchor="left top right">
  10. <Layouts>
  11. <Layout>
  12. <Static id="sta_Fund" text="검색조건 :" class="search_name" position="absolute 8 10 88 30" ustext="Fund"/>
  13. <Static id="Static08" class="sta_WF_Line" position="absolute 549 19 551 30"/>
  14. <Static id="sta_Fund00" text="조회기간 :" class="search_name" position="absolute 501 10 583 31" ustext="Fund"/>
  15. <Static id="Static11" text="h10" class="sta_guide" visible="false" position="absolute 1189 0 1244 10"/>
  16. <Static id="Static10" text="w&#13;&#10;10" onclick="Static04_onclick" class="sta_guide" visible="false" position="absolute 1244 0 1254 41"/>
  17. <Static id="Static00" text="h10" class="sta_guide" visible="false" position="absolute 1189 30 1244 40"/>
  18. </Layout>
  19. </Layouts>
  20. </Div>
  21. <Static id="Static00" text="h10" class="sta_guide" visible="false" position="absolute 0 67 55 77"/>
  22. <Button id="button1" taborder="2" text="조회" class="btn1" position="absolute 1189 36 1245 56" onclick="button1_onclick" anchor="top right"/>
  23. <Static id="Static10" text="w24" onclick="Static04_onclick" class="sta_guide" visible="false" position="absolute 478 25 502 66"/>
  24. <Static id="Static01" text="h7" class="sta_guide" visible="false" position="absolute 1200 67 1255 74"/>
  25. <Static id="Static19" text="w8" class="sta_guide" visible="false" position="absolute 84 26 92 66"/>
  26. <Static id="Static03" text="w8" class="sta_guide" visible="false" position="absolute 577 26 585 66"/>
  27. <Radio id="rdo_srchflag1" taborder="3" columncount="5" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="rdo_srchflag1_onitemchanged" position="absolute 91 38 243 54">
  28. <Dataset id="innerdataset">
  29. <ColumnInfo>
  30. <Column id="codecolumn"/>
  31. <Column id="datacolumn"/>
  32. </ColumnInfo>
  33. <Rows>
  34. <Row>
  35. <Col id="codecolumn">1</Col>
  36. <Col id="datacolumn">내원 기준</Col>
  37. </Row>
  38. <Row>
  39. <Col id="codecolumn">2</Col>
  40. <Col id="datacolumn">퇴실 기준</Col>
  41. </Row>
  42. </Rows>
  43. </Dataset>
  44. </Radio>
  45. <Radio id="rdo_srchflag2" taborder="4" columncount="5" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="rdo_srchflag2_onitemchanged" position="absolute 259 38 306 54">
  46. <Dataset id="innerdataset">
  47. <ColumnInfo>
  48. <Column id="codecolumn" size="256"/>
  49. <Column id="datacolumn" size="256"/>
  50. </ColumnInfo>
  51. <Rows>
  52. <Row>
  53. <Col id="codecolumn">1</Col>
  54. <Col id="datacolumn">일별</Col>
  55. </Row>
  56. </Rows>
  57. </Dataset>
  58. </Radio>
  59. <Calendar id="ipt_srchfromdd" taborder="5" class="input_search" visible="false" position="absolute 584 36 684 56" mask="@@@@-@@-@@"/>
  60. <Calendar id="ipt_srchtodd" taborder="6" class="input_search" visible="false" position="absolute 707 36 807 56" mask="@@@@-@@-@@"/>
  61. <Static id="caption3" text="~" visible="false" position="absolute 691 37 706 56"/>
  62. <Static id="Static02" text="w8" class="sta_guide" visible="false" position="absolute 684 26 692 66"/>
  63. <Static id="Static04" text="w8" class="sta_guide" visible="false" position="absolute 699 26 707 66"/>
  64. <Static id="Static05" text="w24" onclick="Static04_onclick" class="sta_guide" visible="false" position="absolute 236 26 260 67"/>
  65. <Calendar id="ipt_srchdd" taborder="8" dateformat="yyyy-MM" editformat="yyyy-MM" class="input_search" visible="false" position="absolute 584 36 655 56" mask="@@@@-@@-@@"/>
  66. <Calendar id="ipt_srchyear" taborder="9" dateformat="yyyy" editformat="yyyy" class="input_search" visible="false" position="absolute 584 36 639 56" mask="@@@@-@@-@@"/>
  67. <Tab id="switch1" taborder="10" tabindex="0" position="absolute 0 80 1256 805" onchanged="switch1_onchanged" anchor="all" class="tab_Normal">
  68. <Tabpages>
  69. <Tabpage id="case1" text="일별">
  70. <Layouts>
  71. <Layout>
  72. <Grid id="grd_wardddlist" taborder="0" binddataset="ds_grid_grd_wardddlist" useinputpanel="false" position="absolute 0 0 1256 708" autofittype="col" anchor="all">
  73. <Formats>
  74. <Format id="default">
  75. <Columns>
  76. <Column size="70" band="left"/>
  77. <Column size="125" band="left"/>
  78. <Column size="30"/>
  79. <Column size="30"/>
  80. <Column size="30"/>
  81. <Column size="30"/>
  82. <Column size="30"/>
  83. <Column size="30"/>
  84. <Column size="30"/>
  85. <Column size="30"/>
  86. <Column size="30"/>
  87. <Column size="30"/>
  88. <Column size="30"/>
  89. <Column size="30"/>
  90. <Column size="30"/>
  91. <Column size="30"/>
  92. <Column size="30"/>
  93. <Column size="30"/>
  94. <Column size="30"/>
  95. <Column size="30"/>
  96. <Column size="30"/>
  97. <Column size="30"/>
  98. <Column size="30"/>
  99. <Column size="30"/>
  100. <Column size="30"/>
  101. <Column size="30"/>
  102. <Column size="30"/>
  103. <Column size="30"/>
  104. <Column size="30"/>
  105. <Column size="30"/>
  106. <Column size="30"/>
  107. <Column size="30"/>
  108. <Column size="30"/>
  109. <Column size="52"/>
  110. </Columns>
  111. <Rows>
  112. <Row size="24" band="head"/>
  113. <Row size="24"/>
  114. </Rows>
  115. <Band id="head">
  116. <Cell/>
  117. <Cell col="1"/>
  118. <Cell col="2" text="1"/>
  119. <Cell col="3" text="2"/>
  120. <Cell col="4" text="3"/>
  121. <Cell col="5" text="4"/>
  122. <Cell col="6" text="5"/>
  123. <Cell col="7" text="6"/>
  124. <Cell col="8" text="7"/>
  125. <Cell col="9" text="8"/>
  126. <Cell col="10" text="9"/>
  127. <Cell col="11" text="10"/>
  128. <Cell col="12" text="11"/>
  129. <Cell col="13" text="12"/>
  130. <Cell col="14" text="13"/>
  131. <Cell col="15" text="14"/>
  132. <Cell col="16" text="15"/>
  133. <Cell col="17" text="16"/>
  134. <Cell col="18" text="17"/>
  135. <Cell col="19" text="18"/>
  136. <Cell col="20" text="19"/>
  137. <Cell col="21" text="20"/>
  138. <Cell col="22" text="21"/>
  139. <Cell col="23" text="22"/>
  140. <Cell col="24" text="23"/>
  141. <Cell col="25" text="24"/>
  142. <Cell col="26" text="25"/>
  143. <Cell col="27" text="26"/>
  144. <Cell col="28" text="27"/>
  145. <Cell col="29" text="28"/>
  146. <Cell col="30" text="29"/>
  147. <Cell col="31" text="30"/>
  148. <Cell col="32" text="31"/>
  149. <Cell col="33" text="TOTAL"/>
  150. </Band>
  151. <Band id="body">
  152. <Cell celltype="head" text="bind:mainflagnm" wordwrap="none" suppress="1" suppressalign="middle"/>
  153. <Cell col="1" text="bind:flagnm"/>
  154. <Cell col="2" text="bind:col1"/>
  155. <Cell col="3" text="bind:col2"/>
  156. <Cell col="4" text="bind:col3"/>
  157. <Cell col="5" text="bind:col4"/>
  158. <Cell col="6" text="bind:col5"/>
  159. <Cell col="7" text="bind:col6"/>
  160. <Cell col="8" text="bind:col7"/>
  161. <Cell col="9" text="bind:col8"/>
  162. <Cell col="10" text="bind:col9"/>
  163. <Cell col="11" text="bind:col10"/>
  164. <Cell col="12" text="bind:col11"/>
  165. <Cell col="13" text="bind:col12"/>
  166. <Cell col="14" text="bind:col13"/>
  167. <Cell col="15" text="bind:col14"/>
  168. <Cell col="16" text="bind:col15"/>
  169. <Cell col="17" text="bind:col16"/>
  170. <Cell col="18" text="bind:col17"/>
  171. <Cell col="19" text="bind:col18"/>
  172. <Cell col="20" text="bind:col19"/>
  173. <Cell col="21" text="bind:col20"/>
  174. <Cell col="22" text="bind:col21"/>
  175. <Cell col="23" text="bind:col22"/>
  176. <Cell col="24" text="bind:col23"/>
  177. <Cell col="25" text="bind:col24"/>
  178. <Cell col="26" text="bind:col25"/>
  179. <Cell col="27" text="bind:col26"/>
  180. <Cell col="28" text="bind:col27"/>
  181. <Cell col="29" text="bind:col28"/>
  182. <Cell col="30" text="bind:col29"/>
  183. <Cell col="31" text="bind:col30"/>
  184. <Cell col="32" text="bind:col31"/>
  185. <Cell col="33" text="bind:ddsum"/>
  186. </Band>
  187. </Format>
  188. </Formats>
  189. </Grid>
  190. </Layout>
  191. </Layouts>
  192. </Tabpage>
  193. <Tabpage id="case2" text="월별">
  194. <Layouts>
  195. <Layout>
  196. <Grid id="grd_wardmmlist" taborder="0" binddataset="ds_grid_grd_wardmmlist" useinputpanel="false" position="absolute 0 0 1256 708" autofittype="col" anchor="all">
  197. <Formats>
  198. <Format id="default">
  199. <Columns>
  200. <Column size="70" band="left"/>
  201. <Column size="125" band="left"/>
  202. <Column size="70"/>
  203. <Column size="70"/>
  204. <Column size="70"/>
  205. <Column size="70"/>
  206. <Column size="70"/>
  207. <Column size="70"/>
  208. <Column size="70"/>
  209. <Column size="70"/>
  210. <Column size="70"/>
  211. <Column size="70"/>
  212. <Column size="70"/>
  213. <Column size="70"/>
  214. <Column size="100"/>
  215. </Columns>
  216. <Rows>
  217. <Row size="24" band="head"/>
  218. <Row size="24"/>
  219. </Rows>
  220. <Band id="head">
  221. <Cell/>
  222. <Cell col="1"/>
  223. <Cell col="2" text="1월"/>
  224. <Cell col="3" text="2월"/>
  225. <Cell col="4" text="3월"/>
  226. <Cell col="5" text="4월"/>
  227. <Cell col="6" text="5월"/>
  228. <Cell col="7" text="6월"/>
  229. <Cell col="8" text="7월"/>
  230. <Cell col="9" text="8월"/>
  231. <Cell col="10" text="9월"/>
  232. <Cell col="11" text="10월"/>
  233. <Cell col="12" text="11월"/>
  234. <Cell col="13" text="12월"/>
  235. <Cell col="14" text="TOTAL"/>
  236. </Band>
  237. <Band id="body">
  238. <Cell celltype="head" text="bind:mainflagnm" suppress="1" suppressalign="middle"/>
  239. <Cell col="1" text="bind:flagnm"/>
  240. <Cell col="2" text="bind:col1"/>
  241. <Cell col="3" text="bind:col2"/>
  242. <Cell col="4" text="bind:col3"/>
  243. <Cell col="5" text="bind:col4"/>
  244. <Cell col="6" text="bind:col5"/>
  245. <Cell col="7" text="bind:col6"/>
  246. <Cell col="8" text="bind:col7"/>
  247. <Cell col="9" text="bind:col8"/>
  248. <Cell col="10" text="bind:col9"/>
  249. <Cell col="11" text="bind:col10"/>
  250. <Cell col="12" text="bind:col11"/>
  251. <Cell col="13" text="bind:col12"/>
  252. <Cell col="14" text="bind:mmsum"/>
  253. </Band>
  254. </Format>
  255. </Formats>
  256. </Grid>
  257. </Layout>
  258. </Layouts>
  259. </Tabpage>
  260. <Tabpage id="case3" text="년도별">
  261. <Layouts>
  262. <Layout>
  263. <Grid id="grd_wardyearlist" taborder="0" binddataset="ds_grid_grd_wardyearlist" useinputpanel="false" position="absolute 0 0 1256 708" autofittype="col" anchor="all">
  264. <Formats>
  265. <Format id="default">
  266. <Columns>
  267. <Column size="70" band="left"/>
  268. <Column size="125" band="left"/>
  269. <Column size="100"/>
  270. <Column size="100"/>
  271. <Column size="100"/>
  272. <Column size="100"/>
  273. <Column size="100"/>
  274. <Column size="100"/>
  275. </Columns>
  276. <Rows>
  277. <Row size="24" band="head"/>
  278. <Row size="24"/>
  279. </Rows>
  280. <Band id="head">
  281. <Cell/>
  282. <Cell col="1"/>
  283. <Cell col="2" text="1900년"/>
  284. <Cell col="3" text="1901년"/>
  285. <Cell col="4" text="1902년"/>
  286. <Cell col="5" text="1903년"/>
  287. <Cell col="6" text="1904년"/>
  288. <Cell col="7" text="TOTAL"/>
  289. </Band>
  290. <Band id="body">
  291. <Cell celltype="head" text="bind:mainflagnm" suppress="1" suppressalign="middle"/>
  292. <Cell col="1" text="bind:flagnm"/>
  293. <Cell col="2" text="bind:col1"/>
  294. <Cell col="3" text="bind:col2"/>
  295. <Cell col="4" text="bind:col3"/>
  296. <Cell col="5" text="bind:col4"/>
  297. <Cell col="6" text="bind:col5"/>
  298. <Cell col="7" text="bind:yearsum"/>
  299. </Band>
  300. </Format>
  301. </Formats>
  302. </Grid>
  303. </Layout>
  304. </Layouts>
  305. </Tabpage>
  306. <Tabpage id="case4" text="임상과별">
  307. <Layouts>
  308. <Layout>
  309. <Grid id="grd_warddeptlist" taborder="0" useinputpanel="false" position="absolute 0 0 1256 708" anchor="all" binddataset="ds_grid_grd_warddeptlist">
  310. <Formats>
  311. <Format id="default">
  312. <Columns>
  313. <Column size="70" band="left"/>
  314. <Column size="125" band="left"/>
  315. <Column size="0"/>
  316. <Column size="0"/>
  317. <Column size="0"/>
  318. <Column size="0"/>
  319. <Column size="0"/>
  320. <Column size="0"/>
  321. <Column size="0"/>
  322. <Column size="0"/>
  323. <Column size="0"/>
  324. <Column size="0"/>
  325. <Column size="0"/>
  326. <Column size="0"/>
  327. <Column size="0"/>
  328. <Column size="0"/>
  329. <Column size="0"/>
  330. <Column size="0"/>
  331. <Column size="0"/>
  332. <Column size="0"/>
  333. <Column size="0"/>
  334. <Column size="0"/>
  335. <Column size="0"/>
  336. <Column size="0"/>
  337. <Column size="0"/>
  338. <Column size="0"/>
  339. <Column size="0"/>
  340. <Column size="0"/>
  341. <Column size="0"/>
  342. <Column size="0"/>
  343. <Column size="0"/>
  344. <Column size="0"/>
  345. <Column size="0"/>
  346. <Column size="0"/>
  347. <Column size="0"/>
  348. <Column size="0"/>
  349. <Column size="0"/>
  350. <Column size="0"/>
  351. <Column size="0"/>
  352. <Column size="0"/>
  353. <Column size="0"/>
  354. <Column size="0"/>
  355. <Column size="0"/>
  356. <Column size="0"/>
  357. <Column size="0"/>
  358. <Column size="0"/>
  359. <Column size="0"/>
  360. <Column size="0"/>
  361. <Column size="0"/>
  362. <Column size="0"/>
  363. <Column size="0"/>
  364. <Column size="0"/>
  365. <Column size="0"/>
  366. <Column size="0"/>
  367. <Column size="0"/>
  368. <Column size="0"/>
  369. <Column size="0"/>
  370. <Column size="0"/>
  371. <Column size="0"/>
  372. <Column size="0"/>
  373. <Column size="0"/>
  374. </Columns>
  375. <Rows>
  376. <Row size="24" band="head"/>
  377. <Row size="24"/>
  378. </Rows>
  379. <Band id="head">
  380. <Cell/>
  381. <Cell col="1"/>
  382. <Cell col="2"/>
  383. <Cell col="3"/>
  384. <Cell col="4"/>
  385. <Cell col="5"/>
  386. <Cell col="6"/>
  387. <Cell col="7"/>
  388. <Cell col="8"/>
  389. <Cell col="9"/>
  390. <Cell col="10"/>
  391. <Cell col="11"/>
  392. <Cell col="12"/>
  393. <Cell col="13"/>
  394. <Cell col="14"/>
  395. <Cell col="15"/>
  396. <Cell col="16"/>
  397. <Cell col="17"/>
  398. <Cell col="18"/>
  399. <Cell col="19"/>
  400. <Cell col="20"/>
  401. <Cell col="21"/>
  402. <Cell col="22"/>
  403. <Cell col="23"/>
  404. <Cell col="24"/>
  405. <Cell col="25"/>
  406. <Cell col="26"/>
  407. <Cell col="27"/>
  408. <Cell col="28"/>
  409. <Cell col="29"/>
  410. <Cell col="30"/>
  411. <Cell col="31"/>
  412. <Cell col="32"/>
  413. <Cell col="33"/>
  414. <Cell col="34"/>
  415. <Cell col="35"/>
  416. <Cell col="36"/>
  417. <Cell col="37"/>
  418. <Cell col="38"/>
  419. <Cell col="39"/>
  420. <Cell col="40"/>
  421. <Cell col="41"/>
  422. <Cell col="42"/>
  423. <Cell col="43"/>
  424. <Cell col="44"/>
  425. <Cell col="45"/>
  426. <Cell col="46"/>
  427. <Cell col="47"/>
  428. <Cell col="48"/>
  429. <Cell col="49"/>
  430. <Cell col="50"/>
  431. <Cell col="51"/>
  432. <Cell col="52"/>
  433. <Cell col="53"/>
  434. <Cell col="54"/>
  435. <Cell col="55"/>
  436. <Cell col="56"/>
  437. <Cell col="57"/>
  438. <Cell col="58"/>
  439. <Cell col="59"/>
  440. <Cell col="60"/>
  441. <Cell col="61"/>
  442. </Band>
  443. <Band id="body">
  444. <Cell celltype="head" text="bind:mainflagnm" suppress="1" suppressalign="middle"/>
  445. <Cell col="1" text="bind:flagnm"/>
  446. <Cell col="2"/>
  447. <Cell col="3"/>
  448. <Cell col="4"/>
  449. <Cell col="5"/>
  450. <Cell col="6"/>
  451. <Cell col="7"/>
  452. <Cell col="8"/>
  453. <Cell col="9"/>
  454. <Cell col="10"/>
  455. <Cell col="11"/>
  456. <Cell col="12"/>
  457. <Cell col="13"/>
  458. <Cell col="14"/>
  459. <Cell col="15"/>
  460. <Cell col="16"/>
  461. <Cell col="17"/>
  462. <Cell col="18"/>
  463. <Cell col="19"/>
  464. <Cell col="20"/>
  465. <Cell col="21"/>
  466. <Cell col="22"/>
  467. <Cell col="23"/>
  468. <Cell col="24"/>
  469. <Cell col="25"/>
  470. <Cell col="26"/>
  471. <Cell col="27"/>
  472. <Cell col="28"/>
  473. <Cell col="29"/>
  474. <Cell col="30"/>
  475. <Cell col="31"/>
  476. <Cell col="32"/>
  477. <Cell col="33"/>
  478. <Cell col="34"/>
  479. <Cell col="35"/>
  480. <Cell col="36"/>
  481. <Cell col="37"/>
  482. <Cell col="38"/>
  483. <Cell col="39"/>
  484. <Cell col="40"/>
  485. <Cell col="41"/>
  486. <Cell col="42"/>
  487. <Cell col="43"/>
  488. <Cell col="44"/>
  489. <Cell col="45"/>
  490. <Cell col="46"/>
  491. <Cell col="47"/>
  492. <Cell col="48"/>
  493. <Cell col="49"/>
  494. <Cell col="50"/>
  495. <Cell col="51"/>
  496. <Cell col="52"/>
  497. <Cell col="53"/>
  498. <Cell col="54"/>
  499. <Cell col="55"/>
  500. <Cell col="56"/>
  501. <Cell col="57"/>
  502. <Cell col="58"/>
  503. <Cell col="59"/>
  504. <Cell col="60"/>
  505. </Band>
  506. </Format>
  507. </Formats>
  508. </Grid>
  509. </Layout>
  510. </Layouts>
  511. </Tabpage>
  512. </Tabpages>
  513. </Tab>
  514. <Button id="button2" taborder="7" text="엑셀저장" class="btn7" position="absolute 1180 74 1255 94" onclick="button2_onclick" anchor="top right"/>
  515. <Static id="Static06" text="h3" class="sta_guide" visible="false" position="absolute 1200 94 1255 97"/>
  516. <Radio id="rdo_srchflag3" taborder="11" columncount="5" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="rdo_srchflag2_onitemchanged" position="absolute 307 38 354 54">
  517. <Dataset id="innerdataset">
  518. <ColumnInfo>
  519. <Column id="codecolumn" size="256"/>
  520. <Column id="datacolumn" size="256"/>
  521. </ColumnInfo>
  522. <Rows>
  523. <Row>
  524. <Col id="codecolumn">2</Col>
  525. <Col id="datacolumn">월별</Col>
  526. </Row>
  527. </Rows>
  528. </Dataset>
  529. </Radio>
  530. <Radio id="rdo_srchflag4" taborder="12" columncount="5" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="rdo_srchflag2_onitemchanged" position="absolute 355 38 410 54">
  531. <Dataset id="innerdataset">
  532. <ColumnInfo>
  533. <Column id="codecolumn" size="256"/>
  534. <Column id="datacolumn" size="256"/>
  535. </ColumnInfo>
  536. <Rows>
  537. <Row>
  538. <Col id="codecolumn">3</Col>
  539. <Col id="datacolumn">년도별</Col>
  540. </Row>
  541. </Rows>
  542. </Dataset>
  543. </Radio>
  544. <Radio id="rdo_srchflag5" taborder="13" columncount="5" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="rdo_srchflag2_onitemchanged" position="absolute 414 38 485 54">
  545. <Dataset id="innerdataset">
  546. <ColumnInfo>
  547. <Column id="codecolumn" size="256"/>
  548. <Column id="datacolumn" size="256"/>
  549. </ColumnInfo>
  550. <Rows>
  551. <Row>
  552. <Col id="codecolumn">4</Col>
  553. <Col id="datacolumn">임상과별</Col>
  554. </Row>
  555. </Rows>
  556. </Dataset>
  557. </Radio>
  558. <Static id="Static07" text="w8" class="sta_guide" visible="false" position="absolute 407 26 415 66"/>
  559. </Layout>
  560. </Layouts>
  561. <Objects>
  562. <Dataset id="ds_grid_grd_wardddlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  563. <ColumnInfo>
  564. <Column id="mainflagnm" type="STRING"/>
  565. <Column id="flagnm" type="STRING"/>
  566. <Column id="col1" type="STRING"/>
  567. <Column id="col2" type="STRING"/>
  568. <Column id="col3" type="STRING"/>
  569. <Column id="col4" type="STRING"/>
  570. <Column id="col5" type="STRING"/>
  571. <Column id="col6" type="STRING"/>
  572. <Column id="col7" type="STRING"/>
  573. <Column id="col8" type="STRING"/>
  574. <Column id="col9" type="STRING"/>
  575. <Column id="col10" type="STRING"/>
  576. <Column id="col11" type="STRING"/>
  577. <Column id="col12" type="STRING"/>
  578. <Column id="col13" type="STRING"/>
  579. <Column id="col14" type="STRING"/>
  580. <Column id="col15" type="STRING"/>
  581. <Column id="col16" type="STRING"/>
  582. <Column id="col17" type="STRING"/>
  583. <Column id="col18" type="STRING"/>
  584. <Column id="col19" type="STRING"/>
  585. <Column id="col20" type="STRING"/>
  586. <Column id="col21" type="STRING"/>
  587. <Column id="col22" type="STRING"/>
  588. <Column id="col23" type="STRING"/>
  589. <Column id="col24" type="STRING"/>
  590. <Column id="col25" type="STRING"/>
  591. <Column id="col26" type="STRING"/>
  592. <Column id="col27" type="STRING"/>
  593. <Column id="col28" type="STRING"/>
  594. <Column id="col29" type="STRING"/>
  595. <Column id="col30" type="STRING"/>
  596. <Column id="col31" type="STRING"/>
  597. <Column id="ddsum" type="STRING"/>
  598. </ColumnInfo>
  599. </Dataset>
  600. <Dataset id="ds_grid_grd_wardmmlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  601. <ColumnInfo>
  602. <Column id="mainflag" type="STRING" size="255"/>
  603. <Column id="flag" type="STRING" size="255"/>
  604. <Column id="flagnm" type="STRING" size="255"/>
  605. <Column id="mainflagnm" type="STRING" size="255"/>
  606. <Column id="col1" type="BIGDECIMAL" size="255"/>
  607. <Column id="col2" type="BIGDECIMAL" size="255"/>
  608. <Column id="col3" type="BIGDECIMAL" size="255"/>
  609. <Column id="col4" type="BIGDECIMAL" size="255"/>
  610. <Column id="col5" type="BIGDECIMAL" size="255"/>
  611. <Column id="col6" type="BIGDECIMAL" size="255"/>
  612. <Column id="col7" type="BIGDECIMAL" size="255"/>
  613. <Column id="col8" type="BIGDECIMAL" size="255"/>
  614. <Column id="col9" type="BIGDECIMAL" size="255"/>
  615. <Column id="col10" type="BIGDECIMAL" size="255"/>
  616. <Column id="col11" type="BIGDECIMAL" size="255"/>
  617. <Column id="col12" type="BIGDECIMAL" size="255"/>
  618. <Column id="mmsum" type="STRING" size="255"/>
  619. </ColumnInfo>
  620. </Dataset>
  621. <Dataset id="ds_grid_grd_wardyearlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  622. <ColumnInfo>
  623. <Column id="mainflagnm" type="STRING"/>
  624. <Column id="flagnm" type="STRING"/>
  625. <Column id="col1" type="STRING"/>
  626. <Column id="col2" type="STRING"/>
  627. <Column id="col3" type="STRING"/>
  628. <Column id="col4" type="STRING"/>
  629. <Column id="col5" type="STRING"/>
  630. <Column id="yearsum" type="STRING"/>
  631. </ColumnInfo>
  632. </Dataset>
  633. <Dataset id="ds_grid_grd_warddeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  634. <ColumnInfo>
  635. <Column id="mainflag" type="STRING" size="255"/>
  636. <Column id="flag" type="STRING" size="255"/>
  637. <Column id="flagnm" type="STRING" size="255"/>
  638. <Column id="mainflagnm" type="STRING" size="255"/>
  639. <Column id="allflag" type="STRING" size="255"/>
  640. </ColumnInfo>
  641. </Dataset>
  642. <Dataset id="ds_tmpwarddeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  643. <ColumnInfo>
  644. <Column id="deptengabbr" type="STRING" size="255"/>
  645. <Column id="mainflag" type="STRING" size="255"/>
  646. <Column id="flag" type="STRING" size="255"/>
  647. <Column id="flagnm" type="STRING" size="255"/>
  648. <Column id="mainflagnm" type="STRING" size="255"/>
  649. <Column id="col" type="BIGDECIMAL" size="255"/>
  650. <Column id="orddeptcd" type="STRING" size="255"/>
  651. <Column id="allflag" type="STRING" size="255"/>
  652. </ColumnInfo>
  653. </Dataset>
  654. <Dataset id="ds_deptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  655. <ColumnInfo>
  656. <Column id="deptengabbr" type="STRING" size="255"/>
  657. <Column id="deptcd" type="STRING" size="255"/>
  658. <Column id="depthngnm" type="STRING" size="255"/>
  659. </ColumnInfo>
  660. </Dataset>
  661. <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_cond_oncolumnchanged">
  662. <ColumnInfo>
  663. <Column id="srchdd" type="STRING" size="256"/>
  664. <Column id="srchyear" type="STRING" size="256"/>
  665. <Column id="srchfromdd" type="STRING" size="256"/>
  666. <Column id="srchtodd" type="STRING" size="256"/>
  667. <Column id="srchflag1" type="STRING" size="256"/>
  668. <Column id="srchflag2" type="STRING" size="256"/>
  669. <Column id="basedd" type="STRING" size="256"/>
  670. </ColumnInfo>
  671. <Rows>
  672. <Row/>
  673. </Rows>
  674. </Dataset>
  675. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  676. <ColumnInfo>
  677. <Column id="srchdd" type="STRING" size="256"/>
  678. <Column id="srchyear" type="STRING" size="256"/>
  679. <Column id="srchfromdd" type="STRING" size="256"/>
  680. <Column id="srchtodd" type="STRING" size="256"/>
  681. <Column id="srchflag1" type="STRING" size="256"/>
  682. <Column id="srchflag2" type="STRING" size="256"/>
  683. <Column id="basedd" type="STRING" size="256"/>
  684. </ColumnInfo>
  685. <Rows>
  686. <Row/>
  687. </Rows>
  688. </Dataset>
  689. <Dataset id="ds_temp_grd_warddeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  690. <ColumnInfo>
  691. <Column id="mainflag" type="STRING" size="255"/>
  692. <Column id="flag" type="STRING" size="255"/>
  693. <Column id="flagnm" type="STRING" size="255"/>
  694. <Column id="mainflagnm" type="STRING" size="255"/>
  695. <Column id="allflag" type="STRING" size="255"/>
  696. </ColumnInfo>
  697. </Dataset>
  698. </Objects>
  699. <Bind>
  700. <BindItem id="item0" compid="rdo_srchflag1" propid="value" datasetid="ds_main_cond" columnid="srchflag1"/>
  701. <BindItem id="item1" compid="rdo_srchflag2" propid="value" datasetid="ds_main_cond" columnid="srchflag2"/>
  702. <BindItem id="item4" compid="ipt_srchfromdd" propid="value" datasetid="ds_main_cond" columnid="srchfromdd"/>
  703. <BindItem id="item5" compid="ipt_srchtodd" propid="value" datasetid="ds_main_cond" columnid="srchtodd"/>
  704. <BindItem id="item3" compid="ipt_srchdd" propid="value" datasetid="ds_main_cond" columnid="srchdd"/>
  705. <BindItem id="item2" compid="ipt_srchyear" propid="value" datasetid="ds_main_cond" columnid="srchyear"/>
  706. <BindItem id="item6" compid="rdo_srchflag3" propid="value" datasetid="ds_main_cond" columnid="srchflag2"/>
  707. <BindItem id="item7" compid="rdo_srchflag4" propid="value" datasetid="ds_main_cond" columnid="srchflag2"/>
  708. <BindItem id="item8" compid="rdo_srchflag5" propid="value" datasetid="ds_main_cond" columnid="srchflag2"/>
  709. </Bind>
  710. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  711. * System Name : Himed
  712. * Job Name :
  713. * File Name : SSMNE00300_진료과별병동별대장.xfdl
  714. * Creator :
  715. * Make Date : 2014-08-20
  716. *
  717. * Description :
  718. *---------------------------------------------------------------------------------------
  719. * Modify Date Modifier Modify Description
  720. *---------------------------------------------------------------------------------------
  721. * 2014-08-20 Converting Program(TF->XP)
  722. *
  723. *---------------------------------------------------------------------------------------
  724. ****************************************************************************************/
  725. //=======================================================================================
  726. // xjs Include
  727. //---------------------------------------------------------------------------------------
  728. include "com_commonxp::comm_main.xjs";
  729. //=======================================================================================
  730. // Function
  731. //---------------------------------------------------------------------------------------
  732. //var cnt=0;
  733. /****************************************************************************************
  734. * Argument :
  735. * Description : 조회
  736. ****************************************************************************************/
  737. function lf_fGetStsData()
  738. {
  739. ds_send.clearData();
  740. ds_send.addRow();
  741. ds_grid_grd_wardddlist.clearData();
  742. ds_grid_grd_wardmmlist.clearData();
  743. ds_grid_grd_wardyearlist.clearData();
  744. ds_grid_grd_warddeptlist.clearData();
  745. if(rdo_srchflag2.value == "1"){ // 일별
  746. ipt_srchyear.visible = false;
  747. ipt_srchfromdd.visible = false;
  748. ipt_srchtodd.visible = false;
  749. caption3.visible = false;
  750. ipt_srchdd.visible = true;
  751. ds_send.enableevent = false;
  752. ds_send.setColumn(0, "srchdd", ds_main_cond.getColumn(0, "srchdd"));
  753. ds_send.setColumn(0, "srchflag1", ds_main_cond.getColumn(0, "srchflag1"));
  754. ds_send.setColumn(0, "srchflag2", ds_main_cond.getColumn(0, "srchflag2"));
  755. ds_send.enableevent = true;
  756. lf_TRSNE00301();
  757. var grd = switch1.case1.grd_wardddlist;
  758. var fRow = ds_grid_grd_wardddlist.findRow("flagnm", "TOTAL");
  759. var sExpr = "EXPR( currow == '"+ fRow +"' ? "+ "'#7cff7c'"+" : '#ffffff' )";
  760. grd.enableredraw = false;
  761. for (var k=1; k<grd.getCellCount('Body'); k++ ) {
  762. grd.setCellProperty('Body', k, "background", sExpr);
  763. grd.setCellProperty('Body', k, "background2", sExpr);
  764. }
  765. grd.setCellProperty('Body', 0, "background", "#c5eaf4");
  766. grd.setCellProperty('Body', 0, "background2", "#c5eaf4");
  767. grd.setCellProperty('Body', 33, "background", "#7cff7c");
  768. grd.setCellProperty('Body', 33, "background2", "#7cff7c");
  769. grd.setCellProperty('Body', 33, "font", "Dotum,9,bold");
  770. grd.enableredraw = true;
  771. }else if(rdo_srchflag2.value == "2"){ // 월별
  772. ipt_srchdd.visible = false;
  773. ipt_srchfromdd.visible = false;
  774. ipt_srchtodd.visible = false;
  775. caption3.visible = false;
  776. ipt_srchyear.visible = true;
  777. ds_send.enableevent = false;
  778. ds_send.setColumn(0, "srchyear", ds_main_cond.getColumn(0, "srchyear"));
  779. ds_send.setColumn(0, "srchflag1", ds_main_cond.getColumn(0, "srchflag1"));
  780. ds_send.setColumn(0, "srchflag2", ds_main_cond.getColumn(0, "srchflag2"));
  781. ds_send.enableevent = true;
  782. lf_TRSNE00302();
  783. var grd = switch1.case2.grd_wardmmlist;
  784. var fRow = ds_grid_grd_wardmmlist.findRow("flagnm", "TOTAL");
  785. var sExpr = "EXPR( currow == '"+ fRow +"' ? "+ "'#7cff7c'"+" : '#ffffff' )";
  786. grd.enableredraw = false;
  787. for (var k=1; k<grd.getCellCount('Body'); k++ ) {
  788. grd.setCellProperty('Body', k, "background", sExpr);
  789. grd.setCellProperty('Body', k, "background2", sExpr);
  790. }
  791. grd.setCellProperty('Body', 0, "background", "#c5eaf4");
  792. grd.setCellProperty('Body', 0, "background2", "#c5eaf4");
  793. grd.setCellProperty('Body', 14, "background", "#7cff7c");
  794. grd.setCellProperty('Body', 14, "background2", "#7cff7c");
  795. grd.setCellProperty('Body', 14, "font", "Dotum,9,bold");
  796. grd.enableredraw = true;
  797. }else if(rdo_srchflag2.value == "3"){ // 년도별
  798. ipt_srchdd.visible = false;
  799. ipt_srchfromdd.visible = false;
  800. ipt_srchtodd.visible = false;
  801. caption3.visible = false;
  802. ipt_srchyear.visible = true;
  803. ds_send.enableevent = false;
  804. ds_send.setColumn(0, "srchyear", ds_main_cond.getColumn(0, "srchyear"));
  805. ds_send.setColumn(0, "srchflag1", ds_main_cond.getColumn(0, "srchflag1"));
  806. ds_send.setColumn(0, "srchflag2", ds_main_cond.getColumn(0, "srchflag2"));
  807. ds_send.enableevent = true;
  808. lf_TRSNE00303();
  809. var grd = switch1.case3.grd_wardyearlist;
  810. var fRow = ds_grid_grd_wardyearlist.findRow("flagnm", "TOTAL");
  811. var sExpr = "EXPR( currow == '"+ fRow +"' ? "+ "'#7cff7c'"+" : '#ffffff' )";
  812. grd.enableredraw = false;
  813. for (var k=1; k<grd.getCellCount('Body'); k++ ) {
  814. grd.setCellProperty('Body', k, "background", sExpr);
  815. grd.setCellProperty('Body', k, "background2", sExpr);
  816. }
  817. grd.setCellProperty('Body', 0, "background", "#c5eaf4");
  818. grd.setCellProperty('Body', 0, "background2", "#c5eaf4");
  819. grd.setCellProperty('Body', 7, "background", "#7cff7c");
  820. grd.setCellProperty('Body', 7, "background2", "#7cff7c");
  821. grd.setCellProperty('Body', 7, "font", "Dotum,9,bold");
  822. grd.enableredraw = true;
  823. var sBaseYear = ds_main_cond.getColumn(0, "srchyear").substr(0,4);
  824. var k = 0;
  825. for(var i = 6; i >= 2 ; i --){
  826. sGrdHearderInfo = utlf_addDate(sBaseYear + "0601", toNumber("-"+(365 * k)) ).substr(0,4) + "년";
  827. grd.setCellProperty('Head', i, "text", sGrdHearderInfo);
  828. k = k+1;
  829. }
  830. }else if(rdo_srchflag2.value == "4"){ // 임상과별_20091217
  831. var grd = switch1.case4.grd_warddeptlist;
  832. ds_grid_grd_warddeptlist.copyData(ds_temp_grd_warddeptlist);
  833. ipt_srchdd.visible = false;
  834. ipt_srchyear.visible = false;
  835. ipt_srchfromdd.visible = true;
  836. ipt_srchtodd.visible = true;
  837. caption3.visible = true;
  838. ds_send.enableevent = false;
  839. ds_send.setColumn(0, "srchfromdd", ds_main_cond.getColumn(0, "srchfromdd"));
  840. ds_send.setColumn(0, "srchtodd", ds_main_cond.getColumn(0, "srchtodd"));
  841. ds_send.setColumn(0, "srchflag1", ds_main_cond.getColumn(0, "srchflag1"));
  842. ds_send.setColumn(0, "srchflag2", ds_main_cond.getColumn(0, "srchflag2"));
  843. ds_send.enableevent = true;
  844. lf_TRSNE00304();
  845. this.setWaitCursor(true, true);
  846. // temp Data Display Grid Setting
  847. // 임상과별 addColumn
  848. var deptlistcnt = ds_deptlist.rowcount;
  849. var tmplistcnt = ds_tmpwarddeptlist.rowcount;
  850. var listcnt = ds_grid_grd_warddeptlist.rowcount;
  851. // 방법 3)
  852. var sFormatInfo = "";
  853. var sColumnInfo = "";
  854. var sRowInfo = "";
  855. var sHeadInfo = "";
  856. var sBodyInfo = "";
  857. //Row info 세팅
  858. sRowInfo += '<Row size="24" band="head"/> \r\n';
  859. sRowInfo += '<Row size="24"/> \r\n';
  860. //Head info 세팅
  861. sHeadInfo += '<Cell /> \r\n';
  862. sHeadInfo += '<Cell col="1"/> \r\n';
  863. //Body info 세팅
  864. sBodyInfo += '<Cell celltype="head" text="bind:mainflagnm" suppress="1" suppressalign="middle" style="background:#c5eaf4;background2:#c5eaf4;"/> \r\n';
  865. sBodyInfo += '<Cell col="1" text="bind:flagnm" style="background:EXPR(flagnm == '+"'TOTAL'"+' ? '+"'#7cff7c'"+':'+ "'#ffffff'"
  866. +');background2:EXPR(flagnm == '+"'TOTAL'"+' ? '+"'#7cff7c'"+':'+ "'#ffffff'"
  867. +');font:EXPR(flagnm == '+"'TOTAL'"+' ? '+"'Dotum,9,bold'"+':'+ "'Dotum,9'"+');'
  868. + '" /> \r\n';
  869. for(var iCol=0; iCol<=deptlistcnt+1; iCol++){
  870. //Column info 세팅
  871. if(iCol == 0){
  872. sColumnInfo += '<Column size="70" band="left"/> \r\n';
  873. sColumnInfo += '<Column size="125" band="left"/> \r\n';
  874. }else if(iCol >= 2){
  875. sColumnInfo += '<Columns size="35" /> \r\n';
  876. //Head info 세팅
  877. var sColid = ds_deptlist.getColumn(iCol-2, "deptengabbr");
  878. sHeadInfo += '<Cell col="' + iCol + '" text="' + sColid +'"/> \r\n';
  879. }
  880. //Body info 세팅
  881. ds_tmpwarddeptlist.filterstr = "deptengabbr=='"+ds_deptlist.getColumn(iCol, "deptengabbr")+"'";
  882. for(var m=0; m<ds_tmpwarddeptlist.rowcount; m++) {
  883. var fAllflag = ds_grid_grd_warddeptlist.findRow("allflag", ds_tmpwarddeptlist.getColumn(m, "allflag"));
  884. if (fAllflag > -1 && iCol <= deptlistcnt) {
  885. var sExpr = "EXPR( flagnm == 'TOTAL' ? "+ "'#7cff7c'"+" : '#ffffff' )";
  886. var fExpr = "EXPR( flagnm == 'TOTAL' ? "+ "'Dotum,9,bold'"+" : 'Dotum,9' )";
  887. sBodyInfo += '<Cell col="' + (iCol+2) + '" row="' + fAllflag
  888. + '" style="background:EXPR(flagnm == '+"'TOTAL'"+' ? '+"'#7cff7c'"+':'+ "'#ffffff'"
  889. +');background2:EXPR(flagnm == '+"'TOTAL'"+' ? '+"'#7cff7c'"+':'+ "'#ffffff'"
  890. +');font:EXPR(flagnm == '+"'TOTAL'"+' ? '+"'Dotum,9,bold'"+':'+ "'Dotum,9'"+');'
  891. + '" text="' + ds_tmpwarddeptlist.getColumn(m, "col") + '" /> \r\n';
  892. }
  893. }
  894. ds_tmpwarddeptlist.filterstr = "";
  895. }
  896. sColumnInfo = '<Columns> \r\n' + sColumnInfo + '</Columns> \r\n' ;
  897. sRowInfo = '<Rows> \r\n' + sRowInfo + '</Rows> \r\n';
  898. sHeadInfo = '<Band id="head"> \r\n' + sHeadInfo + '</Band> \r\n';
  899. sBodyInfo = '<Band id="body"> \r\n' + sBodyInfo + '</Band> \r\n';
  900. sFormatInfo = '<Formats> \r\n';
  901. sFormatInfo += '<Format id="default"> \r\n';
  902. sFormatInfo += sColumnInfo + sRowInfo + sHeadInfo + sBodyInfo;
  903. sFormatInfo += '</Format> \r\n';
  904. sFormatInfo += '</Formats>';
  905. grd.enableredraw = false;
  906. grd.formats = sFormatInfo;
  907. grd.enableredraw = true;
  908. grd.redraw();
  909. this.setWaitCursor(false, true);
  910. }
  911. }
  912. /****************************************************************************************
  913. * Argument :
  914. * Description : 조회
  915. ****************************************************************************************/
  916. function lf_TRSNE00301()
  917. {
  918. tranf_submit({
  919. id : "TRSNE00301"
  920. , service : "stsenrapp.StsErMngt"
  921. , method : "reqGetWardDDList"
  922. , inds : "req=ds_send"
  923. , outds : "ds_grid_grd_wardddlist=wardddlist"
  924. , async : false
  925. });
  926. }
  927. /****************************************************************************************
  928. * Argument :
  929. * Description : 조회
  930. ****************************************************************************************/
  931. function lf_TRSNE00302()
  932. {
  933. tranf_submit({
  934. id : "TRSNE00302"
  935. , service : "stsenrapp.StsErMngt"
  936. , method : "reqGetWardMMList"
  937. , inds : "req=ds_send"
  938. , outds : "ds_grid_grd_wardmmlist=wardmmlist"
  939. , async : false
  940. });
  941. }
  942. /****************************************************************************************
  943. * Argument :
  944. * Description : 조회
  945. ****************************************************************************************/
  946. function lf_TRSNE00303()
  947. {
  948. tranf_submit({
  949. id : "TRSNE00303"
  950. , service : "stsenrapp.StsErMngt"
  951. , method : "reqGetWardYearList"
  952. , inds : "req=ds_send"
  953. , outds : "ds_grid_grd_wardyearlist=wardyearlist"
  954. , async : false
  955. });
  956. }
  957. /****************************************************************************************
  958. * Argument :
  959. * Description : 조회
  960. ****************************************************************************************/
  961. function lf_TRSNE00304()
  962. {
  963. tranf_submit({
  964. id : "TRSNE00304"
  965. , service : "stsenrapp.StsErMngt"
  966. , method : "reqGetWardDeptList"
  967. , inds : "req=ds_send"
  968. , outds : "ds_tmpwarddeptlist=tmpwarddeptlist ds_grid_grd_warddeptlist=warddeptlist ds_deptlist=deptlist"
  969. , progress : true
  970. , async : false
  971. });
  972. }
  973. //=======================================================================================
  974. // Event
  975. //---------------------------------------------------------------------------------------
  976. /****************************************************************************************
  977. * Components :
  978. * Components ID : SSMNE00300
  979. * Event : onload
  980. * Argument : 01.obj : Object Event has occurred
  981. * : 02.e : Event Object
  982. * Description : 온로드
  983. ****************************************************************************************/
  984. function SSMNE00300_onload(obj:Form, e:LoadEventInfo)
  985. {
  986. frmf_initForm(obj); // 화면공통
  987. lf_commoduleDataSetShow(); //DataSet 조회;
  988. ds_main_cond.enableevent = false;
  989. ds_main_cond.setColumn(0, "basedd", utlf_addDate(utlf_getCurrentDate(), -1));
  990. ds_main_cond.setColumn(0, "srchdd", ds_main_cond.getColumn(0, "basedd").substr(0,6));
  991. ds_main_cond.setColumn(0, "srchyear", ds_main_cond.getColumn(0, "basedd").substr(0,4));
  992. ds_main_cond.setColumn(0, "srchfromdd", ds_main_cond.getColumn(0, "basedd"));
  993. ds_main_cond.setColumn(0, "srchtodd", ds_main_cond.getColumn(0, "basedd"));
  994. ds_main_cond.setColumn(0, "srchflag1", "1");
  995. ds_main_cond.setColumn(0, "srchflag2", "1");
  996. ds_main_cond.enableevent = true;
  997. lf_fGetStsData();
  998. }
  999. /****************************************************************************************
  1000. * Components :
  1001. * Components ID : button1
  1002. * Event : onclick
  1003. * Argument : 01.obj : Object Event has occurred
  1004. * : 02.e : Event Object
  1005. * Description : 조회
  1006. ****************************************************************************************/
  1007. function button1_onclick(obj:Button, e:ClickEventInfo)
  1008. {
  1009. lf_fGetStsData();
  1010. }
  1011. /****************************************************************************************
  1012. * Components :
  1013. * Components ID : button2
  1014. * Event : onclick
  1015. * Argument : 01.obj : Object Event has occurred
  1016. * : 02.e : Event Object
  1017. * Description : 엑셀
  1018. ****************************************************************************************/
  1019. function button2_onclick(obj:Button, e:ClickEventInfo)
  1020. {
  1021. var fromdd = ds_main_cond.getColumn(0, "srchfromdd");
  1022. var todd = ds_main_cond.getColumn(0, "srchtodd");
  1023. var syear = ds_main_cond.getColumn(0, "srchyear");
  1024. var smon = ds_main_cond.getColumn(0, "srchdd");
  1025. var sBaseYear = ds_main_cond.getColumn(0, "srchyear");
  1026. var s4beforeYear = utlf_addDate(sBaseYear + "0601", toNumber("-"+(365 * 4)) ).substr(0,4);
  1027. if(rdo_srchflag2.value == "1"){
  1028. grdf_exportExcel(switch1.case1.grd_wardddlist, "진료과병동별대장_일별(" + smon + ")", "진료과병동별대장_일별(" + smon + ")");
  1029. }else if(rdo_srchflag2.value == "2"){
  1030. grdf_exportExcel(switch1.case2.grd_wardmmlist, "진료과병동별대장_월별(" + syear + ")", "진료과병동별대장_월별(" + syear + ")");
  1031. }else if(rdo_srchflag2.value == "3"){
  1032. grdf_exportExcel(switch1.case3.grd_wardyearlist, "진료과병동별대장_년도별(" + s4beforeYear + "-" + syear + ")", "진료과병동별대장_년도별(" + s4beforeYear + "-" + syear + ")");
  1033. }else if(rdo_srchflag2.value == "4"){
  1034. //grdf_exportExcel(switch1.case4.grd_warddeptlist, "진료과병동별대장_임상과별(" + fromdd + "-" + todd + ")", "진료과병동별대장_임상과별(" + fromdd + "-" + todd + ")");
  1035. grdf_exportExcel(switch1.case4.grd_warddeptlist, "진료과병동별대장_임상과별(" + fromdd + "-" + todd + ")", "진료과병동별대장_임상과별"); // 시트명이 너무 길어서 엑셀 오류로 인해 저장이 안되서 줄임
  1036. }
  1037. }
  1038. /****************************************************************************************
  1039. * Components :
  1040. * Components ID : rdo_srchflag1
  1041. * Event : onitemchanged
  1042. * Argument : 01.obj : Object Event has occurred
  1043. * : 02.e : Event Object
  1044. * Description : 검색조건1 변경시
  1045. ****************************************************************************************/
  1046. function rdo_srchflag1_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  1047. {
  1048. lf_fGetStsData();
  1049. }
  1050. /****************************************************************************************
  1051. * Components :
  1052. * Components ID : rdo_srchflag2
  1053. * Event : onitemchanged
  1054. * Argument : 01.obj : Object Event has occurred
  1055. * : 02.e : Event Object
  1056. * Description : 검색조건2 변경시
  1057. ****************************************************************************************/
  1058. function rdo_srchflag2_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  1059. {
  1060. if(rdo_srchflag2.value == "1"){
  1061. switch1.tabindex = 0;
  1062. }
  1063. if(rdo_srchflag3.value == "2"){
  1064. switch1.tabindex = 1;
  1065. }
  1066. if(rdo_srchflag4.value == "3"){
  1067. switch1.tabindex = 2;
  1068. }
  1069. if(rdo_srchflag5.value == "4"){
  1070. switch1.tabindex = 3;
  1071. }
  1072. // lf_fGetStsData();
  1073. }
  1074. /****************************************************************************************
  1075. * Components :
  1076. * Components ID : switch1
  1077. * Event : onchanged
  1078. * Argument : 01.obj : Object Event has occurred
  1079. * : 02.e : Event Object
  1080. * Description : 탭 변경시
  1081. ****************************************************************************************/
  1082. function switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
  1083. {
  1084. if (switch1.tabindex == 0) {
  1085. rdo_srchflag2.value = 1;
  1086. } else if (switch1.tabindex == 1) {
  1087. rdo_srchflag3.value = 2;
  1088. } else if (switch1.tabindex == 2) {
  1089. rdo_srchflag4.value = 3;
  1090. } else if (switch1.tabindex == 3) {
  1091. rdo_srchflag5.value = 4;
  1092. }
  1093. lf_fGetStsData();
  1094. }
  1095. /****************************************************************************************
  1096. * Components :
  1097. * Components ID : ds_main_cond
  1098. * Event : oncolumnchanged
  1099. * Argument : 01.obj : Object Event has occurred
  1100. * : 02.e : Event Object
  1101. * Description : 달력 변경시 포맷에 맞게 데이터 자르기
  1102. ****************************************************************************************/
  1103. function ds_main_cond_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  1104. {
  1105. if (e.columnid == "srchdd") {
  1106. obj.enableevent = false;
  1107. ds_main_cond.setColumn(e.row, "srchdd", ds_main_cond.getColumn(e.row, "srchdd").substr(0,6));
  1108. obj.enableevent = true;
  1109. } else if (e.columnid == "srchyear") {
  1110. obj.enableevent = false;
  1111. ds_main_cond.setColumn(e.row, "srchyear", ds_main_cond.getColumn(e.row, "srchyear").substr(0,4));
  1112. obj.enableevent = true;
  1113. }
  1114. }
  1115. ]]></Script>
  1116. </Form>
  1117. </FDL>