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/operationAnalysis.vue | 15 +++++++++------
1 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/src/views/securityUnitOperation/operationAnalysis.vue b/src/views/securityUnitOperation/operationAnalysis.vue
index 1134e14..10fd02b 100644
--- a/src/views/securityUnitOperation/operationAnalysis.vue
+++ b/src/views/securityUnitOperation/operationAnalysis.vue
@@ -229,10 +229,12 @@
toOperationTable() {
this.$router.push({
path:
- "/securityUnitOperation/operationTable?jurisdiction =" +
+ "/securityUnitOperation/operationTable?jurisdiction=" +
this.value2 +
- "&enterpriseName =" +
- this.enterpriseName
+ "&enterpriseName=" +
+ this.enterpriseName +
+ "&jurisdiction1=" +
+ this.value1
});
},
getFenju() {
@@ -255,9 +257,10 @@
getCompanys({ jurisdiction: this.value1 }).then(res => {
if (res.data.code === 200) {
this.options2 = res.data.data;
- debugger
this.value2 = this.options2[0] ? this.options2[0].departmentid : "";
- this.enterpriseName = this.options2[0] ? this.options2[0].enterpriseName : "";
+ this.enterpriseName = this.options2[0]
+ ? this.options2[0].enterpriseName
+ : "";
this.changeCompanys();
}
});
@@ -350,7 +353,7 @@
},
changeCompanys() {
this.options2.forEach(item => {
- if (item.value === this.value2) {
+ if (item.departmentid === this.value2) {
this.enterpriseName = item.enterpriseName;
}
});
--
Gitblit v1.9.3