diff --git a/src/views/custom-query/data-adapter/index.vue b/src/views/custom-query/data-adapter/index.vue index beeedf1..ea47a45 100644 --- a/src/views/custom-query/data-adapter/index.vue +++ b/src/views/custom-query/data-adapter/index.vue @@ -30,9 +30,9 @@
新增 - + 删除 + 导出
@@ -223,6 +223,16 @@ const handleDelete = async (adapterId) => { } }) } +//多删 +const handleMoreDelete=(adapterIds)=>{ + ElMessageBox.confirm(`确认删除名称为${adapterNameList.value}的适配器吗?`, '系统提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', + type: 'warning' + }).then(() => { + handleDelete(adapterIds) + }) +} //勾选table数据行事件 const handleSelect = async (selection) => { if (selection.length !== 0) { diff --git a/src/views/custom-query/datamodel/index.vue b/src/views/custom-query/datamodel/index.vue index 008d4c9..7c5adc1 100644 --- a/src/views/custom-query/datamodel/index.vue +++ b/src/views/custom-query/datamodel/index.vue @@ -20,8 +20,9 @@
新增 - + 删除 + 导出
@@ -42,14 +43,14 @@