SMSTP01000_기준자료조회.xfdl 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml" />
  4. <Form id="SMSTP01000" position="absolute 0 0 1280 1024" titletext="Untitle" onload="SMSTP01000_onload">
  5. <Layouts>
  6. <Layout>
  7. <Button id="btn_rptm" class="btn_sw" position="absolute 0 66 80 88" style="" text="장표관리" onclick="btn_rptm_onclick" />
  8. <Div id="group3" position="absolute 0 0 1206 13" style="">
  9. <Layouts>
  10. <Layout>
  11. <Static id="caption60" class="tit_1" position="absolute 0 0 183 14" style="font:돋움,,돋움;align: middle;" text="통합통계 기준자료 조회" />
  12. </Layout>
  13. </Layouts>
  14. </Div>
  15. <Div id="group4" position="absolute 0 18 1203 58" style="">
  16. <Layouts>
  17. <Layout>
  18. <Shape id="roundrect3" anchor="default" class="roundrect_search" type="roundrectangle" position="absolute 0 0 1203 40" style="border: solid #ffd799 #ffd799;background:#fffbf2 ;" />
  19. <Button id="btn_search" class="btn1_letter2" position="absolute 988 10 1044 32" style="border: solid transparent transparent;color:transparent;background:_gradation URL(../../.._com_commonweb_images_btn1_letter2.gif) ;" text="조회" onclick="group4_btn_search_onclick" />
  20. <Button id="btn_excel" class="btn1_letter4" visible="true" position="absolute 1049 10 1129 32" style="background:_gradation URL(../../.._com_commonweb_images_btn1_letter4.gif) ;" text="EXCEL" onclick="group4_btn_excel_onclick" />
  21. <Static id="caption2" class="search_name" position="absolute 10 10 108 27" style="" text="조회기준" />
  22. <Shape id="line2" class="line_4" linetype="vertical" position="absolute 1046 9 1049 33" style="border: solid #ffe4bb #ffe4bb;" anchor="default" />
  23. <Button id="button1" class="btn1_letter2" position="absolute 1131 10 1187 32" style="background:_gradation URL(../../.._com_commonweb_images_btn1_letter2.gif) ;" text="출력" onclick="group4_button1_onclick" />
  24. <Combo datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" id="cmb_cdflag" position="absolute 95 10 195 29" style="">
  25. <Dataset id="innerdataset">
  26. <ColumnInfo>
  27. <Column id="codecolumn" />
  28. <Column id="datacolumn" />
  29. </ColumnInfo>
  30. <Rows>
  31. <Row>
  32. <Col id="codecolumn">0</Col>
  33. <Col id="datacolumn">공통UI장표 조회조건분류</Col>
  34. </Row>
  35. <Row>
  36. <Col id="codecolumn">1</Col>
  37. <Col id="datacolumn">계정분류</Col>
  38. </Row>
  39. <Row>
  40. <Col id="codecolumn">2</Col>
  41. <Col id="datacolumn">수익분류</Col>
  42. </Row>
  43. <Row>
  44. <Col id="codecolumn">3</Col>
  45. <Col id="datacolumn">원목통계분류</Col>
  46. </Row>
  47. <Row>
  48. <Col id="codecolumn">4</Col>
  49. <Col id="datacolumn">공통UI 장표분류</Col>
  50. </Row>
  51. </Rows>
  52. </Dataset>
  53. </Combo>
  54. </Layout>
  55. </Layouts>
  56. </Div>
  57. <Tab id="switch1" position="absolute 0 88 1203 750" style="" anchor="default">
  58. <Tabpages>
  59. <Tabpage id="case1" selected="true" anchor="default">
  60. <Layouts>
  61. <Layout>
  62. <Grid id="grd_rptmlist" binddataset="ds_main_rptmlist_rptminfo" class="datagrid2" position="absolute 0 5 1201 655" style="">
  63. <Formats>
  64. <Format id="default">
  65. <Columns>
  66. <Column size="45" />
  67. <Column size="45" />
  68. <Column size="45" />
  69. <Column size="70" />
  70. <Column size="45" />
  71. <Column size="60" />
  72. <Column size="320" />
  73. <Column size="90" />
  74. <Column size="300" />
  75. <Column size="250" />
  76. <Column size="40" />
  77. <Column size="60" />
  78. <Column size="60" />
  79. <Column size="60" />
  80. <Column size="60" />
  81. <Column size="60" />
  82. <Column size="60" />
  83. <Column size="60" />
  84. <Column size="60" />
  85. <Column size="60" />
  86. <Column size="70" />
  87. <Column size="40" />
  88. <Column size="60" />
  89. <Column size="80" />
  90. <Column size="80" />
  91. <Column size="80" />
  92. <Column size="120" />
  93. <Column size="80" />
  94. <Column size="120" />
  95. </Columns>
  96. <Rows>
  97. <Row size="24" band="head" />
  98. <Row size="24" />
  99. </Rows>
  100. <Band id="head">
  101. <Cell text="대분류" />
  102. <Cell col="1" text="중분류" />
  103. <Cell col="2" text="소분류" />
  104. <Cell col="3" text="사용자환경 저장" />
  105. <Cell col="4" text="사용자" />
  106. <Cell col="5" text="장표코드" />
  107. <Cell col="6" text="장표명" />
  108. <Cell col="7" text="장표 GRID ID" />
  109. <Cell col="8" text="장표 Layout(컬럼 Title)" />
  110. <Cell col="9" text="장표 Layout(컬럼 Size)" />
  111. <Cell col="10" text="진료&#xA;구분" />
  112. <Cell col="11" text="조회기준1" />
  113. <Cell col="12" text="조회기준2" />
  114. <Cell col="13" text="조회기준3" />
  115. <Cell col="14" text="조회기준4" />
  116. <Cell col="15" text="조회기준5" />
  117. <Cell col="16" text="조회기준6" />
  118. <Cell col="17" text="조회기준7" />
  119. <Cell col="18" text="조회기준8" />
  120. <Cell col="19" text="조회기준9" />
  121. <Cell col="20" text="조회기준10" />
  122. <Cell col="21" text="기능종류" />
  123. <Cell col="22" text="화면파라미터" />
  124. <Cell col="23" text="적용시작일자" />
  125. <Cell col="24" text="적용종료일자" />
  126. <Cell col="25" text="최초등록자" />
  127. <Cell col="26" text="최초등록일시" />
  128. <Cell col="27" text="최종수정자" />
  129. <Cell col="28" text="최종수정일시" />
  130. </Band>
  131. <Band id="body">
  132. <Cell text="bind:lrgcd" />
  133. <Cell col="1" text="bind:mdlcd" />
  134. <Cell col="2" text="bind:smlcd" />
  135. <Cell col="3" text="bind:useruiyn" />
  136. <Cell col="4" text="bind:userid" />
  137. <Cell col="5" text="bind:rptcd" />
  138. <Cell col="6" text="bind:rptnm" />
  139. <Cell col="7" text="bind:rptgrid" />
  140. <Cell col="8" text="bind:rpttitle" />
  141. <Cell col="9" text="bind:rptsize" />
  142. <Cell col="10" text="bind:ordflag" />
  143. <Cell col="11" text="bind:cond1" />
  144. <Cell col="12" text="bind:cond2" />
  145. <Cell col="13" text="bind:cond3" />
  146. <Cell col="14" text="bind:cond4" />
  147. <Cell col="15" text="bind:cond5" />
  148. <Cell col="16" text="bind:cond6" />
  149. <Cell col="17" text="bind:cond7" />
  150. <Cell col="18" text="bind:cond8" />
  151. <Cell col="19" text="bind:cond9" />
  152. <Cell col="20" text="bind:cond10" />
  153. <Cell col="21" text="bind:funckind" />
  154. <Cell col="22" text="bind:tfparam" />
  155. <Cell col="23" text="bind:fromdd" />
  156. <Cell col="24" text="bind:enddd" />
  157. <Cell col="25" text="bind:fstrgstrid" />
  158. <Cell col="26" text="bind:fstrgstdt" />
  159. <Cell col="27" text="bind:lastupdtrid" />
  160. <Cell col="28" text="bind:lastupdtdt" />
  161. </Band>
  162. </Format>
  163. </Formats>
  164. </Grid>
  165. <Shape id="line1" class="line_1" linetype="horizontal" position="absolute 0 0 1201 3" style="" anchor="default" />
  166. </Layout>
  167. </Layouts>
  168. </Tabpage>
  169. <Tabpage id="case2" anchor="default" text="공통코드">
  170. <Layouts>
  171. <Layout>
  172. <Shape id="line3" class="line_1" linetype="horizontal" position="absolute 0 0 1201 3" style="" anchor="default" />
  173. <Grid id="grd_sscdlist" binddataset="ds_main_sscdlist_sscdinfo" class="datagrid2" position="absolute 0 5 1201 655" style="">
  174. <Formats>
  175. <Format id="default">
  176. <Columns>
  177. <Column size="40" />
  178. <Column size="45" />
  179. <Column size="45" />
  180. <Column size="45" />
  181. <Column size="40" />
  182. <Column size="125" />
  183. <Column size="125" />
  184. <Column size="150" />
  185. <Column size="150" />
  186. <Column size="80" />
  187. <Column size="80" />
  188. <Column size="100" />
  189. <Column size="100" />
  190. <Column size="80" />
  191. <Column size="120" />
  192. <Column size="80" />
  193. <Column size="120" />
  194. </Columns>
  195. <Rows>
  196. <Row size="24" band="head" />
  197. <Row size="24" />
  198. </Rows>
  199. <Band id="head">
  200. <Cell text="코드&#xA;구분" />
  201. <Cell col="1" text="대분류" />
  202. <Cell col="2" text="중분류" />
  203. <Cell col="3" text="소분류" />
  204. <Cell col="4" text="진료&#xA;구분" />
  205. <Cell col="5" text="대분류명" />
  206. <Cell col="6" text="중분류명" />
  207. <Cell col="7" text="소분류명" />
  208. <Cell col="8" text="분류구분명" />
  209. <Cell col="9" text="차변회계&#xA;계정코드" />
  210. <Cell col="10" text="대변회계&#xA;계정코드" />
  211. <Cell col="11" text="적용시작일자" />
  212. <Cell col="12" text="적용종료일자" />
  213. <Cell col="13" text="최초등록자" />
  214. <Cell col="14" text="최초등록일시" />
  215. <Cell col="15" text="최종수정자" />
  216. <Cell col="16" text="최종수정일시" />
  217. </Band>
  218. <Band id="body">
  219. <Cell text="bind:cdflag" />
  220. <Cell col="1" text="bind:lrgcd" />
  221. <Cell col="2" text="bind:mdlcd" />
  222. <Cell col="3" text="bind:smlcd" />
  223. <Cell col="4" text="bind:ordflag" />
  224. <Cell col="5" text="bind:lrgnm" />
  225. <Cell col="6" text="bind:mdlnm" />
  226. <Cell col="7" text="bind:smlnm" />
  227. <Cell col="8" text="bind:flagnm" />
  228. <Cell col="9" text="bind:craccountcd" />
  229. <Cell col="10" text="bind:draccountcd" />
  230. <Cell col="11" text="bind:fromdd" />
  231. <Cell col="12" text="bind:enddd" />
  232. <Cell col="13" text="bind:fstrgstrid" />
  233. <Cell col="14" text="bind:fstrgstdt" />
  234. <Cell col="15" text="bind:lastupdtrid" />
  235. <Cell col="16" text="bind:lastupdtdt" />
  236. </Band>
  237. </Format>
  238. </Formats>
  239. </Grid>
  240. </Layout>
  241. </Layouts>
  242. </Tabpage>
  243. </Tabpages>
  244. </Tab>
  245. <Button id="btn_sscd" class="btn_sw" position="absolute 81 66 161 88" style="" text="공통코드" onclick="btn_sscd_onclick" />
  246. </Layout>
  247. </Layouts>
  248. <Objects>
  249. <Dataset id="ds_main_baseinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  250. <ColumnInfo>
  251. <Column id="cdflag" type="STRING" size="256" />
  252. </ColumnInfo>
  253. <Rows>
  254. <Row>
  255. <Col id="cdflag">0</Col>
  256. </Row>
  257. </Rows>
  258. </Dataset>
  259. <Dataset id="ds_main_rptmlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  260. <ColumnInfo>
  261. <Column id="rptminfo" type="STRING" size="256" />
  262. </ColumnInfo>
  263. <Rows>
  264. <Row>
  265. <Col id="rptminfo"></Col>
  266. </Row>
  267. </Rows>
  268. </Dataset>
  269. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  270. <ColumnInfo />
  271. </Dataset>
  272. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  273. <ColumnInfo>
  274. <Column id="init" type="STRING" size="256" />
  275. </ColumnInfo>
  276. </Dataset>
  277. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  278. <ColumnInfo>
  279. <Column id="cdflag" type="STRING" size="256" />
  280. </ColumnInfo>
  281. <Rows>
  282. <Row>
  283. <Col id="cdflag"></Col>
  284. </Row>
  285. </Rows>
  286. </Dataset>
  287. <Dataset id="ds_main_sscdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  288. <ColumnInfo>
  289. <Column id="sscdinfo" type="STRING" size="256" />
  290. </ColumnInfo>
  291. <Rows>
  292. <Row>
  293. <Col id="sscdinfo"></Col>
  294. </Row>
  295. </Rows>
  296. </Dataset>
  297. </Objects>
  298. <Bind>
  299. <BindItem id="item0" compid="group4.cmb_cdflag" propid="value" datasetid="ds_main_baseinfo" columnid="cdflag" />
  300. </Bind>
  301. <Script type="xscript4.0"><![CDATA[function SMSTP01000_onload(obj:Form, e:LoadEventInfo) {
  302. frmf_initForm(obj);
  303. //grdf_initGrid(grd_XXX);
  304. //grdf_setGridSort(grd_XXX);
  305. //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
  306. btn_rptm.dispatch("onclick");
  307. //model.refresh();
  308. }
  309. include '../../.._com_commonweb_js_common.js'
  310. include '../../.._com_commonweb_js_tfHelper.js'
  311. include '../../.._com_commonweb_js_dateHelper.js'
  312. function btn_rptm_onclick(obj:Button, e:ClickEventInfo) {
  313. group4.cmb_cdflag.visible = false;
  314. group4.caption2.visible = false;
  315. //group4.cmb_cdflag.refresh();
  316. //group4.caption2.refresh();
  317. }
  318. function group4_btn_search_onclick(obj:Button, e:ClickEventInfo) {
  319. if(switch1.selectedIndex == "0") {
  320. switch1.case1.grd_rptmlist.rebuildStyle();
  321. // submit("TRSTP01001");
  322. var oParam = {};
  323. oParam.id = "TRSTP01001";
  324. oParam.service = "stspamapp.StsPam";
  325. oParam.method = "reqGetRptmList";
  326. oParam.inds = "req=ds_";
  327. oParam.outds = "ds_=rptminfo";
  328. oParam.async = false;
  329. oParam.callback = "cf_TRSTP01001";
  330. tranf_submit(oParam);
  331. /*
  332. function cf_TRSTP01001(sSvcId, nErrorCode, sErrorMsg) {
  333. if(nErrorCode < 0) return;
  334. }
  335. function cf_TRSTP01001(sSvcId, nErrorCode, sErrorMsg) {
  336. arErrorCode.push(sSvcId, nErrorCode);
  337. }
  338. arErrorCode.pop("TRSTP01001") > -1
  339. arErrorCode.pop("TRSTP01001") < 0
  340. */
  341. //switch1.case1.grd_rptmlist.refresh();
  342. }
  343. if(switch1.selectedIndex == "1") {
  344. switch1.case2.grd_sscdlist.rebuildStyle();
  345. var cdflag = ds_main_baseinfo.getColumn(0, "cdflag");
  346. ds_send.setColumn( 0, "cdflag", cdflag);
  347. // submit("TRSTP01002");
  348. var oParam = {};
  349. oParam.id = "TRSTP01002";
  350. oParam.service = "stspamapp.StsPam";
  351. oParam.method = "reqGetSscdList";
  352. oParam.inds = "req=ds_";
  353. oParam.outds = "ds_=sscdinfo";
  354. oParam.async = false;
  355. oParam.callback = "cf_TRSTP01002";
  356. tranf_submit(oParam);
  357. /*
  358. function cf_TRSTP01002(sSvcId, nErrorCode, sErrorMsg) {
  359. if(nErrorCode < 0) return;
  360. }
  361. function cf_TRSTP01002(sSvcId, nErrorCode, sErrorMsg) {
  362. arErrorCode.push(sSvcId, nErrorCode);
  363. }
  364. arErrorCode.pop("TRSTP01002") > -1
  365. arErrorCode.pop("TRSTP01002") < 0
  366. */
  367. //switch1.case2.grd_sscdlist.refresh();
  368. }
  369. }
  370. function group4_btn_excel_onclick(obj:Button, e:ClickEventInfo) {
  371. var enddd = ds_send.getColumn(0, "enddd");
  372. var year = ds_send.getColumn(0, "year_org");
  373. if(switch1.selectedIndex == "0") {
  374. //엑셀저장 여부(타이틀별)
  375. var fileName = window.fileDialog("save", ",", false, "본인부담 의료미수금 현황("+enddd+")", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  376. grd_statlist.saveExcel(fileName, "본인부담 의료미수금 현황("+enddd+")", false, false, "", "", false);
  377. }
  378. if(switch1.selectedIndex == "1") {
  379. //엑셀저장 여부(타이틀별)
  380. var fileName = window.fileDialog("save", ",", false, "본인부담 의료미수금 현황_발생년도별("+year+")", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  381. grd_year.saveExcel(fileName, "본인부담 의료미수금 현황_발생년도별("+year+")", false, false, "", "", false);
  382. }
  383. }
  384. function group4_button1_onclick(obj:Button, e:ClickEventInfo) {
  385. if(switch1.selectedIndex == "0") {
  386. // 본인부담 의료미수금 현황 출력
  387. var objDOM = rptf_createDOM();
  388. var objParam = new Object();
  389. rptf_setNodeListToDOM(objDOM, "/root/XXX" , ds_XXX);
  390. objParam.xml_data_XML1 = objDOM.documentElement.source;
  391. var option = "open=1;save=1;directprint=0;printdialog=1;print=1;zoom=0";
  392. rptf_exeReportPreview30(["RPPAO03100"],[objParam], option);
  393. }
  394. if(switch1.selectedIndex == "1") {
  395. // 본인부담 의료미수금 현황 출력(발생년도)
  396. var objDOM = rptf_createDOM();
  397. var objParam = new Object();
  398. rptf_setNodeListToDOM(objDOM, "/root/XXX" , ds_XXX);
  399. objParam.xml_data_XML1 = objDOM.documentElement.source;
  400. var option = "open=1;save=1;directprint=0;printdialog=1;print=1;zoom=0";
  401. rptf_exeReportPreview30(["RPPAO03101"],[objParam], option);
  402. }
  403. }
  404. function btn_sscd_onclick(obj:Button, e:ClickEventInfo) {
  405. group4.cmb_cdflag.visible = true;
  406. group4.caption2.visible = true;
  407. //group4.cmb_cdflag.refresh();
  408. //group4.caption2.refresh();
  409. }
  410. ]]></Script>
  411. </Form>
  412. </FDL>