From d6f78e9c81878c41ebc5150206228047a7e03f50 Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Mon, 19 Jul 2021 21:23:36 +0800
Subject: [PATCH] 巡逻路线绑定修改

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

diff --git a/src/views/policeTracking/policeTracking.vue b/src/views/policeTracking/policeTracking.vue
index 0ec892c..5333280 100644
--- a/src/views/policeTracking/policeTracking.vue
+++ b/src/views/policeTracking/policeTracking.vue
@@ -402,6 +402,7 @@
     };
   },
   created() {
+
     this.form = this.$route.query;
     if (
       !(
@@ -415,8 +416,16 @@
     }
     this.updatedPageData();
     this.vaddress = this.form.vaddress;
+
     this.getReceivingAlarm();
-    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}`;
+debugger
+    if (this.form.alarmType == "巡逻任务"){
+      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}&baid=${this.form.baid}`;
+    }else{
+      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.getAudios();

--
Gitblit v1.9.3