feat:人员离职

kingbase
wangxy 10 months ago
parent 0fa0417598
commit 28b111d2f5

@ -28,7 +28,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">
<input name="depart" onclick="selectDeptTree()" id="treeName" type="text" placeholder="请选择单位" class="form-control" >
@ -106,6 +106,13 @@
minView: "month",
autoclose: true
});
$(function() {
var deptId = [[${addleave.deptId}]];
var deptName = [[${addleave.dept.deptName}]];
$("#treeId").val(deptId);
$("#treeName").val(deptName);
});
</script>
</body>
</html>

@ -28,7 +28,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">
<input name="depart" required onclick="selectDeptTree()" id="treeName" type="text" placeholder="请选择单位" class="form-control" th:field="*{depart}">

@ -106,7 +106,7 @@
},
{
field: 'depart',
title: '单位'
title: '所属单位'
},
{
field: 'leavedate',

Loading…
Cancel
Save