From 98251b8c4f6a2b2f13eadbf31a44a6604507695e Mon Sep 17 00:00:00 2001 From: JiangSheng Date: Fri, 28 Nov 2025 13:48:31 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E5=AE=A1=E6=89=B9=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/i18n/en.ts | 1 + src/utils/i18n/zh.ts | 1 + .../components/approvalTypeHeader.vue | 50 +++++++++++++++++++ .../components/deliverableFile.vue | 31 +----------- .../approvalPreview/components/knowledge.vue | 31 +----------- 5 files changed, 56 insertions(+), 58 deletions(-) create mode 100644 src/views/index/approvalPreview/components/approvalTypeHeader.vue diff --git a/src/utils/i18n/en.ts b/src/utils/i18n/en.ts index f39905f2..2c8ba223 100644 --- a/src/utils/i18n/en.ts +++ b/src/utils/i18n/en.ts @@ -18,6 +18,7 @@ const lang = { '上一步': 'Previous', '下一步': 'Next', '查看': 'View', + '审批类型': 'Approval Type', }, '菜单': { '首页': 'Home', diff --git a/src/utils/i18n/zh.ts b/src/utils/i18n/zh.ts index 90ed3211..5fb379f0 100644 --- a/src/utils/i18n/zh.ts +++ b/src/utils/i18n/zh.ts @@ -18,6 +18,7 @@ const lang = { '上一步': '上一步', '下一步': '下一步', '查看': '查看', + '审批类型': '审批类型', }, '菜单': { '首页': '首页', diff --git a/src/views/index/approvalPreview/components/approvalTypeHeader.vue b/src/views/index/approvalPreview/components/approvalTypeHeader.vue new file mode 100644 index 00000000..4721d69c --- /dev/null +++ b/src/views/index/approvalPreview/components/approvalTypeHeader.vue @@ -0,0 +1,50 @@ + + + + + diff --git a/src/views/index/approvalPreview/components/deliverableFile.vue b/src/views/index/approvalPreview/components/deliverableFile.vue index 6360db83..b895d152 100644 --- a/src/views/index/approvalPreview/components/deliverableFile.vue +++ b/src/views/index/approvalPreview/components/deliverableFile.vue @@ -1,10 +1,5 @@