|
|
@ -236,14 +236,17 @@ export default { |
|
|
|
data () { |
|
|
|
let initFormData = () => { |
|
|
|
let _form = { |
|
|
|
unitName: '', |
|
|
|
gridId: '', |
|
|
|
serviceMatter: '',//服务事项 |
|
|
|
serviceMatterList: [], |
|
|
|
unitId: '',//单位ID |
|
|
|
unitIdList: [], |
|
|
|
type: '', |
|
|
|
contact: '', |
|
|
|
contactMobile: '', |
|
|
|
memberCount: 0, |
|
|
|
remark: '', //备注【最大500字】 |
|
|
|
title: '',//活动标题 |
|
|
|
target: '',//活动目标 |
|
|
|
content: '',//活动内容 |
|
|
|
activityTime: '',//活动时间 |
|
|
|
peopleCount: 0,//服务人数 |
|
|
|
result: '', //活动结果 |
|
|
|
address: '', //详细地址 |
|
|
|
longitude: this.$store.state.user.longitude, //经度 |
|
|
|
latitude: this.$store.state.user.latitude//纬度 |
|
|
@ -529,18 +532,22 @@ export default { |
|
|
|
this.activityId = '' |
|
|
|
this.keyWords = '' |
|
|
|
this.formData = { |
|
|
|
unitName: '', |
|
|
|
gridId: '', |
|
|
|
serviceMatter: '',//服务事项 |
|
|
|
serviceMatterList: [], |
|
|
|
unitId: '',//单位ID |
|
|
|
unitIdList: [], |
|
|
|
type: '', |
|
|
|
contact: '', |
|
|
|
contactMobile: '', |
|
|
|
memberCount: 0, |
|
|
|
remark: '', //备注【最大500字】 |
|
|
|
title: '',//活动标题 |
|
|
|
target: '',//活动目标 |
|
|
|
content: '',//活动内容 |
|
|
|
activityTime: '',//活动时间 |
|
|
|
peopleCount: 0,//服务人数 |
|
|
|
result: '', //活动结果 |
|
|
|
address: '', //详细地址 |
|
|
|
longitude: this.$store.state.user.longitude, //经度 |
|
|
|
latitude: this.$store.state.user.latitude//纬度 |
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
// 开启加载动画 |
|
|
|
startLoading () { |
|
|
|