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: {