diff --git a/src/views/system/tags/pages/ClauseSplittingList.vue b/src/views/system/tags/pages/ClauseSplittingList.vue index df11e73..0893bdf 100644 --- a/src/views/system/tags/pages/ClauseSplittingList.vue +++ b/src/views/system/tags/pages/ClauseSplittingList.vue @@ -135,7 +135,7 @@ export default { clickEvent: 'handleEdit', has: 'tag:edit', show: (record) => { - return (this.canOpeFlag || record.isReadOnly === IsReadOnlyEnums.configurable.value || record.isReadOnly === IsReadOnlyEnums.subConfigurable.value) + return (this.canOpeFlag && record.isReadOnly === IsReadOnlyEnums.configurable.value) } }, // 删除 @@ -144,7 +144,7 @@ export default { clickEvent: 'handleDelete', has: 'tag:logicDelete', show: (record) => { - return (this.canOpeFlag || record.isReadOnly === IsReadOnlyEnums.configurable.value || record.isReadOnly === IsReadOnlyEnums.subConfigurable.value) + return (this.canOpeFlag && record.isReadOnly === IsReadOnlyEnums.configurable.value) } } ] diff --git a/src/views/system/tags/pages/StandardList.vue b/src/views/system/tags/pages/StandardList.vue index 7d97ed8..8a9c670 100644 --- a/src/views/system/tags/pages/StandardList.vue +++ b/src/views/system/tags/pages/StandardList.vue @@ -170,7 +170,7 @@ export default { clickEvent: 'handleEdit', has: 'tag:edit', show: (record) => { - return (this.canOpeFlag || record.isReadOnly === IsReadOnlyEnums.configurable.value || record.isReadOnly === IsReadOnlyEnums.subConfigurable.value) + return (this.canOpeFlag && record.isReadOnly === IsReadOnlyEnums.configurable.value) } }, // 删除 @@ -179,7 +179,7 @@ export default { clickEvent: 'handleDelete', has: 'tag:logicDelete', show: (record) => { - return (this.canOpeFlag || record.isReadOnly === IsReadOnlyEnums.configurable.value || record.isReadOnly === IsReadOnlyEnums.subConfigurable.value) + return (this.canOpeFlag && record.isReadOnly === IsReadOnlyEnums.configurable.value) } } ]