From fa84aaa9e2f96e1895e7a33e71bf7f744e2294fa Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Sat, 08 May 2021 16:02:06 +0800
Subject: [PATCH] 警情办结

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

diff --git a/src/components/real-popup/main.vue b/src/components/real-popup/main.vue
index 8e43d60..475a5c8 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,16 @@
               jid: row.id,
             },
           }).then((resdata) => {});
-
           //   that.onLoad(that.page, that.query);
-          that.$router.push({
-            path: "/policeTracking/track",
-            query: that.form,
-          });
+          if (t == "办结") {
+            console.log(t, 354343);
+            location.reload();
+          } else {
+            that.$router.push({
+              path: "/policeTracking/track",
+              query: that.form,
+            });
+          }
         });
     },
     getDate() {

--
Gitblit v1.9.3