From 4c014a4f8034bd8c73aba8d909a58f63d5c4ec89 Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期五, 17 一月 2025 08:39:18 +0800
Subject: [PATCH] Merge branch 'master' of http://dlindusit.com:53929/r/iailab-plat-ui-vue3

---
 src/views/data/point/index.vue |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/src/views/data/point/index.vue b/src/views/data/point/index.vue
index f87cd1a..b11294c 100644
--- a/src/views/data/point/index.vue
+++ b/src/views/data/point/index.vue
@@ -295,9 +295,8 @@
     let ids = dataListSelections.map(item => {
       return item.id
     })
-    // 启用的二次确认
-    await message.enableConfirm(ids)
-
+    // 二次确认
+    await message.confirm('确认要开启所选测点?')
     await DaPoint.enable(ids)
     message.success(t('common.enableSuccess'))
     await getList()
@@ -307,9 +306,8 @@
     let ids = dataListSelections.map(item => {
       return item.id
     })
-    // 启用的二次确认
-    await message.disableConfirm(ids,)
-
+    // 二次确认
+    await message.confirm('确认要禁用所选测点?')
     await DaPoint.disable(ids)
     message.success(t('common.disableSuccess'))
     await getList()

--
Gitblit v1.9.3