From 63ad2c3598400370dd7da5534659fd7e768a0a4a Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Mon, 16 May 2022 17:29:46 +0800
Subject: [PATCH] 地址替换
---
src/views/policeTracking/policeTracking.vue | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/src/views/policeTracking/policeTracking.vue b/src/views/policeTracking/policeTracking.vue
index 0ec892c..71c8924 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,15 @@
}
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}`;
+ if (this.form.alarmType == "巡逻任务"){
+ this.baseUrl = `/map/index.html?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.xllx}`;
+ }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();
@@ -553,7 +561,7 @@
var that = this;
var userId = JSON.parse(
- window.localStorage.getItem("群防群控后台管理系统-userInfo")
+ window.localStorage.getItem("洪城义警后台管理系统-userInfo")
).content.nick_name;
if (that.form.securityArr != null && that.form.securityArr != "") {
--
Gitblit v1.9.3