Commit b9c7f8ab by 匡雅琴

提交

1 parent 7f757649
......@@ -35,8 +35,6 @@ export default {
},
methods: {
drawBarLine() {
console.log(this.xAxisData);
console.log(this.dataList);
this.barLineOptions = {
xAxis: {
type: 'category',
......
......@@ -76,7 +76,7 @@ export default {
console.log(this.list);
// 指定图表的配置项和数据
var storedList = this.list;
const pointerData = this.list.length ? this.list[0].alarmLevel : 0
const pointerData = this.list.length ? this.list[0].value : 0
this.option = {
backgroundColor: "",
......@@ -106,7 +106,7 @@ export default {
if (!storedList.length) {
return `{无警情<br/>无风险}`;
} else {
return `${storedList[0].alarmLevel}级警情`;
return `${storedList[0].alarmLevel / 1}级警情`;
}
},
textStyle: {
......
......@@ -506,6 +506,7 @@ MapService.prototype = {
riskBtn.classList.add('resident_btn_hidden');
}
riskBtn.onclick = function() {
console.log(info);
queryCode = `vehicleId=${info.vidCode}`
mapService.openPage(`#/monitor/alarmAnalysis?${queryCode}`)
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!