From a60ffdbdddb4526a8808169b230cc06ddbf6a903 Mon Sep 17 00:00:00 2001 From: song-cc-rock Date: Tue, 26 Mar 2024 20:26:42 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E9=A1=B9=E7=9B=AE=E8=AE=BE=E7=BD=AE):=20?= =?UTF-8?q?=20=E6=8A=A5=E5=91=8A=E4=BF=AE=E6=94=B9=E6=8F=90=E7=A4=BA?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1037522 --user=宋昌昌 修改报告有效期的提示优化 https://www.tapd.cn/55049933/s/1481349 --- .../projectAndPermission/locale/en-US.ts | 2 ++ .../projectAndPermission/locale/zh-CN.ts | 1 + .../menuManagement/menuManagement.vue | 8 +++++++- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/frontend/src/views/project-management/projectAndPermission/locale/en-US.ts b/frontend/src/views/project-management/projectAndPermission/locale/en-US.ts index 7353075bfd..4086616e57 100644 --- a/frontend/src/views/project-management/projectAndPermission/locale/en-US.ts +++ b/frontend/src/views/project-management/projectAndPermission/locale/en-US.ts @@ -8,4 +8,6 @@ export default { 'project.permission.memberPermission': 'Member Permission', 'project.permission.member': 'Member', 'project.permission.userGroup': 'User Group', + 'project.application.report.tips': + 'Success. The new validity period applies to subsequent report links. The generated validity period does not take effect;', }; diff --git a/frontend/src/views/project-management/projectAndPermission/locale/zh-CN.ts b/frontend/src/views/project-management/projectAndPermission/locale/zh-CN.ts index 2d1a4a0994..783f759003 100644 --- a/frontend/src/views/project-management/projectAndPermission/locale/zh-CN.ts +++ b/frontend/src/views/project-management/projectAndPermission/locale/zh-CN.ts @@ -8,4 +8,5 @@ export default { 'project.permission.memberPermission': '成员权限', 'project.permission.member': '成员', 'project.permission.userGroup': '用户组', + 'project.application.report.tips': '操作成功, 新修改的有效期适用于后续生成的报告链接, 已生成的不会生效;', }; diff --git a/frontend/src/views/project-management/projectAndPermission/menuManagement/menuManagement.vue b/frontend/src/views/project-management/projectAndPermission/menuManagement/menuManagement.vue index a1e7690f98..071deb39b2 100644 --- a/frontend/src/views/project-management/projectAndPermission/menuManagement/menuManagement.vue +++ b/frontend/src/views/project-management/projectAndPermission/menuManagement/menuManagement.vue @@ -782,7 +782,13 @@ }, suffix ); - Message.success(t('common.operationSuccess')); + + if (type.includes('REPORT')) { + Message.success(t('project.application.report.tips')); + } else { + Message.success(t('common.operationSuccess')); + } + getMenuConfig(suffix); } catch (e) { // eslint-disable-next-line no-console