From ee2279273838728114661f364e68ffdaee705e77 Mon Sep 17 00:00:00 2001 From: wanglei Date: Thu, 30 Oct 2025 10:36:07 +0800 Subject: [PATCH] =?UTF-8?q?=E8=81=8C=E5=B7=A5=E6=B7=BB=E5=8A=A0=20=20?= =?UTF-8?q?=E9=99=84=E4=BB=B6=E4=B8=8A=E4=BC=A0=E3=80=81=E9=99=84=E4=BB=B6?= =?UTF-8?q?=E7=AE=80=E4=BB=8B=E5=8A=9F=E8=83=BD=20=E7=BB=84=E7=BB=87?= =?UTF-8?q?=E6=9E=B6=E6=9E=84=E6=B7=BB=E5=8A=A0=20=20=E9=99=84=E4=BB=B6?= =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E3=80=81=E9=99=84=E4=BB=B6=E7=AE=80=E4=BB=8B?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/api/kaohe/employee.js | 9 + ruoyi-ui/src/api/system/dept.js | 11 +- ruoyi-ui/src/views/kaohe/employee/index.vue | 91 +++++++--- ruoyi-ui/src/views/system/dept/index.vue | 189 +++++++++++++++++++- 4 files changed, 275 insertions(+), 25 deletions(-) diff --git a/ruoyi-ui/src/api/kaohe/employee.js b/ruoyi-ui/src/api/kaohe/employee.js index 0865978..38259bc 100644 --- a/ruoyi-ui/src/api/kaohe/employee.js +++ b/ruoyi-ui/src/api/kaohe/employee.js @@ -42,3 +42,12 @@ export function delEmployee(id) { method: 'delete' }) } + +// 修改职工附件信息 +export function editEmployeeDocs(data) { + return request({ + url: '/kaohe/employee/editDocs', + method: 'put', + data: data + }) +} diff --git a/ruoyi-ui/src/api/system/dept.js b/ruoyi-ui/src/api/system/dept.js index fc943cd..ca7bc64 100644 --- a/ruoyi-ui/src/api/system/dept.js +++ b/ruoyi-ui/src/api/system/dept.js @@ -49,4 +49,13 @@ export function delDept(deptId) { url: '/system/dept/' + deptId, method: 'delete' }) -} \ No newline at end of file +} + +// 修改部门附件信息 +export function editDeptDocs(data) { + return request({ + url: '/system/dept/editDocs', + method: 'put', + data: data + }) +} diff --git a/ruoyi-ui/src/views/kaohe/employee/index.vue b/ruoyi-ui/src/views/kaohe/employee/index.vue index 942fb74..8b3358c 100644 --- a/ruoyi-ui/src/views/kaohe/employee/index.vue +++ b/ruoyi-ui/src/views/kaohe/employee/index.vue @@ -103,7 +103,7 @@ size="mini" type="text" icon="el-icon-view" - v-hasPermi="['kaohe:employee:edit']" + v-hasPermi="['kaohe:employee:docs']" @click="handleFuJian(scope.row)" >附件详情/编辑 @@ -278,6 +278,24 @@ +
+ + +
附件主题
+
+ + + +
+ + +
附件简介
+
+ + + +
+
@@ -299,7 +317,6 @@
-