Browse Source

Merge remote-tracking branch 'origin/feature/dev_point_manage' into feature/dev_point_manage

master
wanggongfeng 3 years ago
parent
commit
32959df364
  1. 4
      src/views/modules/plugins/point/icpointnucleicmonitoring-add-or-update.vue
  2. 4
      src/views/modules/plugins/point/icpointvaccinesinoculation-add-or-update.vue

4
src/views/modules/plugins/point/icpointnucleicmonitoring-add-or-update.vue

@ -369,6 +369,10 @@ export default {
...this.dataForm, ...this.dataForm,
...res.data, ...res.data,
}; };
if(!this.dataForm.ongitude && !this.dataForm.latitude){
this.dataForm.ongitude = "120.38945519"
this.dataForm.latitude = "36.0722275"
}
this.initMap(); this.initMap();
}) })
.catch(() => {}); .catch(() => {});

4
src/views/modules/plugins/point/icpointvaccinesinoculation-add-or-update.vue

@ -437,6 +437,10 @@ export default {
}; };
this.morningTime = [res.data.moStartTime,res.data.moEndTime] this.morningTime = [res.data.moStartTime,res.data.moEndTime]
this.afterTime = [res.data.afStartTime,res.data.afEndTime] this.afterTime = [res.data.afStartTime,res.data.afEndTime]
if(!this.dataForm.ongitude && !this.dataForm.latitude){
this.dataForm.ongitude = "120.38945519"
this.dataForm.latitude = "36.0722275"
}
this.initMap(); this.initMap();
}) })
.catch(() => {}); .catch(() => {});

Loading…
Cancel
Save