diff --git a/src/views/Waterhouse/index.vue b/src/views/Waterhouse/index.vue index 52ebbe6..94d4410 100644 --- a/src/views/Waterhouse/index.vue +++ b/src/views/Waterhouse/index.vue @@ -3,10 +3,46 @@
- +
数据监测
+
+
进水
+
20
+
+
+
出水
+
20
+
+
+
消耗
+
20
+
+
+
用电
+
20
+
+ +
总体趋势图
+
+ + 本月 + 近三月 + 近一年 + +
+
+
+ +
效益&效率
+
+
+ +
效益
+
+
+ +
效率
+
+
@@ -18,13 +54,14 @@ let imgUrl = require('@/assets/img/water_room.png') const { proxy } = getCurrentInstance() as any const mainChart = ref(null) let chart = null +let date = ref('1') const colors = ['#5470C6', '#91CC75', '#EE6666']; function init() { - chart = proxy.$echarts.init(mainChart.value,'dark'); + chart = proxy.$echarts.init(mainChart.value, 'dark'); let option = { - title: { - text: '水房数据大屏', - }, + // title: { + // text: '水房数据大屏', + // }, color: colors, tooltip: { trigger: 'axis' @@ -84,7 +121,7 @@ function init() { chart.setOption(option); } onMounted(() => { - //init() + init() })