|
|
@ -385,35 +385,7 @@ export default { |
|
|
|
let total = res.data.total; |
|
|
|
|
|
|
|
data.forEach((it) => { |
|
|
|
<<<<<<< HEAD |
|
|
|
types.push(WarningType[it.warningType]); |
|
|
|
======= |
|
|
|
if (it.warningType == 1) { |
|
|
|
types.push("交通拥堵"); |
|
|
|
} else if (it.warningType == 2) { |
|
|
|
types.push("行人"); |
|
|
|
} else if (it.warningType == 3) { |
|
|
|
types.push("非机动车"); |
|
|
|
} else if (it.warningType == 4) { |
|
|
|
types.push("停车"); |
|
|
|
} else if (it.warningType == 5) { |
|
|
|
types.push("违规驾驶"); |
|
|
|
} else if (it.warningType == 6) { |
|
|
|
types.push("路障"); |
|
|
|
} else if (it.warningType == 7) { |
|
|
|
types.push("道路施工"); |
|
|
|
} else if (it.warningType == 8) { |
|
|
|
types.push("异常天气"); |
|
|
|
} else if (it.warningType == 9) { |
|
|
|
types.push("护栏碰撞"); |
|
|
|
} else if (it.warningType == 10) { |
|
|
|
types.push("交通事故"); |
|
|
|
} else if (it.warningType == 11) { |
|
|
|
types.push("车辆故障"); |
|
|
|
} else if (it.warningType == 99) { |
|
|
|
types.push("其他"); |
|
|
|
} |
|
|
|
>>>>>>> 25407af3e8fe5fa68f3e9252cc6270c7da576ce6 |
|
|
|
|
|
|
|
numbers.push({ |
|
|
|
name: types[types.length - 1], |
|
|
@ -645,13 +617,8 @@ export default { |
|
|
|
|
|
|
|
.unit_con { |
|
|
|
flex: 1; |
|
|
|
<<<<<<< HEAD |
|
|
|
margin: 95px 20px 30px; position: relative; |
|
|
|
// &.unit_con_02{ margin: 105px 0px 20px; } |
|
|
|
======= |
|
|
|
margin: 95px 20px 30px; |
|
|
|
position: relative; |
|
|
|
>>>>>>> 25407af3e8fe5fa68f3e9252cc6270c7da576ce6 |
|
|
|
} |
|
|
|
|
|
|
|
.empty { |
|
|
|