人员离职离岗

pg_adapter
20918 8 months ago
parent 8214d52d8f
commit 3892cd1645

@ -22,9 +22,9 @@
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label is-required">离职原因:</label>
<label class="col-sm-3 control-label is-required">离职离岗原因:</label>
<div class="col-sm-8">
<textarea name="leavereason" placeholder="请输入离职原因" class="form-control"></textarea>
<textarea name="leavereason" placeholder="请输入离职或离岗原因" class="form-control"></textarea>
</div>
</div>
<div class="form-group">
@ -38,7 +38,7 @@
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label is-required">离职时间:</label>
<label class="col-sm-3 control-label is-required">离职离岗时间:</label>
<div class="col-sm-8">
<div class="input-group date">
<input name="leavedate" class="form-control" placeholder="yyyy-MM-dd" type="text">

@ -22,7 +22,7 @@
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label is-required">离职原因:</label>
<label class="col-sm-3 control-label is-required">离职离岗原因:</label>
<div class="col-sm-8">
<textarea name="leavereason" required class="form-control">[[*{leavereason}]]</textarea>
</div>
@ -37,7 +37,7 @@
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label is-required">离职时间:</label>
<label class="col-sm-3 control-label is-required">离职离岗时间:</label>
<div class="col-sm-8">
<div class="input-group date">
<input name="leavedate" required th:value="${#dates.format(tdLeave.leavedate, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
<th:block th:include="include :: header('人员离职列表')" />
<th:block th:include="include :: header('人员离职离岗列表')" />
</head>
<body class="gray-bg">
<div class="container-div">
@ -15,11 +15,11 @@
<input type="text" name="usernName"/>
</li>
<li>
<label>离职时间:</label>
<input type="text" class="time-input" placeholder="请选择离职时间" name="leavedate"/>
<label>离职离岗时间:</label>
<input type="text" class="time-input" placeholder="请选择离职离岗时间" name="leavedate"/>
</li>
<li>
<label>离职状态:</label>
<label>离职离岗状态:</label>
<select name="leavestate" th:with="type=${@dict.getType('sys_user_leave')}">
<option value="">---请选择---</option>
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
@ -78,7 +78,7 @@
updateUrl: prefix + "/edit/{id}",
removeUrl: prefix + "/remove",
exportUrl: prefix + "/export",
modalName: "人员离职",
modalName: "人员离职离岗",
columns: [{
checkbox: true
},
@ -102,7 +102,7 @@
},
{
field: 'leavereason',
title: '离职原因'
title: '离职离岗原因'
},
{
field: 'depart',
@ -110,7 +110,7 @@
},
{
field: 'leavedate',
title: '离职时间'
title: '离职离岗时间'
},
{
field: 'workstate',
@ -121,7 +121,7 @@
},
{
field: 'leavestate',
title: '离职状态',
title: '离职离岗状态',
formatter: function(value, row, index) {
return $.table.selectDictLabel(leavestateData, value);
}

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
<th:block th:include="include :: header('修改人员离职')" />
<th:block th:include="include :: header('修改人员离职离岗')" />
<th:block th:include="include :: select2-css" />
<th:block th:include="include :: datetimepicker-css" />
</head>
@ -14,7 +14,7 @@
<div class="row">
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-4 control-label">离岗人姓名:</label>
<label class="col-sm-4 control-label">姓名:</label>
<div class="col-sm-8">
<input disabled name="userName" th:field="*{userName}" class="form-control" type="text">
</div>
@ -36,7 +36,7 @@
<div class="row">
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-4 control-label is-required">离职状态:</label>
<label class="col-sm-4 control-label is-required">离职离岗状态:</label>
<div class="col-sm-8">
<select name="leavestate" required class="form-control m-b" th:with="type=${@dict.getType('sys_user_leave')}">
<option value="">---请选择---</option>
@ -70,7 +70,7 @@
<div class="row">
<div class="col-sm-12">
<div class="form-group">
<label class="col-xs-2 control-label">离职原因:</label>
<label class="col-xs-2 control-label">离职离岗原因:</label>
<div class="col-xs-10">
<textarea name="leavereason" readonly class="form-control">[[*{leavereason}]]</textarea>
</div>

@ -4,7 +4,7 @@
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<th:block th:include="include :: header('离职登记表')" />
<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 ">
@ -609,7 +609,7 @@
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>
<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>
@ -623,7 +623,7 @@
<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 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'>
@ -669,7 +669,7 @@
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))
document.querySelector('.liquidate').innerHTML ='离职离岗日期:' + conversionDate(new Date(document.querySelector('.liquidate').innerHTML))
//领导意见
var examinestateDatas = [[${@dict.getType('sys_examine_state')}]];
var examinestateToFind = document.querySelector('#examinestate').innerHTML;

Loading…
Cancel
Save