From 23bdcca2b8a90286c45926fd0978b08fa304fbb4 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Sat, 08 May 2021 18:24:54 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.105:10010/r/jfpt-Vue

---
 src/components/real-popup/main.vue |   26 +++++++++++++++++++-------
 1 files changed, 19 insertions(+), 7 deletions(-)

diff --git a/src/components/real-popup/main.vue b/src/components/real-popup/main.vue
index 8e43d60..cd5abef 100644
--- a/src/components/real-popup/main.vue
+++ b/src/components/real-popup/main.vue
@@ -229,7 +229,7 @@
               </el-button> -->
               <el-button
                 type="success"
-                @click.stop="updateJtyep(form, 1, '办结')"
+                @click.stop="updateJtyep(form, 2, '办结')"
                 >办结
               </el-button>
 
@@ -553,7 +553,6 @@
         )
         .then(function () {
           that.dialogTableVisible = false;
-
           axios({
             method: "post",
             url: `/api/blade-jfpts/rvideo/stop`,
@@ -561,12 +560,25 @@
               jid: row.id,
             },
           }).then((resdata) => {});
-
           //   that.onLoad(that.page, that.query);
-          that.$router.push({
-            path: "/policeTracking/track",
-            query: that.form,
-          });
+          if (t == "办结") {
+            // location.reload();
+            that.$router.push({
+              path: "/real-popup/kongbai",
+              query: that.form,
+            });
+            setTimeout(() => {
+              that.$router.push({
+              path: "/realTimePolice/real",
+            });
+            }, 10);
+            
+          } else {
+            that.$router.push({
+              path: "/policeTracking/track",
+              query: that.form,
+            });
+          }
         });
     },
     getDate() {

--
Gitblit v1.9.3