Commit 367f14dc authored by danfuman's avatar danfuman

修改

parent e082e8a5
...@@ -126,19 +126,21 @@ ...@@ -126,19 +126,21 @@
} }
rulesDetail({}).then(res => { rulesDetail({}).then(res => {
console.log(res) console.log(res)
let dimension=res.data.dimension.split(','); if(res.data){
this.queryParams={ let dimension=res.data.dimension.split(',');
pushFrequency:res.data.pushFrequency.toString(), this.queryParams={
receiveMode:res.data.receiveMode.toString(), pushFrequency:res.data.pushFrequency.toString(),
phones:res.data.phones receiveMode:res.data.receiveMode.toString(),
} phones:res.data.phones
this.startTime =res.data.timePeriodStart }
this.endTime = res.data.timePeriodEnd this.startTime =res.data.timePeriodStart
for(let item in dimension){ this.endTime = res.data.timePeriodEnd
if (this.arr.indexOf(dimension[item]) == -1) { for(let item in dimension){
this.gsfx.push(dimension[item]) if (this.arr.indexOf(dimension[item]) == -1) {
} else { this.gsfx.push(dimension[item])
this.sffx.push(dimension[item]) } else {
this.sffx.push(dimension[item])
}
} }
} }
}) })
......
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