SMRPA20000_경조금대상자등록.xrw 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" 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">
  4. <xhtml:head>
  5. <xhtml:title>경조금대상자등록</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <matcongncond>
  11. <matcongncondlist/>
  12. </matcongncond>
  13. </main>
  14. <send>
  15. <save>
  16. <matcongncondlist/>
  17. </save>
  18. </send>
  19. <init>
  20. </init>
  21. <temp/>
  22. </root>
  23. </instance>
  24. <script type="javascript" ev:event="xforms-ready">
  25. <![CDATA[
  26. misfGridInit(grd_matcongncondlist);
  27. misfMsterDetailSet(grd_matcongncondlist, null, "TRRPA20001", "Y");
  28. model.refresh();
  29. ]]>
  30. </script>
  31. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  32. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  33. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  34. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  35. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  36. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  37. <script type="javascript">
  38. <![CDATA[
  39. ]]>
  40. </script>
  41. <submission id="TRRPA20001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root" resultref="/root/main/matcongncond"/>
  42. <submission id="TXRPA20001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root"/>
  43. </model>
  44. </xhtml:head>
  45. <xhtml:body style="margin-left:8; margin-right:8; ">
  46. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  47. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">경조금대상자등록</caption>
  48. </group>
  49. <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  50. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:35px; "/>
  51. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:16px; width:56px; height:22px; ">
  52. <caption>조회</caption>
  53. <script type="javascript" ev:event="DOMActivate">
  54. <![CDATA[
  55. misfMsterDetailRetrieve();
  56. ]]>
  57. </script>
  58. </button>
  59. <line id="line13" class="line_4" style="x1:1110px; y1:16px; x2:1110px; y2:38px; "/>
  60. <line id="line207" class="line_1" style="x1:0; y1:69; x2:1195; y2:69px; "/>
  61. <datagrid id="grd_matcongncondlist" nodeset="/root/main/matcongncond/matcongncondlist" caption="사번^성명^직위^입사일^퇴사일^근무기관^근무부서^시작월^종료월^비고|사번^성명^직위^입사일^퇴사일^근무기관^근무부서^시작월^종료월^비고" colsep="^" colwidth="100, 100, 100, 120, 120, 130, 130, 100, 100, 160" dataheight="25" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:74px; width:1194px; height:670px; ">
  62. <col ref="emplno" type="inputbutton" _key="true" style="text-align:center; "/>
  63. <col ref="emplnm" style="text-align:center; "/>
  64. <col ref="jobposnm" style="text-align:center; "/>
  65. <col ref="entcodd" format="yyyy-mm-dd" style="text-align:center; "/>
  66. <col ref="retiredd" format="yyyy-mm-dd" style="text-align:center; "/>
  67. <col ref="dutplceinstnm" style="text-align:center; "/>
  68. <col ref="dutunitnm" style="text-align:center; "/>
  69. <col ref="fromym" type="inputdate" format="yyyy-mm" style="text-align:center; "/>
  70. <col ref="toym" type="inputdate" format="yyyy-mm" style="text-align:center; "/>
  71. <col imemode="hangul" ref="cmt" type="input"/>
  72. <col ref="oldemplno" visibility="hidden"/>
  73. <script type="javascript" ev:event="onbuttonclick">
  74. <![CDATA[
  75. if (grd_matcongncondlist.col == 1) {//사원번호 버튼을 눌렀을 때
  76. var recv_list = "emplno,emplnm";
  77. rpbfOpenPopUpList("SPRPB00101", grd_matcongncondlist, recv_list,"ipt_systemflag","N");
  78. model.refresh();
  79. }
  80. ]]>
  81. </script>
  82. </datagrid>
  83. <button id="btn_grddel" class="btn2_letter3" style="left:1069px; top:48px; width:53px; height:19px; ">
  84. <caption>행삭제</caption>
  85. <script type="javascript" ev:event="DOMActivate">
  86. <![CDATA[
  87. misfGridIUD(grd_matcongncondlist,"D");
  88. model.refresh();
  89. ]]>
  90. </script>
  91. </button>
  92. <button id="btn_grdadd" class="btn2_letter3" style="left:1013px; top:48px; width:53px; height:19px; ">
  93. <caption>행추가</caption>
  94. <script type="javascript" ev:event="DOMActivate">
  95. <![CDATA[
  96. misfGridIUD(grd_matcongncondlist, "A");
  97. model.refresh();
  98. ]]>
  99. </script>
  100. </button>
  101. <caption id="caption9" class="tit_2" style="left:0px; top:54px; width:183px; height:14px; ">대상자 리스트</caption>
  102. <button id="btn_saveexcel" class="btn2_letter4" style="left:1125px; top:48px; width:64px; height:19px; ">
  103. <caption>엑셀저장</caption>
  104. <script type="javascript" ev:event="DOMActivate">
  105. <![CDATA[
  106. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  107. if (fileName != "")
  108. {
  109. grd_matcongncondlist.saveExcel(fileName, "SheetName", true, true, "", "");
  110. }
  111. ]]>
  112. </script>
  113. </button>
  114. </group>
  115. <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
  116. <line id="line11" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  117. <button id="btn_save" class="btn4_letter2" style="left:1134px; top:3px; width:56px; height:22px; ">
  118. <caption>저장</caption>
  119. <script type="javascript" ev:event="DOMActivate">
  120. <![CDATA[
  121. misfSave("TXRPA20001");
  122. btn_search.dispatch("DOMActivate");
  123. model.refresh();
  124. ]]>
  125. </script>
  126. </button>
  127. </group>
  128. </xhtml:body>
  129. </xhtml:html>