From 69d2c4acc357d949ce534365318b18ec758ca0da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=82=E7=B3=96?= Date: Wed, 18 Mar 2026 13:36:51 +0800 Subject: [PATCH] =?UTF-8?q?fix(hrm):=20=E5=B0=86=E8=AF=B7=E5=81=87?= =?UTF-8?q?=E6=97=B6=E9=95=BF=E5=8D=95=E4=BD=8D=E4=BB=8E=E5=A4=A9=E6=94=B9?= =?UTF-8?q?=E4=B8=BA=E5=B0=8F=E6=97=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修改所有相关组件中的请假时长显示单位,从"天"改为"小时",包括图表、表格和表单中的标签。同时调整时间差计算逻辑,直接计算小时数而非天数。 --- klp-ui/src/views/wms/hrm/apply/leave.vue | 6 +++--- klp-ui/src/views/wms/hrm/components/LeaveDeptChart.vue | 4 ++-- klp-ui/src/views/wms/hrm/components/LeaveRecordTable.vue | 2 +- klp-ui/src/views/wms/hrm/components/LeaveTrendChart.vue | 4 ++-- klp-ui/src/views/wms/hrm/components/LeaveTypeChart.vue | 2 +- klp-ui/src/views/wms/hrm/records/leave.vue | 4 ++-- klp-ui/src/views/wms/hrm/todo/index.vue | 2 +- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/klp-ui/src/views/wms/hrm/apply/leave.vue b/klp-ui/src/views/wms/hrm/apply/leave.vue index d1f81c85..c2881e38 100644 --- a/klp-ui/src/views/wms/hrm/apply/leave.vue +++ b/klp-ui/src/views/wms/hrm/apply/leave.vue @@ -49,7 +49,7 @@ :value="dict.value"> - + @@ -126,7 +126,7 @@ - + - +