Commit 7f25fbde authored by 李苏's avatar 李苏 💬

预警搜索条件调整

parent 69377d7d
...@@ -483,15 +483,15 @@ ...@@ -483,15 +483,15 @@
let queryParams = { let queryParams = {
homeCzyjType: colorMap[params.color] homeCzyjType: colorMap[params.color]
} }
queryParams[this.menusItems[this.active]['type']] = this.menusItems[this.active]['id'] // queryParams[this.menusItems[this.active]['type']] = this.menusItems[this.active]['id']
if (queryParams['gsId']) { // if (queryParams['gsId']) {
queryParams['homeGsId'] = queryParams['gsId'] // queryParams['homeGsId'] = queryParams['gsId']
delete queryParams['gsId'] // delete queryParams['gsId']
} // }
if (queryParams['bmId']) { // if (queryParams['bmId']) {
queryParams['homeBmId'] = queryParams['bmId'] // queryParams['homeBmId'] = queryParams['bmId']
delete queryParams['bmId'] // delete queryParams['bmId']
} // }
this.$router.push({ this.$router.push({
path: pathMap[params.name], path: pathMap[params.name],
...@@ -872,7 +872,7 @@ ...@@ -872,7 +872,7 @@
/* 持证预警*/ /* 持证预警*/
initscyj() { initscyj() {
let params = {} let params = {}
params[this.menusItems[this.active]['type']] = this.menusItems[this.active]['id'] // params[this.menusItems[this.active]['type']] = this.menusItems[this.active]['id']
this.$post('aqgl/homepage/czyj', params).then(res => { this.$post('aqgl/homepage/czyj', params).then(res => {
let records = res.data.records let records = res.data.records
/* x 轴*/ /* x 轴*/
......
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