You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ry_zhky/ruoyi-admin/src/main/resources/templates/system/leave/leaveprint.html

764 lines
25 KiB

<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd">
<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:x="urn:schemas-microsoft-com:office:excel"
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<th:block th:include="include :: header('离职离岗登记表')" />
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<meta name=ProgId content=Excel.Sheet>
<meta name=Generator content="Aspose.Cell ">
<link rel=File-List href="a98d8-t3ytm_files/filelist.xml">
<link rel=Edit-Time-Data href="a98d8-t3ytm_files/editdata.mso">
<link rel=OLE-Object-Data href="a98d8-t3ytm_files/oledata.mso">
<!--[if gte mso 9]><xml>
<o:DocumentProperties>
<o:Author>波强 赵</o:Author>
<o:Created>2024-08-20T17:53:00Z</o:Created>
<o:LastSaved>2024-08-20T17:54:43Z</o:LastSaved>
</o:DocumentProperties>
</xml><![endif]-->
<style>
<!--table
{mso-displayed-decimal-separator:"\.";
mso-displayed-thousand-separator:"\,";}
@page
{
mso-header-data:"";
mso-footer-data:"";
margin:0.75in 0.7in 0.75in 0.7in;
mso-header-margin:0.3in;
mso-footer-margin:0.3in;
mso-page-orientation:Portrait;
}
tr
{mso-height-source:auto;
mso-ruby-visibility:none;}
col
{mso-width-source:auto;
mso-ruby-visibility:none;}
br
{mso-data-placement:same-cell;}
ruby
{ruby-align:left;}
.style0
{
mso-number-format:General;
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:11pt;
font-weight:400;
font-style:normal;
font-family:"等线","sans-serif";
border:none;
mso-protection:locked visible;
mso-style-name:Normal;
mso-style-id:0;}
.font0
{
color:#000000;
font-size:11pt;
font-weight:400;
font-style:normal;
font-family:"等线","sans-serif"; }
.font1
{
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif"; }
.font2
{
color:#000000;
font-size:16pt;
font-weight:700;
font-style:normal;
font-family:"等线","sans-serif"; }
.font3
{
color:#000000;
font-size:9pt;
font-weight:400;
font-style:normal;
font-family:"等线","sans-serif"; }
.font4
{
color:#000000;
font-size:12pt;
font-weight:700;
font-style:normal;
font-family:"等线","sans-serif"; }
.font5
{
color:#000000;
font-size:12pt;
font-weight:400;
font-style:normal;
font-family:"等线","sans-serif"; }
td
{mso-style-parent:style0;
mso-number-format:General;
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:11pt;
font-weight:400;
font-style:normal;
font-family:"等线","sans-serif";
border:none;
mso-protection:locked visible;
mso-ignore:padding;}
.style0
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:11pt;
font-weight:400;
font-style:normal;
font-family:"等线","sans-serif";
mso-protection:locked visible;
mso-style-name:"Normal";
}
.style1
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style2
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style3
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style4
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style5
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style6
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style7
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style8
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style9
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style10
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style11
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style12
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style13
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style14
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.x15
{
mso-style-parent:style0;
mso-number-format:General;
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:11pt;
font-weight:400;
font-style:normal;
font-family:"等线","sans-serif";
mso-protection:locked visible;
}
.style16
{
mso-number-format:"0%";
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
mso-style-name:"Percent";
}
.style17
{
mso-number-format:"_\(\0022$\0022* \#\,\#\#0\.00_\)\;_\(\0022$\0022* \(\#\,\#\#0\.00\)\;_\(\0022$\0022* \0022-\0022??_\)\;_\(\@_\)";
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
mso-style-name:"Currency";
}
.style18
{
mso-number-format:"_\(\0022$\0022* \#\,\#\#0_\)\;_\(\0022$\0022* \(\#\,\#\#0\)\;_\(\0022$\0022* \0022-\0022_\)\;_\(\@_\)";
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
mso-style-name:"Currency [0]";
}
.style19
{
mso-number-format:"_\(* \#\,\#\#0\.00_\)\;_\(* \(\#\,\#\#0\.00\)\;_\(* \0022-\0022??_\)\;_\(\@_\)";
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
mso-style-name:"Comma";
}
.style20
{
mso-number-format:"_\(* \#\,\#\#0_\)\;_\(* \(\#\,\#\#0\)\;_\(* \0022-\0022_\)\;_\(\@_\)";
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
mso-style-name:"Comma [0]";
}
.x21
{
mso-style-parent:style0;
mso-number-format:General;
text-align:center;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:16pt;
font-weight:700;
font-style:normal;
font-family:"等线","sans-serif";
mso-protection:locked visible;
}
.x22
{
mso-style-parent:style0;
mso-number-format:General;
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:12pt;
font-weight:400;
font-style:normal;
font-family:"等线","sans-serif";
mso-protection:locked visible;
}
.x23
{
mso-style-parent:style0;
mso-number-format:General;
text-align:center;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:12pt;
font-weight:700;
font-style:normal;
font-family:"等线","sans-serif";
border-top:1px solid windowtext;
border-right:1px solid windowtext;
border-bottom:1px solid windowtext;
border-left:1px solid windowtext;
mso-diagonal-down:none;
mso-diagonal-up:none;
mso-protection:locked visible;
}
.x24
{
mso-style-parent:style0;
mso-number-format:General;
text-align:center;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:12pt;
font-weight:400;
font-style:normal;
font-family:"等线","sans-serif";
border-top:1px solid windowtext;
border-right:1px solid windowtext;
border-bottom:1px solid windowtext;
border-left:1px solid windowtext;
mso-diagonal-down:none;
mso-diagonal-up:none;
mso-protection:locked visible;
}
.x25
{
mso-style-parent:style0;
mso-number-format:General;
text-align:center;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:12pt;
font-weight:400;
font-style:normal;
font-family:"等线","sans-serif";
border-top:1px solid windowtext;
border-right:none;
border-bottom:1px solid windowtext;
border-left:1px solid windowtext;
mso-diagonal-down:none;
mso-diagonal-up:none;
mso-protection:locked visible;
}
.x26
{
mso-style-parent:style0;
mso-number-format:General;
text-align:center;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:12pt;
font-weight:400;
font-style:normal;
font-family:"等线","sans-serif";
border-top:1px solid windowtext;
border-right:none;
border-bottom:1px solid windowtext;
border-left:none;
mso-diagonal-down:none;
mso-diagonal-up:none;
mso-protection:locked visible;
}
.x27
{
mso-style-parent:style0;
mso-number-format:General;
text-align:center;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:12pt;
font-weight:400;
font-style:normal;
font-family:"等线","sans-serif";
border-top:1px solid windowtext;
border-right:1px solid windowtext;
border-bottom:1px solid windowtext;
border-left:none;
mso-diagonal-down:none;
mso-diagonal-up:none;
mso-protection:locked visible;
}
.x28
{
mso-style-parent:style0;
mso-number-format:General;
text-align:center;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:12pt;
font-weight:400;
font-style:normal;
font-family:"等线","sans-serif";
mso-protection:locked visible;
}
.x29
{
mso-style-parent:style0;
mso-number-format:General;
text-align:left;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:12pt;
font-weight:700;
font-style:normal;
font-family:"等线","sans-serif";
border-top:none;
border-right:none;
border-bottom:1px solid windowtext;
border-left:none;
mso-diagonal-down:none;
mso-diagonal-up:none;
mso-protection:locked visible;
}
.x30
{
mso-style-parent:style0;
mso-number-format:General;
text-align:center;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:12pt;
font-weight:700;
font-style:normal;
font-family:"等线","sans-serif";
border-top:1px solid windowtext;
border-right:none;
border-bottom:none;
border-left:none;
mso-diagonal-down:none;
mso-diagonal-up:none;
mso-protection:locked visible;
}
-->
</style>
<!--[if gte mso 9]><xml>
<x:ExcelWorkbook>
<x:ExcelWorksheets>
<x:ExcelWorksheet>
<x:Name>Sheet1</x:Name>
<x:WorksheetOptions>
<x:StandardWidth>2208</x:StandardWidth>
<x:Print>
<x:ValidPrinterInfo/>
<x:PaperSizeIndex>1</x:PaperSizeIndex>
<x:HorizontalResolution>600</x:HorizontalResolution>
<x:VerticalResolution>600</x:VerticalResolution>
</x:Print>
<x:Selected/>
</x:WorksheetOptions>
</x:ExcelWorksheet>
</x:ExcelWorksheets>
<x:WindowHeight>15500</x:WindowHeight>
<x:WindowWidth>25820</x:WindowWidth>
<x:WindowTopX>-110</x:WindowTopX>
<x:WindowTopY>-110</x:WindowTopY>
<x:RefModeR1C1/>
<x:TabRatio>600</x:TabRatio>
<x:ActiveSheet>0</x:ActiveSheet>
</x:ExcelWorkbook>
</xml><![endif]-->
</head>
<body link=blue vlink=purple >
<table border=0 cellpadding=0 cellspacing=0 width=758 style='border-collapse:
collapse;table-layout:fixed;width:568pt;margin: 0 auto'>
<col width=109 style='mso-width-source:userset;width:81.75pt'>
<col width=113 style='mso-width-source:userset;width:84.75pt'>
<col width=99 style='mso-width-source:userset;width:74.25pt'>
<col width=221 style='mso-width-source:userset;width:196.75pt'>
<col width=97 style='mso-width-source:userset;width:72.75pt'>
<col width=119 style='mso-width-source:userset;width:89.25pt'>
<tr height=42 style='mso-height-source:userset;height:32pt' id='r0'>
<td colspan=6 height=42 class=x21 width=758 style='height:32pt;'>人员离职离岗登记表</td>
</tr>
<tr height=42 style='mso-height-source:userset;height:32pt' id='r1'>
<td colspan=2 height=41 class=x29 style='border-bottom:1px solid windowtext;height:31.25pt;'>申请日期:</td>
<td class=x22></td>
<td class=x22></td>
<td class=x22></td>
<td class=x22></td>
</tr>
<tr height=42 style='mso-height-source:userset;height:32pt' id='r2'>
<td height=40 class=x23 style='height:30.5pt;'>姓名</td>
<td class=x24>[[${leaveuser.userName}]]</td>
<td class=x23>单位</td>
<td class=x24>[[${leaveuser.depart}]]</td>
<td class=x23>入职日期</td>
<td class=x24 id="entryDate">[[${user.startdate}]]</td>
</tr>
<tr height=96 style='mso-height-source:userset;height:72.5pt' id='r3'>
<td height=94 class=x23 style='height:71pt;'>离职离岗原因</td>
<td colspan=5 class=x25 style='border-right:1px solid windowtext;border-bottom:1px solid windowtext;'>[[${leaveuser.leavereason}]]</td>
</tr>
<tr height=96 style='mso-height-source:userset;height:72.5pt' id='r4'>
<td height=94 class=x23 style='height:71pt;'>领导意见</td>
<td colspan=5 class=x25 style='border-right:1px solid windowtext;border-bottom:1px solid windowtext;' id="examinestate">[[${leaveuser.examinestate}]]</td>
</tr>
<tr height=96 style='mso-height-source:userset;height:72.5pt' id='r5'>
<td height=94 class=x23 style='height:71pt;'>工作交接</td>
<td colspan=5 class=x25 style='border-right:1px solid windowtext;border-bottom:1px solid windowtext;' id="workstate">[[${leaveuser.workstate}]]</td>
</tr>
<tr height=96 style='mso-height-source:userset;height:72.5pt' id='r6'>
<td height=94 class=x23 style='height:71pt;'>备注</td>
<td colspan=5 class=x25 style='border-right:1px solid windowtext;border-bottom:1px solid windowtext;'>[[${leaveuser.remark}]]</td>
</tr>
<tr height=38 style='mso-height-source:userset;height:29pt' id='r7'>
<td height=36 class=x23 style='height:27.5pt;'>审批人</td>
<td colspan=5 class=x25 style='border-right:1px solid windowtext;border-bottom:1px solid windowtext;'>[[${leaveuser.examinename}]]</td>
</tr>
<tr height=38 style='mso-height-source:userset;height:29pt' id='r8'>
<td height=37 class=x28 style='height:28.25pt;'></td>
<td class=x28></td>
<td class=x28></td>
<td colspan=3 class=x30><span style='float:right' class="liquidate">[[${leaveuser.leavedate}]]</span></td>
</tr>
<tr>
<!-- 打印网页时通过hidden-print隐藏元素 -->
<div class="text-right hidden-print" style="position: fixed;bottom: 20px;right: 50%;">
<button class="btn btn-primary" onclick="printPage()"><i class="fa fa-print"></i> 打印</button>
</div>
</tr>
</table>
<th:block th:include="include :: footer" />
<script th:inline="javascript">
function printPage() {
window.print();
}
function conversionDate(date){
var year = date.getFullYear();
var month = String(date.getMonth() + 1).padStart(2, '0'); // 月份从 0 开始,需要加 1
var day = String(date.getDate()).padStart(2, '0'); // 日可能是个位数,需要补零
return year + '-' + month + '-' + day
}
document.querySelector('#entryDate').innerHTML =conversionDate(new Date(document.querySelector('#entryDate').innerHTML))
document.querySelector('.liquidate').innerHTML ='离职离岗日期:' + conversionDate(new Date(document.querySelector('.liquidate').innerHTML))
//领导意见
var examinestateDatas = [[${@dict.getType('sys_examine_state')}]];
var examinestateToFind = document.querySelector('#examinestate').innerHTML;
const foundObject = examinestateDatas.find(obj => obj.dictValue === examinestateToFind);
const result = foundObject ? foundObject.dictLabel : "";
document.querySelector('#examinestate').innerHTML = result
//工作交接
var workstateData = [[${@dict.getType('sys_user_work')}]];
var workstateToFind = document.querySelector('#workstate').innerHTML;
var workstateObject = workstateData.find(obj => obj.dictValue === workstateToFind);
var workstateresult = workstateObject ? workstateObject.dictLabel : "";
document.querySelector('#workstate').innerHTML = workstateresult
function ChangeRowspanHiddenData()
{
var node;
var params=["r2","r7","r9","r13"];
for (var i = 0;i < params.length; i++)
{
node = document.getElementById(params[i]);
if (node != null)
{
node.style.display = "";
}
}
}
ChangeRowspanHiddenData();
</script>
</body>
</html>