|
|
@ -244,6 +244,8 @@ export default { |
|
|
|
} |
|
|
|
this.endLoading() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
//加载组织 |
|
|
@ -258,7 +260,16 @@ export default { |
|
|
|
|
|
|
|
if (code === 0) { |
|
|
|
this.formData = data |
|
|
|
map.setCenter(new TMap.LatLng(this.formData.latitude, this.formData.longitude)) |
|
|
|
console.log(this.formData.content) |
|
|
|
let style_img = "style='width:50px;height:40px;' " |
|
|
|
|
|
|
|
if (this.formData.content) { |
|
|
|
this.formData.content = this.formData.content.replace(/<img/g, "<img style='width:200px;height:120px;'") |
|
|
|
// let array=this.formData.content.split('<img') |
|
|
|
|
|
|
|
} |
|
|
|
console.log(this.formData.content) |
|
|
|
map.setCenter(new TMap.LatLng(parseFloat(this.formData.latitude), parseFloat(this.formData.longitude))) |
|
|
|
this.setMarker(this.formData.latitude, this.formData.longitude) |
|
|
|
} else { |
|
|
|
this.$message.error(msg) |
|
|
|