ProductionTrend.vue
707 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<template>
<div class="trend-box">
<box-title title="产值趋势"></box-title>
<BarLineCharts ref="productionTrendsRef" height="25vh" domId="productionTrend" :dataList.sync="dataList" valName="outputvalue"></BarLineCharts>
</div>
</template>
<script>
import BarLineCharts from './BarLineCharts.vue'
export default {
name: 'ProductionTrend',
components: {
BarLineCharts
},
props: {
dataList: {
type: Array,
default: () => []
}
},
data() {
return {
}
},
created() {
},
mounted() {},
methods: {}
}
</script>
<style lang="scss" scoped>
.trend-box {
width: 64.17vw;
height: 29.56vh;
box-shadow: inset 0 0 20px 0 #3d57ff69;
}
</style>