SMPIF72200_진료비총집계표(자보).xfdl 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMPIF72200" position="absolute 0 0 1208 762" titletext="진료비총집계표(자보)" oninit="SMPIF72200_oninit" onload="SMPIF72200_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 1 13 1196 733" id="grp_biz" scrollbars="autoboth" anchor="all">
  8. <Layouts>
  9. <Layout>
  10. <Div position="absolute 0 11 1194 46" align="align:center top;" id="grp_sea" class="div_SA" anchor="left top right">
  11. <Layouts>
  12. <Layout>
  13. <Button position="absolute 1118 7 1174 29" id="button1" class="btn1" text="조회" anchor="top right" onclick="grp_biz_grp_sea_button1_onclick"/>
  14. <Shape position="absolute 1090 8 1096 30" linetype="vertical" id="line13" class="line_4" anchor="top right"/>
  15. <Calendar position="absolute 87 8 172 27" 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"/>
  16. <Radio position="absolute 695 6 840 29" 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 612 10 698 27" id="caption7" class="search_name" anchor="default"/>
  39. <Static text="손 보 사 :" position="absolute 868 10 955 27" id="caption8" class="search_name" visible="true" anchor="default"/>
  40. <Combo position="absolute 946 8 1062 27" id="cmb_insucmpymark" class="combo_search" visible="true" innerdataset="@ds_init_U0001list" datacolumn="nm" codecolumn="cd" anchor="default"/>
  41. <Radio position="absolute 990 0 1155 20" 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 885 0 1001 17" id="caption11" class="search_name" visible="false" anchor="default"/>
  64. <Static text="청구월 :" position="absolute 14 9 87 26" id="caption13" class="search_name" anchor="default"/>
  65. <Combo position="absolute 173 8 231 27" 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"/>
  66. <Combo position="absolute 498 7 591 26" id="cmb_clamtype" class="combo_search" innerdataset="@ds_init_P0155list" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
  67. <Static text="청구구분 :" position="absolute 415 9 508 26" id="caption14" class="search_name" anchor="default"/>
  68. <Combo position="absolute 335 8 393 27" id="cmb_clamdgto" class="combo_search" innerdataset="@ds_init_clamdgto_clamdglist" datacolumn="clamdgnm" codecolumn="clamdgcd" anchor="default"/>
  69. <Static text="~" position="absolute 235 9 250 29" id="caption3" anchor="default"/>
  70. <Calendar position="absolute 249 8 334 27" id="ipt_todd" class="input_search" mask="yyyy-mm" anchor="default" dateformat="yyyy-MM" value="null" editformat="yyyy-MM" type="normal" onchanged="grp_biz_grp_sea_ipt_todd_onchanged"/>
  71. </Layout>
  72. </Layouts>
  73. </Div>
  74. <Tab position="absolute 0 53 1194 717" id="switch1" class="sw_box" anchor="all">
  75. <Tabpages>
  76. <Tabpage text="월별 진료비 총집계표" id="case1">
  77. <Layouts>
  78. <Layout>
  79. <Grid position="absolute 0 0 1190 636" id="datagrid1" binddataset="ds_main_list_datagrid1" anchor="all" autofittype="col" cellsizingtype="col">
  80. <Formats>
  81. <Format id="default">
  82. <Columns>
  83. <Column size="150"/>
  84. <Column size="80"/>
  85. <Column size="120"/>
  86. <Column size="120"/>
  87. <Column size="120"/>
  88. <Column size="120"/>
  89. <Column size="120"/>
  90. </Columns>
  91. <Rows>
  92. <Row size="24" band="head"/>
  93. <Row size="24"/>
  94. <Row size="24" band="summ"/>
  95. </Rows>
  96. <Band id="head">
  97. <Cell text="손보사"/>
  98. <Cell col="1" text="청구월"/>
  99. <Cell col="2" text="청구액"/>
  100. <Cell col="3" text="입금액"/>
  101. <Cell col="4" text="1차삭감액"/>
  102. <Cell col="5" text="현삭감액"/>
  103. <Cell col="6" text="미수액"/>
  104. </Band>
  105. <Band id="body">
  106. <Cell displaytype="expr:getRowLevel(currow) == 1 ? 'text' : 'normal'" style="align:left middle;font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:insucmpymark"/>
  107. <Cell col="1" displaytype="expr:getRowLevel(currow) == 1 ? 'normal' : 'date'" text="bind:clamym" mask="expr:getRowLevel(currow) == 1 ? '' : 'yyyy-MM'"/>
  108. <Cell col="2" displaytype="number" style="font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:clamamt"/>
  109. <Cell col="3" displaytype="number" style="font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:depoamt"/>
  110. <Cell col="4" displaytype="number" style="font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:fstcutamt"/>
  111. <Cell col="5" displaytype="number" style="font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:orgcutamt"/>
  112. <Cell col="6" displaytype="number" style="font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:uncoamt"/>
  113. </Band>
  114. <Band id="summary">
  115. <Cell style="align:left middle;font:arial,9,bold;" text="총합계"/>
  116. <Cell col="1"/>
  117. <Cell col="2" displaytype="number" style="align:right middle;font:arial,9,bold;" text="expr:getSum('clamamt')"/>
  118. <Cell col="3" displaytype="number" style="align:right middle;font:arial,9,bold;" text="expr:getSum('depoamt')"/>
  119. <Cell col="4" displaytype="number" style="align:right middle;font:arial,9,bold;" text="expr:getSum('fstcutamt')"/>
  120. <Cell col="5" displaytype="number" style="align:right middle;font:arial,9,bold;" text="expr:getSum('orgcutamt')"/>
  121. <Cell col="6" displaytype="number" style="align:right middle;font:arial,9,bold;" text="expr:getSum('uncoamt')"/>
  122. </Band>
  123. </Format>
  124. </Formats>
  125. </Grid>
  126. </Layout>
  127. </Layouts>
  128. </Tabpage>
  129. <Tabpage text="손보사별 진료비 총집계표" id="case2">
  130. <Layouts>
  131. <Layout>
  132. <Grid position="absolute 0 0 1190 636" id="datagrid2" binddataset="ds_main_list_datagrid2" anchor="all" autofittype="col" cellsizingtype="col">
  133. <Formats>
  134. <Format id="default">
  135. <Columns>
  136. <Column size="150"/>
  137. <Column size="120"/>
  138. <Column size="120"/>
  139. <Column size="120"/>
  140. <Column size="120"/>
  141. <Column size="120"/>
  142. </Columns>
  143. <Rows>
  144. <Row size="24" band="head"/>
  145. <Row size="24"/>
  146. <Row size="24" band="summ"/>
  147. </Rows>
  148. <Band id="head">
  149. <Cell text="손보사"/>
  150. <Cell col="1" text="청구액"/>
  151. <Cell col="2" text="입금액"/>
  152. <Cell col="3" text="1차삭감액"/>
  153. <Cell col="4" text="현삭감액"/>
  154. <Cell col="5" text="미수액"/>
  155. </Band>
  156. <Band id="body">
  157. <Cell style="align:left middle;" text="bind:insucmpymark"/>
  158. <Cell col="1" displaytype="number" text="bind:clamamt"/>
  159. <Cell col="2" displaytype="number" text="bind:depoamt"/>
  160. <Cell col="3" displaytype="number" text="bind:fstcutamt"/>
  161. <Cell col="4" displaytype="number" text="bind:orgcutamt"/>
  162. <Cell col="5" displaytype="number" text="bind:uncoamt"/>
  163. </Band>
  164. <Band id="summary">
  165. <Cell style="align:left middle;font:arial,9,bold;" text="총합계"/>
  166. <Cell col="1" displaytype="number" style="align:right middle;font:arial,9,bold;" text="expr:getSum('clamamt')"/>
  167. <Cell col="2" displaytype="number" style="align:right middle;font:arial,9,bold;" text="expr:getSum('depoamt')"/>
  168. <Cell col="3" displaytype="number" style="align:right middle;font:arial,9,bold;" text="expr:getSum('fstcutamt')"/>
  169. <Cell col="4" displaytype="number" style="align:right middle;font:arial,9,bold;" text="expr:getSum('orgcutamt')"/>
  170. <Cell col="5" displaytype="number" style="align:right middle;font:arial,9,bold;" text="expr:getSum('uncoamt')"/>
  171. </Band>
  172. </Format>
  173. </Formats>
  174. </Grid>
  175. </Layout>
  176. </Layouts>
  177. </Tabpage>
  178. </Tabpages>
  179. </Tab>
  180. <Button position="absolute 1113 55 1193 74" id="button12" class="btn7" text="엑셀저장" anchor="top right" onclick="grp_biz_button12_onclick"/>
  181. <Button position="absolute 1062 55 1112 74" id="button2" class="btn6" text="출력" anchor="top right" onclick="grp_biz_button2_onclick"/>
  182. </Layout>
  183. </Layouts>
  184. </Div>
  185. <Div position="absolute 0 757 1195 784" id="grp_btn"/>
  186. <Div position="absolute 0 728 1195 756" id="group1" scrollbars="autoboth" anchor="left right bottom">
  187. <Layouts>
  188. <Layout>
  189. <Button position="absolute 1136 3 1192 25" id="button45" class="btn4" visible="false" text="닫기" anchor="right bottom"/>
  190. </Layout>
  191. </Layouts>
  192. </Div>
  193. <Static id="caption6" text="진료비총집계표(자보)" class="tit_1" position="absolute 1 0 249 23"/>
  194. </Layout>
  195. </Layouts>
  196. <Objects>
  197. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  198. <ColumnInfo>
  199. <Column id="termflag" type="STRING" size="256"/>
  200. <Column id="fromdd" type="STRING" size="256"/>
  201. <Column id="todd" type="STRING" size="256"/>
  202. <Column id="clamym" type="STRING" size="256"/>
  203. <Column id="clamdgfrom" type="STRING" size="256"/>
  204. <Column id="clamdgto" type="STRING" size="256"/>
  205. <Column id="ioflag" type="STRING" size="256"/>
  206. <Column id="endyn" type="STRING" size="256"/>
  207. <Column id="patunitsrch1" type="STRING" size="256"/>
  208. <Column id="patunitsrch2" type="STRING" size="256"/>
  209. <Column id="certno" type="STRING" size="256"/>
  210. <Column id="clamflag" type="STRING" size="256"/>
  211. <Column id="insukind" type="STRING" size="256"/>
  212. <Column id="fromacptym" type="STRING" size="256"/>
  213. <Column id="toacptym" type="STRING" size="256"/>
  214. </ColumnInfo>
  215. <Rows>
  216. <Row>
  217. <Col id="termflag">B</Col>
  218. <Col id="fromdd"/>
  219. <Col id="todd"/>
  220. <Col id="clamym"/>
  221. <Col id="clamdgfrom"/>
  222. <Col id="clamdgto"/>
  223. <Col id="ioflag">A</Col>
  224. <Col id="endyn">A</Col>
  225. <Col id="patunitsrch1"/>
  226. <Col id="patunitsrch2"/>
  227. <Col id="certno"/>
  228. <Col id="clamflag"/>
  229. <Col id="insukind"/>
  230. </Row>
  231. </Rows>
  232. </Dataset>
  233. <Dataset id="ds_init_U0001list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  234. <ColumnInfo>
  235. <Column id="cd" type="STRING" size="256"/>
  236. <Column id="nm" type="STRING" size="256"/>
  237. </ColumnInfo>
  238. </Dataset>
  239. <Dataset id="ds_main_list_datagrid1" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  240. <ColumnInfo>
  241. <Column id="insucmpymark" type="STRING" size="256" sumtext="월별소계" prop="TEXT"/>
  242. <Column id="clamym" type="STRING" size="256" sumtext="청구년월"/>
  243. <Column id="clamamt" type="BIGDECIMAL" size="256" sumtext="청구금액"/>
  244. <Column id="depoamt" type="BIGDECIMAL" size="256" sumtext="입금금액"/>
  245. <Column id="fstcutamt" type="BIGDECIMAL" size="256" sumtext="1차삭감액"/>
  246. <Column id="orgcutamt" type="BIGDECIMAL" size="256" sumtext="현삭감액"/>
  247. <Column id="uncoamt" type="BIGDECIMAL" size="256" sumtext="미수금액"/>
  248. </ColumnInfo>
  249. </Dataset>
  250. <Dataset id="ds_main_list_datagrid2" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  251. <ColumnInfo>
  252. <Column id="insucmpymark" type="STRING" size="256" sumtext="손보사id"/>
  253. <Column id="clamamt" type="STRING" size="256" sumtext="청구금액"/>
  254. <Column id="depoamt" type="STRING" size="256" sumtext="입금금액"/>
  255. <Column id="fstcutamt" type="STRING" size="256" sumtext="1차삭감액"/>
  256. <Column id="orgcutamt" type="STRING" size="256" sumtext="현삭감액"/>
  257. <Column id="uncoamt" type="STRING" size="256" sumtext="미수금액"/>
  258. </ColumnInfo>
  259. </Dataset>
  260. <Dataset id="ds_init_clamdgfrom_clamdglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  261. <ColumnInfo>
  262. <Column id="clamdgnm" type="STRING" size="256"/>
  263. <Column id="clamdgcd" type="STRING" size="256"/>
  264. </ColumnInfo>
  265. </Dataset>
  266. <Dataset id="ds_init_clamdgto_clamdglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  267. <ColumnInfo>
  268. <Column id="clamdgnm" type="STRING" size="256"/>
  269. <Column id="clamdgcd" type="STRING" size="256"/>
  270. </ColumnInfo>
  271. </Dataset>
  272. <Dataset id="ds_init_P0155list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  273. <ColumnInfo>
  274. <Column id="cdnm" type="STRING" size="256"/>
  275. <Column id="cdid" type="STRING" size="256"/>
  276. </ColumnInfo>
  277. </Dataset>
  278. </Objects>
  279. <Bind>
  280. <BindItem id="item0" compid="grp_biz.grp_sea.ipt_fromdd" propid="value" datasetid="ds_send" columnid="fromdd"/>
  281. <BindItem id="item1" compid="grp_biz.grp_sea.cmb_clamdgfrom" propid="value" datasetid="ds_send" columnid="clamdgfrom"/>
  282. <BindItem id="item2" compid="grp_biz.grp_sea.ipt_todd" propid="value" datasetid="ds_send" columnid="todd"/>
  283. <BindItem id="item3" compid="grp_biz.grp_sea.cmb_clamdgto" propid="value" datasetid="ds_send"/>
  284. <BindItem id="item4" compid="grp_biz.grp_sea.cmb_clamtype" propid="value" datasetid="ds_send" columnid="clamflag"/>
  285. <BindItem id="item5" compid="grp_biz.grp_sea.radio1" propid="value" datasetid="ds_send" columnid="ioflag"/>
  286. <BindItem id="item6" compid="grp_biz.grp_sea.rdo_endyn" propid="value" datasetid="ds_send" columnid="endyn"/>
  287. <BindItem id="item7" compid="grp_biz.grp_sea.cmb_insucmpymark" propid="value" datasetid="ds_send" columnid="certno"/>
  288. </Bind>
  289. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  290. * System Name :
  291. * Job Name :
  292. * Creator :
  293. * Make Date : 2016-05-24
  294. * Description :
  295. *---------------------------------------------------------------------------------------
  296. * Modify Date Modifier Modify Description
  297. *---------------------------------------------------------------------------------------
  298. * 2016-05-24 Live Converter TF->XP
  299. *
  300. *---------------------------------------------------------------------------------------
  301. ****************************************************************************************/
  302. include "com_commonxp::comm_main.xjs";
  303. include "pam_pamcomnxp::PAM001.xjs";
  304. include "pam_pamcomnxp::PAM.xjs";
  305. function SMPIF72200_oninit(obj:Form, e:InitEventInfo)
  306. {
  307. frmf_initForm(obj);
  308. }
  309. function SMPIF72200_onload(obj:Form, e:LoadEventInfo)
  310. {
  311. grdf_initGrid(grp_biz.switch1.case1.datagrid1);
  312. grdf_initGrid(grp_biz.switch1.case2.datagrid2);
  313. CommCode_Load();
  314. ds_send.setColumn(0, "fromdd", String(utlf_getCurrentDate()).substr(0,6));
  315. ds_send.setColumn(0, "todd", String(utlf_getCurrentDate()).substr(0,6));
  316. frmf_addComboItem("grp_biz.grp_sea.cmb_clamdgfrom","1","1","above");
  317. frmf_addComboItem("grp_biz.grp_sea.cmb_clamdgfrom","전체","","above");
  318. frmf_addComboItem("grp_biz.grp_sea.cmb_clamdgto","1","1","above");
  319. frmf_addComboItem("grp_biz.grp_sea.cmb_clamdgto","전체","","above");
  320. grp_biz.grp_sea.cmb_clamdgfrom.index = 0;
  321. grp_biz.grp_sea.cmb_clamdgto.index = 0;
  322. }
  323. function CommCode_Load()
  324. {
  325. var arrParam = [ {dsNm: "ds_init_P0028list", cdGrpId: "P0028"}
  326. ,{dsNm: "ds_init_P0155list", cdGrpId: "P0155"}]
  327. appf_getCodeList(arrParam);
  328. ds_init_P0155list.insertRow(0);
  329. var oParam = {};
  330. oParam.id = "TRPIF70305";
  331. oParam.service = "clamuncoapp.ClamUnco";
  332. oParam.method = "reqGetInsuComp";
  333. oParam.inds = "";
  334. oParam.outds = "ds_init_U0001list=U0001";
  335. oParam.async = false;
  336. //oParam.callback = "cf_TRPIF70305";
  337. tranf_submit(oParam);
  338. frmf_addComboItem("grp_biz.grp_sea.cmb_insucmpymark","전체","","above");
  339. }
  340. function grp_biz_grp_sea_ipt_fromdd_onchanged(obj:Calendar, e:ChangeEventInfo)
  341. {
  342. var date = obj.value;
  343. ds_send.setColumn(0, "fromdd", String(date).substr(0,6));
  344. ds_send.setColumn(0, "todd", String(date).substr(0,6));
  345. fChkClamym();
  346. }
  347. function grp_biz_grp_sea_ipt_todd_onchanged(obj:Calendar, e:ChangeEventInfo)
  348. {
  349. var date = obj.value;
  350. ds_send.setColumn(0, "todd", String(date).substr(0,6));
  351. fChkClamym();
  352. }
  353. function fChkClamym()
  354. {
  355. var fromym = ds_send.getColumn(0, "fromacptym");
  356. var toym = ds_send.getColumn(0, "toacptym");
  357. var check = ds_send.getColumn(0, "termflag");
  358. if(check == "2")
  359. {
  360. if ( fromym != toym )
  361. {
  362. ds_send.setColumn(0, "clamdgfrom","");
  363. ds_send.setColumn(0, "clamdgto","");
  364. grp_biz.grp_sea.cmb_clamdgfrom.enable = false;
  365. grp_biz.grp_sea.cmb_clamdgto.enable = false;
  366. }
  367. else
  368. {
  369. grp_biz.grp_sea.cmb_clamdgfrom.enable = true;
  370. grp_biz.grp_sea.cmb_clamdgto.enable = true;
  371. grp_biz.grp_sea.cmb_clamdgfrom.index = 0;
  372. grp_biz.grp_sea.cmb_clamdgto.index = 0;
  373. }
  374. }
  375. }
  376. function grp_biz_grp_sea_cmb_clamdgfrom_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  377. {
  378. ds_init_clamdgto_clamdglist.copyData(ds_init_clamdgfrom_clamdglist);
  379. }
  380. function grp_biz_grp_sea_button1_onclick(obj:Button, e:ClickEventInfo)
  381. {
  382. var oParam = {};
  383. oParam.id = "TRPIF72201";
  384. oParam.service = "clamuncoapp.ClamUnco";
  385. oParam.method = "reqGetClamStatAutmbTotal";
  386. oParam.inds = "req=ds_send";
  387. oParam.outds = "ds_main_list_datagrid1=datagrid1 ds_main_list_datagrid2=datagrid2";
  388. oParam.async = false;
  389. //oParam.callback = "cf_TRPIF72201";
  390. tranf_submit(oParam);
  391. ds_main_list_datagrid1.keystring = "G:clamym";
  392. }
  393. function grp_biz_button2_onclick(obj:Button, e:ClickEventInfo)
  394. {
  395. if(grp_biz.switch1.tabindex == 0)
  396. {
  397. var objDOM = rptf_createDOM(); // DOM 객체 설정
  398. rptf_setNodeListToDOM(objDOM, "/root/main/list/datagrid1", ds_main_list_datagrid1);
  399. rptf_setNodeListToDOM(objDOM, "/root/send", ds_send);
  400. var objParam = new Object();
  401. objParam.xml_data_XML1 = objDOM.documentElement.source;
  402. var option =// "open=1;save=1;directprint=0;printdialog=0;print=1;zoom=0;";
  403. rptf_exeReportPreview30(["RPPIF72200"],[objParam], option);
  404. }
  405. else if(grp_biz.switch1.tabindex == 1)
  406. {
  407. var objDOM = rptf_createDOM(); // DOM 객체 설정
  408. rptf_setNodeListToDOM(objDOM, "/root/main/list/datagrid2", ds_main_list_datagrid2);
  409. rptf_setNodeListToDOM(objDOM, "/root/send", ds_send);
  410. var objParam = new Object();
  411. objParam.xml_data_XML1 = objDOM.documentElement.source;
  412. var option =// "open=1;save=0;directprint=0;printdialog=0;print=0;zoom=0;";
  413. rptf_exeReportPreview30(["RPPIF72210"],[objParam], option);
  414. }
  415. }
  416. function grp_biz_button12_onclick(obj:Button, e:ClickEventInfo)
  417. {
  418. if(grp_biz.switch1.tabindex == 0)
  419. {
  420. if(ds_main_list_datagrid1.rowcount == 0)
  421. {
  422. sysf_messageBox("엑셀저장할 내역이", "I004");
  423. }
  424. else
  425. {
  426. grdf_exportExcel(grp_biz.switch1.case1.datagrid1, "월별 진료비총집계표", "see");
  427. }
  428. }
  429. else if(grp_biz.switch1.tabindex == 1)
  430. {
  431. if(ds_main_list_datagrid2.rowcount == 0)
  432. {
  433. sysf_messageBox("엑셀저장할 내역이", "I004");
  434. }
  435. else
  436. {
  437. grdf_exportExcel(grp_biz.switch1.case2.datagrid2, "손보사별 진료비총집계표", "see");
  438. }
  439. }
  440. }
  441. ]]></Script>
  442. </Form>
  443. </FDL>