
<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd">
<html
        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="a6gjh-s69dj_files/filelist.xml">
    <link rel=Edit-Time-Data href="a6gjh-s69dj_files/editdata.mso">
    <link rel=OLE-Object-Data href="a6gjh-s69dj_files/oledata.mso">
    <!--[if gte mso 9]><xml>
    <o:DocumentProperties>
        <o:Author>波强 赵</o:Author>
        <o:LastPrinted>2024-04-16T18:40:58Z</o:LastPrinted>
        <o:Created>2024-04-16T18:36:06Z</o:Created>
        <o:LastSaved>2024-04-16T18:41:36Z</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:9pt;
            font-weight:400;
            font-style:normal;
            font-family:"等线","sans-serif"; }
        .font3
        {
            color:#000000;
            font-size:16pt;
            font-weight:700;
            font-style:normal;
            font-family:"等线","monospace"; }
        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:11pt;
            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;
        }
        .x22
        {
            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:11pt;
            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;
        }
        .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:11pt;
            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;
        }
        .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:11pt;
            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;
        }
        .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:11pt;
            font-weight:400;
            font-style:normal;
            font-family:"等线","sans-serif";
            border-top:none;
            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;
        }
        .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:16pt;
            font-weight:700;
            font-style:normal;
            font-family:"等线","monospace";
            mso-protection:locked visible;
        }
        .x27
        {
            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:11pt;
            font-weight:400;
            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;
        }
        .x28
        {
            mso-style-parent:style0;
            mso-number-format:General;
            text-align:right;
            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;
        }
        -->
    </style>
    <!--[if gte mso 9]><xml>
    <x:ExcelWorkbook>
        <x:ExcelWorksheets>
            <x:ExcelWorksheet>
                <x:Name>Sheet1</x:Name>
                <x:WorksheetOptions>
                    <x:StandardWidth>2304</x:StandardWidth>
                    <x:Print>
                        <x:ValidPrinterInfo/>
                        <x:PaperSizeIndex>9</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=666 style='border-collapse: 
 collapse;table-layout:fixed;width:499pt;margin: 0 auto;'>
    <col width=111 span=6 style='mso-width-source:userset;width:83.25pt'>
    <tr height=38 style='mso-height-source:userset;height:28.5pt' id='r0'>
        <td colspan=6 height=38 class=x26 width=666 style='height:28.5pt;'>人员离职登记表</td>
    </tr>
    <tr height=37 style='mso-height-source:userset;height:28pt' id='r1'>
        <td colspan=6 height=36 class=x27 style='border-bottom:1px solid windowtext;height:27.25pt;'>申请日期：</td>
    </tr>
    <tr height=37 style='mso-height-source:userset;height:28pt' id='r2'>
        <td height=35 class=x25 style='height:26.5pt;'>姓名</td>
        <td class=x25>[[${leaveuser.userName}]]</td>
        <td class=x25>单位</td>
        <td class=x25>[[${leaveuser.depart}]]</td>
        <td class=x25>入职日期</td>
        <td class=x25 id="entryDate">[[${user.startdate}]]</td>
    </tr>
    <tr height=75 style='mso-height-source:userset;height:56.5pt' id='r3'>
        <td height=73 class=x21 style='height:55pt;'>离职原因</td>
        <td colspan=5 class=x22 style='border-right:1px solid windowtext;border-bottom:1px solid windowtext;'>[[${leaveuser.leavereason}]]</td>
    </tr>
    <tr height=84 style='mso-height-source:userset;height:63.5pt' id='r4'>
        <td height=82 class=x21 style='height:62pt;'>领导意见</td>
        <td colspan=5 class=x22 style='border-right:1px solid windowtext;border-bottom:1px solid windowtext;' id="examinestate">[[${leaveuser.examinestate}]]</td>
    </tr>
    <tr height=73 style='mso-height-source:userset;height:55pt' id='r5'>
        <td height=71 class=x21 style='height:53.5pt;'>工作交接</td>
        <td colspan=5 class=x22 style='border-right:1px solid windowtext;border-bottom:1px solid windowtext;' id="workstate">[[${leaveuser.workstate}]]</td>
    </tr>
    <tr height=77 style='mso-height-source:userset;height:58pt' id='r6'>
        <td height=75 class=x21 style='height:56.5pt;'>备注</td>
        <td colspan=5 class=x22 style='border-right:1px solid windowtext;border-bottom:1px solid windowtext;'></td>
    </tr>
    <tr height=37 style='mso-height-source:userset;height:28pt' id='r7'>
        <td height=35 class=x21 style='height:26.5pt;'>审批人</td>
        <td colspan=5 class=x22 style='border-right:1px solid windowtext;border-bottom:1px solid windowtext;'>[[${leaveuser.examinename}]]</td>
    </tr>
    <tr height=37 style='mso-height-source:userset;height:28pt' id='r8'>
        <td height=37 style='height:28pt;'></td>
        <td></td>
        <td></td>
        <td></td>
        <td class=x28><span style='float:right' class="liquidate">[[${leaveuser.leavedate}]]</span></td>
        <td></td>
    </tr>
    <tr>
        <!-- 打印网页时通过hidden-print隐藏元素 -->
        <div class="text-right hidden-print" style="position: absolute;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>
