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