|
@@ -1535,11 +1535,12 @@ export default {
|
|
|
if(this.chart1.getdataListParm.parammaps.hlzq2){
|
|
|
data.hlzq2 = this.chart1.getdataListParm.parammaps.hlzq2
|
|
|
}
|
|
|
- postJson(url, data).then(response => {
|
|
|
+ postJson(url, data).then(response => {
|
|
|
+ console.log('-------------------',response.data.list)
|
|
|
// GetReportform(this.chart1.getdataListParm).then(response => {
|
|
|
- if (response.data.list !== null && response.data.list.length > 0) {
|
|
|
- this.chart1.list = response.data.data
|
|
|
+ if (response.data.list !== null) {
|
|
|
console.log('实时监控', response.data.list)
|
|
|
+ this.chart1.list = response.data.data
|
|
|
this.chart1.chartLine_data = response.data.list
|
|
|
this.chart1.total = response.data.total
|
|
|
this.roadChartLine1(this.chart1.chartLine_data)
|
|
@@ -1552,7 +1553,7 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
roadChartLine1(chartLine_data) {
|
|
|
- console.log(chartLine_data.data5, 'chartLine_data')
|
|
|
+ console.log(chartLine_data, 'chartLine_data')
|
|
|
if (this.chartLine != null) {
|
|
|
this.chartLine.dispose()
|
|
|
}
|
|
@@ -1626,7 +1627,6 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
rowStyle({ row, rowIndex }) {
|
|
|
- console.log(row, rowIndex,'777777');
|
|
|
let stylejson = {};
|
|
|
if (row.abnormal == 1) {
|
|
|
stylejson.background = "#fb8072";// 背景颜色
|