From af981e3faf07b9e0c8e1ac08f91adf08c0d046ef Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Fri, 11 Feb 2022 09:33:11 +0800
Subject: [PATCH] 路线追踪

---
 src/views/activitys/policeTracking.vue |    5 ++---
 public/map/widgets/task/task.js        |    2 +-
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/public/map/widgets/task/task.js b/public/map/widgets/task/task.js
index 4050cdb..23a05f6 100644
--- a/public/map/widgets/task/task.js
+++ b/public/map/widgets/task/task.js
@@ -189,7 +189,7 @@
       return (document.location.search.match(new RegExp("(?:^\\?|&)" + key + "=(.*?)(?=&|$)")) || ['', null])[1];
     },
     location: function (ces) {
-      alert(ces)
+      console.log(ces)
     },
     open: function () {
       var that = this;
diff --git a/src/views/activitys/policeTracking.vue b/src/views/activitys/policeTracking.vue
index 46246ee..85efec3 100644
--- a/src/views/activitys/policeTracking.vue
+++ b/src/views/activitys/policeTracking.vue
@@ -396,8 +396,8 @@
     methods: {
       rowclick(row, column, event){
         var iframe = window.document.getElementById("mapDiv");
-        // console.log(row);
-        iframe.contentWindow.locations(row.id);
+        row.rwid = this.form.id;
+        iframe.contentWindow.locations(row);
       },
       onSubmit() {
         var that = this;
@@ -445,7 +445,6 @@
 
       getList() {
         var that = this;
-        this.form
         axios({
           method: "get",
           url: "/api/taskqd/queryReceiver",

--
Gitblit v1.9.3