From 672d8a752009de3c0ce91f677c17b72a3f317bd8 Mon Sep 17 00:00:00 2001 From: qingzhengli <1204552371@qq.com> Date: Fri, 19 Apr 2024 10:39:07 +0800 Subject: [PATCH] =?UTF-8?q?feat=20=E4=BC=98=E5=8C=96=E7=96=B2=E5=8A=B3?= =?UTF-8?q?=E5=94=A4=E9=86=92=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Dialogs/FatigueWakesUp/components/DeviceControlDialog.vue | 2 +- .../Dialogs/FatigueWakesUp/components/DeviceParam.vue | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/FatigueWakesUp/components/DeviceControlDialog.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/FatigueWakesUp/components/DeviceControlDialog.vue index e21cc56c..41b4362a 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/FatigueWakesUp/components/DeviceControlDialog.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/FatigueWakesUp/components/DeviceControlDialog.vue @@ -2,7 +2,7 @@
+ :deviceType="deviceType" @update:submitting="(val) => { submitting = val }">
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 64e8e65f..d96b92cc 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 @@ -261,6 +261,7 @@ export default { }; }, mounted() { + this.$emit("update:submitting", false); if (!this.isMultiControl) this.initData(); }, @@ -350,6 +351,7 @@ export default { id: this.productId, deviceType: this.deviceType }] + this.$emit("update:submitting", true); if (this.activeName == "first") { //一般模式 this.$refs.FormConfigRef.validate().then(async (formData) => { @@ -414,6 +416,7 @@ export default { // this.$emit("update:value", false); // } } + this.$emit("update:submitting", false); }, }, };