SMPMC02302_감면이력조회.xrw 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:cs="http://www.comsquare.co.kr/xforms">
  4. <xhtml:head>
  5. <xhtml:title>감면 이력 조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <fmlylist>
  11. <fmlyinfo>
  12. <instnm/>
  13. <logdt/>
  14. <logact/>
  15. <loguserid/>
  16. <logusernm/>
  17. <logip/>
  18. <emplno/>
  19. <emplnm/>
  20. <empkindcd/>
  21. <empkindnm/>
  22. <entcodd/>
  23. <entcodd_mis/>
  24. <retiredd/>
  25. <retiredd_mis/>
  26. <disccd/>
  27. <discnm/>
  28. <pid/>
  29. <name/>
  30. <famyrelcd/>
  31. <famyrelnm/>
  32. <fromdd/>
  33. <todd/>
  34. <fstrgstrnm/>
  35. <fstrgstdt/>
  36. <lastupdtrnm/>
  37. <lastupdtdt/>
  38. </fmlyinfo>
  39. </fmlylist>
  40. </main>
  41. <send>
  42. <pid/>
  43. <userid/>
  44. <logdd/>
  45. <logddflag/>
  46. </send>
  47. </root>
  48. </instance>
  49. <submission id="TRPMC02309" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/fmlylist/fmlyinfo"/>
  50. </model>
  51. <script type="javascript">
  52. <![CDATA[
  53. ]]>
  54. </script>
  55. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  56. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  57. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  58. <script type="javascript" ev:event="xforms-ready">
  59. <![CDATA[
  60. if (checkOpener()) {
  61. var pid = opener.javascript.getParameter("SMPMC02302_PID");
  62. opener.javascript.setParameter("SMPMC02302_PID", "");
  63. model.setValue("/root/send/pid", pid);
  64. ipt_pid.refresh();
  65. btn_search.dispatch("DOMActivate");
  66. }
  67. ]]>
  68. </script>
  69. </xhtml:head>
  70. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  71. <caption id="cap_title" class="tit_1" style="left:0px; top:0px; width:125px; height:13px; font-family:돋움; vertical-align:middle; ">감면 이력 조회</caption>
  72. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:20px; width:1195px; height:41px; background-color:#fffbf2; border-color:#ffd799; "/>
  73. <caption id="caption1" class="search_name" style="left:10px; top:32px; width:91px; height:17px; ">등록번호 :</caption>
  74. <input id="ipt_pid" ref="/root/send/pid" class="input_search" style="left:102px; top:31px; width:70px; height:19px; ">
  75. <script type="javascript" ev:event="onkeyup">
  76. <![CDATA[
  77. if(event.keyCode == "13") {
  78. inputEnterKey("btn_search", "DOMActivate");
  79. }
  80. ]]>
  81. </script>
  82. </input>
  83. <caption id="caption35" class="search_name" style="left:205px; top:32px; width:62px; height:17px; ">사번 :</caption>
  84. <input id="ipt_emplno" ref="/root/send/userid" class="input_search" style="left:272px; top:31px; width:60px; height:19px; ">
  85. <script type="javascript" ev:event="onkeyup">
  86. <![CDATA[
  87. if(event.keyCode == "13") {
  88. inputEnterKey("btn_search", "DOMActivate");
  89. }
  90. ]]>
  91. </script>
  92. </input>
  93. <caption id="caption2" class="search_name" style="left:370px; top:32px; width:99px; height:17px; ">이력발생일 :</caption>
  94. <input id="ipt_logdd" ref="/root/send/logdd" class="input_search" disabled="true" inputtype="date" style="left:475px; top:31px; width:90px; height:19px; "/>
  95. <select id="chk_logddflag" ref="/root/send/logddflag" overflow="visible" appearance="full" style="left:570px; top:32px; width:50px; height:15px; border-style:none; ">
  96. <choices>
  97. <item>
  98. <label>적용</label>
  99. <value>Y</value>
  100. </item>
  101. </choices>
  102. <script type="javascript" ev:event="xforms-value-changed">
  103. <![CDATA[
  104. if (model.getValue("/root/send/logddflag") == "Y") {
  105. model.setValue("/root/send/logdd", getCurrentDate());
  106. ipt_logdd.disabled = false;
  107. } else {
  108. model.setValue("/root/send/logdd", "");
  109. ipt_logdd.disabled = true;
  110. }
  111. ipt_logdd.refresh();
  112. ]]>
  113. </script>
  114. </select>
  115. <line id="line13" style="x1:1115px; y1:30px; x2:1115px; y2:55px; border-color:#FFD799; border-left-style:solid; "/>
  116. <button id="btn_search" class="btn1_letter2" navindex="6" style="left:1128px; top:30px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  117. <caption>조회</caption>
  118. <script type="javascript" ev:event="DOMActivate">
  119. <![CDATA[
  120. if (model.getValue("/root/send/pid") == ""
  121. && model.getValue("/root/send/emplno") == ""
  122. && model.getValue("/root/send/logddflag") != "Y") {
  123. messageBox("적어도 1개 이상의 조건을 입력해야 합니다.", "E999");
  124. return;
  125. }
  126. submit("TRPMC02309");
  127. ]]>
  128. </script>
  129. </button>
  130. <caption id="caption7" class="tit_2" style="left:0px; top:70px; width:79px; height:13px; font-weight:bold; ">조회 결과</caption>
  131. <line id="line1" class="line_1" style="x1:0px; y1:85px; x2:1195px; y2:85px; "/>
  132. <datagrid id="grd_fmly" nodeset="/root/main/fmlylist/fmlyinfo" caption="기관^이력발생일시^이력구분^이력발생자^사번/주민등록번호^할인주체명^할인주체구분^입사일^퇴직일^감면코드^감면명^등록번호^환자명^가족관계^할인시작일^할인종료일^최초등록자^최초등록일시^최종수정자^최종수정일시" colsep="^" colwidth="40, 120, 60, 70, 120, 70, 85, 80, 80, 60, 200, 60, 80, 60, 80, 80, 70, 120, 70, 120" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:90px; width:1195px; height:670px; text-align:center; ">
  133. <col ref="instnm"/>
  134. <col ref="logdt" format="yyyy-mm-dd hh:nn:ss"/>
  135. <col ref="logact"/>
  136. <col ref="logusernm"/>
  137. <col ref="emplno"/>
  138. <col ref="emplnm"/>
  139. <col ref="empkindnm"/>
  140. <col ref="entcodd" format="yyyy-mm-dd"/>
  141. <col ref="retiredd" format="yyyy-mm-dd"/>
  142. <col ref="disccd"/>
  143. <col ref="discnm" style="text-align:center; "/>
  144. <col ref="pid"/>
  145. <col ref="name"/>
  146. <col ref="famyrelnm"/>
  147. <col ref="fromdd" format="yyyy-mm-dd"/>
  148. <col ref="todd" format="yyyy-mm-dd"/>
  149. <col ref="fstrgstrnm"/>
  150. <col ref="fstrgstdt" format="yyyy-mm-dd hh:nn:ss"/>
  151. <col ref="lastupdtrnm"/>
  152. <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn:ss"/>
  153. </datagrid>
  154. <button id="btn_excel" class="btn2_letter4" style="left:1131px; top:65px; width:64px; height:19px; ">
  155. <caption>엑셀저장</caption>
  156. <script type="javascript" ev:event="DOMActivate">
  157. <![CDATA[
  158. var filename = window.fileDialog("save", ",", false, "감면 이력", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  159. grd_fmly.saveExcel(filename, "sheetname:" + "감면 이력" + ";colhiddenextend:true;rowhiddenextend:false;");
  160. messageBox("엑셀 저장이 완료되었습니다.", "I999");
  161. ]]>
  162. </script>
  163. </button>
  164. </xhtml:body>
  165. </xhtml:html>