From 91ef8ceb8e6395bbcfeee18bf51248c699e6fcc9 Mon Sep 17 00:00:00 2001 From: zhanghan11 Date: Thu, 4 Jul 2024 15:00:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=95=BF=E5=BA=A6=E9=99=90?= =?UTF-8?q?=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zfipc-ui/src/views/patrol/plan/index.vue | 4 ++-- zfipc-ui/src/views/patrol/task/index.vue | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/zfipc-ui/src/views/patrol/plan/index.vue b/zfipc-ui/src/views/patrol/plan/index.vue index e431f1c..2b9fcb2 100644 --- a/zfipc-ui/src/views/patrol/plan/index.vue +++ b/zfipc-ui/src/views/patrol/plan/index.vue @@ -916,11 +916,11 @@ export default { { required: true, trigger: ["change", "blur"], - message: "请输入巡检内容", + message: "请输入巡检计划内容", }, { max: 150, - message: "巡检内容长度不能超过150个字符", + message: "巡检计划内容长度不能超过150个字符", trigger: ["change", "blur"], }, ], diff --git a/zfipc-ui/src/views/patrol/task/index.vue b/zfipc-ui/src/views/patrol/task/index.vue index f2903c9..ff39ab8 100644 --- a/zfipc-ui/src/views/patrol/task/index.vue +++ b/zfipc-ui/src/views/patrol/task/index.vue @@ -600,6 +600,11 @@ export default { trigger: "blur", message: "请输入巡检结果", }, + { + max: 25, + message: "巡检结果长度不能超过25个字符", + trigger: ["change", "blur"], + }, ], reportContent: [ { @@ -607,6 +612,18 @@ export default { trigger: "blur", message: "请输入巡检报告内容", }, + { + max: 250, + message: "巡检报告内容长度不能超过250个字符", + trigger: ["change", "blur"], + }, + ], + remark: [ + { + max: 150, + message: "备注长度不能超过150个字符", + trigger: ["change", "blur"], + }, ], }, props: {