|
@@ -504,6 +504,8 @@ export default {
|
|
if (newValue) {
|
|
if (newValue) {
|
|
if (this.isTradeExaminer) {
|
|
if (this.isTradeExaminer) {
|
|
if (this.commonData.vicinityMarkers.length) {
|
|
if (this.commonData.vicinityMarkers.length) {
|
|
|
|
+ console.log(this.commonData, 8888)
|
|
|
|
+
|
|
this.markers = this.commonData.vicinityMarkers.map(k => {
|
|
this.markers = this.commonData.vicinityMarkers.map(k => {
|
|
return {
|
|
return {
|
|
id: '',
|
|
id: '',
|
|
@@ -514,6 +516,12 @@ export default {
|
|
}
|
|
}
|
|
})
|
|
})
|
|
}
|
|
}
|
|
|
|
+ this.markers.push({
|
|
|
|
+ name: this.formData.projectName,
|
|
|
|
+ center: [this.formData.lnt, this.formData.lat],
|
|
|
|
+ address: this.formData.address,
|
|
|
|
+ no: this.formData.projectNo
|
|
|
|
+ })
|
|
} else {
|
|
} else {
|
|
this.markers = [
|
|
this.markers = [
|
|
{
|
|
{
|