From c9b81a40d06ba868acfb64730c2bd42f448e6105 Mon Sep 17 00:00:00 2001 From: qingzhengli <1204552371@qq.com> Date: Thu, 18 Apr 2024 17:35:10 +0800 Subject: [PATCH] =?UTF-8?q?feat=20=20=E4=BC=98=E5=8C=96=20=E6=89=B9?= =?UTF-8?q?=E9=87=8F=E6=8E=A7=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Dialogs/Broadcast/components/BroadcastParamMulti.vue | 2 +- .../Dialogs/FatigueWakesUp/components/DeviceParam.vue | 2 +- .../Dialogs/SmartDevice/components/DeviceParamsMulti.vue | 2 +- .../pages/Home/components/HomeFrameControl/index.vue | 4 +++- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Broadcast/components/BroadcastParamMulti.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Broadcast/components/BroadcastParamMulti.vue index 4221768b..10e19ac0 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Broadcast/components/BroadcastParamMulti.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Broadcast/components/BroadcastParamMulti.vue @@ -95,7 +95,7 @@ export default { if (!this.releaseMessage?.trim()) return Message.error("发布内容不能为空!"); if (!selectItems.length) - return Message.error("请至少选择一个广播设备!"); + return Message.error("请至少选择一个设备!"); // this.submitting = true; this.$emit("update:submitting", true); diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/FatigueWakesUp/components/DeviceParam.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/FatigueWakesUp/components/DeviceParam.vue index e1b5e676..fa7f49f4 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/FatigueWakesUp/components/DeviceParam.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/FatigueWakesUp/components/DeviceParam.vue @@ -339,7 +339,7 @@ export default { }, async handleSubmit() { if (this.isMultiControl && !this.selectItems.length) { - return Message.error("请至少选择一个疲劳唤醒设备!"); + return Message.error("请至少选择一个设备!"); } const selectItems = this.selectItems.map(item => JSON.parse(item)); let devices; diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/SmartDevice/components/DeviceParamsMulti.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/SmartDevice/components/DeviceParamsMulti.vue index 7596498f..64b0dda6 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/SmartDevice/components/DeviceParamsMulti.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/SmartDevice/components/DeviceParamsMulti.vue @@ -116,7 +116,7 @@ export default { if (!this.selectItems.length) { setTimeout(() => { data.state = !value; }, 10); - return Message.error("请至少选择一个广播设备!"); + return Message.error("请至少选择一个设备!"); } const selectItems = this.selectItems.map(item => JSON.parse(item)); diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/HomeFrameControl/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/HomeFrameControl/index.vue index dec03b5c..df3343db 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/HomeFrameControl/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/HomeFrameControl/index.vue @@ -16,7 +16,7 @@ -