refactor(系统设置): 优化项目权限位的值
This commit is contained in:
parent
0e9d8f9a98
commit
c65c624000
|
@ -36,7 +36,7 @@
|
|||
</template>
|
||||
<template #operation="{ record }">
|
||||
<MsRemoveButton
|
||||
v-permission="['ORGANIZATION_PROJECT:READ+DELETE+MEMBER']"
|
||||
v-permission="['ORGANIZATION_PROJECT:READ+DELETE_MEMBER']"
|
||||
:title="t('system.project.removeName', { name: record.name })"
|
||||
:sub-title-tip="t('system.project.removeTip')"
|
||||
@ok="handleRemove(record)"
|
||||
|
@ -87,7 +87,7 @@
|
|||
|
||||
const keyword = ref('');
|
||||
|
||||
const hasOperationPermission = computed(() => hasAnyPermission(['ORGANIZATION_PROJECT:READ+DELETE+MEMBER']));
|
||||
const hasOperationPermission = computed(() => hasAnyPermission(['ORGANIZATION_PROJECT:READ+DELETE_MEMBER']));
|
||||
|
||||
const projectColumn: MsTableColumn = [
|
||||
{
|
||||
|
|
|
@ -595,7 +595,7 @@
|
|||
'SYSTEM_USER:READ+UPDATE',
|
||||
'SYSTEM_USER_ROLE:READ',
|
||||
'SYSTEM_ORGANIZATION_PROJECT:READ',
|
||||
'SYSTEM_ORGANIZATION_PROJECT_MEMBER:ADD',
|
||||
'SYSTEM_ORGANIZATION_PROJECT:READ+ADD_MEMBER',
|
||||
],
|
||||
},
|
||||
{
|
||||
|
@ -610,7 +610,7 @@
|
|||
'SYSTEM_USER:READ+UPDATE',
|
||||
'SYSTEM_USER_ROLE:READ',
|
||||
'SYSTEM_ORGANIZATION_PROJECT:READ',
|
||||
'SYSTEM_ORGANIZATION_PROJECT_MEMBER:ADD',
|
||||
'SYSTEM_ORGANIZATION_PROJECT:READ+ADD_MEMBER',
|
||||
],
|
||||
},
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue