|
@ -1,106 +1,114 @@ |
|
|
<template> |
|
|
<template> |
|
|
<div class='congestion'> |
|
|
<div class="congestion"> |
|
|
<WgtTitle :title="'指标变化情况'"></WgtTitle> |
|
|
<WgtTitle :title="'指标变化情况'"></WgtTitle> |
|
|
<div class="board"> |
|
|
<div class="board"> |
|
|
<div id="ChangesIndictors" class="keep-ratio"> |
|
|
<div id="ChangesIndictors" class="keep-ratio"></div> |
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
|
<script> |
|
|
<script> |
|
|
import WgtTitle from '../../../../../widgets/title' |
|
|
import WgtTitle from "../../../../../widgets/title"; |
|
|
import * as echarts from "echarts"; |
|
|
import * as echarts from "echarts"; |
|
|
import chartsStatistics from './assets/charts3'; |
|
|
import chartsStatistics from "./assets/charts3"; |
|
|
|
|
|
|
|
|
export default { |
|
|
export default { |
|
|
name: 'ChangesIndictors', |
|
|
name: "ChangesIndictors", |
|
|
components: { |
|
|
components: { |
|
|
WgtTitle |
|
|
WgtTitle, |
|
|
}, |
|
|
}, |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
|
tableData: [{ |
|
|
tableData: [ |
|
|
date: '2023-12-31 13:00:00', |
|
|
{ |
|
|
name: '2640.78m', |
|
|
date: "2023-12-31 13:00:00", |
|
|
address: 'K100+000-K110+000' |
|
|
name: "2640.78m", |
|
|
}, { |
|
|
address: "K100+000-K110+000", |
|
|
date: '2023-12-31 13:00:00', |
|
|
|
|
|
name: '2640.78m', |
|
|
|
|
|
address: 'K100+000-K110+000' |
|
|
|
|
|
}, { |
|
|
|
|
|
date: '2023-12-31 13:00:00', |
|
|
|
|
|
name: '2640.78m', |
|
|
|
|
|
address: 'K100+000-K110+000' |
|
|
|
|
|
}, { |
|
|
|
|
|
date: '2023-12-31 13:00:00', |
|
|
|
|
|
name: '2640.78m', |
|
|
|
|
|
address: 'K100+000-K110+000' |
|
|
|
|
|
}, { |
|
|
|
|
|
date: '2023-12-31 13:00:00', |
|
|
|
|
|
name: '2640.78m', |
|
|
|
|
|
address: 'K100+000-K110+000' |
|
|
|
|
|
}, { |
|
|
|
|
|
date: '2023-12-31 13:00:00', |
|
|
|
|
|
name: '2640.78m', |
|
|
|
|
|
address: 'K100+000-K110+000' |
|
|
|
|
|
}, { |
|
|
|
|
|
date: '2023-12-31 13:00:00', |
|
|
|
|
|
name: '2640.78m', |
|
|
|
|
|
address: 'K100+000-K110+000' |
|
|
|
|
|
}, { |
|
|
|
|
|
date: '2023-12-31 13:00:00', |
|
|
|
|
|
name: '2640.78m', |
|
|
|
|
|
address: 'K100+000-K110+000' |
|
|
|
|
|
}, { |
|
|
|
|
|
date: '2023-12-31 13:00:00', |
|
|
|
|
|
name: '2640.78m', |
|
|
|
|
|
address: 'K100+000-K110+000' |
|
|
|
|
|
}, { |
|
|
|
|
|
date: '2023-12-31 13:00:00', |
|
|
|
|
|
name: '2640.78m', |
|
|
|
|
|
address: 'K100+000-K110+000' |
|
|
|
|
|
}, { |
|
|
|
|
|
date: '2023-12-31 13:00:00', |
|
|
|
|
|
name: '2640.78m', |
|
|
|
|
|
address: 'K100+000-K110+000' |
|
|
|
|
|
}, { |
|
|
|
|
|
date: '2023-12-31 13:00:00', |
|
|
|
|
|
name: '2640.78m', |
|
|
|
|
|
address: 'K100+000-K110+000' |
|
|
|
|
|
}, { |
|
|
|
|
|
date: '2023-12-31 13:00:00', |
|
|
|
|
|
name: '2640.78m', |
|
|
|
|
|
address: 'K100+000-K110+000' |
|
|
|
|
|
}, |
|
|
|
|
|
] |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
created() { |
|
|
date: "2023-12-31 13:00:00", |
|
|
|
|
|
name: "2640.78m", |
|
|
|
|
|
address: "K100+000-K110+000", |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
date: "2023-12-31 13:00:00", |
|
|
|
|
|
name: "2640.78m", |
|
|
|
|
|
address: "K100+000-K110+000", |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
date: "2023-12-31 13:00:00", |
|
|
|
|
|
name: "2640.78m", |
|
|
|
|
|
address: "K100+000-K110+000", |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
date: "2023-12-31 13:00:00", |
|
|
|
|
|
name: "2640.78m", |
|
|
|
|
|
address: "K100+000-K110+000", |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
date: "2023-12-31 13:00:00", |
|
|
|
|
|
name: "2640.78m", |
|
|
|
|
|
address: "K100+000-K110+000", |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
date: "2023-12-31 13:00:00", |
|
|
|
|
|
name: "2640.78m", |
|
|
|
|
|
address: "K100+000-K110+000", |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
date: "2023-12-31 13:00:00", |
|
|
|
|
|
name: "2640.78m", |
|
|
|
|
|
address: "K100+000-K110+000", |
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
date: "2023-12-31 13:00:00", |
|
|
|
|
|
name: "2640.78m", |
|
|
|
|
|
address: "K100+000-K110+000", |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
date: "2023-12-31 13:00:00", |
|
|
|
|
|
name: "2640.78m", |
|
|
|
|
|
address: "K100+000-K110+000", |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
date: "2023-12-31 13:00:00", |
|
|
|
|
|
name: "2640.78m", |
|
|
|
|
|
address: "K100+000-K110+000", |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
date: "2023-12-31 13:00:00", |
|
|
|
|
|
name: "2640.78m", |
|
|
|
|
|
address: "K100+000-K110+000", |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
date: "2023-12-31 13:00:00", |
|
|
|
|
|
name: "2640.78m", |
|
|
|
|
|
address: "K100+000-K110+000", |
|
|
|
|
|
}, |
|
|
|
|
|
], |
|
|
|
|
|
}; |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
created() {}, |
|
|
methods: { |
|
|
methods: { |
|
|
selectItem(index) { |
|
|
selectItem(index) { |
|
|
this.selectIndex = index; |
|
|
this.selectIndex = index; |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
mounted() { |
|
|
mounted() { |
|
|
|
|
|
|
|
|
setTimeout(() => { |
|
|
setTimeout(() => { |
|
|
this.$nextTick(() => { |
|
|
this.$nextTick(() => { |
|
|
var myChart = echarts.init(document.getElementById('ChangesIndictors')); |
|
|
var myChart = echarts.init(document.getElementById("ChangesIndictors")); |
|
|
myChart.setOption(chartsStatistics); |
|
|
myChart.setOption(chartsStatistics); |
|
|
}); |
|
|
}); |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
} |
|
|
}; |
|
|
</script> |
|
|
</script> |
|
|
|
|
|
|
|
|
<style lang='scss' scoped> |
|
|
<style lang="scss" scoped> |
|
|
.showClass { |
|
|
.showClass { |
|
|
color: #00EBC1; |
|
|
color: #00ebc1; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
::v-deep .el-table .cell { |
|
|
::v-deep .el-table .cell { |
|
@ -109,7 +117,7 @@ export default { |
|
|
|
|
|
|
|
|
::v-deep .el-table .el-table__header-wrapper th { |
|
|
::v-deep .el-table .el-table__header-wrapper th { |
|
|
background-color: #064258 !important; |
|
|
background-color: #064258 !important; |
|
|
color: #00D1FF; |
|
|
color: #00d1ff; |
|
|
border-color: #064258 !important; |
|
|
border-color: #064258 !important; |
|
|
border: 0px !important; |
|
|
border: 0px !important; |
|
|
font-size: 12px !important; |
|
|
font-size: 12px !important; |
|
@ -128,11 +136,11 @@ export default { |
|
|
|
|
|
|
|
|
::v-deep .el-table tr:hover td { |
|
|
::v-deep .el-table tr:hover td { |
|
|
background: #1b2528 !important; |
|
|
background: #1b2528 !important; |
|
|
color: #00D1FF; |
|
|
color: #00d1ff; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
::v-deep .el-table tr:nth-child(odd) td { |
|
|
::v-deep .el-table tr:nth-child(odd) td { |
|
|
background-color: #13272F; |
|
|
background-color: #13272f; |
|
|
border: 0px !important; |
|
|
border: 0px !important; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -168,7 +176,7 @@ export default { |
|
|
|
|
|
|
|
|
#ChangesIndictors { |
|
|
#ChangesIndictors { |
|
|
display: inline-flex; |
|
|
display: inline-flex; |
|
|
height: 240px; |
|
|
height: 280px; |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
@ -179,4 +187,3 @@ export default { |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
} |
|
|
} |
|
|
</style> |
|
|
</style> |
|
|
|
|
|
|