From b9d0f6c356dd4abdf7ca558b874a3c686563ebcd Mon Sep 17 00:00:00 2001 From: "maxw@mesnac.com" Date: Wed, 11 Dec 2024 09:25:44 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E7=AE=A1=E7=90=86=E7=82=B9?= =?UTF-8?q?=E5=B7=A1=E6=A3=80=EF=BC=8C=E4=BF=9D=E5=85=BB=E7=9A=84=E8=AE=A1?= =?UTF-8?q?=E5=88=92=E6=96=B0=E5=A2=9E=E5=8A=A0=E5=B7=A1=E6=A3=80=E7=BA=A7?= =?UTF-8?q?=E5=88=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hw-ui/src/views/dms/dmsPlanInspect/index.vue | 43 ++++++++++++++++++-- hw-ui/src/views/dms/maint/index.vue | 24 +++++++++-- 2 files changed, 61 insertions(+), 6 deletions(-) diff --git a/hw-ui/src/views/dms/dmsPlanInspect/index.vue b/hw-ui/src/views/dms/dmsPlanInspect/index.vue index 07462a88..bc44773b 100644 --- a/hw-ui/src/views/dms/dmsPlanInspect/index.vue +++ b/hw-ui/src/views/dms/dmsPlanInspect/index.vue @@ -213,6 +213,15 @@ + + + {{dict.label}} + + @@ -242,12 +251,37 @@ - + + + + + + + + + + + + + + 年 + + - + + + + 月 + + + + + 日 + + @@ -343,7 +377,7 @@ import {findUserList} from "@/api/system/user"; export default { components: { Crontab }, name: "DmsPlanInspect", - dicts:['dms_inspect_type','dms_cycle_period'], + dicts:['dms_maint_level','dms_inspect_type','dms_cycle_period','dms_inspect_level'], data() { return { // 是否显示Cron表达式弹出层 @@ -400,6 +434,9 @@ export default { hour: [ { required: true, message: "定时计划时不能为空", trigger: "blur" } ], + inspectLevel: [ + { required: true, message: "巡检级别不能为空", trigger: "blur" } + ], } }; }, diff --git a/hw-ui/src/views/dms/maint/index.vue b/hw-ui/src/views/dms/maint/index.vue index 34347fe3..f30c1888 100644 --- a/hw-ui/src/views/dms/maint/index.vue +++ b/hw-ui/src/views/dms/maint/index.vue @@ -240,12 +240,27 @@ - + + + + 年 + + + + + 周 + + + + + 月 + + - 周 + - + @@ -379,6 +394,9 @@ export default { hour: [ { required: true, message: "定时计划时不能为空", trigger: "blur" } ], + maintLevel: [ + { required: true, message: "保养计划不能为空", trigger: "blur" } + ], } }; },