From 162f52a8c57fb2333619096695d754bb08dcef8a Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Mon, 1 Dec 2025 16:51:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=9F=BA=E7=A1=80=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages.json | 64 +++ src/pages/attendance/statistics/index.vue | 356 +++++++++++++-- src/pages/attendance/work-rest/index.vue | 314 ++++++++++++- src/pages/home/index.vue | 148 +++---- src/pages/own/attendance-punch/index.vue | 272 ++++++++++++ .../own/attendance-punch/location/index.vue | 374 ++++++++++++++++ src/pages/own/attendance-statistics/index.vue | 417 ++++++++++++++++++ src/pages/own/electronic-contract/index.vue | 236 ++++++++++ .../own/message-notification/detail/index.vue | 382 ++++++++++++++++ src/pages/own/message-notification/index.vue | 271 ++++++++++++ src/pages/own/payslip/detail/index.vue | 387 ++++++++++++++++ src/pages/own/payslip/index.vue | 274 ++++++++++++ src/pages/work/wage-complaint/index.vue | 6 +- 13 files changed, 3372 insertions(+), 129 deletions(-) create mode 100644 src/pages/own/attendance-punch/index.vue create mode 100644 src/pages/own/attendance-punch/location/index.vue create mode 100644 src/pages/own/attendance-statistics/index.vue create mode 100644 src/pages/own/electronic-contract/index.vue create mode 100644 src/pages/own/message-notification/detail/index.vue create mode 100644 src/pages/own/message-notification/index.vue create mode 100644 src/pages/own/payslip/detail/index.vue create mode 100644 src/pages/own/payslip/index.vue diff --git a/src/pages.json b/src/pages.json index 63ee1b0..b069a98 100644 --- a/src/pages.json +++ b/src/pages.json @@ -146,6 +146,70 @@ "navigationStyle": "custom", "navigationBarBackgroundColor": "#07c160" } + }, + { + "path": "pages/own/attendance-punch/index", + "style": { + "navigationBarTitleText": "自有考勤打卡", + "navigationStyle": "custom", + "navigationBarBackgroundColor": "#07c160" + } + }, + { + "path": "pages/own/attendance-punch/location/index", + "style": { + "navigationBarTitleText": "位置选择打卡", + "navigationStyle": "custom", + "navigationBarBackgroundColor": "#07c160" + } + }, + { + "path": "pages/own/attendance-statistics/index", + "style": { + "navigationBarTitleText": "自有考勤统计", + "navigationStyle": "custom", + "navigationBarBackgroundColor": "#07c160" + } + }, + { + "path": "pages/own/electronic-contract/index", + "style": { + "navigationBarTitleText": "自有电子合同", + "navigationStyle": "custom", + "navigationBarBackgroundColor": "#07c160" + } + }, + { + "path": "pages/own/message-notification/index", + "style": { + "navigationBarTitleText": "自有消息通知", + "navigationStyle": "custom", + "navigationBarBackgroundColor": "#07c160" + } + }, + { + "path": "pages/own/message-notification/detail/index", + "style": { + "navigationBarTitleText": "公告", + "navigationStyle": "custom", + "navigationBarBackgroundColor": "#07c160" + } + }, + { + "path": "pages/own/payslip/index", + "style": { + "navigationBarTitleText": "自有工资条", + "navigationStyle": "custom", + "navigationBarBackgroundColor": "#07c160" + } + }, + { + "path": "pages/own/payslip/detail/index", + "style": { + "navigationBarTitleText": "工资条", + "navigationStyle": "custom", + "navigationBarBackgroundColor": "#07c160" + } } ], "globalStyle": { diff --git a/src/pages/attendance/statistics/index.vue b/src/pages/attendance/statistics/index.vue index 9b9c93b..9c0a737 100644 --- a/src/pages/attendance/statistics/index.vue +++ b/src/pages/attendance/statistics/index.vue @@ -10,24 +10,124 @@ - - - 考勤统计页面 - 此页面待完善,请稍后... + + + + 还有{{ pendingReviewCount }}人考勤未审核,点击查看详情 + + + + {{ projectName }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 序号 + 姓名 + 考勤 + 上班 + 休息 + 缺勤 + + + + + + + + + {{ index + 1 }} + {{ item.name }} + {{ + item.attendance + }} + {{ item.work }} + {{ item.rest }} + {{ item.absence }} + + + + + + diff --git a/src/pages/own/attendance-punch/location/index.vue b/src/pages/own/attendance-punch/location/index.vue new file mode 100644 index 0000000..ab86019 --- /dev/null +++ b/src/pages/own/attendance-punch/location/index.vue @@ -0,0 +1,374 @@ + + + + + diff --git a/src/pages/own/attendance-statistics/index.vue b/src/pages/own/attendance-statistics/index.vue new file mode 100644 index 0000000..3b68123 --- /dev/null +++ b/src/pages/own/attendance-statistics/index.vue @@ -0,0 +1,417 @@ + + + + + diff --git a/src/pages/own/electronic-contract/index.vue b/src/pages/own/electronic-contract/index.vue new file mode 100644 index 0000000..c52857d --- /dev/null +++ b/src/pages/own/electronic-contract/index.vue @@ -0,0 +1,236 @@ + + + + + diff --git a/src/pages/own/message-notification/detail/index.vue b/src/pages/own/message-notification/detail/index.vue new file mode 100644 index 0000000..f0c7659 --- /dev/null +++ b/src/pages/own/message-notification/detail/index.vue @@ -0,0 +1,382 @@ + + + + + diff --git a/src/pages/own/message-notification/index.vue b/src/pages/own/message-notification/index.vue new file mode 100644 index 0000000..e204092 --- /dev/null +++ b/src/pages/own/message-notification/index.vue @@ -0,0 +1,271 @@ + + + + + diff --git a/src/pages/own/payslip/detail/index.vue b/src/pages/own/payslip/detail/index.vue new file mode 100644 index 0000000..9cdc79e --- /dev/null +++ b/src/pages/own/payslip/detail/index.vue @@ -0,0 +1,387 @@ + + + + + diff --git a/src/pages/own/payslip/index.vue b/src/pages/own/payslip/index.vue new file mode 100644 index 0000000..d7ba908 --- /dev/null +++ b/src/pages/own/payslip/index.vue @@ -0,0 +1,274 @@ + + + + + diff --git a/src/pages/work/wage-complaint/index.vue b/src/pages/work/wage-complaint/index.vue index 97cf6ae..656518e 100644 --- a/src/pages/work/wage-complaint/index.vue +++ b/src/pages/work/wage-complaint/index.vue @@ -253,7 +253,7 @@ { */ const formatDateTime = (timestamp) => { if (!timestamp) return '' - return dayjs(timestamp).format('YYYY-MM-DD HH:mm') + return dayjs(timestamp).format('YYYY-MM-DD') } /**