瀏覽代碼

bug修复

王通 1 年之前
父節點
當前提交
1e4081113a
共有 2 個文件被更改,包括 5 次插入0 次删除
  1. 3 0
      src/views/eventdetailsdialog.vue
  2. 2 0
      src/views/firespread.vue

+ 3 - 0
src/views/eventdetailsdialog.vue

@@ -2335,6 +2335,7 @@ export default {
       resourcesListCheck: [],
       //文本域
       feedback: "",
+      centermonitorTCamera:null,
     };
   },
   props: {
@@ -3658,6 +3659,7 @@ export default {
         if (res.data.centermonitorTCamera != null) {
           that.cameraCode = res.data.centermonitorTCamera.id;
           if(res.data.centermonitorTCamera.longitude != null && res.data.centermonitorTCamera.latitude != null){
+            that.centermonitorTCamera = res.data.centermonitorTCamera;
             let markersMap = {
               lng: 124.59,
               lat: 43.02,
@@ -3782,6 +3784,7 @@ export default {
         if (res.data.centermonitorTCamera != null) {
           that.cameraCode = res.data.centermonitorTCamera.id;
           if(res.data.centermonitorTCamera.longitude != null && res.data.centermonitorTCamera.latitude != null){
+            that.centermonitorTCamera = res.data.centermonitorTCamera;
             let markersMap = {
               lng: 124.59,
               lat: 43.02,

+ 2 - 0
src/views/firespread.vue

@@ -2688,6 +2688,7 @@ export default {
         if (res.data.centermonitorTCamera != null) {
           that.cameraCode = res.data.centermonitorTCamera.id;
           if(res.data.centermonitorTCamera.longitude != null && res.data.centermonitorTCamera.latitude != null){
+            that.centermonitorTCamera = res.data.centermonitorTCamera;
             let markersMap = {
               lng: 124.59,
               lat: 43.02,
@@ -2812,6 +2813,7 @@ export default {
         if (res.data.centermonitorTCamera != null) {
           that.cameraCode = res.data.centermonitorTCamera.id;
           if(res.data.centermonitorTCamera.longitude != null && res.data.centermonitorTCamera.latitude != null){
+            that.centermonitorTCamera = res.data.centermonitorTCamera;
             let markersMap = {
               lng: 124.59,
               lat: 43.02,