|
|
@ -109,16 +109,14 @@ export default { |
|
|
|
|
|
|
|
if (code === 0) { |
|
|
|
this.formData = data |
|
|
|
console.log(this.formData.content) |
|
|
|
let style_img = "style='width:50px;height:40px;' " |
|
|
|
this.initLoading = true; |
|
|
|
|
|
|
|
let {latitude, longitude} = this.$store.state.user; |
|
|
|
console.log("lat" + latitude + ",lon" + longitude); |
|
|
|
if (this.formData.latitude && this.formData.longitude) { |
|
|
|
latitude = this.formData.latitude; |
|
|
|
longitude = this.formData.longitude; |
|
|
|
} |
|
|
|
this.formData.serviceMatterName = data.serviceMatterNameList.join(',') |
|
|
|
if (!latitude || latitude == "" || latitude == "0") { |
|
|
|
latitude = 39.9088810666821; |
|
|
|
longitude = 116.39743841556731; |
|
|
|