This commit is contained in:
孟帅
2023-11-25 18:36:11 +08:00
parent 40117c700d
commit 70e9f966c3
142 changed files with 5407 additions and 2058 deletions

View File

@@ -26,6 +26,7 @@
:row-key="(row) => row.id"
ref="actionRef"
:actionColumn="actionColumn"
:checked-row-keys="checkedIds"
@update:checked-row-keys="onCheckedRow"
:scroll-x="1090"
:resizeHeightOffset="-10000"
@@ -63,7 +64,7 @@
type="primary"
@click="handleExport"
class="min-left-space"
v-if="hasPermission(['/curdDemo/delete'])"
v-if="hasPermission(['/curdDemo/export'])"
>
<template #icon>
<n-icon>
@@ -222,6 +223,8 @@
negativeText: '取消',
onPositiveClick: () => {
Delete({ id: checkedIds.value }).then((_res) => {
batchDeleteDisabled.value = true;
checkedIds.value = [];
message.success('删除成功');
reloadTable();
});