diff --git a/ruoyi-admin/src/main/resources/templates/system/leave/add.html b/ruoyi-admin/src/main/resources/templates/system/leave/add.html index b3e9e05..f6dfb5d 100644 --- a/ruoyi-admin/src/main/resources/templates/system/leave/add.html +++ b/ruoyi-admin/src/main/resources/templates/system/leave/add.html @@ -28,10 +28,10 @@
- +
- +
@@ -106,6 +106,13 @@ minView: "month", autoclose: true }); + $(function() { + var deptId = [[${addleave.deptId}]]; + var deptName = [[${addleave.dept.deptName}]]; + $("#treeId").val(deptId); + $("#treeName").val(deptName); + + }); diff --git a/ruoyi-admin/src/main/resources/templates/system/leave/edit.html b/ruoyi-admin/src/main/resources/templates/system/leave/edit.html index a91bbda..1e133ef 100644 --- a/ruoyi-admin/src/main/resources/templates/system/leave/edit.html +++ b/ruoyi-admin/src/main/resources/templates/system/leave/edit.html @@ -28,7 +28,7 @@
- +
diff --git a/ruoyi-admin/src/main/resources/templates/system/leave/leave.html b/ruoyi-admin/src/main/resources/templates/system/leave/leave.html index 3397a85..a7eb002 100644 --- a/ruoyi-admin/src/main/resources/templates/system/leave/leave.html +++ b/ruoyi-admin/src/main/resources/templates/system/leave/leave.html @@ -106,7 +106,7 @@ }, { field: 'depart', - title: '单位' + title: '所属单位' }, { field: 'leavedate',