|
|
@ -147,6 +147,7 @@ export default { |
|
|
|
}, |
|
|
|
searchQuery() { |
|
|
|
let startTime = ""; |
|
|
|
let qType = this.type == 'date' ? 'day' : this.type; |
|
|
|
if (this.type == "quarter") { |
|
|
|
let year = moment().year(); |
|
|
|
if (this.quarter == 1) { |
|
|
@ -166,7 +167,7 @@ export default { |
|
|
|
|
|
|
|
//感知事件趋势 |
|
|
|
getWarningTrend({ |
|
|
|
"type": this.type, |
|
|
|
"type": qType, |
|
|
|
"sectionId": this.selectId, |
|
|
|
"createTime": startTime, |
|
|
|
"direction": this.direction, |
|
|
@ -233,7 +234,7 @@ export default { |
|
|
|
|
|
|
|
//类型占比 |
|
|
|
getWarningSectionType({ |
|
|
|
"type": this.type, |
|
|
|
"type": qType, |
|
|
|
"sectionId": this.selectId, |
|
|
|
"createTime": startTime, |
|
|
|
"direction": this.direction, |
|
|
@ -324,7 +325,7 @@ export default { |
|
|
|
}) |
|
|
|
//路段范围内桩号分布 |
|
|
|
getSectionMarkNumber({ |
|
|
|
"type": this.type, |
|
|
|
"type": qType, |
|
|
|
"sectionId": this.selectId, |
|
|
|
"createTime": startTime, |
|
|
|
"direction": this.direction, |
|
|
|