|
|
@ -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(); |
|
|
|