From 7f31bed6f6d967f73d6de95865f6e1ab4cb9580b Mon Sep 17 00:00:00 2001 From: dk <1260500659@qq.com> Date: Sun, 19 Jul 2026 14:04:51 +0800 Subject: [PATCH] =?UTF-8?q?feat(personal-center):=20=E5=B0=86=E5=8A=A0?= =?UTF-8?q?=E7=8F=AD=E7=94=B3=E8=AF=B7=E5=8A=9F=E8=83=BD=E9=87=8D=E6=9E=84?= =?UTF-8?q?=E4=B8=BA=E4=B8=9A=E5=8A=A1=E5=AD=A6=E4=B9=A0=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=E3=80=82=20fix(week-report):=20=E4=BF=AE=E5=A4=8D=E5=91=A8?= =?UTF-8?q?=E6=8A=A5=E4=B8=AD=E5=B7=A5=E4=BD=9C=E6=97=A5=E5=BF=97=E7=9A=84?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98=E3=80=82=20feat(work-repor?= =?UTF-8?q?t):=20=E7=82=B9=E5=87=BB=E7=BC=96=E8=BE=91=E6=97=B6=EF=BC=8C?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E5=88=B7=E6=96=B0=E5=87=BA=E6=9C=80=E6=96=B0?= =?UTF-8?q?=E7=9A=84=E5=86=85=E5=AE=B9=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/frontend-page-resource-manifest.json | 4 +- src/constants/dict.ts | 4 +- src/constants/status-tag.ts | 2 +- src/locales/langs/zh-cn.ts | 2 +- .../overtime-application/index.vue | 14 +++--- ...ime-application-approval-record-dialog.vue | 2 +- ...ertime-application-batch-detail-dialog.vue | 14 +++--- .../overtime-application-detail-dialog.vue | 12 +++--- .../overtime-application-operate-dialog.vue | 34 +++++++-------- .../modules/overtime-application-search.vue | 4 +- .../components/prototype-page-dialog.vue | 9 +++- .../work-report/weekly/modules/fill-page.vue | 43 +++++++++++++++++-- .../modules/workbench-my-week-worklog.vue | 6 +-- .../modules/workbench-todo-panel.vue | 20 ++++----- 14 files changed, 106 insertions(+), 64 deletions(-) diff --git a/docs/frontend-page-resource-manifest.json b/docs/frontend-page-resource-manifest.json index 75770a3..539c3aa 100644 --- a/docs/frontend-page-resource-manifest.json +++ b/docs/frontend-page-resource-manifest.json @@ -408,7 +408,7 @@ "name": "personal-center_overtime-application", "path": "/personal-center/overtime-application", "component": "view.personal-center_overtime-application", - "title": "加班申请", + "title": "业务学习", "routeTitle": "personal-center_overtime-application", "i18nKey": "route.personal-center_overtime-application", "icon": "mdi:clock-plus-outline", @@ -422,7 +422,7 @@ "redirect": null, "props": null, "meta": { - "title": "加班申请", + "title": "业务学习", "i18nKey": "route.personal-center_overtime-application", "icon": "mdi:clock-plus-outline", "localIcon": null, diff --git a/src/constants/dict.ts b/src/constants/dict.ts index fbd022a..4ca7efc 100644 --- a/src/constants/dict.ts +++ b/src/constants/dict.ts @@ -113,9 +113,9 @@ export const RDMS_REQ_CAN_DELETE_STATUS_DICT_CODE = 'rdms_req_can_delete_status' export const RDMS_WORKLOG_DIFFICULTY_DICT_CODE = 'rdms_task_item_worklog_difficulty'; /** - * 加班时长快捷选项字典编码 + * 学习时长快捷选项字典编码 * - * 对应业务字段:加班申请中的 overtimeDuration + * 对应业务字段:业务学习中的 overtimeDuration * 来源口径:`overtime-application-design.md` 明确时长下拉字典为 rdms_overtime_duration */ export const RDMS_OVERTIME_DURATION_DICT_CODE = 'rdms_overtime_duration'; diff --git a/src/constants/status-tag.ts b/src/constants/status-tag.ts index f1804e3..d9e450a 100644 --- a/src/constants/status-tag.ts +++ b/src/constants/status-tag.ts @@ -104,7 +104,7 @@ const statusTagTypeRegistry: Record> completed: 'success', cancelled: 'danger' }, - // 加班申请 + // 业务学习 overtimeApplication: { pending: 'warning', approved: 'success', diff --git a/src/locales/langs/zh-cn.ts b/src/locales/langs/zh-cn.ts index e887148..0385a2e 100644 --- a/src/locales/langs/zh-cn.ts +++ b/src/locales/langs/zh-cn.ts @@ -175,7 +175,7 @@ const local: App.I18n.Schema = { 'personal-center_work-report_project': '项目半月报', 'personal-center_my-performance': '我的绩效', 'personal-center_my-application': '我的申请', - 'personal-center_overtime-application': '加班申请', + 'personal-center_overtime-application': '业务学习', 'personal-center_pending-approval': '待我审批', feedback: '意见反馈', infra: '基础设施', diff --git a/src/views/personal-center/overtime-application/index.vue b/src/views/personal-center/overtime-application/index.vue index 0a2903d..31f27e0 100644 --- a/src/views/personal-center/overtime-application/index.vue +++ b/src/views/personal-center/overtime-application/index.vue @@ -180,7 +180,7 @@ const { columns, columnChecks, data, loading, getDataByPage, mobilePagination, r { prop: 'index', type: 'index', label: '序号', width: 64 }, { prop: 'overtimeDate', - label: '加班日期', + label: '学习日期', width: 120, formatter: row => formatOvertimeDate(row.overtimeDate) } @@ -191,17 +191,17 @@ const { columns, columnChecks, data, loading, getDataByPage, mobilePagination, r } cols.push( - { prop: 'overtimeDuration', label: '加班时长', width: 110, showOverflowTooltip: true }, + { prop: 'overtimeDuration', label: '学习时长', width: 110, showOverflowTooltip: true }, { prop: 'overtimeReason', - label: '加班原因', + label: '学习原因', minWidth: 180, className: 'overtime-application__cell-ellipsis', formatter: row => formatEmptyText(row.overtimeReason) }, { prop: 'overtimeContent', - label: '加班内容', + label: '学习内容', minWidth: 200, className: 'overtime-application__cell-ellipsis', formatter: row => formatEmptyText(row.overtimeContent) @@ -357,7 +357,7 @@ async function handleExport() { return; } - downloadBlob(blob, `加班申请_${dayjs().format('YYYY-MM-DD')}.xls`); + downloadBlob(blob, `业务学习_${dayjs().format('YYYY-MM-DD')}.xls`); } async function loadSubordinateTree() { @@ -485,7 +485,7 @@ watch(