fix(系统设置): 组织、工作空间菜单成员操作权限问题#1004964
This commit is contained in:
parent
9000e63385
commit
cc4e761c05
|
@ -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>
|
||||
|
|
|
@ -144,6 +144,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>
|
||||
|
@ -160,7 +161,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