SMPIF71200_청구현황(자보).xfdl 45 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMPIF71200" position="absolute 0 0 1206 771" titletext="청구현황(자보)" oninit="SMPIF71200_oninit" onload="SMPIF71200_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 13 1195 757" id="grp_biz" scrollbars="autoboth">
  8. <Layouts>
  9. <Layout>
  10. <Div position="absolute 1 11 1195 75" align="align:center top;" id="grp_sea" class="div_SA" anchor="default">
  11. <Layouts>
  12. <Layout>
  13. <Button position="absolute 1118 22 1174 44" id="button1" class="btn1" text="조회" anchor="default" onclick="grp_biz_grp_sea_button1_onclick"/>
  14. <Shape position="absolute 1090 22 1096 44" linetype="vertical" id="line13" class="line_4" anchor="default"/>
  15. <Calendar position="absolute 140 21 225 40" id="ipt_fromdd" class="input_search" mask="yyyy-mm" anchor="default" dateformat="yyyy-MM" value="null" editformat="yyyy-MM" onchanged="grp_biz_grp_sea_ipt_fromdd_onchanged" autoselect="true"/>
  16. <Radio position="absolute 727 18 872 41" id="radio1" class="radio_search" columncount="3" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
  17. <Dataset id="innerdataset">
  18. <ColumnInfo>
  19. <Column id="codecolumn"/>
  20. <Column id="datacolumn"/>
  21. </ColumnInfo>
  22. <Rows>
  23. <Row>
  24. <Col id="codecolumn">A</Col>
  25. <Col id="datacolumn">전체</Col>
  26. </Row>
  27. <Row>
  28. <Col id="codecolumn">I</Col>
  29. <Col id="datacolumn">입원</Col>
  30. </Row>
  31. <Row>
  32. <Col id="codecolumn">O</Col>
  33. <Col id="datacolumn">외래</Col>
  34. </Row>
  35. </Rows>
  36. </Dataset>
  37. </Radio>
  38. <Static text="내원유형 :" position="absolute 646 22 732 39" id="caption7" class="search_name" anchor="default"/>
  39. <Static text="손 보 사 :" position="absolute 890 22 977 39" id="caption8" class="search_name" visible="true" anchor="default"/>
  40. <Combo position="absolute 971 20 1071 39" id="cmb_insucmpymark" class="combo_search" visible="true" innerdataset="@ds_init_U0001list" datacolumn="nm" codecolumn="cd" anchor="default"/>
  41. <Radio position="absolute 1008 1 1173 21" id="rdo_endyn" class="radio_search" visible="false" columncount="3" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
  42. <Dataset id="innerdataset">
  43. <ColumnInfo>
  44. <Column id="codecolumn"/>
  45. <Column id="datacolumn"/>
  46. </ColumnInfo>
  47. <Rows>
  48. <Row>
  49. <Col id="codecolumn">A</Col>
  50. <Col id="datacolumn">전체</Col>
  51. </Row>
  52. <Row>
  53. <Col id="codecolumn">Y</Col>
  54. <Col id="datacolumn">완료</Col>
  55. </Row>
  56. <Row>
  57. <Col id="codecolumn">N</Col>
  58. <Col id="datacolumn">미완료</Col>
  59. </Row>
  60. </Rows>
  61. </Dataset>
  62. </Radio>
  63. <Static text="완 료 여 부 :" position="absolute 910 4 1026 21" id="caption11" class="search_name" visible="false" anchor="default"/>
  64. <Static text="기간 :" position="absolute 8 22 79 39" id="caption13" class="search_name" anchor="default"/>
  65. <Edit position="absolute 255 39 333 58" id="input11" class="input_search" visible="false" anchor="default"/>
  66. <Static text="사 고 번 호 :" position="absolute 150 40 262 57" id="caption17" class="search_name" visible="false" anchor="default"/>
  67. <Radio position="absolute 62 10 135 52" id="radio2" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default" onitemchanged="grp_biz_grp_sea_radio2_onitemchanged">
  68. <Dataset id="innerdataset">
  69. <ColumnInfo>
  70. <Column id="codecolumn"/>
  71. <Column id="datacolumn"/>
  72. </ColumnInfo>
  73. <Rows>
  74. <Row>
  75. <Col id="codecolumn">B</Col>
  76. <Col id="datacolumn">청구월</Col>
  77. </Row>
  78. <Row>
  79. <Col id="codecolumn">C</Col>
  80. <Col id="datacolumn">청구일자</Col>
  81. </Row>
  82. </Rows>
  83. </Dataset>
  84. </Radio>
  85. <Combo position="absolute 226 21 284 40" id="cmb_clamdgfrom" class="combo_search" innerdataset="@ds_init_clamdgfrom_clamdglist" datacolumn="clamdgnm" codecolumn="clamdgcd" anchor="default" onitemchanged="grp_biz_grp_sea_cmb_clamdgfrom_onitemchanged"/>
  86. <Combo position="absolute 539 20 624 39" id="cmb_clamtype" class="combo_search" innerdataset="@ds_init_P0155list" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
  87. <Static text="청구구분 :" position="absolute 457 21 550 38" id="caption14" class="search_name" anchor="default"/>
  88. <Combo position="absolute 383 21 441 40" id="cmb_clamdgto" class="combo_search" innerdataset="@ds_init_clamdgto_clamdglist" datacolumn="clamdgnm" codecolumn="clamdgcd" anchor="default"/>
  89. <Static text="~" position="absolute 286 22 301 42" id="caption3" anchor="default"/>
  90. <Calendar position="absolute 297 21 382 40" id="ipt_todd" class="input_search" mask="yyyy-mm" anchor="default" dateformat="yyyy-MM" value="null" editformat="yyyy-MM" onkillfocus="grp_biz_grp_sea_ipt_todd_onkillfocus" autoselect="true"/>
  91. </Layout>
  92. </Layouts>
  93. </Div>
  94. <Tab position="absolute 1 82 1195 725" id="switch1" class="sw_box" anchor="default" onchanged="grp_biz_switch1_onchanged">
  95. <Tabpages>
  96. <Tabpage text="손보사별청구현황" id="case1">
  97. <Layouts>
  98. <Layout>
  99. <Grid position="absolute 1 0 1192 613" id="datagrid1" binddataset="ds_main_list_datagrid1" anchor="default" cellsizingtype="col">
  100. <Formats>
  101. <Format id="default">
  102. <Columns>
  103. <Column size="62"/>
  104. <Column size="140"/>
  105. <Column size="46"/>
  106. <Column size="72"/>
  107. <Column size="76"/>
  108. <Column size="70"/>
  109. <Column size="108"/>
  110. <Column size="80"/>
  111. <Column size="52"/>
  112. <Column size="100"/>
  113. <Column size="60"/>
  114. <Column size="78"/>
  115. <Column size="78"/>
  116. <Column size="62"/>
  117. <Column size="90"/>
  118. <Column size="134"/>
  119. <Column size="86"/>
  120. </Columns>
  121. <Rows>
  122. <Row size="24" band="head"/>
  123. <Row size="24"/>
  124. <Row size="24" band="summ"/>
  125. </Rows>
  126. <Band id="head">
  127. <Cell text="코드"/>
  128. <Cell col="1" text="손보사"/>
  129. <Cell col="2" text="입/외"/>
  130. <Cell col="3" text="접수번호"/>
  131. <Cell col="4" text="등록번호"/>
  132. <Cell col="5" text="수진자명"/>
  133. <Cell col="6" text="주민번호"/>
  134. <Cell col="7" text="청구년월"/>
  135. <Cell col="8" text="차수"/>
  136. <Cell col="9" text="진료과"/>
  137. <Cell col="10" text="진료의"/>
  138. <Cell col="11" text="입원일"/>
  139. <Cell col="12" text="퇴원일"/>
  140. <Cell col="13" text="재원기간"/>
  141. <Cell col="14" text="청구액"/>
  142. <Cell col="15" text="사고접수번호"/>
  143. <Cell col="16" text="청구일자"/>
  144. </Band>
  145. <Band id="body">
  146. <Cell style="font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:insucd"/>
  147. <Cell col="1" text="bind:insucmpymark" combodataset="ds_init_U0001list" combocodecol="cd" combodatacol="nm"/>
  148. <Cell col="2" text="bind:ioflag"/>
  149. <Cell col="3" text="bind:acptno"/>
  150. <Cell col="4" text="bind:pid"/>
  151. <Cell col="5" text="bind:patnm"/>
  152. <Cell col="6" text="bind:patrrgstno"/>
  153. <Cell col="7" displaytype="expr:getRowLevel(currow) == 1 ? 'normal' : 'date'" text="bind:clamym" mask="expr:getRowLevel(currow) == 1 ? '' : 'yyyy-MM-dd'"/>
  154. <Cell col="8" text="bind:clamdg"/>
  155. <Cell col="9" text="bind:orddeptcd"/>
  156. <Cell col="10" text="bind:orddrid"/>
  157. <Cell col="11" displaytype="expr:getRowLevel(currow) == 1 ? 'normal' : 'date'" text="bind:indd" mask="expr:getRowLevel(currow) == 1 ? '' : 'yyyy-MM-dd'"/>
  158. <Cell col="12" displaytype="expr:getRowLevel(currow) == 1 ? 'textl' : 'date'" style="font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:dschdd" mask="expr:getRowLevel(currow) == 1 ? '' : 'yyyy-MM-dd'"/>
  159. <Cell col="13" style="align:right middle;" text="bind:interm"/>
  160. <Cell col="14" displaytype="number" style="font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:clamamt"/>
  161. <Cell col="15" text="bind:acdacptno"/>
  162. <Cell col="16" displaytype="expr:getRowLevel(currow) == 1 ? 'normal' : 'date'" text="bind:acptdd" mask="expr:getRowLevel(currow) == 1 ? '' : 'yyyy-MM-dd'"/>
  163. </Band>
  164. <Band id="summary">
  165. <Cell/>
  166. <Cell col="1"/>
  167. <Cell col="2"/>
  168. <Cell col="3"/>
  169. <Cell col="4"/>
  170. <Cell col="5"/>
  171. <Cell col="6"/>
  172. <Cell col="7"/>
  173. <Cell col="8"/>
  174. <Cell col="9"/>
  175. <Cell col="10"/>
  176. <Cell col="11"/>
  177. <Cell col="12" style="font:arial,9,bold;" text="총합계"/>
  178. <Cell col="13" displaytype="number" style="font:arial,9,bold;" text="expr:getSum('interm')"/>
  179. <Cell col="14" displaytype="number" style="font:arial,9,bold;" text="expr:getSum('clamamt')" mask="9,999"/>
  180. <Cell col="15"/>
  181. <Cell col="16"/>
  182. </Band>
  183. </Format>
  184. </Formats>
  185. </Grid>
  186. </Layout>
  187. </Layouts>
  188. </Tabpage>
  189. <Tabpage text="월별청구현황" id="case2">
  190. <Layouts>
  191. <Layout>
  192. <Grid position="absolute 1 0 1192 613" id="datagrid2" binddataset="ds_main_list_datagrid2" anchor="default" autofittype="col" cellsizingtype="col">
  193. <Formats>
  194. <Format id="default">
  195. <Columns>
  196. <Column size="80"/>
  197. <Column size="48"/>
  198. <Column size="60"/>
  199. <Column size="72"/>
  200. <Column size="124"/>
  201. <Column size="80"/>
  202. <Column size="66"/>
  203. <Column size="110"/>
  204. </Columns>
  205. <Rows>
  206. <Row size="24" band="head"/>
  207. <Row size="24"/>
  208. <Row size="24" band="summ"/>
  209. </Rows>
  210. <Band id="head">
  211. <Cell text="청구월"/>
  212. <Cell col="1" text="차수"/>
  213. <Cell col="2" text="내원유형"/>
  214. <Cell col="3" text="코드"/>
  215. <Cell col="4" text="손보사"/>
  216. <Cell col="5" text="청구일자"/>
  217. <Cell col="6" text="청구건수"/>
  218. <Cell col="7" text="청구액"/>
  219. </Band>
  220. <Band id="body">
  221. <Cell displaytype="date" text="bind:clamym" mask="yyyy-MM"/>
  222. <Cell col="1" text="bind:clamdg"/>
  223. <Cell col="2" text="bind:ioflag"/>
  224. <Cell col="3" text="bind:insucd"/>
  225. <Cell col="4" text="bind:insucmpymark" combodataset="ds_init_P0155list" combocodecol="cdid" combodatacol="cdnm"/>
  226. <Cell col="5" displaytype="date" text="bind:acptdd" mask="yyyy-MM-dd"/>
  227. <Cell col="6" displaytype="number" text="bind:clamcnt"/>
  228. <Cell col="7" displaytype="number" text="bind:clamamt"/>
  229. </Band>
  230. <Band id="summary">
  231. <Cell/>
  232. <Cell col="1"/>
  233. <Cell col="2"/>
  234. <Cell col="3"/>
  235. <Cell col="4" style="align:left middle;font:arial,9,bold;" text="총합계"/>
  236. <Cell col="5"/>
  237. <Cell col="6" displaytype="number" style="align:right middle;font:arial,9,bold;" text="expr:getSum('clamcnt')"/>
  238. <Cell col="7" displaytype="number" style="align:right middle;font:arial,9,bold;" text="expr:getSum('clamamt')"/>
  239. </Band>
  240. </Format>
  241. </Formats>
  242. </Grid>
  243. <Grid position="absolute 165 70 942 521" id="datagrid4" visible="false" binddataset="ds_main_list_datagrid4" anchor="default" autofittype="col" cellsizingtype="col">
  244. <Formats>
  245. <Format id="default">
  246. <Columns>
  247. <Column size="68"/>
  248. <Column size="80"/>
  249. <Column size="100"/>
  250. <Column size="154"/>
  251. <Column size="80"/>
  252. <Column size="66"/>
  253. <Column size="110"/>
  254. <Column size="108"/>
  255. </Columns>
  256. <Rows>
  257. <Row size="24" band="head"/>
  258. <Row size="24"/>
  259. </Rows>
  260. <Band id="head">
  261. <Cell text="코드"/>
  262. <Cell col="1" text="청구월"/>
  263. <Cell col="2" text="주소"/>
  264. <Cell col="3" text="손보사"/>
  265. <Cell col="4" text="일련번호"/>
  266. <Cell col="5" text="청구건수"/>
  267. <Cell col="6" text="청구액"/>
  268. <Cell col="7" text="청구일자"/>
  269. </Band>
  270. <Band id="body">
  271. <Cell text="bind:insucd"/>
  272. <Cell col="1" displaytype="date" text="bind:clamym" mask="yyyy-MM"/>
  273. <Cell col="2" text="bind:insucmpymarkaddr"/>
  274. <Cell col="3" text="bind:insucmpymark"/>
  275. <Cell col="4" text="bind:seqno"/>
  276. <Cell col="5" displaytype="number" text="bind:clamcnt"/>
  277. <Cell col="6" displaytype="number" text="bind:clamamt"/>
  278. <Cell col="7" displaytype="date" text="bind:acptdd" mask="yyyy-MM-dd"/>
  279. </Band>
  280. </Format>
  281. </Formats>
  282. </Grid>
  283. </Layout>
  284. </Layouts>
  285. </Tabpage>
  286. <Tabpage text="과별청구현황" id="case3">
  287. <Layouts>
  288. <Layout>
  289. <Grid position="absolute 1 0 1192 613" id="datagrid3" binddataset="ds_main_list_datagrid3" anchor="default" autofittype="col" cellsizingtype="col">
  290. <Formats>
  291. <Format id="default">
  292. <Columns>
  293. <Column size="80"/>
  294. <Column size="70"/>
  295. <Column size="68"/>
  296. <Column size="140"/>
  297. <Column size="70"/>
  298. <Column size="110"/>
  299. <Column size="110"/>
  300. </Columns>
  301. <Rows>
  302. <Row size="24" band="head"/>
  303. <Row size="24"/>
  304. <Row size="24" band="summ"/>
  305. </Rows>
  306. <Band id="head">
  307. <Cell text="청구월"/>
  308. <Cell col="1" text="청구차수"/>
  309. <Cell col="2" text="내원유형"/>
  310. <Cell col="3" text="진료과"/>
  311. <Cell col="4" text="청구건수"/>
  312. <Cell col="5" text="청구액"/>
  313. <Cell col="6" text="건당평균진료비"/>
  314. </Band>
  315. <Band id="body">
  316. <Cell text="bind:clamym"/>
  317. <Cell col="1" text="bind:clamdg"/>
  318. <Cell col="2" text="bind:ioflag"/>
  319. <Cell col="3" text="bind:orddeptcd"/>
  320. <Cell col="4" displaytype="number" text="bind:clamcnt"/>
  321. <Cell col="5" displaytype="number" text="bind:clamamt"/>
  322. <Cell col="6" displaytype="number" text="bind:avgordamt" expr="expr:Math.floor(avgordamt)"/>
  323. </Band>
  324. <Band id="summary">
  325. <Cell/>
  326. <Cell col="1"/>
  327. <Cell col="2"/>
  328. <Cell col="3" style="align:left middle;font:arial,9,bold;" text="총합계"/>
  329. <Cell col="4" displaytype="number" style="align:right middle;font:arial,9,bold;" text="expr:getSum('clamcnt')"/>
  330. <Cell col="5" displaytype="number" style="align:right middle;font:arial,9,bold;" text="expr:getSum('clamamt')"/>
  331. <Cell col="6"/>
  332. </Band>
  333. </Format>
  334. </Formats>
  335. </Grid>
  336. </Layout>
  337. </Layouts>
  338. </Tabpage>
  339. </Tabpages>
  340. </Tab>
  341. <Button position="absolute 489 85 542 104" id="button10" class="btn2" visible="false" text="열카피" anchor="default"/>
  342. <Button position="absolute 543 85 596 104" id="button11" class="btn2" visible="false" text="행카피" anchor="default"/>
  343. <Button position="absolute 1115 85 1195 104" id="button12" class="btn7" text="엑셀저장" anchor="default" onclick="grp_biz_button12_onclick"/>
  344. <Button position="absolute 435 85 488 104" id="button13" class="btn2" visible="false" text="셀카피" anchor="default"/>
  345. <Button position="absolute 936 85 1063 104" id="btn_carlist" class="btn7" visible="false" text="자보명단 액셀저장" anchor="default" onclick="grp_biz_btn_carlist_onclick"/>
  346. <Button position="absolute 771 85 935 104" id="btn_insulist" class="btn7" visible="false" text="손보사별청구액 엑셀저장" anchor="default" onclick="grp_biz_btn_insulist_onclick"/>
  347. <Edit position="absolute 690 85 768 104" id="ipt_seqno" class="input_search" visible="false" anchor="default"/>
  348. <Static text="일련번호 :" position="absolute 627 87 687 104" id="cap_seqno" anchor="default"/>
  349. <Button position="absolute 1064 85 1114 104" id="button2" class="btn6" text="출력" anchor="default" onclick="grp_biz_button2_onclick"/>
  350. </Layout>
  351. </Layouts>
  352. </Div>
  353. <Div position="absolute 0 729 1195 765" id="group1" scrollbars="autoboth">
  354. <Layouts>
  355. <Layout>
  356. <Button position="absolute 1137 8 1193 30" id="button45" class="btn4" text="닫기" anchor="default" onclick="group1_button45_onclick"/>
  357. </Layout>
  358. </Layouts>
  359. </Div>
  360. <Static id="caption6" text="청구현황(자보)" class="tit_1" position="absolute 1 0 249 23"/>
  361. </Layout>
  362. </Layouts>
  363. <Objects>
  364. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  365. <ColumnInfo>
  366. <Column id="termflag" type="STRING" size="256"/>
  367. <Column id="fromdd" type="STRING" size="256"/>
  368. <Column id="clamdgfrom" type="STRING" size="256"/>
  369. <Column id="todd" type="STRING" size="256"/>
  370. <Column id="clamdgto" type="STRING" size="256"/>
  371. <Column id="clamflag" type="STRING" size="256"/>
  372. <Column id="ioflag" type="STRING" size="256"/>
  373. <Column id="certno" type="STRING" size="256"/>
  374. <Column id="endyn" type="STRING" size="256"/>
  375. <Column id="patunitsrch1" type="STRING" size="256"/>
  376. <Column id="patunitsrch2" type="STRING" size="256"/>
  377. <Column id="acdacptno" type="STRING" size="256"/>
  378. <Column id="insukind" type="STRING" size="256"/>
  379. <Column id="clamym" type="STRING" size="256"/>
  380. </ColumnInfo>
  381. <Rows>
  382. <Row>
  383. <Col id="termflag">B</Col>
  384. <Col id="ioflag">A</Col>
  385. <Col id="endyn">A</Col>
  386. </Row>
  387. </Rows>
  388. </Dataset>
  389. <Dataset id="ds_hidden_excel" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  390. <ColumnInfo>
  391. <Column id="seqno" type="STRING" size="256"/>
  392. <Column id="printno" type="STRING" size="256"/>
  393. </ColumnInfo>
  394. <Rows>
  395. <Row>
  396. <Col id="seqno"/>
  397. </Row>
  398. </Rows>
  399. </Dataset>
  400. <Dataset id="ds_main_list_datagrid1" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  401. <ColumnInfo>
  402. <Column id="insucd" type="STRING" size="256" sumtext="손보사코드" prop="KEY"/>
  403. <Column id="insucmpymark" type="STRING" size="256" sumtext="손보사id"/>
  404. <Column id="acptdd" type="STRING" size="256" sumtext="접수일자"/>
  405. <Column id="ioflag" type="STRING" size="256" sumtext="내원유형"/>
  406. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  407. <Column id="patnm" type="STRING" size="256" sumtext="수진자명"/>
  408. <Column id="patrrgstno" type="STRING" size="256" sumtext="주민번호"/>
  409. <Column id="clamym" type="STRING" size="256" sumtext="청구년월"/>
  410. <Column id="clamdg" type="STRING" size="256" sumtext="청구차수"/>
  411. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
  412. <Column id="orddrid" type="STRING" size="256" sumtext="진료과"/>
  413. <Column id="indd" type="STRING" size="256" sumtext="입원일"/>
  414. <Column id="dschdd" type="STRING" size="256" sumtext="기관별소계" prop="TEXT"/>
  415. <Column id="interm" type="STRING" size="256" sumtext="재원기간"/>
  416. <Column id="acdacptno" type="STRING" size="256" sumtext="사고접수번호"/>
  417. <Column id="clamamt" type="BIGDECIMAL" size="256" sumtext="청구액"/>
  418. <Column id="acptno" type="STRING" size="256" sumtext="접수번호"/>
  419. </ColumnInfo>
  420. </Dataset>
  421. <Dataset id="ds_main_list_datagrid2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  422. <ColumnInfo>
  423. <Column id="clamym" type="STRING" size="256" sumtext="청구년월"/>
  424. <Column id="uncoym" type="STRING" size="256" sumtext="미수년월"/>
  425. <Column id="ioflag" type="STRING" size="256" sumtext="내원유형"/>
  426. <Column id="insucd" type="STRING" size="256" sumtext="손보사코드"/>
  427. <Column id="insucmpymark" type="STRING" size="256" sumtext="손보사id"/>
  428. <Column id="insucmpymarkaddr" type="STRING" size="256" sumtext="손보사주소"/>
  429. <Column id="ordym" type="STRING" size="256" sumtext="진료과"/>
  430. <Column id="clamdg" type="STRING" size="256" sumtext="청구차수"/>
  431. <Column id="clamflagcd" type="STRING" size="256" sumtext="청구형태"/>
  432. <Column id="acptdd" type="STRING" size="256" sumtext="접수일자"/>
  433. <Column id="acptno" type="STRING" size="256" sumtext="접수번호"/>
  434. <Column id="clamcnt" type="STRING" size="256" sumtext="청구건수"/>
  435. <Column id="clamamt" type="STRING" size="256" sumtext="청구금액"/>
  436. </ColumnInfo>
  437. </Dataset>
  438. <Dataset id="ds_main_list_datagrid3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  439. <ColumnInfo>
  440. <Column id="clamym" type="STRING" size="256" sumtext="청구년월"/>
  441. <Column id="uncoym" type="STRING" size="256" sumtext="미수년월"/>
  442. <Column id="clamdg" type="STRING" size="256" sumtext="청구차수"/>
  443. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
  444. <Column id="ioflag" type="STRING" size="256" sumtext="내원유형"/>
  445. <Column id="clamcnt" type="STRING" size="256" sumtext="청구건수"/>
  446. <Column id="clamamt" type="STRING" size="256" sumtext="청구금액"/>
  447. <Column id="avgordamt" type="STRING" size="256" sumtext="건당평균진료비"/>
  448. </ColumnInfo>
  449. </Dataset>
  450. <Dataset id="ds_main_list_datagrid4" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  451. <ColumnInfo>
  452. <Column id="insucd" type="STRING" size="256" sumtext="손보사코드"/>
  453. <Column id="clamym" type="STRING" size="256" sumtext="청구년월"/>
  454. <Column id="insucmpymarkaddr" type="STRING" size="256" sumtext="손보사주소"/>
  455. <Column id="insucmpymark" type="STRING" size="256" sumtext="손보사id"/>
  456. <Column id="seqno" type="STRING" size="256" sumtext="진료과"/>
  457. <Column id="acptno" type="STRING" size="256" sumtext="접수번호"/>
  458. <Column id="clamcnt" type="STRING" size="256" sumtext="청구건수"/>
  459. <Column id="clamamt" type="STRING" size="256" sumtext="청구금액"/>
  460. <Column id="acptdd" type="STRING" size="256" sumtext="접수일자"/>
  461. </ColumnInfo>
  462. </Dataset>
  463. <Dataset id="ds_init_P0028list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  464. <Dataset id="ds_init_P0155list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  465. <ColumnInfo>
  466. <Column id="cdnm" type="STRING" size="256"/>
  467. <Column id="cdid" type="STRING" size="256"/>
  468. </ColumnInfo>
  469. </Dataset>
  470. <Dataset id="ds_init_clamdgfrom_clamdglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  471. <ColumnInfo>
  472. <Column id="clamdgnm" type="STRING" size="256"/>
  473. <Column id="clamdgcd" type="STRING" size="256"/>
  474. </ColumnInfo>
  475. </Dataset>
  476. <Dataset id="ds_init_clamdgto_clamdglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  477. <ColumnInfo>
  478. <Column id="clamdgnm" type="STRING" size="256"/>
  479. <Column id="clamdgcd" type="STRING" size="256"/>
  480. </ColumnInfo>
  481. </Dataset>
  482. <Dataset id="ds_init_U0001list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  483. <ColumnInfo>
  484. <Column id="cd" type="STRING" size="256"/>
  485. <Column id="nm" type="STRING" size="256"/>
  486. </ColumnInfo>
  487. </Dataset>
  488. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  489. <ColumnInfo>
  490. <Column id="ioflag" type="STRING" size="256"/>
  491. <Column id="insuno" type="STRING" size="256"/>
  492. <Column id="fromdd" type="STRING" size="256"/>
  493. <Column id="todd" type="STRING" size="256"/>
  494. <Column id="termflag" type="STRING" size="256"/>
  495. </ColumnInfo>
  496. </Dataset>
  497. <Dataset id="ds_tmp_datagrid1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  498. <ColumnInfo>
  499. <Column id="insucd" type="STRING" size="256" sumtext="손보사코드" prop="KEY"/>
  500. <Column id="insucmpymark" type="STRING" size="256" sumtext="손보사id"/>
  501. <Column id="acptdd" type="STRING" size="256" sumtext="접수일자"/>
  502. <Column id="ioflag" type="STRING" size="256" sumtext="내원유형"/>
  503. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  504. <Column id="patnm" type="STRING" size="256" sumtext="수진자명"/>
  505. <Column id="patrrgstno" type="STRING" size="256" sumtext="주민번호"/>
  506. <Column id="clamym" type="STRING" size="256" sumtext="청구년월"/>
  507. <Column id="clamdg" type="STRING" size="256" sumtext="청구차수"/>
  508. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
  509. <Column id="orddrid" type="STRING" size="256" sumtext="진료과"/>
  510. <Column id="indd" type="STRING" size="256" sumtext="입원일"/>
  511. <Column id="dschdd" type="STRING" size="256" sumtext="기관별소계" prop="TEXT"/>
  512. <Column id="interm" type="STRING" size="256" sumtext="재원기간"/>
  513. <Column id="acdacptno" type="STRING" size="256" sumtext="사고접수번호"/>
  514. <Column id="clamamt" type="BIGDECIMAL" size="256" sumtext="청구액"/>
  515. <Column id="acptno" type="STRING" size="256" sumtext="접수번호"/>
  516. </ColumnInfo>
  517. </Dataset>
  518. </Objects>
  519. <Bind>
  520. <BindItem id="item0" compid="grp_biz.grp_sea.radio2" propid="value" datasetid="ds_send" columnid="termflag"/>
  521. <BindItem id="item1" compid="grp_biz.grp_sea.ipt_fromdd" propid="value" datasetid="ds_send" columnid="fromdd"/>
  522. <BindItem id="item2" compid="grp_biz.grp_sea.cmb_clamdgfrom" propid="value" datasetid="ds_send" columnid="clamdgfrom"/>
  523. <BindItem id="item3" compid="grp_biz.grp_sea.ipt_todd" propid="value" datasetid="ds_send" columnid="todd"/>
  524. <BindItem id="item4" compid="grp_biz.grp_sea.cmb_clamdgto" propid="value" datasetid="ds_send" columnid="clamdgto"/>
  525. <BindItem id="item5" compid="grp_biz.grp_sea.cmb_clamtype" propid="value" datasetid="ds_send" columnid="clamflag"/>
  526. <BindItem id="item6" compid="grp_biz.grp_sea.radio1" propid="value" datasetid="ds_send" columnid="ioflag"/>
  527. <BindItem id="item7" compid="grp_biz.grp_sea.rdo_endyn" propid="value" datasetid="ds_send" columnid="endyn"/>
  528. <BindItem id="item8" compid="grp_biz.grp_sea.cmb_insucmpymark" propid="value" datasetid="ds_send" columnid="certno"/>
  529. <BindItem id="item9" compid="grp_biz.grp_sea.input11" propid="value" datasetid="ds_send" columnid="acdacptno"/>
  530. <BindItem id="item10" compid="grp_biz.ipt_seqno" propid="value" datasetid="ds_hidden_excel" columnid="seqno"/>
  531. </Bind>
  532. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  533. * System Name :
  534. * Job Name :
  535. * Creator :
  536. * Make Date : 2016-05-24
  537. * Description :
  538. *---------------------------------------------------------------------------------------
  539. * Modify Date Modifier Modify Description
  540. *---------------------------------------------------------------------------------------
  541. * 2016-05-24 Live Converter TF->XP
  542. *
  543. *---------------------------------------------------------------------------------------
  544. ****************************************************************************************/
  545. include "com_commonxp::comm_main.xjs";
  546. include "pam_pamcomnxp::PAM001.xjs";
  547. include "pam_pamcomnxp::PAM.xjs";
  548. function SMPIF71200_oninit(obj:Form, e:InitEventInfo)
  549. {
  550. frmf_initForm(obj);
  551. }
  552. function SMPIF71200_onload(obj:Form, e:LoadEventInfo)
  553. {
  554. grdf_initGrid(grp_biz.switch1.case1.datagrid1);
  555. grdf_initGrid(grp_biz.switch1.case2.datagrid2);
  556. grdf_initGrid(grp_biz.switch1.case3.datagrid3);
  557. CommCode_Load();
  558. if (frmf_checkOpener())
  559. {
  560. ds_temp.copyData(arg_ds_send);
  561. ds_send.setColumn(0, "fromdd", ds_temp.getColumn(0, "fromdd"));
  562. ds_send.setColumn(0, "todd", ds_temp.getColumn(0, "todd"));
  563. ds_send.setColumn(0, "termflag", ds_temp.getColumn(0, "termflag"));
  564. }
  565. else
  566. {
  567. ds_send.setColumn(0, "fromdd", String(utlf_getCurrentDate()).substr(0,6));
  568. ds_send.setColumn(0, "todd", String(utlf_getCurrentDate()).substr(0,6));
  569. }
  570. fGetClamdg();
  571. }
  572. function CommCode_Load()
  573. {
  574. var arrParam = [ {dsNm: "ds_init_P0028list", cdGrpId: "P0028"}
  575. ,{dsNm: "ds_init_P0155list", cdGrpId: "P0155"}]
  576. appf_getCodeList(arrParam);
  577. ds_init_P0155list.insertRow(0);
  578. var oParam = {};
  579. oParam.id = "TRPIF70305";
  580. oParam.service = "clamuncoapp.ClamUnco";
  581. oParam.method = "reqGetInsuComp";
  582. oParam.inds = "";
  583. oParam.outds = "ds_init_U0001list=U0001";
  584. oParam.async = false;
  585. //oParam.callback = "cf_TRPIF70305";
  586. tranf_submit(oParam);
  587. frmf_addComboItem("grp_biz.grp_sea.cmb_insucmpymark","전체","","above");
  588. ds_send.setColumn(0, "certno", "");
  589. }
  590. function fGetClamdg()
  591. {
  592. var check = ds_send.getColumn(0, "termflag");
  593. if(ds_send.getColumn(0, "fromdd") > ds_send.getColumn(0, "todd"))
  594. {
  595. sysf_messageBox("종료일은 시작일보다 클 수 ", "I004");
  596. ds_send.setColumn(0, "todd", "");
  597. }
  598. if(check == "B")
  599. {
  600. if(!utlf_isNull(ds_send.getColumn(0, "fromdd")) || !utlf_isNull(ds_send.getColumn(0, "todd")))
  601. {
  602. ds_send.setColumn(0, "clamym", ds_send.getColumn(0, "fromdd"));
  603. ds_send.setColumn(0, "insukind", "31");
  604. var oParam = {};
  605. oParam.id = "TRPID20407";
  606. oParam.service = "aftjudgapp.InAftJudgTrgtMan";
  607. oParam.method = "reqGetClamdg";
  608. oParam.inds = "req=ds_send";
  609. oParam.outds = "ds_init_clamdgfrom_clamdglist=clamdg";
  610. oParam.async = false;
  611. //oParam.callback = "cf_TRPID20407";
  612. tranf_submit(oParam);
  613. ds_send.setColumn(0, "clamym", ds_send.getColumn(0, "todd"));
  614. ds_send.setColumn(0, "insukind", "31");
  615. var oParam = {};
  616. oParam.id = "TRPID20407";
  617. oParam.service = "aftjudgapp.InAftJudgTrgtMan";
  618. oParam.method = "reqGetClamdg";
  619. oParam.inds = "req=ds_send";
  620. oParam.outds = "ds_init_clamdgto_clamdglist=clamdg";
  621. oParam.async = false;
  622. //oParam.callback = "cf_TRPID20407";
  623. tranf_submit(oParam);
  624. frmf_addComboItem("grp_biz.grp_sea.cmb_clamdgfrom","전체","","above");
  625. frmf_addComboItem("grp_biz.grp_sea.cmb_clamdgto","전체","","above");
  626. }
  627. }
  628. grp_biz.grp_sea.cmb_clamdgfrom.index = 0;
  629. grp_biz.grp_sea.cmb_clamdgto.index = 0;
  630. }
  631. function grp_biz_grp_sea_radio2_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  632. {
  633. if(ds_send.getColumn(0, "termflag") != "C")
  634. {
  635. ds_send.setColumn(0, "fromdd", "");
  636. ds_send.setColumn(0, "todd", "");
  637. grp_biz.grp_sea.ipt_fromdd.dateformat = "yyyy-MM";
  638. grp_biz.grp_sea.ipt_fromdd.editformat = "yyyy-MM";
  639. grp_biz.grp_sea.ipt_todd.dateformat = "yyyy-MM";
  640. grp_biz.grp_sea.ipt_todd.editformat = "yyyy-MM";
  641. }
  642. else
  643. {
  644. ds_send.setColumn(0, "fromdd", "");
  645. ds_send.setColumn(0, "todd", "");
  646. grp_biz.grp_sea.ipt_fromdd.dateformat = "yyyy-MM-dd";
  647. grp_biz.grp_sea.ipt_fromdd.editformat = "yyyy-MM-dd";
  648. grp_biz.grp_sea.ipt_todd.dateformat = "yyyy-MM-dd";
  649. grp_biz.grp_sea.ipt_todd.editformat = "yyyy-MM-dd";
  650. }
  651. if(ds_send.getColumn(0, "termflag") == "B")
  652. {
  653. grp_biz.grp_sea.cmb_clamdgfrom.enable = true;
  654. grp_biz.grp_sea.cmb_clamdgto.enable = true;
  655. grp_biz.grp_sea.cmb_clamdgfrom.index = 0;
  656. grp_biz.grp_sea.cmb_clamdgto.index = 0;
  657. }
  658. else
  659. {
  660. ds_send.setColumn(0, "clamdgfrom", "");
  661. ds_send.setColumn(0, "clamdgto", "");
  662. grp_biz.grp_sea.cmb_clamdgfrom.enable = false;
  663. grp_biz.grp_sea.cmb_clamdgto.enable = false;
  664. }
  665. }
  666. function grp_biz_grp_sea_ipt_fromdd_onchanged(obj:Calendar, e:ChangeEventInfo)
  667. {
  668. var date = obj.value;
  669. if(ds_send.getColumn(0, "termflag") == "B")
  670. {
  671. ds_send.setColumn(0, "fromdd", String(date).substr(0,6));
  672. ds_send.setColumn(0, "todd", String(date).substr(0,6));
  673. }
  674. else
  675. {
  676. ds_send.setColumn(0, "fromdd", date);
  677. ds_send.setColumn(0, "todd", date);
  678. }
  679. fGetClamdg();
  680. }
  681. function grp_biz_grp_sea_cmb_clamdgfrom_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  682. {
  683. ds_send.setColumn(0, "clamdgto", obj.value);
  684. }
  685. function grp_biz_grp_sea_ipt_todd_onkillfocus(obj:Calendar, e:KillFocusEventInfo)
  686. {
  687. fGetClamdg();
  688. }
  689. function grp_biz_grp_sea_button1_onclick(obj:Button, e:ClickEventInfo)
  690. {
  691. var oParam = {};
  692. oParam.id = "TRPIF71201";
  693. oParam.service = "clamuncoapp.ClamUnco";
  694. oParam.method = "reqGetClamStatAutmbInsu";
  695. oParam.inds = "req=ds_send";
  696. oParam.outds = "ds_main_list_datagrid1=datagrid1 ds_main_list_datagrid2=datagrid2 ds_main_list_datagrid3=datagrid3 ds_main_list_datagrid4=datagrid4";
  697. oParam.async = false;
  698. //oParam.callback = "cf_TRPIF71201";
  699. tranf_submit(oParam);
  700. ds_main_list_datagrid1.keystring = "G:insucd";
  701. }
  702. function grp_biz_switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
  703. {
  704. if(obj.tabindex == 0)
  705. {
  706. grp_biz.btn_carlist.visible = true;
  707. grp_biz.cap_seqno.visible = false;
  708. grp_biz.ipt_seqno.visible = false;
  709. grp_biz.btn_insulist.visible = false;
  710. }
  711. else if(obj.tabindex == 1)
  712. {
  713. grp_biz.btn_carlist.visible = false;
  714. grp_biz.cap_seqno.visible = true;
  715. grp_biz.ipt_seqno.visible = true;
  716. grp_biz.btn_insulist.visible = true;
  717. }
  718. else if(obj.tabindex == 2)
  719. {
  720. grp_biz.btn_carlist.visible = false;
  721. grp_biz.cap_seqno.visible = false;
  722. grp_biz.ipt_seqno.visible = false;
  723. grp_biz.btn_insulist.visible = false;
  724. }
  725. }
  726. function grp_biz_btn_insulist_onclick(obj:Button, e:ClickEventInfo)
  727. {
  728. if (utlf_isNull(ds_hidden_excel.getColumn(0, "seqno")))
  729. {
  730. alert("일련번호를 입력하세요");
  731. grp_biz.ipt_seqno.setFocus();
  732. return false;
  733. }
  734. else
  735. {
  736. for(var i = 0; i < ds_main_list_datagrid4.rowcount; i++)
  737. {
  738. ds_main_list_datagrid4.setColumn(i, "seqno", ds_hidden_excel.getColumn(0, "seqno"));
  739. }
  740. }
  741. if(ds_main_list_datagrid4.rowcount == 0)
  742. {
  743. sysf_messageBox("엑셀저장할 내역이", "I004");
  744. }
  745. else
  746. {
  747. grdf_exportExcel(grp_biz.switch1.case2.datagrid4, "손보사별청구현황", "see");
  748. }
  749. }
  750. function grp_biz_btn_carlist_onclick(obj:Button, e:ClickEventInfo)
  751. {
  752. for(var i = 0; i < ds_main_list_datagrid1.rowcount; i++)
  753. {
  754. if(utlf_isNull(ds_main_list_datagrid1.getColumn(i, "pid")))
  755. {
  756. grp_biz.switch1.case1.datagrid1.setFormatRowProperty(i, "size", 0); //datagrid1.rowHidden(i) = true;
  757. }
  758. }
  759. if(ds_main_list_datagrid1.rowcount == 0)
  760. {
  761. sysf_messageBox("엑셀저장할 내역이", "I004");
  762. }
  763. else
  764. {
  765. grdf_exportExcel(grp_biz.switch1.case1.datagrid1, "자동차보험청구명단", "see");
  766. }
  767. for(var i = 0; i < ds_main_list_datagrid1.rowcount; i++)
  768. {
  769. var rowhidden = grp_biz.switch1.case1.datagrid1.getFormatRowProperty(i, "size");
  770. if(rowhidden == 0)
  771. {
  772. grp_biz.switch1.case1.datagrid1.setFormatRowProperty(i, "size", 24); //datagrid1.rowHidden(i) = false;
  773. }
  774. }
  775. }
  776. function grp_biz_button2_onclick(obj:Button, e:ClickEventInfo)
  777. {
  778. if(grp_biz.switch1.tabindex == 0)
  779. {
  780. ds_tmp_datagrid1.clearData();
  781. for(var i = 0; i < ds_main_list_datagrid1.rowcount; i++)
  782. {
  783. if(ds_main_list_datagrid1.getColumn(i, "dschdd") != "기관별소계")
  784. {
  785. var row = ds_tmp_datagrid1.addRow();
  786. ds_tmp_datagrid1.copyRow(row, ds_main_list_datagrid1, i);
  787. }
  788. }
  789. var objDOM = rptf_createDOM(); // DOM 객체 설정
  790. rptf_setNodeListToDOM(objDOM, "/root/main/list/datagrid1", ds_tmp_datagrid1);
  791. var objParam = new Object();
  792. objParam.xml_data_XML1 = objDOM.documentElement.source;
  793. var option =// "open=1;save=1;directprint=0;printdialog=0;print=1;zoom=0;";
  794. rptf_exeReportPreview30(["RPPIF71200"],[objParam], option);
  795. }
  796. else if(grp_biz.switch1.tabindex == 1)
  797. {
  798. var objDOM = rptf_createDOM(); // DOM 객체 설정
  799. rptf_setNodeListToDOM(objDOM, "/root/main/list/datagrid2", ds_main_list_datagrid2);
  800. rptf_setNodeListToDOM(objDOM, "/root/hidden/excel", ds_hidden_excel);
  801. var objParam = new Object();
  802. objParam.xml_data_XML1 = objDOM.documentElement.source;
  803. var option =// "open=1;save=1;directprint=0;printdialog=0;print=1;zoom=0;";
  804. rptf_exeReportPreview30(["RPPIF80300"],[objParam], option);
  805. }
  806. }
  807. function grp_biz_button12_onclick(obj:Button, e:ClickEventInfo)
  808. {
  809. if(grp_biz.switch1.tabindex == 0)
  810. {
  811. if(ds_main_list_datagrid1.rowcount == 0)
  812. {
  813. sysf_messageBox("엑셀저장할 내역이", "I004");
  814. }
  815. else
  816. {
  817. grdf_exportExcel(grp_biz.switch1.case1.datagrid1, "청구현황_손보사별청구현황", "see");
  818. }
  819. }
  820. else if(grp_biz.switch1.tabindex == 1)
  821. {
  822. if(ds_main_list_datagrid2.rowcount == 0)
  823. {
  824. sysf_messageBox("엑셀저장할 내역이", "I004");
  825. }
  826. else
  827. {
  828. grdf_exportExcel(grp_biz.switch1.case2.datagrid2, "청구현황_월별청구현황", "see");
  829. }
  830. }
  831. else if(grp_biz.switch1.tabindex == 2)
  832. {
  833. if(ds_main_list_datagrid3.rowcount == 0)
  834. {
  835. sysf_messageBox("엑셀저장할 내역이", "I004");
  836. }
  837. else
  838. {
  839. grdf_exportExcel(grp_biz.switch1.case3.datagrid3, "청구현황_과별청구현황", "see");
  840. }
  841. }
  842. }
  843. function group1_button45_onclick(obj:Button, e:ClickEventInfo)
  844. {
  845. this.close();
  846. }
  847. ]]></Script>
  848. </Form>
  849. </FDL>