fix(操作日志): 删除缺陷模版操作日志的操作对象显示汉化

--bug=1018371 --user=李玉号 【操作日志】删除缺陷模版操作日志的操作对象显示汉化
https://www.tapd.cn/55049933/s/1266572
This commit is contained in:
shiziyuan9527 2022-10-18 18:29:49 +08:00 committed by lyh
parent 380ae96f15
commit 590fa157ef
2 changed files with 414 additions and 382 deletions

View File

@ -85,7 +85,7 @@ export function LOG_MODULE_MAP(_this) {
['PROJECT_ENVIRONMENT_SETTING', _this.$t('operating_log.project_environment_setting')], ['PROJECT_ENVIRONMENT_SETTING', _this.$t('operating_log.project_environment_setting')],
['PROJECT_PROJECT_MANAGER', _this.$t('operating_log.project_project_manager')], ['PROJECT_PROJECT_MANAGER', _this.$t('operating_log.project_project_manager')],
['PROJECT_FILE_MANAGEMENT', _this.$t('operating_log.project_file_management')], ['PROJECT_FILE_MANAGEMENT', _this.$t('operating_log.project_file_management')],
['PROJECT_TEMPLATE_MANAGEMENT', _this.$t('operating_log.project_template_management')], ['PROJECT_TEMPLATE_MANAGEMENT', _this.$t('operating_log.project_template_settings_issue')],
['PROJECT_PROJECT_MEMBER', _this.$t('operating_log.project_project_member')], ['PROJECT_PROJECT_MEMBER', _this.$t('operating_log.project_project_member')],
['PERSONAL_INFORMATION_PERSONAL_SETTINGS', _this.$t('operating_log.personal_information_personal_settings')], ['PERSONAL_INFORMATION_PERSONAL_SETTINGS', _this.$t('operating_log.personal_information_personal_settings')],
['PERSONAL_INFORMATION_APIKEYS', _this.$t('operating_log.personal_information_apikeys')], ['PERSONAL_INFORMATION_APIKEYS', _this.$t('operating_log.personal_information_apikeys')],
@ -271,6 +271,11 @@ export function SYSLIST() {
value: [i18n.t('commons.project') + "-" + i18n.t('permission.project_file.name'), 'PROJECT_FILE_MANAGEMENT'], value: [i18n.t('commons.project') + "-" + i18n.t('permission.project_file.name'), 'PROJECT_FILE_MANAGEMENT'],
leaf: true leaf: true
}, },
{
label: i18n.t('commons.project') + "-" + i18n.t('permission.template.name'),
value: [i18n.t('commons.project') + "-" + i18n.t('permission.template.name'), 'PROJECT_TEMPLATE_MANAGEMENT'],
leaf: true
},
] ]
}, },
]; ];
@ -378,6 +383,11 @@ export function WORKSYSLIST() {
value: [i18n.t('commons.project') + "-" + i18n.t('permission.project_file.name'), 'PROJECT_FILE_MANAGEMENT'], value: [i18n.t('commons.project') + "-" + i18n.t('permission.project_file.name'), 'PROJECT_FILE_MANAGEMENT'],
leaf: true leaf: true
}, },
{
label: i18n.t('commons.project') + "-" + i18n.t('permission.template.name'),
value: [i18n.t('commons.project') + "-" + i18n.t('permission.template.name'), 'PROJECT_TEMPLATE_MANAGEMENT'],
leaf: true
},
] ]
}, },
]; ];
@ -486,6 +496,11 @@ export function PROJECTSYSLIST() {
value: [i18n.t('commons.project') + "-" + i18n.t('permission.project_file.name'), 'PROJECT_FILE_MANAGEMENT'], value: [i18n.t('commons.project') + "-" + i18n.t('permission.project_file.name'), 'PROJECT_FILE_MANAGEMENT'],
leaf: true leaf: true
}, },
{
label: i18n.t('commons.project') + "-" + i18n.t('permission.template.name'),
value: [i18n.t('commons.project') + "-" + i18n.t('permission.template.name'), 'PROJECT_TEMPLATE_MANAGEMENT'],
leaf: true
},
] ]
}, },
]; ];
@ -631,3 +646,4 @@ export function getUrl(d, _this) {
} }
return url; return url;
} }

View File

@ -85,6 +85,7 @@ export function LOG_MODULE_MAP(_this) {
['PROJECT_ENVIRONMENT_SETTING', _this.$t('operating_log.project_environment_setting')], ['PROJECT_ENVIRONMENT_SETTING', _this.$t('operating_log.project_environment_setting')],
['PROJECT_PROJECT_MANAGER', _this.$t('operating_log.project_project_manager')], ['PROJECT_PROJECT_MANAGER', _this.$t('operating_log.project_project_manager')],
['PROJECT_FILE_MANAGEMENT', _this.$t('operating_log.project_file_management')], ['PROJECT_FILE_MANAGEMENT', _this.$t('operating_log.project_file_management')],
['PROJECT_TEMPLATE_MANAGEMENT', _this.$t('operating_log.project_template_settings_issue')],
['PROJECT_PROJECT_MEMBER', _this.$t('operating_log.project_project_member')], ['PROJECT_PROJECT_MEMBER', _this.$t('operating_log.project_project_member')],
['PERSONAL_INFORMATION_PERSONAL_SETTINGS', _this.$t('operating_log.personal_information_personal_settings')], ['PERSONAL_INFORMATION_PERSONAL_SETTINGS', _this.$t('operating_log.personal_information_personal_settings')],
['PERSONAL_INFORMATION_APIKEYS', _this.$t('operating_log.personal_information_apikeys')], ['PERSONAL_INFORMATION_APIKEYS', _this.$t('operating_log.personal_information_apikeys')],
@ -270,6 +271,11 @@ export function SYSLIST() {
value: [i18n.t('commons.project') + "-" + i18n.t('permission.project_file.name'), 'PROJECT_FILE_MANAGEMENT'], value: [i18n.t('commons.project') + "-" + i18n.t('permission.project_file.name'), 'PROJECT_FILE_MANAGEMENT'],
leaf: true leaf: true
}, },
{
label: i18n.t('commons.project') + "-" + i18n.t('permission.template.name'),
value: [i18n.t('commons.project') + "-" + i18n.t('permission.template.name'), 'PROJECT_TEMPLATE_MANAGEMENT'],
leaf: true
},
] ]
}, },
]; ];
@ -377,6 +383,11 @@ export function WORKSYSLIST() {
value: [i18n.t('commons.project') + "-" + i18n.t('permission.project_file.name'), 'PROJECT_FILE_MANAGEMENT'], value: [i18n.t('commons.project') + "-" + i18n.t('permission.project_file.name'), 'PROJECT_FILE_MANAGEMENT'],
leaf: true leaf: true
}, },
{
label: i18n.t('commons.project') + "-" + i18n.t('permission.template.name'),
value: [i18n.t('commons.project') + "-" + i18n.t('permission.template.name'), 'PROJECT_TEMPLATE_MANAGEMENT'],
leaf: true
},
] ]
}, },
]; ];
@ -485,6 +496,11 @@ export function PROJECTSYSLIST() {
value: [i18n.t('commons.project') + "-" + i18n.t('permission.project_file.name'), 'PROJECT_FILE_MANAGEMENT'], value: [i18n.t('commons.project') + "-" + i18n.t('permission.project_file.name'), 'PROJECT_FILE_MANAGEMENT'],
leaf: true leaf: true
}, },
{
label: i18n.t('commons.project') + "-" + i18n.t('permission.template.name'),
value: [i18n.t('commons.project') + "-" + i18n.t('permission.template.name'), 'PROJECT_TEMPLATE_MANAGEMENT'],
leaf: true
},
] ]
}, },
]; ];