SMRPB01400_계약직근로계약서출력.xrw 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet ype="text/css" href="../../../com/commonweb/css/common.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. <contractempl>
  11. <contractempllist/>
  12. </contractempl>
  13. <prtdata>
  14. <contractempllist/>
  15. </prtdata>
  16. </main>
  17. <send>
  18. <contractempl>
  19. <fromdd/>
  20. <instcd/>
  21. <todd/>
  22. </contractempl>
  23. </send>
  24. <temp/>
  25. <init/>
  26. </root>
  27. </instance>
  28. <submission id="TRRPB01401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/contractempl" resultref="/root/main/contractempl"/>
  29. </model>
  30. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  31. <script type="javascript" src="../../../com/commonweb/js/stringHelper.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="../../../mis/miscommonweb/js/MIS.js"/>
  35. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  36. <script type="javascript" ev:event="xforms-ready">
  37. <![CDATA[
  38. fInitialize();
  39. ]]>
  40. </script>
  41. <script type="javascript">
  42. <![CDATA[
  43. function fInitialize()
  44. {
  45. model.removeNodeset(grd_contractempllist.nodeset);
  46. model.refresh();
  47. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
  48. model.refresh();
  49. misfMsterDetailSet(grd_contractempllist, null, "TRRPB01401", "N");
  50. grd_contractempllist.fixedcellcheckbox(1, 1) = true;
  51. var curdate = getCurrentDate();
  52. cmb_instcd.value = getUserInfo("dutplceinstcd");
  53. ipt_fromdd.value = curdate.substr(0, 8);
  54. ipt_todd.value = curdate.substr(0, 8);
  55. model.refresh();
  56. }
  57. ]]>
  58. </script>
  59. </xhtml:head>
  60. <xhtml:body style="margin-left:8; margin-right:8; ">
  61. <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  62. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:40px; "/>
  63. <caption id="caption278" class="tit_2" style="left:5px; top:62px; width:162px; height:14px; ">근로계약서 출력</caption>
  64. <line id="line207" class="line_1" style="x1:0px; y1:77px; x2:1193px; y2:76px; "/>
  65. <button id="btn_search" class="btn1_letter2" navindex="8" style="left:1125px; top:19px; width:56px; height:22px; text-align:left; ">
  66. <caption>조회</caption>
  67. <script type="javascript" ev:event="DOMActivate">
  68. <![CDATA[
  69. misfMsterDetailRetrieve();
  70. ]]>
  71. </script>
  72. </button>
  73. <line id="line3" class="line_4" style="x1:1110px; y1:12px; x2:1110px; y2:50px; border-color:#ffe4bb; border-left-style:solid; "/>
  74. <input id="ipt_lbrunionjobrespnm" ref="/root/main/item/lbrunionjobrespnm" class="input_search" visibility="hidden"/>
  75. <input id="ipt_lbrunionjobresp" ref="/root/main/item/dutplceinst" visibility="hidden"/>
  76. <input id="ipt_emplno_m" ref="/root/main/imsiitem/emplno" visibility="hidden"/>
  77. <input id="ipt_lbrunionrgstyn_m" ref="/root/main/imsiitem/lbrunionrgstyn" visibility="hidden"/>
  78. <input id="ipt_lbrunionrgstdd_m" ref="/root/main/imsiitem/lbrunionrgstdd" visibility="hidden"/>
  79. <input id="ipt_lbrunionsecssdd_m" ref="/root/main/imsiitem/lbrunionsecssdd" visibility="hidden"/>
  80. <input id="ipt_lbrunionjobresp_m" ref="/root/main/imsiitem/lbrunionjobresp" visibility="hidden"/>
  81. <input id="ipt_lbrunionjobrespnm_m" ref="/root/main/imsiitem/lbrunionjobrespnm" visibility="hidden"/>
  82. <input id="ipt_asgnmpostndd_m" ref="/root/main/imsiitem/asgnmpostndd" visibility="hidden"/>
  83. <input id="ipt_todd_m" ref="/root/main/imsiitem/todd" visibility="hidden"/>
  84. <input id="ipt_cur_row" ref="/root/init/cur_row_m" class="input_search" visibility="hidden"/>
  85. <select1 id="cmb_instcd" ref="/root/send/contractempl/instcd" class="combo_s_essential" appearance="minimal" style="left:60px; top:20px; width:154px; height:19px; ">
  86. <choices>
  87. <itemset>
  88. <label/>
  89. <value/>
  90. </itemset>
  91. </choices>
  92. </select1>
  93. <caption id="cap_instcd" class="search_name" style="left:5px; top:20px; width:60px; height:17px; ">기관:</caption>
  94. <input id="ipt_fromdd" ref="/root/send/contractempl/fromdd" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:339px; top:19px; width:94px; height:19px; text-align:center; vertical-align:middle; ">
  95. <script type="javascript" ev:event="xforms-value-changed">
  96. <![CDATA[
  97. var instcd = cmb_instcd.value;
  98. if( getStringLength(ipt_fromdd.value) == "8" ) {
  99. model.removeNodeset(cmb_instcd.attribute("ref"));
  100. model.makeNode("/root/send/contractempl/instcd");
  101. misfComboInstCdListMulti("cmb_instcd",ipt_fromdd.value,"","N");
  102. cmb_instcd.value = instcd;
  103. model.refresh();
  104. }
  105. ]]>
  106. </script>
  107. </input>
  108. <caption id="caption22" class="search_name" style="left:260px; top:20px; width:85px; height:17px; ">발령일자:</caption>
  109. <input id="ipt_todd" ref="/root/send/contractempl/todd" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:446px; top:19px; width:94px; height:19px; text-align:center; vertical-align:middle; "/>
  110. <caption id="caption11" style="left:435px; top:19px; width:10px; height:19px; ">-</caption>
  111. <button id="btn_excelsave" class="btn2_letter4" style="left:1128px; top:54px; width:64px; height:19px; ">
  112. <caption>엑셀저장</caption>
  113. <script type="javascript" ev:event="DOMActivate">
  114. <![CDATA[
  115. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  116. if (fileName != "")
  117. {
  118. grd_contractempllist.saveExcel(fileName);
  119. }
  120. ]]>
  121. </script>
  122. </button>
  123. <datagrid id="grd_contractempllist" nodeset="/root/main/contractempl/contractempllist" caption="선택^사번^성명^주소^주민번호^직종^신직급^구직급/호봉^근무부서^계약기간^대표자|^사번^성명^주소^주민번호^직종^신직급^구직급/호봉^근무부서^계약기간^대표자" colsep="^" colwidth="42, 61, 74, 222, 94, 94, 58, 81, 119, 308, 17" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:80px; width:1193px; height:660px; ">
  124. <col checkvalue="Y,N" ref="selyn" type="checkbox" style="text-align:center; vertical-align:middle; "/>
  125. <col ref="emplno"/>
  126. <col ref="emplnm"/>
  127. <col ref="resdnrgstareaaddr"/>
  128. <col ref="rregno" format="999999-9999999"/>
  129. <col ref="jobkindnm"/>
  130. <col ref="njobgradnm"/>
  131. <col ref="payclsnm"/>
  132. <col ref="deptnm"/>
  133. <col ref="gvnterm"/>
  134. <col ref="prsdnm" visibility="hidden"/>
  135. </datagrid>
  136. </group>
  137. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  138. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">근로계약서 출력</caption>
  139. </group>
  140. <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
  141. <line id="line75" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  142. <button id="btn_print" class="btn4_letter5" style="left:1100px; top:3px; width:92px; height:22px; ">
  143. <caption>계약서출력</caption>
  144. <script type="javascript" ev:event="DOMActivate">
  145. <![CDATA[
  146. var z = 0;
  147. for (var i = grd_contractempllist.fixedRows; i < grd_contractempllist.rows; i++) {
  148. if (grd_contractempllist.valueMatrix(i, grd_contractempllist.colRef("selyn")) == "Y" ) {
  149. z += 1;
  150. model.makeNode("/root/main/prtdata/contractempllist[" + z + "]");
  151. model.copyNode("/root/main/prtdata/contractempllist[" + z + "]", "/root/main/contractempl/contractempllist[" + (i - grd_contractempllist.fixedRows + 1) + "]");
  152. }
  153. }
  154. model.refresh();
  155. exeReportPreview("RPRPB01401", "XMLSTR"); //, "/root/main/getincmtaxcrtfct/getincmtaxcrtfctlist");
  156. ]]>
  157. </script>
  158. </button>
  159. </group>
  160. </xhtml:body>
  161. </xhtml:html>