From 7775e92e2acca7b5b744bed76b444c33f8f04c2e Mon Sep 17 00:00:00 2001 From: wangyong <2021332310@qq.com> Date: Thu, 22 Aug 2024 09:01:24 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E8=A1=A8=E5=8D=95=E9=AA=8C=E8=AF=81?= =?UTF-8?q?=E8=A7=84=E5=88=99=EF=BC=89:=E6=B7=BB=E5=8A=A0=E9=81=BF?= =?UTF-8?q?=E5=85=8D=E8=BE=93=E5=85=A5=E8=B6=85=E9=95=BF=E9=AA=8C=E8=AF=81?= =?UTF-8?q?=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/admin/client/form.vue | 1 + src/views/admin/menu/form.vue | 1 + src/views/admin/param/form.vue | 1 + src/views/admin/user/form.vue | 1 + src/views/daemon/job-manage/form.vue | 3 ++- src/views/gen/field-type/form.vue | 1 + 6 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/views/admin/client/form.vue b/src/views/admin/client/form.vue index 10c3a64c..c2447795 100644 --- a/src/views/admin/client/form.vue +++ b/src/views/admin/client/form.vue @@ -129,6 +129,7 @@ const dataRules = ref({ ], autoapprove: [{required: true, message: '自动放行不能为空', trigger: 'blur'}], webServerRedirectUri: [{validator: rule.overLength, trigger: 'blur'},{required: true, message: '回调地址不能为空', trigger: 'blur'}], + authorities: [{validator: rule.overLength, trigger: 'blur'}], }); // 打开弹窗 diff --git a/src/views/admin/menu/form.vue b/src/views/admin/menu/form.vue index eb2b6915..36daac1f 100644 --- a/src/views/admin/menu/form.vue +++ b/src/views/admin/menu/form.vue @@ -111,6 +111,7 @@ const dataRules = reactive({ icon: [{required: true, message: '图标不能为空', trigger: 'blur'}], permission: [{validator: rule.overLength, trigger: 'blur'},{required: true, message: '权限代码不能为空', trigger: 'blur'}], sortOrder: [{validator: rule.overLength, trigger: 'blur'},{required: true, message: '排序不能为空', trigger: 'blur'}], + enName: [{validator: rule.overLength, trigger: 'blur'}], }); // 打开弹窗 diff --git a/src/views/admin/param/form.vue b/src/views/admin/param/form.vue index 3902179e..ca758f34 100644 --- a/src/views/admin/param/form.vue +++ b/src/views/admin/param/form.vue @@ -105,6 +105,7 @@ const dataRules = reactive({ status: [{required: true, message: '状态不能为空', trigger: 'blur'}], publicType: [{required: true, message: '类型不能为空', trigger: 'blur'}], systemFlag: [{required: true, message: '类型不能为空', trigger: 'blur'}], + validateCode: [{validator: rule.overLength, trigger: 'blur'}], }); // 打开弹窗 diff --git a/src/views/admin/user/form.vue b/src/views/admin/user/form.vue index 01ad7066..0396ee39 100644 --- a/src/views/admin/user/form.vue +++ b/src/views/admin/user/form.vue @@ -171,6 +171,7 @@ const dataRules = ref({ ], email: [{validator: rule.overLength, trigger: 'blur'},{ type: 'email', message: '请输入正确的邮箱地址', trigger: ['blur', 'change'] }], lockFlag: [{ required: true, message: '状态不能为空', trigger: 'blur' }], + nickname: [{validator: rule.overLength, trigger: 'blur'}], }); // 打开弹窗 diff --git a/src/views/daemon/job-manage/form.vue b/src/views/daemon/job-manage/form.vue index 40d5bb86..7d4f7503 100644 --- a/src/views/daemon/job-manage/form.vue +++ b/src/views/daemon/job-manage/form.vue @@ -125,11 +125,12 @@ const dataRules = reactive({ jobName: [{validator: rule.overLength, trigger: 'blur'},{required: true, message: '任务名称不能为空', trigger: 'blur'}], jobGroup: [{validator: rule.overLength, trigger: 'blur'},{required: true, message: '任务组名不能为空', trigger: 'blur'}], jobType: [{required: true, message: '任务类型不能为空', trigger: 'blur'}], - cronExpression: [{required: true, message: 'cron不能为空', trigger: 'blur'}], + cronExpression: [{validator: rule.overLength, trigger: 'blur'},{required: true, message: 'cron不能为空', trigger: 'blur'}], misfirePolicy: [{required: true, message: '策略不能为空', trigger: 'blur'}], executePath: [{validator: rule.overLength, trigger: 'blur'},{required: true, message: '执行路径不能为空', trigger: 'blur'}], className: [{validator: rule.overLength, trigger: 'blur'},{required: true, message: '执行文件不能为空', trigger: 'blur'}], methodName: [{validator: rule.overLength, trigger: 'blur'},{required: true, message: '执行方法不能为空', trigger: 'blur'}], + methodParamsValue: [{validator: rule.overLength, trigger: 'blur'}], }); // 打开弹窗 diff --git a/src/views/gen/field-type/form.vue b/src/views/gen/field-type/form.vue index 23300ad0..3da71442 100644 --- a/src/views/gen/field-type/form.vue +++ b/src/views/gen/field-type/form.vue @@ -55,6 +55,7 @@ const dataRules = ref({ }, ], attrType: [{validator: rule.overLength, trigger: 'blur'},{ required: true, message: '属性类型不能为空', trigger: 'blur' }], + packageName: [{validator: rule.overLength, trigger: 'blur'}], }); // 打开弹窗