SMPMC02302_감면이력조회.xfdl 13 KB

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