Sfoglia il codice sorgente

详细信息添加

王通 2 anni fa
parent
commit
5a94c6296a
3 ha cambiato i file con 44 aggiunte e 6 eliminazioni
  1. 2 5
      src/api/forest.js
  2. 21 0
      src/views/eventdetailsdialog.vue
  3. 21 1
      src/views/firespread.vue

+ 2 - 5
src/api/forest.js

@@ -8,14 +8,11 @@ export function fireControlViewList() {
   })
 }
 // 点击左侧菜单列表查询落点
-export function fireControlViewPoint(type, name) {
+export function fireControlViewPoint(type) {
   return request({
     url: '/center-firecontrol/VisuForestDataCenterController/fireControlViewPoint',
     method: 'post',
-    data:{
-      // "name": name,
-      "type": type
-    }
+    param: type
   })
 }
 export function getNewDataByDate(data) {

+ 21 - 0
src/views/eventdetailsdialog.vue

@@ -1684,6 +1684,27 @@ export default {
                   '                </div>' +
                   '                </div>' +
                   '                </span>' +
+                  '<span>' +
+                  '                  <div class="d-l-con">' +
+                  '                  <div class="d-l-l-text">' +
+                  '                  <h4>经纬度:' + res.data.pointList[i].longitude +','+ res.data.pointList[i].latitude + '</h4>' +
+                  '                </div>' +
+                  '                </div>' +
+                  '                </span>' +
+                  '<span>' +
+                  '                  <div class="d-l-con">' +
+                  '                  <div class="d-l-l-text">' +
+                  '                  <h4>联系人:' + res.data.pointList[i].contacts + '</h4>' +
+                  '                </div>' +
+                  '                </div>' +
+                  '                </span>' +
+                  '<span>' +
+                  '                  <div class="d-l-con">' +
+                  '                  <div class="d-l-l-text">' +
+                  '                  <h4>电话:' + res.data.pointList[i].phone + '</h4>' +
+                  '                </div>' +
+                  '                </div>' +
+                  '                </span>' +
                   '</div>'
                 markersList.push(markersMap)
               }

+ 21 - 1
src/views/firespread.vue

@@ -1398,6 +1398,27 @@ export default {
                   '                </div>' +
                   '                </div>' +
                   '                </span>' +
+                  '<span>' +
+                  '                  <div class="d-l-con">' +
+                  '                  <div class="d-l-l-text">' +
+                  '                  <h4>经纬度:' + res.data.pointList[i].longitude +','+ res.data.pointList[i].latitude + '</h4>' +
+                  '                </div>' +
+                  '                </div>' +
+                  '                </span>' +
+                  '<span>' +
+                  '                  <div class="d-l-con">' +
+                  '                  <div class="d-l-l-text">' +
+                  '                  <h4>联系人:' + res.data.pointList[i].contacts + '</h4>' +
+                  '                </div>' +
+                  '                </div>' +
+                  '                </span>' +
+                  '<span>' +
+                  '                  <div class="d-l-con">' +
+                  '                  <div class="d-l-l-text">' +
+                  '                  <h4>电话:' + res.data.pointList[i].phone + '</h4>' +
+                  '                </div>' +
+                  '                </div>' +
+                  '                </span>' +
                   '</div>'
                 markersList.push(markersMap)
               }
@@ -2078,7 +2099,6 @@ export default {
         if (res.data.centermonitorTCamera != null) {
           that.cameraCode = res.data.centermonitorTCamera.cameraCode;
           let markersMap = {
-            lng: 124.59,
             lat: 43.02,
             icon: 'camera',
             bindPopupHtml: '',