Browse Source

fix:修改单词

master
123456 3 years ago
parent
commit
7658671373
  1. 7
      src/views/modules/plugins/point/icpointnucleicmonitoring-add-or-update.vue
  2. 6
      src/views/modules/plugins/point/icpointvaccinesinoculation-add-or-update.vue

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

@ -350,7 +350,7 @@ export default {
if (this.dataForm.id) { if (this.dataForm.id) {
this.getInfo(); this.getInfo();
}else{ }else{
this.dataForm.ongitude = "120.38945519" this.dataForm.longitude = "120.38945519"
this.dataForm.latitude = "36.0722275" this.dataForm.latitude = "36.0722275"
this.initMap(); this.initMap();
} }
@ -369,8 +369,9 @@ export default {
...this.dataForm, ...this.dataForm,
...res.data, ...res.data,
}; };
if(!this.dataForm.ongitude && !this.dataForm.latitude){
this.dataForm.ongitude = "120.38945519" if(!this.dataForm.longitude && !this.dataForm.latitude){
this.dataForm.longitude = "120.38945519"
this.dataForm.latitude = "36.0722275" this.dataForm.latitude = "36.0722275"
} }
this.initMap(); this.initMap();

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

@ -417,7 +417,7 @@ export default {
if (this.dataForm.id) { if (this.dataForm.id) {
this.getInfo(); this.getInfo();
} else { } else {
this.dataForm.ongitude = "120.38945519"; this.dataForm.longitude = "120.38945519";
this.dataForm.latitude = "36.0722275"; this.dataForm.latitude = "36.0722275";
this.initMap(); this.initMap();
} }
@ -437,8 +437,8 @@ 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){ if(!this.dataForm.longitude && !this.dataForm.latitude){
this.dataForm.ongitude = "120.38945519" this.dataForm.longitude = "120.38945519"
this.dataForm.latitude = "36.0722275" this.dataForm.latitude = "36.0722275"
} }
this.initMap(); this.initMap();

Loading…
Cancel
Save