main
parent
81046c919f
commit
6bb01721f5
@ -1,48 +1,21 @@
|
|||||||
export const form = {
|
export const form = {
|
||||||
id:undefined,
|
id:undefined,
|
||||||
title:undefined,
|
title:undefined,
|
||||||
organizerId:undefined,
|
categoryId:undefined,
|
||||||
isShow:false,
|
status:undefined,
|
||||||
activityObject:undefined,
|
|
||||||
content:undefined,
|
content:undefined,
|
||||||
registrationStartTime:undefined,
|
|
||||||
registrationEndTime:undefined,
|
|
||||||
activityStartTime:undefined,
|
|
||||||
activityEndTime:undefined,
|
|
||||||
activityAddress:undefined,
|
|
||||||
registrationNumMax:undefined,
|
|
||||||
registrationCost:undefined,
|
|
||||||
activityContact:undefined,
|
|
||||||
activityTel:undefined,
|
|
||||||
imgUrls:[]
|
imgUrls:[]
|
||||||
}
|
}
|
||||||
export const rules = {
|
export const rules = {
|
||||||
title:[{required:true,message:'请输入标题',trigger:'blur'}],
|
title:[{required:true,message:'请输入标题',trigger:'blur'}],
|
||||||
organizerId:[{required:true,message:'请选择',trigger:'change'}],
|
categoryId:[{required:true,message:'请选择分类',trigger:'change'}],
|
||||||
isShow:[{required:true,message:'请选择',trigger:'change'}],
|
status:[{required:true,message:'请选择',trigger:'change'}],
|
||||||
activityObject:[{required:true,message:'请选择活动对象',trigger:'change'}],
|
content:[{required:true,message:'请输入',trigger:'blur'}],
|
||||||
content:[{required:true,message:'请输入内容',trigger:'blur'}],
|
|
||||||
registrationStartTime:[{required:true,message:'请选择',trigger:'change'}],
|
|
||||||
registrationEndTime:[{required:true,message:'请选择',trigger:'change'}],
|
|
||||||
activityStartTime:[{required:true,message:'请选择',trigger:'change'}],
|
|
||||||
activityEndTime:[{required:true,message:'请选择',trigger:'change'}],
|
|
||||||
activityAddress:[{required:true,message:'请输入活动地址',trigger:'blur'}],
|
|
||||||
registrationNumMax:[{required:true,message:'请输入人数上限',trigger:'blur'}],
|
|
||||||
registrationCost:[{required:true,message:'请输入报名费用',trigger:'blur'}],
|
|
||||||
activityContact:[{required:true,message:'请输入活动联系人',trigger:'blur'}],
|
|
||||||
activityTel:[{required:true,message:'请输入活动联系方式',trigger:'blur'}],
|
|
||||||
}
|
}
|
||||||
export const options = {
|
export const options = {
|
||||||
isShow:[
|
status:[
|
||||||
{ id:true, name:'显示' },
|
{ id:1, name:'未发布' },
|
||||||
{ id:false, name:'不显示' },
|
{ id:2, name:'已发布' },
|
||||||
],
|
],
|
||||||
activityObject: [
|
categoryId:[]
|
||||||
{ id:1, name:'全部' },
|
|
||||||
{ id:2, name:'住户' },
|
|
||||||
{ id:3, name:'业主' },
|
|
||||||
{ id:4, name:'租户' },
|
|
||||||
{ id:5, name:'管家' },
|
|
||||||
],
|
|
||||||
organizer:[]
|
|
||||||
}
|
}
|
Loading…
Reference in new issue