From c2496581bed7be256b07a8219eaca2b365b4cf43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=9C=84?= Date: Mon, 8 Jan 2024 17:15:28 +0800 Subject: [PATCH] fix 79791 --- src/common/lang/standardRegulationLibrary/zh-cn.js | 4 +++- .../profileCenter/ProfileCenterList.vue | 14 ++++++++++++-- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/src/common/lang/standardRegulationLibrary/zh-cn.js b/src/common/lang/standardRegulationLibrary/zh-cn.js index 4976e8c5..0f848244 100644 --- a/src/common/lang/standardRegulationLibrary/zh-cn.js +++ b/src/common/lang/standardRegulationLibrary/zh-cn.js @@ -55,6 +55,8 @@ module.exports = { // 资料中心 profileCenter: { typeOfOwnership: '所属类型', - uploadData: '上传资料' + uploadData: '上传资料', + addAPeer: '新增同级', + newChild: '新增子级' } } diff --git a/src/views/standardRegulationLibrary/profileCenter/ProfileCenterList.vue b/src/views/standardRegulationLibrary/profileCenter/ProfileCenterList.vue index db8f86b4..2a1ad70f 100644 --- a/src/views/standardRegulationLibrary/profileCenter/ProfileCenterList.vue +++ b/src/views/standardRegulationLibrary/profileCenter/ProfileCenterList.vue @@ -27,23 +27,27 @@ v-if="hasManagePermission(record)"> @@ -199,13 +203,19 @@ export default { { text: this.$t('edit'), clickEvent: 'handleEdit', - has: 'profileCenter:table' + has: 'profileCenter:table', + show: (record) => { + return record.authManageTag + } }, // 删除 { text: this.$t('delete'), clickEvent: 'handleDelete', - has: 'profileCenter:table' + has: 'profileCenter:table', + show: (record) => { + return record.authManageTag + } } ], url: {