|
|
@ -340,9 +340,24 @@ export default {
|
|
|
|
{ required: true, message: "队伍名称不能为空", trigger: "blur" }
|
|
|
|
{ required: true, message: "队伍名称不能为空", trigger: "blur" }
|
|
|
|
],
|
|
|
|
],
|
|
|
|
phone: [
|
|
|
|
phone: [
|
|
|
|
{ required: true, message: "电话不能为空", trigger: "blur" },
|
|
|
|
{ required: true, message: "电话不能为空", trigger: "blur" }
|
|
|
|
/*{ pattern:/^((0\d{2,3}-\d{7,8})|(1[345678]\d{9}))$/, message: "联系方式必须是手机或固话(区号-固话)", trigger: "change" }*/
|
|
|
|
/*{ pattern:/^((0\d{2,3}-\d{7,8})|(1[345678]\d{9}))$/, message: "联系方式必须是手机或固话(区号-固话)", trigger: "change" }*/
|
|
|
|
],
|
|
|
|
],
|
|
|
|
|
|
|
|
teamLevel: [
|
|
|
|
|
|
|
|
{ required: true, message: "队伍级别不能为空", trigger: "blur" }
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
dutyer: [
|
|
|
|
|
|
|
|
{ required: true, message: "负责人不能为空", trigger: "blur" }
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
unit: [
|
|
|
|
|
|
|
|
{ required: true, message: "所属单位不能为空", trigger: "blur" }
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
teamProperty: [
|
|
|
|
|
|
|
|
{ required: true, message: "队伍属性不能为空", trigger: "blur" }
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
station: [
|
|
|
|
|
|
|
|
{ required: true, message: "驻地不能为空", trigger: "blur" }
|
|
|
|
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|
},
|
|
|
|
},
|
|
|
|