From 5b6286326baf91ff1622ac49bb0e8a0aefb2f7b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=82=E7=B3=96?= Date: Wed, 11 Mar 2026 16:48:44 +0800 Subject: [PATCH] =?UTF-8?q?feat(HRM):=20=E6=B7=BB=E5=8A=A0=E9=99=84?= =?UTF-8?q?=E4=BB=B6=E6=98=BE=E7=A4=BA=E7=BB=84=E4=BB=B6=E5=B9=B6=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E8=A1=A8=E5=8D=95=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加FileList组件用于显示附件列表 在请假和外出申请详情页中显示附件 优化审批部门选择逻辑,仅在新增时显示 修复请假申请编辑时的审批类型校验问题 --- klp-ui/src/components/FileList/index.vue | 119 +++++++++++++++++++++++ klp-ui/src/views/wms/hrm/apply/goout.vue | 2 +- klp-ui/src/views/wms/hrm/apply/leave.vue | 52 +++++----- klp-ui/src/views/wms/hrm/todo/index.vue | 11 +++ 4 files changed, 159 insertions(+), 25 deletions(-) create mode 100644 klp-ui/src/components/FileList/index.vue diff --git a/klp-ui/src/components/FileList/index.vue b/klp-ui/src/components/FileList/index.vue new file mode 100644 index 00000000..5b00ffcd --- /dev/null +++ b/klp-ui/src/components/FileList/index.vue @@ -0,0 +1,119 @@ + + + + + \ No newline at end of file diff --git a/klp-ui/src/views/wms/hrm/apply/goout.vue b/klp-ui/src/views/wms/hrm/apply/goout.vue index e3258db4..f1271a64 100644 --- a/klp-ui/src/views/wms/hrm/apply/goout.vue +++ b/klp-ui/src/views/wms/hrm/apply/goout.vue @@ -8,7 +8,7 @@ - + diff --git a/klp-ui/src/views/wms/hrm/apply/leave.vue b/klp-ui/src/views/wms/hrm/apply/leave.vue index 7468e867..d1f81c85 100644 --- a/klp-ui/src/views/wms/hrm/apply/leave.vue +++ b/klp-ui/src/views/wms/hrm/apply/leave.vue @@ -8,7 +8,7 @@ - + @@ -29,14 +29,8 @@
请假时段 {{ index + 1 }} - 删除 + 删除
@@ -79,7 +73,9 @@
- {{ form.leaveId ? '更新申请' : '批量提交申请' }} + {{ form.leaveId ? '更新申请' : + '批量提交申请' + }} 重置表单
@@ -107,7 +103,8 @@