Преглед на файлове

招聘信息界面增加定位地址字段

yanliming преди 3 дни
родител
ревизия
c89781557d
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      src/views/base/recruitInformationInfo-detail.vue

+ 2 - 0
src/views/base/recruitInformationInfo-detail.vue

@@ -271,6 +271,7 @@
               if (!this.ranging) {
                 var pt = e.lnglat; //点击选择新地址为中心点
                 console.log(pt);
+                alert(JSON.stringify(e.lnglat));
 
                 this.pointPosition = [pt.lng, pt.lat];
                 this.selectedRow.location = pt.lng + "," + pt.lat;
@@ -396,6 +397,7 @@
         }
       },
       handleSelectPoint() {
+        alert(JSON.stringify(this.pointPosition));
         this.formModel.location =
           this.pointPosition[0] + "," + this.pointPosition[1];
         this.showMapDialog = false;