提取ele-pro修改源码
This commit is contained in:
@@ -81,15 +81,18 @@
|
||||
<template #action="{ record }">
|
||||
<a-space>
|
||||
<a-button @click="detail(record)" shape="round" size="small">查看</a-button>
|
||||
<span v-hasPermi="['ecology:sound:verify']">
|
||||
<a-popconfirm v-if="record.checked != 1" :title="`审核通过后将无法修改,确认?`" ok-text="Yes" cancel-text="No"
|
||||
<span v-hasPermi="['ecology:sound:verify']" v-if="record.checked != 1">
|
||||
<a-popconfirm :title="`审核通过后将无法修改,确认?`" ok-text="Yes" cancel-text="No"
|
||||
@confirm="verify(record)">
|
||||
<a-button type="primary" shape="round" size="small">审核</a-button>
|
||||
</a-popconfirm>
|
||||
</span>
|
||||
<a-popconfirm :title="`确认删除${record.billName}吗?`" ok-text="Yes" cancel-text="No" @confirm="remove(record)">
|
||||
<a-button type="primary" danger shape="round" size="small">删除</a-button>
|
||||
</a-popconfirm>
|
||||
<span v-hasPermi="['ecology:sound:remove']" v-if="record.checked != 1">
|
||||
<a-popconfirm :title="`确认删除${record.billName}吗?`" ok-text="Yes" cancel-text="No" @confirm="remove(record)">
|
||||
<a-button type="primary" danger shape="round" size="small">删除</a-button>
|
||||
</a-popconfirm>
|
||||
</span>
|
||||
|
||||
</a-space>
|
||||
</template>
|
||||
</ele-pro-table>
|
||||
|
||||
Reference in New Issue
Block a user