From 493ef0c05b05606dc74219ce3f4d3301ec85ad0d Mon Sep 17 00:00:00 2001
From: zhengpz <1838927346@qq.com>
Date: Sun, 22 Aug 2021 20:14:21 +0800
Subject: [PATCH] 研判模块表跳转传参

---
 src/views/securityUnitOperation/economicAnalysis.vue |   22 ++++++++++++++++++----
 1 files changed, 18 insertions(+), 4 deletions(-)

diff --git a/src/views/securityUnitOperation/economicAnalysis.vue b/src/views/securityUnitOperation/economicAnalysis.vue
index 9d2752c..ef152f0 100644
--- a/src/views/securityUnitOperation/economicAnalysis.vue
+++ b/src/views/securityUnitOperation/economicAnalysis.vue
@@ -6,7 +6,7 @@
           <div class="rowTitle">
             <img src="../../../public/img/bajgxt/u1618.png" />
             <span>数据概览</span>
-            <el-select class="select0" v-model="value0" placeholder="请选择">
+            <!-- <el-select class="select0" v-model="value0" placeholder="请选择">
               <el-option
                 v-for="item in options0"
                 :key="item.value"
@@ -14,7 +14,7 @@
                 :value="item.value"
               >
               </el-option>
-            </el-select>
+            </el-select> -->
             <el-select
               class="select1"
               v-model="value1"
@@ -154,12 +154,21 @@
       },
       loading1: true,
       loading2: true,
-      loading3: true
+      loading3: true,
+      enterpriseName: ""
     };
   },
   methods: {
     toEconomicTable() {
-      this.$router.push({ path: "/securityUnitOperation/economicTable" });
+      this.$router.push({
+        path:
+          "/securityUnitOperation/economicTable?jurisdiction=" +
+          this.value2 +
+          "&enterpriseName=" +
+          this.enterpriseName +
+          "&jurisdiction1=" +
+          this.value1
+      });
     },
     getFenju() {
       lazyTreeJu().then(res => {
@@ -281,6 +290,11 @@
       });
     },
     changeCompanys() {
+      this.options2.forEach(item => {
+        if (item.departmentid === this.value2) {
+          this.enterpriseName = item.enterpriseName;
+        }
+      });
       this.pieChange();
       this.getSocialSecurity();
       this.getQueryYearSoil();

--
Gitblit v1.9.3