验收评价删除二次确认添加

This commit is contained in:
2026-09-04 17:21:08 +08:00
parent 607a36a1fb
commit d74ebb4ecc
@@ -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>