From fecf9628fb3834084bd660cdaffd5f9848d82fd5 Mon Sep 17 00:00:00 2001 From: "382696293@qq.com" <382696293@qq.com> Date: Thu, 29 Feb 2024 17:40:47 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90ID1000531=E3=80=91=E4=BB=AA=E5=99=A8?= =?UTF-8?q?=E7=BB=91=E5=AE=9A=E8=AE=B0=E5=BD=95-=E6=93=8D=E4=BD=9C?= =?UTF-8?q?=E6=97=B6=E9=97=B4=E6=97=B6=E5=88=86=E7=A7=92=EF=BC=8C=E8=BE=93?= =?UTF-8?q?=E5=85=A5=E7=A7=92=E5=90=8E=EF=BC=8C=E7=82=B9=E5=87=BB=E7=A1=AE?= =?UTF-8?q?=E5=AE=9A=EF=BC=8C=E4=BC=9A=E5=8F=98=E4=B8=BA00?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- flossom-ui/src/views/system/mode/index.vue | 47 ++++++++++++++++++---- 1 file changed, 40 insertions(+), 7 deletions(-) diff --git a/flossom-ui/src/views/system/mode/index.vue b/flossom-ui/src/views/system/mode/index.vue index 7a21b0a..4062189 100644 --- a/flossom-ui/src/views/system/mode/index.vue +++ b/flossom-ui/src/views/system/mode/index.vue @@ -297,6 +297,9 @@ +
+ +
- + - + +
+ +
- + +
+ +
+
+ +
+
+ +
@@ -557,7 +572,7 @@ export default { ], modeTime: [ { required: true, message: "模式时长不能为空", trigger: "blur" } - ], + ] } }; }, @@ -720,7 +735,7 @@ export default { let serverImageFlag = false; if (this.form.serviceData.length > 0) { this.form.serviceData.forEach(data => { - if(data.startTimeArray.length == 0) { + if(data.startTimeArray == null || data.startTimeArray.length == 0) { flag = true; } if (data.startSourceArray.length == 0 ) { @@ -740,11 +755,11 @@ export default { }) } else { - this.$message.error("护理内容不能为空"); + this.$message.error("启动/暂停图片不能为空"); return; } if (flag) { - this.$message.error("护理时间不能为空"); + this.$message.error("护理时间范围不能为空"); return; } if (serverImageFlag) { @@ -1078,3 +1093,21 @@ export default { } }; + +