项目列表移除更多
This commit is contained in:
parent
f22e9da55b
commit
f1093cb41c
|
@ -79,6 +79,8 @@
|
|||
<span slot="action" slot-scope="text, record">
|
||||
<a v-if="hasPerm('person:get')" @click="$refs.personDetail.detail(record)">详情</a>
|
||||
<a-divider type="vertical" v-if="hasPerm('person:get')" />
|
||||
|
||||
<template v-if="orgType === 1">
|
||||
<a-dropdown v-if="hasPerm('person:edit') || hasPerm('person:resetPwd') || hasPerm('person:del')">
|
||||
<a class="ant-dropdown-link">
|
||||
更多
|
||||
|
@ -101,16 +103,15 @@
|
|||
<a>删除</a>
|
||||
</a-popconfirm>
|
||||
</a-menu-item>
|
||||
<template v-if="orgType === 2">
|
||||
<a-menu-item v-if="hasPerm('person:org:remove')">
|
||||
<a-popconfirm placement="topRight" title="确认移除?" @confirm="() => personRemove(record)">
|
||||
<a>移除</a>
|
||||
</a-popconfirm>
|
||||
</a-menu-item>
|
||||
</template>
|
||||
|
||||
</a-menu>
|
||||
</a-dropdown>
|
||||
</template>
|
||||
|
||||
<template v-if="orgType === 2">
|
||||
<a-popconfirm placement="topRight" title="确认移除?" @confirm="() => personRemove(record)">
|
||||
<a>移除</a>
|
||||
</a-popconfirm>
|
||||
</template>
|
||||
</span>
|
||||
</s-table>
|
||||
|
||||
|
|
Loading…
Reference in New Issue