From a9e6be96ece88f47f6ab33ea4c02c27ebea0dcba Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Thu, 04 Feb 2021 14:31:08 +0800
Subject: [PATCH] 警情处置相关修改

---
 src/views/policeInformationDistribution/index.vue |   15 ++++++++++-----
 src/views/distribution/index.vue                  |    2 ++
 2 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/src/views/distribution/index.vue b/src/views/distribution/index.vue
index 2d8cfa3..05035a2 100644
--- a/src/views/distribution/index.vue
+++ b/src/views/distribution/index.vue
@@ -159,6 +159,8 @@
     };
   },
   created() {
+
+
     this.form = this.$route.query;
     this.form.handletype = 1;
     if (this.form.type == 0) {
diff --git a/src/views/policeInformationDistribution/index.vue b/src/views/policeInformationDistribution/index.vue
index 3de7149..9849dbc 100644
--- a/src/views/policeInformationDistribution/index.vue
+++ b/src/views/policeInformationDistribution/index.vue
@@ -41,7 +41,7 @@
           @click.stop="disposition(row)"
           >处置</el-button
         >
-        
+
         <el-button
           icon="el-icon-location-outline"
           :size="size"
@@ -375,7 +375,6 @@
       }
       this.loading = true;
       getList(page.currentPage, page.pageSize, values).then(res => {
-
         const data = res.data.data;
         this.page.total = data.total;
         this.data = data.records;
@@ -476,9 +475,15 @@
       }
     },
     disposition(data) {
-      this.$router.push(
-      {path: '/distribution/index',query: data}
-      );
+      var arr = [];
+      this.$store.state.tags.tagList.forEach(item => {
+        if (item.label != "警情分发处置") {
+          arr.push(item);
+        }
+      });
+      this.$store.state.tags.tagList = arr;
+
+      this.$router.push({ path: "/distribution/index", query: data });
     }
   }
 };

--
Gitblit v1.9.3