SMPMO00998_감사자료조회(과별).xfdl 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMPMO00998" position="absolute 0 0 1280 1024" titletext="자료조회" onload="SMPMO00998_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="group1" position="absolute 0 0 1195 25" style="">
  8. <Layouts>
  9. <Layout>
  10. <Static id="caption6" class="tit_1" position="absolute 0 0 189 23" style="" text="자료조회"/>
  11. <Static id="caption4" class="patient_text_black" position="absolute 922 0 1194 13" style=""/>
  12. </Layout>
  13. </Layouts>
  14. </Div>
  15. <Div id="group5" position="absolute 0 23 1195 68" style="align: top;" class="div_SA">
  16. <Layouts>
  17. <Layout>
  18. <Shape id="line13" class="line_4" linetype="vertical" position="absolute 1056 7 1059 40" style="border: solid #ffe4bb #ffe4bb;" anchor="default"/>
  19. <Static id="caption21" class="search_name" position="absolute 16 13 102 30" style="" text="조회일자 :"/>
  20. <Button id="btn_search" class="btn2_letter2" position="absolute 1062 12 1118 34" style="" text="조회" onclick="group5_btn_search_onclick"/>
  21. <Static id="caption1" class="search_name" position="absolute 331 14 417 31" style="" text="진료과 :"/>
  22. <Combo innerdataset="ds_init_pam_init_orddeptcd" datacolumn="nm" codecolumn="cd" columncount="-1" rowcount="-1" id="cmb_orddeptcd" position="absolute 405 12 575 31" style="align:center middle;"/>
  23. <Static id="caption2" class="search_name" position="absolute 586 13 672 30" style="" text="수진구분:"/>
  24. <Combo datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" id="combo3" position="absolute 670 11 770 30" style="align:center middle;">
  25. <Dataset id="innerdataset">
  26. <ColumnInfo>
  27. <Column id="codecolumn"/>
  28. <Column id="datacolumn"/>
  29. </ColumnInfo>
  30. <Rows>
  31. <Row>
  32. <Col id="codecolumn">O</Col>
  33. <Col id="datacolumn">외래</Col>
  34. </Row>
  35. <Row>
  36. <Col id="codecolumn">I</Col>
  37. <Col id="datacolumn">입원</Col>
  38. </Row>
  39. </Rows>
  40. </Dataset>
  41. </Combo>
  42. <Static id="caption3" position="absolute 205 12 220 32" style="" text="~"/>
  43. <Calendar id="ipt_fromdd" class="input_s_essential" position="absolute 100 12 192 31" style="" anchor="default"/>
  44. <Calendar id="ipt_todd" class="input_s_essential" position="absolute 225 12 317 31" style="" anchor="default"/>
  45. <Button id="button1" class="btn2_letter4" position="absolute 1119 12 1183 34" style="" text="엑셀저장" onclick="group5_button1_onclick"/>
  46. </Layout>
  47. </Layouts>
  48. </Div>
  49. <Shape id="line1" class="line_1" linetype="horizontal" position="absolute 0 65 1195 68" style="" anchor="default"/>
  50. <Grid id="grd_deptsum" binddataset="ds_main_masterdata" position="absolute 0 68 1195 778" style="">
  51. <Formats>
  52. <Format id="default">
  53. <Columns>
  54. <Column size="24"/>
  55. <Column size="150"/>
  56. <Column size="161"/>
  57. <Column size="150"/>
  58. <Column size="150"/>
  59. <Column size="150"/>
  60. <Column size="150"/>
  61. <Column size="150"/>
  62. <Column size="150"/>
  63. <Column size="150"/>
  64. <Column size="150"/>
  65. <Column size="150"/>
  66. <Column size="150"/>
  67. <Column size="150"/>
  68. <Column size="150"/>
  69. <Column size="150"/>
  70. <Column size="150"/>
  71. <Column size="150"/>
  72. <Column size="150"/>
  73. </Columns>
  74. <Rows>
  75. <Row size="24" band="head"/>
  76. <Row size="24"/>
  77. </Rows>
  78. <Band id="head">
  79. <Cell/>
  80. <Cell col="1" text="진료과"/>
  81. <Cell col="2" text="총급여액(원금액-변경금액)"/>
  82. <Cell col="3" text="총급여액(원금액)"/>
  83. <Cell col="4" text="공단부담금(원금액)"/>
  84. <Cell col="5" text="본인부담금(원금액)"/>
  85. <Cell col="6" text="비보험액(원금액)"/>
  86. <Cell col="7" text="비급여액(원금액)"/>
  87. <Cell col="8" text="선택진료비(원금액)"/>
  88. <Cell col="9" text="감면액(원금액)"/>
  89. <Cell col="10" text="미수액(원금액)"/>
  90. <Cell col="11" text="총급여액(변경금액)"/>
  91. <Cell col="12" text="공단부담금(변경금액)"/>
  92. <Cell col="13" text="본인부담금(변경금액)"/>
  93. <Cell col="14" text="비보험액(변경금액)"/>
  94. <Cell col="15" text="비급여액(변경금액)"/>
  95. <Cell col="16" text="선택진료비(변경금액)"/>
  96. <Cell col="17" text="감면액(변경금액)"/>
  97. <Cell col="18" text="미수액(변경금액)"/>
  98. </Band>
  99. <Band id="body">
  100. <Cell expr="currow + 1"/>
  101. <Cell col="1" style="align:left middle;" text="bind:depthngnm"/>
  102. <Cell col="2" displaytype="number" text="bind:minus_payamt" mask="#,##0"/>
  103. <Cell col="3" displaytype="number" text="bind:org_payamt" mask="#,##0"/>
  104. <Cell col="4" displaytype="number" text="bind:org_payinsubamt" mask="#,##0"/>
  105. <Cell col="5" displaytype="number" text="bind:org_payownbamt" mask="#,##0"/>
  106. <Cell col="6" displaytype="number" text="bind:org_allownbamt" mask="#,##0"/>
  107. <Cell col="7" displaytype="number" text="bind:org_nopyamt" mask="#,##0"/>
  108. <Cell col="8" displaytype="number" text="bind:org_specamt" mask="#,##0"/>
  109. <Cell col="9" displaytype="number" text="bind:org_discamt" mask="#,##0"/>
  110. <Cell col="10" displaytype="number" text="bind:org_uncoamt" mask="#,##0"/>
  111. <Cell col="11" displaytype="number" text="bind:payamt" mask="#,##0"/>
  112. <Cell col="12" displaytype="number" text="bind:payinsubamt" mask="#,##0"/>
  113. <Cell col="13" displaytype="number" text="bind:payownbamt" mask="#,##0"/>
  114. <Cell col="14" displaytype="number" text="bind:allownbamt" mask="#,##0"/>
  115. <Cell col="15" displaytype="number" text="bind:nopyamt" mask="#,##0"/>
  116. <Cell col="16" displaytype="number" text="bind:specamt" mask="#,##0"/>
  117. <Cell col="17" displaytype="number" text="bind:discamt" mask="#,##0"/>
  118. <Cell col="18" displaytype="number" text="bind:uncoamt" mask="#,##0"/>
  119. </Band>
  120. </Format>
  121. </Formats>
  122. </Grid>
  123. </Layout>
  124. </Layouts>
  125. <Objects>
  126. <Dataset id="ds_main_masterdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  127. <ColumnInfo>
  128. <Column id="depthngnm" type="STRING" size="256"/>
  129. <Column id="minus_payamt" type="STRING" size="256"/>
  130. <Column id="org_payamt" type="STRING" size="256"/>
  131. <Column id="org_payinsubamt" type="STRING" size="256"/>
  132. <Column id="org_payownbamt" type="STRING" size="256"/>
  133. <Column id="org_allownbamt" type="STRING" size="256"/>
  134. <Column id="org_nopyamt" type="STRING" size="256"/>
  135. <Column id="org_specamt" type="STRING" size="256"/>
  136. <Column id="org_discamt" type="STRING" size="256"/>
  137. <Column id="org_uncoamt" type="STRING" size="256"/>
  138. <Column id="payamt" type="STRING" size="256"/>
  139. <Column id="payinsubamt" type="STRING" size="256"/>
  140. <Column id="payownbamt" type="STRING" size="256"/>
  141. <Column id="allownbamt" type="STRING" size="256"/>
  142. <Column id="nopyamt" type="STRING" size="256"/>
  143. <Column id="specamt" type="STRING" size="256"/>
  144. <Column id="discamt" type="STRING" size="256"/>
  145. <Column id="uncoamt" type="STRING" size="256"/>
  146. </ColumnInfo>
  147. <Rows>
  148. <Row>
  149. <Col id="depthngnm"/>
  150. <Col id="minus_payamt"/>
  151. <Col id="org_payamt"/>
  152. <Col id="org_payinsubamt"/>
  153. <Col id="org_payownbamt"/>
  154. <Col id="org_allownbamt"/>
  155. <Col id="org_nopyamt"/>
  156. <Col id="org_specamt"/>
  157. <Col id="org_discamt"/>
  158. <Col id="org_uncoamt"/>
  159. <Col id="payamt"/>
  160. <Col id="payinsubamt"/>
  161. <Col id="payownbamt"/>
  162. <Col id="allownbamt"/>
  163. <Col id="nopyamt"/>
  164. <Col id="specamt"/>
  165. <Col id="discamt"/>
  166. <Col id="uncoamt"/>
  167. </Row>
  168. </Rows>
  169. </Dataset>
  170. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  171. <ColumnInfo/>
  172. </Dataset>
  173. <Dataset id="ds_init_pam" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  174. <ColumnInfo>
  175. <Column id="init" type="STRING" size="256"/>
  176. </ColumnInfo>
  177. </Dataset>
  178. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  179. <ColumnInfo>
  180. <Column id="init" type="STRING" size="256"/>
  181. </ColumnInfo>
  182. <Rows>
  183. <Row>
  184. <Col id="init"/>
  185. </Row>
  186. </Rows>
  187. </Dataset>
  188. <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  189. <ColumnInfo>
  190. <Column id="orddeptcd" type="STRING" size="256"/>
  191. <Column id="ordtype" type="STRING" size="256"/>
  192. <Column id="fromdd" type="STRING" size="256"/>
  193. <Column id="todd" type="STRING" size="256"/>
  194. </ColumnInfo>
  195. <Rows>
  196. <Row>
  197. <Col id="orddeptcd"/>
  198. <Col id="ordtype"/>
  199. <Col id="fromdd"/>
  200. <Col id="todd"/>
  201. </Row>
  202. </Rows>
  203. </Dataset>
  204. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  205. <ColumnInfo/>
  206. </Dataset>
  207. </Objects>
  208. <Bind>
  209. <BindItem id="item0" compid="group5.cmb_orddeptcd" propid="value" datasetid="ds_send_reqdata" columnid="orddeptcd"/>
  210. <BindItem id="item1" compid="group5.combo3" propid="value" datasetid="ds_send_reqdata" columnid="ordtype"/>
  211. <BindItem id="item2" compid="group5.ipt_fromdd" propid="value" datasetid="ds_send_reqdata" columnid="fromdd"/>
  212. <BindItem id="item3" compid="group5.ipt_todd" propid="value" datasetid="ds_send_reqdata" columnid="todd"/>
  213. </Bind>
  214. <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs"
  215. include "com_basiccodexp::ZBC001.xjs"
  216. include "pam_pamcomnxp::PAM.xjs"
  217. include "emr_prcpmngtxp::MMO001.xjs"
  218. function SMPMO00998_onload(obj:Form, e:LoadEventInfo) {
  219. frmf_initForm(obj);
  220. grdf_initGrid(this.grd_deptsum);
  221. //grdf_setGridSort(grd_XXX);
  222. //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
  223. //addComboInstance("ds_init_pam_init_orddeptcd" , "cd^nm", "-^전체", "");
  224. frmf_addComboItem("group5.cmb_orddeptcd","전체", "-", "above");
  225. dsf_makeValue( ds_send_reqdata, "fromdd", "string", utlf_getCurrentDate());
  226. dsf_makeValue( ds_send_reqdata, "todd", "string", utlf_getCurrentDate());
  227. dsf_makeValue( ds_send_reqdata, "orddeptcd", "string", "-");
  228. dsf_makeValue( ds_send_reqdata, "ordtype", "string", "O");
  229. //model.refresh();
  230. }
  231. function group5_btn_search_onclick(obj:Button, e:ClickEventInfo) {
  232. //if(submit("TRPAO05002")){
  233. var oParam = {};
  234. oParam.id = "TRPAO05002";
  235. oParam.service = "pamcomnapp.GamSa";
  236. oParam.method = "reqGetMasterDeptSum";
  237. oParam.inds = "req=ds_send_reqdata";
  238. oParam.outds = "ds_main_masterdata=item";
  239. oParam.async = false;
  240. oParam.callback = "cf_TRPAO05002";
  241. tranf_submit(oParam);
  242. if(arErrorCode.pop("TRPAO05002") > -1) {
  243. //model.refresh();
  244. }
  245. }
  246. function cf_TRPAO05002(sSvcId, nErrorCode, sErrorMsg) {
  247. arErrorCode.push(sSvcId, nErrorCode);
  248. }
  249. function group5_button1_onclick(obj:Button, e:ClickEventInfo) {
  250. // var fileName = window.fileDialog("save", ",", false, "과별합계", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  251. // grd_deptsum.saveExcel(fileName, "sheet1");
  252. grdf_exportExcel(this.grd_deptsum, "Sheet1", "과별합계", false, "" , 'user' , true);
  253. }
  254. ]]></Script>
  255. </Form>
  256. </FDL>