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

预警搜索条件调整

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