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'}], }); // 打开弹窗