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