parent
f8dc14aab4
commit
5ee5869b51
|
@ -189,7 +189,7 @@ export default {
|
||||||
PLANCODE: [
|
PLANCODE: [
|
||||||
{ required: true, message: '预案编码不能为空', trigger: 'blur' }],
|
{ required: true, message: '预案编码不能为空', trigger: 'blur' }],
|
||||||
PLANGRADE: [
|
PLANGRADE: [
|
||||||
{ required: true, message: '预案等级不能为空', trigger: 'blur' }],
|
{ required: true, message: '事故类型不能为空', trigger: 'blur' }],
|
||||||
PLANDES: [
|
PLANDES: [
|
||||||
{ required: true, message: '预案概述不能为空', trigger: 'blur' }]
|
{ required: true, message: '预案概述不能为空', trigger: 'blur' }]
|
||||||
|
|
||||||
|
|
|
@ -213,7 +213,8 @@ export default {
|
||||||
{ required: true, message: '名称不能为空', trigger: 'blur' },
|
{ required: true, message: '名称不能为空', trigger: 'blur' },
|
||||||
{ min: 2, max: 30, message: '长度在 2 到 30 个字符', trigger: 'blur' }],
|
{ min: 2, max: 30, message: '长度在 2 到 30 个字符', trigger: 'blur' }],
|
||||||
NUMBER_OF_PEOPLE: [
|
NUMBER_OF_PEOPLE: [
|
||||||
{ required: true, message: '人数不能为空', trigger: 'blur' }
|
{ required: true, message: '人数不能为空', trigger: 'blur' },
|
||||||
|
{ min: 1, max: 4, message: '人员数太多', trigger: 'blur' }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
form: {
|
form: {
|
||||||
|
|
Loading…
Reference in New Issue