<template>
</template>
<script>
export default {
name: 'AlarmNowList',
data() {
this.title = {
text: '7日报警趋势'
}
this.chartSettings = {
labelMap: {
'alarmWells': '报警井数',
'alarmTimes': '报警次数'
},
metrics: ['alarmTimes', 'alarmWells'],
dimension: ['date']
}
return {
chartData: {
columns: ['date', 'alarmTimes', 'alarmWells', '下单率'],
rows: [
{ 'date': '9月20日', 'alarmTimes': 1393, 'alarmWells': 1093, '下单率': 0.32 },
{ 'date': '9月21日', 'alarmTimes': 3530, 'alarmWells': 3230, '下单率': 0.26 },
{ 'date': '9月22日', 'alarmTimes': 2923, 'alarmWells': 2623, '下单率': 0.76 },
{ 'date': '9月23日', 'alarmTimes': 1723, 'alarmWells': 1423, '下单率': 0.49 },
{ 'date': '9月24日', 'alarmTimes': 3792, 'alarmWells': 3492, '下单率': 0.323 },
{ 'date': '9月25日', 'alarmTimes': 4593, 'alarmWells': 4293, '下单率': 0.78 }
]
}
}
}
}
</script>