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