SMPMC07600_장애인구강진료센터환자현황.xfdl 10.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMPMC07600" position="absolute 0 0 1200 782" titletext="장애인구강진료센터환자현황" onload="SMPMC07600_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="Div00" taborder="6" position="absolute 0 24 1195 64" class="div_SA" anchor="left top right"/>
  8. <Static id="cap_title" class="tit_1" position="absolute 0 0 264 24" style="align:left middle;font:Dotum,9, bold;" text="장애인 구강 진료 센터 환자 현황" onclick="cap_title_onclick"/>
  9. <Static id="caption7" class="tit_2" position="absolute 0 77 100 94" style="font:,,bold;" text="조회 내역"/>
  10. <Shape id="line1" class="line_10" linetype="horizontal" position="absolute 0 94 1195 98" style="" anchor="left top right"/>
  11. <Button id="btn_search" class="btn1" taborder="5" position="absolute 1130 33 1186 55" text="조회" onclick="btn_search_onclick" anchor="top right"/>
  12. <Shape id="line13" linetype="vertical" position="absolute 1120 31 1123 58" style="border: solid #FFD799 #FFD799;" anchor="top right"/>
  13. <Button id="btn_excel" class="btn7" position="absolute 1115 74 1195 93" style="" text="엑셀저장" onclick="btn_excel_onclick" taborder="3" anchor="top right"/>
  14. <Grid id="grd_hcdt" binddataset="ds_main_hcdtlist_hcdtinfo" position="absolute 0 98 1195 773" style="align:center ;" autofittype="col" taborder="2" anchor="all">
  15. <Formats>
  16. <Format id="default">
  17. <Columns>
  18. <Column size="24"/>
  19. <Column size="60"/>
  20. <Column size="60"/>
  21. <Column size="80"/>
  22. <Column size="0"/>
  23. <Column size="160"/>
  24. <Column size="60"/>
  25. <Column size="0"/>
  26. <Column size="160"/>
  27. <Column size="70"/>
  28. <Column size="80"/>
  29. <Column size="300"/>
  30. <Column size="100"/>
  31. </Columns>
  32. <Rows>
  33. <Row size="24" band="head"/>
  34. <Row size="24"/>
  35. </Rows>
  36. <Band id="head">
  37. <Cell/>
  38. <Cell col="1" text="등록번호"/>
  39. <Cell col="2" text="이름"/>
  40. <Cell col="3" text="진료일"/>
  41. <Cell col="4" text="생성번호"/>
  42. <Cell col="5" text="진료과"/>
  43. <Cell col="6" text="진료의"/>
  44. <Cell col="7" text="미수코드"/>
  45. <Cell col="8" text="미수명"/>
  46. <Cell col="9" text="미수금액"/>
  47. <Cell col="10" text="수납일"/>
  48. <Cell col="11" text="주소"/>
  49. <Cell col="12" text="장애분류"/>
  50. </Band>
  51. <Band id="body">
  52. <Cell celltype="head" expr="currow + 1"/>
  53. <Cell col="1" style="align:left middle;" text="bind:pid"/>
  54. <Cell col="2" style="align:left middle;" text="bind:hngnm"/>
  55. <Cell col="3" displaytype="date" style="align:left middle;" text="bind:orddd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  56. <Cell col="4" style="align:left middle;" text="bind:cretno"/>
  57. <Cell col="5" style="align:left middle;" text="bind:orddeptnm"/>
  58. <Cell col="6" style="align:left middle;" text="bind:orddrnm"/>
  59. <Cell col="7" style="align:left middle;" text="bind:uncocd"/>
  60. <Cell col="8" style="align:left middle;" text="bind:unconm"/>
  61. <Cell col="9" displaytype="number" style="align:right middle;" text="bind:uncoamt"/>
  62. <Cell col="10" displaytype="date" style="align:left middle;" text="bind:rcptexecdd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  63. <Cell col="11" style="align:left middle;" text="bind:addr"/>
  64. <Cell col="12" style="align:left middle;" text="bind:hcflag"/>
  65. </Band>
  66. </Format>
  67. </Formats>
  68. </Grid>
  69. <Static id="caption1" class="search_name" position="absolute 9 35 109 52" style="" text="조회 기간 :"/>
  70. <Calendar id="ipt_fromdd" position="absolute 98 34 196 53" style="" anchor="default" dateformat="yyyy-MM-dd" value="null" autoselect="true" autoskip="true" taborder="1"/>
  71. <Calendar id="ipt_todd" position="absolute 212 34 310 53" style="" anchor="default" dateformat="yyyy-MM-dd" autoselect="true" taborder="4"/>
  72. <Static id="caption2" position="absolute 196 35 211 55" style="align:center ;" text="~"/>
  73. <Radio datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" id="rdo_srchflag" position="absolute 318 34 435 54" style="" index="0" value="R">
  74. <Dataset id="innerdataset">
  75. <ColumnInfo>
  76. <Column id="codecolumn"/>
  77. <Column id="datacolumn"/>
  78. </ColumnInfo>
  79. <Rows>
  80. <Row>
  81. <Col id="codecolumn">R</Col>
  82. <Col id="datacolumn">수납일</Col>
  83. </Row>
  84. <Row>
  85. <Col id="codecolumn">O</Col>
  86. <Col id="datacolumn">진료일</Col>
  87. </Row>
  88. </Rows>
  89. </Dataset>
  90. </Radio>
  91. </Layout>
  92. </Layouts>
  93. <Objects>
  94. <Dataset id="ds_main_hcdtlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  95. <ColumnInfo/>
  96. </Dataset>
  97. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  98. <ColumnInfo/>
  99. </Dataset>
  100. <Dataset id="ds_main_hcdtlist_hcdtinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  101. <ColumnInfo>
  102. <Column id="pid" type="STRING" size="256"/>
  103. <Column id="hngnm" type="STRING" size="256"/>
  104. <Column id="orddd" type="STRING" size="256"/>
  105. <Column id="cretno" type="STRING" size="256"/>
  106. <Column id="orddeptnm" type="STRING" size="256"/>
  107. <Column id="orddrnm" type="STRING" size="256"/>
  108. <Column id="uncocd" type="STRING" size="256"/>
  109. <Column id="unconm" type="STRING" size="256"/>
  110. <Column id="uncoamt" type="STRING" size="256"/>
  111. <Column id="rcptexecdd" type="STRING" size="256"/>
  112. <Column id="addr" type="STRING" size="256"/>
  113. <Column id="hcflag" type="STRING" size="256"/>
  114. </ColumnInfo>
  115. </Dataset>
  116. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  117. <ColumnInfo>
  118. <Column id="fromdd" type="STRING" size="256"/>
  119. <Column id="todd" type="STRING" size="256"/>
  120. <Column id="srchflag" type="STRING" size="256"/>
  121. </ColumnInfo>
  122. </Dataset>
  123. </Objects>
  124. <Bind>
  125. <BindItem id="item0" compid="ipt_fromdd" propid="value" datasetid="ds_send" columnid="fromdd"/>
  126. <BindItem id="item1" compid="ipt_todd" propid="value" datasetid="ds_send" columnid="todd"/>
  127. <BindItem id="item2" compid="rdo_srchflag" propid="value" datasetid="ds_send" columnid="srchflag"/>
  128. </Bind>
  129. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  130. * System Name :
  131. * Job Name :
  132. * Creator :
  133. * Make Date : 2016-05-24
  134. * Description :
  135. *---------------------------------------------------------------------------------------
  136. * Modify Date Modifier Modify Description
  137. *---------------------------------------------------------------------------------------
  138. * 2016-05-24 Live Converter TF->XP
  139. *
  140. *---------------------------------------------------------------------------------------
  141. ****************************************************************************************/
  142. include "com_commonxp::comm_main.xjs";
  143. var arErrorCode = new HashArray();
  144. function SMPMC07600_onload(obj:Form, e:LoadEventInfo) {
  145. frmf_initForm(obj);
  146. grdf_initGrid(this.grd_hcdt);
  147. //grdf_setGridSort(grd_XXX);
  148. //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
  149. //grd_hcdt.rowHeightMin = 23;
  150. ds_send.clearData();
  151. ds_send.addRow();
  152. ds_send.setColumn( 0, "fromdd", utlf_getCurrentDate().toDate().getAddDate(-1, "M").getDateFormat("YYYYMMDD"));
  153. ds_send.setColumn( 0, "todd", utlf_getCurrentDate());
  154. ds_send.setColumn( 0, "srchflag", "R");
  155. //ipt_fromdd.refresh();
  156. //ipt_todd.refresh();
  157. }
  158. function btn_search_onclick(obj:Button, e:ClickEventInfo) {
  159. // submit("TRPMC07601");
  160. var oParam = {};
  161. oParam.id = "TRPMC07601";
  162. oParam.service = "patinfomngtapp.HandcapPat";
  163. oParam.method = "reqGetHandcapDentList";
  164. oParam.inds = "req=ds_send";
  165. oParam.outds = "ds_main_hcdtlist_hcdtinfo=hcdt";
  166. oParam.async = false;
  167. tranf_submit(oParam);
  168. //grd_hcdt.resizeCells();
  169. }
  170. function btn_excel_onclick(obj:Button, e:ClickEventInfo) {
  171. // var filename = window.fileDialog("save", ",", false, "장애인구강진료현황", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  172. // grd_hcdt.saveExcel(filename, "sheetname:장애인구강진료현황;colhiddenextend:true;rowhiddenextend:false;");
  173. grdf_exportExcel(grd_hcdt, "Sheet1", "장애인구강진료현황", false, "" , 'user' , true);
  174. sysf_messageBox("엑셀 저장이 완료되었습니다.", "I999");
  175. }
  176. function cap_title_onclick(obj:Static, e:ClickEventInfo)
  177. {
  178. }
  179. ]]></Script>
  180. </Form>
  181. </FDL>