fix(系统设置): 组织、工作空间菜单成员操作权限问题#1004964
This commit is contained in:
parent
ec5da22e4b
commit
8c36a3dcc6
|
@ -73,7 +73,7 @@
|
|||
class="dialog-css">
|
||||
<template v-slot:title>
|
||||
<ms-table-header :condition.sync="dialogCondition" @create="addMember" @search="dialogSearch"
|
||||
:create-permission="['ORGANIZATION_WORKSPACE:READ+CREATE', 'ORGANIZATION_WORKSPACE:READ+EDIT']"
|
||||
:create-permission="['ORGANIZATION_USER:READ+CREATE']"
|
||||
:create-tip="$t('member.create')" :title="$t('commons.member')"/>
|
||||
</template>
|
||||
|
||||
|
@ -91,8 +91,8 @@
|
|||
<template v-slot:default="scope">
|
||||
<div>
|
||||
<ms-table-operator :tip2="$t('commons.remove')"
|
||||
:edit-permission="['ORGANIZATION_WORKSPACE:READ+CREATE', 'ORGANIZATION_WORKSPACE:READ+EDIT']"
|
||||
:delete-permission="['ORGANIZATION_WORKSPACE:READ+CREATE', 'ORGANIZATION_WORKSPACE:READ+EDIT']"
|
||||
:edit-permission="['ORGANIZATION_USER:READ+EDIT']"
|
||||
:delete-permission="['ORGANIZATION_USER:READ+DELETE']"
|
||||
@editClick="editMember(scope.row)"
|
||||
@deleteClick="delMember(scope.row)"/>
|
||||
</div>
|
||||
|
|
|
@ -145,6 +145,7 @@
|
|||
class="dialog-css">
|
||||
<template v-slot:title>
|
||||
<ms-table-header :condition.sync="dialogCondition" @create="open" @search="list" :have-search="false"
|
||||
:create-permission="['WORKSPACE_USER:READ+CREATE']"
|
||||
:create-tip="$t('member.create')" :title="$t('commons.member')"/>
|
||||
</template>
|
||||
<div>
|
||||
|
@ -161,7 +162,10 @@
|
|||
<el-table-column :label="$t('commons.operating')">
|
||||
<template v-slot:default="scope">
|
||||
<div>
|
||||
<ms-table-operator :tip2="$t('commons.remove')" @editClick="editMember(scope.row)"
|
||||
<ms-table-operator :tip2="$t('commons.remove')"
|
||||
:edit-permission="['WORKSPACE_USER:READ+EDIT']"
|
||||
:delete-permission="['WORKSPACE_USER:READ+DELETE']"
|
||||
@editClick="editMember(scope.row)"
|
||||
@deleteClick="delMember(scope.row)"/>
|
||||
</div>
|
||||
</template>
|
||||
|
|
Loading…
Reference in New Issue