diff --git a/components/hrm/detailPanels/leave.vue b/components/hrm/detailPanels/leave.vue
index 834e863..331a9d3 100644
--- a/components/hrm/detailPanels/leave.vue
+++ b/components/hrm/detailPanels/leave.vue
@@ -1,132 +1,186 @@
-
-
-
- 请假类型:
- {{ detail.leaveType || '无' }}
+
+
+
+
+ 请假类型:
+ {{ detail.leaveType || '无' }}
+
+
+
+
+ 请假时间:
+ {{ formatTime(detail.startTime) }} - {{ formatTime(detail.endTime) }}
-
-
- 开始时间:
- {{ formatTime(detail.startTime) || '无' }}
-
-
-
- 结束时间:
- {{ formatTime(detail.endTime) || '无' }}
-
-
-
- 请假时长:
- {{ detail.hours || '0' }} 小时
-
-
-
- 请假原因:
- {{ detail.reason || '无' }}
-
-
-
- 申请人:
- {{ detail.createBy || '无' }}
-
-
-
- 申请时间:
- {{ formatTime(detail.createTime) || '无' }}
-
-
+
+
+
+
+ 请假时长:
+ {{ detail.hours || '0' }} 小时
+
+
+
+
+
+ 请假原因:
+ {{ detail.reason || '无' }}
+
+
+
+
+
+ 申请人:
+ {{ detail.createBy || '无' }}
+
+
+
+
+
+ 申请时间:
+ {{ formatTime(detail.createTime) || '无' }}
+
+
\ No newline at end of file
diff --git a/components/hrm/detailPanels/reimburse.vue b/components/hrm/detailPanels/reimburse.vue
index 276705f..f30c5c1 100644
--- a/components/hrm/detailPanels/reimburse.vue
+++ b/components/hrm/detailPanels/reimburse.vue
@@ -1,48 +1,47 @@
-
- 报销申请:
- {{ detail.createBy || '无' }}
-
-
-
+
+
+
报销类型:
{{ detail.reimburseType || '无' }}
-
+
+
+
总金额:
{{ detail.totalAmount || '无' }}
-
-
+
+
+
报销原因:
{{ detail.reason || '无' }}
-
-
+
+
+
备注:
{{ detail.remark || '无' }}
-
-
+
+
+
申请人:
{{ detail.createBy || '无' }}
-
-
+
+
+
申请时间:
{{ formatTime(detail.createTime) || '无' }}
-
-
+
+
+
更新人:
{{ detail.updateBy || '无' }}
-
-
- 更新时间:
- {{ formatTime(detail.updateTime) || '无' }}
-
@@ -120,42 +119,104 @@
\ No newline at end of file
diff --git a/components/hrm/detailPanels/seal.vue b/components/hrm/detailPanels/seal.vue
index 6d93154..63cadcc 100644
--- a/components/hrm/detailPanels/seal.vue
+++ b/components/hrm/detailPanels/seal.vue
@@ -1,44 +1,41 @@
-
- 报销申请
- {{ detail.createBy }}
+
+
+
+ 用印类型
+ {{ detail.sealType || '无' }}
+
+
+
+
+ 原因
+ {{ detail.purpose || '无' }}
+
+
+
+
+ 备注
+ {{ detail.remark || '无' }}
+
+
+
+
+ 创建人
+ {{ detail.createBy || '无' }}
+
+
+
+
+ 创建时间
+ {{ detail.createTime || '无' }}
+
+
+
+
+ 更新人
+ {{ detail.updateBy || '无' }}
-
-
- 用印类型
- {{ detail.sealType || '无' }}
-
-
-
- 原因
- {{ detail.purpose || '无' }}
-
-
-
- 备注
- {{ detail.remark || '无' }}
-
-
-
- 创建人
- {{ detail.createBy || '无' }}
-
-
-
- 创建时间
- {{ detail.createTime || '无' }}
-
-
-
- 更新人
- {{ detail.updateBy || '无' }}
-
-
-
- 更新时间
- {{ detail.updateTime || '无' }}
-
@@ -72,42 +69,99 @@
\ No newline at end of file
diff --git a/components/hrm/detailPanels/travel.vue b/components/hrm/detailPanels/travel.vue
index c2ba1af..3b92fd7 100644
--- a/components/hrm/detailPanels/travel.vue
+++ b/components/hrm/detailPanels/travel.vue
@@ -1,76 +1,70 @@
-
+
-
-
- 开始时间
- {{ detail.startTime || '无' }}
-
-
-
- 结束时间
- {{ detail.endTime || '无' }}
-
-
-
+
+
+
出差类型
{{ detail.travelType || '无' }}
-
-
+
+
+ 出差时间
+ {{ formatTime(detail.startTime) || '无' }} - {{ formatTime(detail.endTime) || '无' }}
+
+
+
+
出差目的地
{{ detail.destination || '无' }}
-
-
+
+
+
出差原因
{{ detail.reason || '无' }}
-
-
+
+
+
收款人姓名
{{ detail.payeeName || '无' }}
-
-
+
+
+
预估费用
{{ detail.estimatedCost || 0 }} 元
-
-
+
+
+
开户银行
{{ detail.bankName || '无' }}
-
-
+
+
+
银行账号
{{ detail.bankAccount || '无' }}
-
-
+
+
+
备注
{{ detail.remark || '无' }}
-
-
- 创建人
+
+
+
+ 申请人
{{ detail.createBy || '无' }}
-
-
- 创建时间
- {{ detail.createTime || '无' }}
-
-
-
- 更新人
- {{ detail.updateBy || '无' }}
-
-
-
- 更新时间
- {{ detail.updateTime || '无' }}
-
+
+
+ 申请时间
+ {{ detail.createTime || '无' }}
+
@@ -103,46 +97,128 @@
immediate: true
}
},
+ methods: {
+ /**
+ * 时间格式化方法
+ * 将 "2026-01-08 00:00:00" 格式化为 "2026-01-08"
+ * @param {String} timeStr - 原始时间字符串
+ * @returns {String} 格式化后的日期
+ */
+ formatTime(timeStr) {
+ if (!timeStr) return '';
+ const [datePart] = timeStr.split(' ');
+ return datePart;
+ },
+ }
}
\ No newline at end of file
diff --git a/version.md b/version.md
index 4509b23..fb5efda 100644
--- a/version.md
+++ b/version.md
@@ -67,4 +67,7 @@
## 5.1.1
+ 增加项目进度页面
+ 增加采购需求页面
-+ 增加通知公告页面
\ No newline at end of file
++ 增加通知公告页面
+
+## 5.2.0
++ 增加HRM办公模块初版
\ No newline at end of file