Commit 34278fc2 authored by 李苏's avatar 李苏 💬

gsid/bmid带出

parent 60bfa587
...@@ -102,7 +102,10 @@ ...@@ -102,7 +102,10 @@
/* 初始额外赋值*/ /* 初始额外赋值*/
async mounted() { async mounted() {
this.queryParams.homeCzyjType = this.$route.query.homeCzyjType || '' this.queryParams={
...this.queryParams,
...this.$route.query
}
this.$refs['TablePager'].pageQuery() this.$refs['TablePager'].pageQuery()
}, },
data() { data() {
......
...@@ -102,7 +102,11 @@ ...@@ -102,7 +102,11 @@
/* 初始额外赋值*/ /* 初始额外赋值*/
async mounted() { async mounted() {
this.queryParams.homeCzyjType=this.$route.query.homeCzyjType||'' this.queryParams={
...this.queryParams,
...this.$route.query
}
this.$refs['TablePager'].pageQuery() this.$refs['TablePager'].pageQuery()
}, },
data() { data() {
......
...@@ -100,7 +100,10 @@ import { ...@@ -100,7 +100,10 @@ import {
/* 初始额外赋值*/ /* 初始额外赋值*/
async mounted() { async mounted() {
this.queryParams.homeCzyjType=this.$route.query.homeCzyjType||'' this.queryParams={
...this.queryParams,
...this.$route.query
}
this.$refs['TablePager'].pageQuery() this.$refs['TablePager'].pageQuery()
}, },
data() { data() {
......
...@@ -480,7 +480,9 @@ ...@@ -480,7 +480,9 @@
'#FF7474':'C' '#FF7474':'C'
} }
/* 开始判定*/ /* 开始判定*/
this.$router.push({ path: pathMap[params.name], query: { homeCzyjType:colorMap[params.color] } }); let queryParams={ homeCzyjType:colorMap[params.color]}
queryParams[this.menusItems[this.active]['type']] = this.menusItems[this.active]['id']
this.$router.push({ path: pathMap[params.name], query: queryParams });
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment