From d5bb0c281a18121516f526cea93e3516b7dfb7eb Mon Sep 17 00:00:00 2001
From: Jay <csj123456>
Date: 星期四, 16 一月 2025 17:39:05 +0800
Subject: [PATCH] 修改指标分类为选择tree,增加选择框可编辑

---
 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