SMPMC02301_감면내역조회.xfdl 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMPMC02301" position="absolute 0 0 1256 805" titletext="감면 내역 조회" onload="SMPMC02301_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="Div00" taborder="7" position="absolute -1 23 1199 61" class="div_SA">
  8. <Layouts>
  9. <Layout width="1200" height="38"/>
  10. </Layouts>
  11. </Div>
  12. <Static text="감면 내역 조회" position="absolute 0 0 123 23" align="align:center middle;" id="cap_title" class="tit_1"/>
  13. <Static text="조회 결과" position="absolute 0 69 79 85" id="caption7" class="tit_2"/>
  14. <Shape position="absolute 0 86 1195 92" linetype="horizontal" id="line1" class="line_1" style="strokepen:3 solid #33bbbbff;"/>
  15. <Static text="할인 적용 기간 :" position="absolute 5 33 127 50" id="caption35" class="search_name"/>
  16. <Button position="absolute 1128 31 1184 53" id="btn_search" class="btn1" taborder="6" text="조회" onclick="btn_search_onclick"/>
  17. <Shape position="absolute 1112 29 1118 54" linetype="vertical" id="line13"/>
  18. <Button position="absolute 1131 65 1195 84" id="btn_excel" class="btn2" text="엑셀저장" onclick="btn_excel_onclick"/>
  19. <Grid position="absolute 0 90 1195 760" align="align:center middle;" id="grd_fmly" binddataset="ds_main_fmlylist_fmlyinfo">
  20. <Formats>
  21. <Format id="default">
  22. <Columns>
  23. <Column size="25" band="left"/>
  24. <Column size="120"/>
  25. <Column size="70"/>
  26. <Column size="85"/>
  27. <Column size="80"/>
  28. <Column size="80"/>
  29. <Column size="80"/>
  30. <Column size="80"/>
  31. <Column size="60"/>
  32. <Column size="200"/>
  33. <Column size="60"/>
  34. <Column size="80"/>
  35. <Column size="60"/>
  36. <Column size="80"/>
  37. <Column size="80"/>
  38. <Column size="70"/>
  39. <Column size="120"/>
  40. <Column size="70"/>
  41. <Column size="120"/>
  42. </Columns>
  43. <Rows>
  44. <Row size="24" band="head"/>
  45. <Row size="24"/>
  46. </Rows>
  47. <Band id="head">
  48. <Cell/>
  49. <Cell col="1" text="사번/주민등록번호"/>
  50. <Cell col="2" text="할인주체명"/>
  51. <Cell col="3" text="할인주체구분"/>
  52. <Cell col="4" text="입사일"/>
  53. <Cell col="5" text="입사일_인사"/>
  54. <Cell col="6" text="퇴직일"/>
  55. <Cell col="7" text="퇴직일_인사"/>
  56. <Cell col="8" text="감면코드"/>
  57. <Cell col="9" text="감면명"/>
  58. <Cell col="10" text="등록번호"/>
  59. <Cell col="11" text="환자명"/>
  60. <Cell col="12" text="가족관계"/>
  61. <Cell col="13" text="할인시작일"/>
  62. <Cell col="14" text="할인종료일"/>
  63. <Cell col="15" text="최초등록자"/>
  64. <Cell col="16" text="최초등록일시"/>
  65. <Cell col="17" text="최종수정자"/>
  66. <Cell col="18" text="최종수정일시"/>
  67. </Band>
  68. <Band id="body">
  69. <Cell celltype="head" expr="expr:currow + 1"/>
  70. <Cell col="1" text="bind:emplno"/>
  71. <Cell col="2" text="bind:emplnm"/>
  72. <Cell col="3" text="bind:empkindnm"/>
  73. <Cell col="4" displaytype="date" text="bind:entcodd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
  74. <Cell col="5" displaytype="date" text="bind:entcodd_mis" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
  75. <Cell col="6" displaytype="date" text="bind:retiredd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
  76. <Cell col="7" displaytype="date" text="bind:retiredd_mis" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
  77. <Cell col="8" text="bind:disccd"/>
  78. <Cell col="9" style="align:center middle;" text="bind:discnm"/>
  79. <Cell col="10" text="bind:pid"/>
  80. <Cell col="11" text="bind:name"/>
  81. <Cell col="12" text="bind:famyrelnm"/>
  82. <Cell col="13" displaytype="date" text="bind:fromdd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
  83. <Cell col="14" displaytype="date" text="bind:todd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
  84. <Cell col="15" text="bind:fstrgstrnm"/>
  85. <Cell col="16" displaytype="date" text="bind:fstrgstdt" mask="yyyy-MM-dd hh:mm:ss" calendardisplaynulltype="none"/>
  86. <Cell col="17" text="bind:lastupdtrnm"/>
  87. <Cell col="18" displaytype="date" text="bind:lastupdtdt" mask="yyyy-MM-dd hh:mm:ss" calendardisplaynulltype="none"/>
  88. </Band>
  89. </Format>
  90. </Formats>
  91. </Grid>
  92. <Calendar position="absolute 124 32 214 51" id="ipt_fromdd" class="input_search" dateformat="yyyy-MM-dd" value="null"/>
  93. <Calendar position="absolute 234 32 324 51" id="ipt_todd" class="input_search" dateformat="yyyy-MM-dd" value="null"/>
  94. <Static text="~" position="absolute 219 32 229 51" align="align:center middle;" id="caption1"/>
  95. <Static text="검증항목 :" position="absolute 360 33 450 50" id="caption2" class="search_name"/>
  96. <Combo position="absolute 455 32 635 51" id="cmb_errflag" class="combo_search" innerdataset="@ds_init_errlist_errinfo" datacolumn="nm" codecolumn="cd"/>
  97. </Layout>
  98. </Layouts>
  99. <Objects>
  100. <Dataset id="ds_grd_fmly" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  101. <ColumnInfo>
  102. <Column id="emplno" type="STRING"/>
  103. <Column id="emplnm" type="STRING"/>
  104. <Column id="empkindnm" type="STRING"/>
  105. <Column id="entcodd" type="STRING"/>
  106. <Column id="entcodd_mis" type="STRING"/>
  107. <Column id="retiredd" type="STRING"/>
  108. <Column id="retiredd_mis" type="STRING"/>
  109. <Column id="disccd" type="STRING"/>
  110. <Column id="discnm" type="STRING"/>
  111. <Column id="pid" type="STRING"/>
  112. <Column id="name" type="STRING"/>
  113. <Column id="famyrelnm" type="STRING"/>
  114. <Column id="fromdd" type="STRING"/>
  115. <Column id="todd" type="STRING"/>
  116. <Column id="fstrgstrnm" type="STRING"/>
  117. <Column id="fstrgstdt" type="STRING"/>
  118. <Column id="lastupdtrnm" type="STRING"/>
  119. <Column id="lastupdtdt" type="STRING"/>
  120. </ColumnInfo>
  121. </Dataset>
  122. <Dataset id="ds_init_cmb_errflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  123. <ColumnInfo>
  124. <Column id="nm" type="STRING"/>
  125. <Column id="cd" type="STRING"/>
  126. </ColumnInfo>
  127. </Dataset>
  128. <Dataset id="ds_init_errlist_errinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  129. <ColumnInfo>
  130. <Column id="cd" type="STRING" size="256"/>
  131. <Column id="nm" type="STRING" size="256"/>
  132. </ColumnInfo>
  133. <Rows>
  134. <Row>
  135. <Col id="cd">N</Col>
  136. <Col id="nm">인사 정보 없음</Col>
  137. </Row>
  138. <Row>
  139. <Col id="cd">R</Col>
  140. <Col id="nm">재직 기간 이외 감면</Col>
  141. </Row>
  142. <Row>
  143. <Col id="cd">A100</Col>
  144. <Col id="nm">A100 - 기타</Col>
  145. </Row>
  146. <Row>
  147. <Col id="cd">A200</Col>
  148. <Col id="nm">A200 - 본인, 배우자, 기타</Col>
  149. </Row>
  150. <Row>
  151. <Col id="cd">D</Col>
  152. <Col id="nm">가족 관계 중복</Col>
  153. </Row>
  154. <Row>
  155. <Col id="cd">B</Col>
  156. <Col id="nm">A200 - 아기, 애기</Col>
  157. </Row>
  158. <Row>
  159. <Col id="cd">E</Col>
  160. <Col id="nm">관계 항목 누락</Col>
  161. </Row>
  162. </Rows>
  163. </Dataset>
  164. <Dataset id="ds_main_fmlylist_fmlyinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  165. <ColumnInfo>
  166. <Column id="emplno" type="STRING" size="256"/>
  167. <Column id="emplnm" type="STRING" size="256"/>
  168. <Column id="empkindcd" type="STRING" size="256"/>
  169. <Column id="empkindnm" type="STRING" size="256"/>
  170. <Column id="entcodd" type="STRING" size="256"/>
  171. <Column id="entcodd_mis" type="STRING" size="256"/>
  172. <Column id="retiredd" type="STRING" size="256"/>
  173. <Column id="retiredd_mis" type="STRING" size="256"/>
  174. <Column id="disccd" type="STRING" size="256"/>
  175. <Column id="discnm" type="STRING" size="256"/>
  176. <Column id="pid" type="STRING" size="256"/>
  177. <Column id="name" type="STRING" size="256"/>
  178. <Column id="famyrelcd" type="STRING" size="256"/>
  179. <Column id="famyrelnm" type="STRING" size="256"/>
  180. <Column id="fromdd" type="STRING" size="256"/>
  181. <Column id="todd" type="STRING" size="256"/>
  182. <Column id="fstrgstrnm" type="STRING" size="256"/>
  183. <Column id="fstrgstdt" type="STRING" size="256"/>
  184. <Column id="lastupdtrnm" type="STRING" size="256"/>
  185. <Column id="lastupdtdt" type="STRING" size="256"/>
  186. </ColumnInfo>
  187. <Rows>
  188. <Row>
  189. <Col id="emplno"/>
  190. <Col id="emplnm"/>
  191. <Col id="empkindcd"/>
  192. <Col id="empkindnm"/>
  193. <Col id="entcodd"/>
  194. <Col id="entcodd_mis"/>
  195. <Col id="retiredd"/>
  196. <Col id="retiredd_mis"/>
  197. <Col id="disccd"/>
  198. <Col id="discnm"/>
  199. <Col id="pid"/>
  200. <Col id="name"/>
  201. <Col id="famyrelcd"/>
  202. <Col id="famyrelnm"/>
  203. <Col id="fromdd"/>
  204. <Col id="todd"/>
  205. <Col id="fstrgstrnm"/>
  206. <Col id="fstrgstdt"/>
  207. <Col id="lastupdtrnm"/>
  208. <Col id="lastupdtdt"/>
  209. </Row>
  210. </Rows>
  211. </Dataset>
  212. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  213. <ColumnInfo>
  214. <Column id="fromdd" type="STRING" size="256"/>
  215. <Column id="todd" type="STRING" size="256"/>
  216. <Column id="errflag" type="STRING" size="256"/>
  217. </ColumnInfo>
  218. <Rows>
  219. <Row>
  220. <Col id="fromdd"/>
  221. <Col id="todd"/>
  222. <Col id="errflag"/>
  223. </Row>
  224. </Rows>
  225. </Dataset>
  226. </Objects>
  227. <Bind>
  228. <BindItem id="item0" compid="ipt_fromdd" propid="value" datasetid="ds_send" columnid="fromdd"/>
  229. <BindItem id="item1" compid="ipt_todd" propid="value" datasetid="ds_send" columnid="todd"/>
  230. <BindItem id="item2" compid="cmb_errflag" propid="value" datasetid="ds_send" columnid="errflag"/>
  231. </Bind>
  232. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  233. * System Name :
  234. * Job Name :
  235. * Creator :
  236. * Make Date : 2016-05-24
  237. * Description :
  238. *---------------------------------------------------------------------------------------
  239. * Modify Date Modifier Modify Description
  240. *---------------------------------------------------------------------------------------
  241. * 2016-05-24 Live Converter TF->XP
  242. *
  243. *---------------------------------------------------------------------------------------
  244. ****************************************************************************************/
  245. include "com_commonxp::comm_main.xjs";
  246. function SMPMC02301_onload(obj: Form, e: LoadEventInfo) {
  247. frmf_initForm(obj); // 폼 초기화
  248. grd_fmly.setFormatColProperty("body", grd_fmly.getBindCellIndex("body", "entcodd_mis"), "size", "0");
  249. grd_fmly.setFormatColProperty("body", grd_fmly.getBindCellIndex("body", "retiredd_mis"), "size", "0");
  250. ds_send.setColumn(0, "fromdd", utlf_getCurrentDate());
  251. ds_send.setColumn(0, "todd", utlf_getCurrentDate());
  252. }
  253. function btn_search_onclick(obj: Button, e: ClickEventInfo) {
  254. if (utlf_transNullToEmpty(ds_send.getColumn(0, "errflag")) == "") {
  255. sysf_messageBox("검증항목이 선택되지 않았습니다.", "E999");
  256. return;
  257. }
  258. var oParam = {};
  259. oParam.id = "TRPMC02308";
  260. oParam.service = "patinfomngtapp.PatDiscInfo";
  261. oParam.method = "reqGetFmlyErrList";
  262. oParam.inds = "req=ds_send";
  263. oParam.outds = "ds_main_fmlylist_fmlyinfo=fmly";
  264. oParam.async = false;
  265. tranf_submit(oParam);
  266. }
  267. function btn_excel_onclick(obj: Button, e: ClickEventInfo) {
  268. grdf_exportExcel(grd_fmly, "감면내역조회", "Sheet1", true, "", 'user', true);
  269. sysf_messageBox("엑셀 저장이 완료되었습니다.", "I999");
  270. }]]></Script>
  271. </Form>
  272. </FDL>