From b0aab1e5d6b2f30c171fc9aa353442305918b65d Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Sun, 25 Apr 2021 15:43:56 +0800
Subject: [PATCH] 交互优化

---
 src/views/policeTracking/policeTracking.vue |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/views/policeTracking/policeTracking.vue b/src/views/policeTracking/policeTracking.vue
index 67adb99..7165e0f 100644
--- a/src/views/policeTracking/policeTracking.vue
+++ b/src/views/policeTracking/policeTracking.vue
@@ -600,7 +600,6 @@
     this.baseUrl = `/map/index.html?ISinit=1&openid=AlertSecurity&id=${this.form.id}&jd=${this.form.jd}&wd=${this.form.wd}&pid=${this.form.deptId}&deptId=${this.form.deptId}&oneId=${this.form.oneId}`;
   },
   mounted() {
-    this.getList();
     this.getAudios();
     this.getImgAndVideo();
     this.$refs.mapDiv.onload = () => {
@@ -756,11 +755,11 @@
         )
         .then(function (res) {
           that.getReceivingAlarm();
-          
+
           that.updatedPageData();
         });
     },
-    
+
     getReceivingAlarm() {
       axios
         .get(`/api/blade-jfpts/operation/list?jid=${this.form.id}`)
@@ -924,6 +923,7 @@
         },
       }).then(function (res) {
         that.form = res.data.data.records[0];
+        that.getList();
       });
     },
   },

--
Gitblit v1.9.3