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 @@
-