验收评价删除二次确认添加
This commit is contained in:
@@ -146,9 +146,19 @@ defineExpose({form})
|
|||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td class="border-t px-2 py-2.5 text-center">
|
<td class="border-t px-2 py-2.5 text-center">
|
||||||
<NButton text type="error" title="删除本验收项" @click="acceptRows = acceptRows.filter((x) => x.id !== row.id)">
|
<NPopconfirm
|
||||||
<Icon icon="iconamoon:trash" class="size-16px" />
|
positive-text="确定"
|
||||||
</NButton>
|
:positiveButtonProps="{ size: 'tiny' }"
|
||||||
|
:negativeButtonProps="{ size: 'tiny' }"
|
||||||
|
@positive-click="acceptRows = acceptRows.filter((x) => x.id !== row.id)"
|
||||||
|
>
|
||||||
|
<template #trigger>
|
||||||
|
<NButton text type="error" title="删除本验收项">
|
||||||
|
<Icon icon="iconamoon:trash" class="size-16px" />
|
||||||
|
</NButton>
|
||||||
|
</template>
|
||||||
|
确定删除吗?
|
||||||
|
</NPopconfirm>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|||||||
Reference in New Issue
Block a user