From e2c0c45d7e989d8f8c8d6c8e59b08a2e3afdc6f3 Mon Sep 17 00:00:00 2001
From: wangqiujuan0808 <578331299@qq.com>
Date: Wed, 1 Nov 2023 22:18:41 +0800
Subject: [PATCH] 123
---
src/components/BarEchartB.vue | 298 ++++++++++++++++++++++++++++++++++
src/components/BarEchartC.vue | 251 ++++++++++++++++++++++++++++
src/components/BarEchartS.vue | 269 ++++++++++++++++++++++++++++++
src/components/History2.vue | 8 +-
src/components/History3.vue | 6 +-
src/components/History4.vue | 2 +-
6 files changed, 824 insertions(+), 10 deletions(-)
create mode 100644 src/components/BarEchartB.vue
create mode 100644 src/components/BarEchartC.vue
create mode 100644 src/components/BarEchartS.vue
diff --git a/src/components/BarEchartB.vue b/src/components/BarEchartB.vue
new file mode 100644
index 0000000..6d48dad
--- /dev/null
+++ b/src/components/BarEchartB.vue
@@ -0,0 +1,298 @@
+
+
+
+
+
diff --git a/src/components/BarEchartC.vue b/src/components/BarEchartC.vue
new file mode 100644
index 0000000..4b131da
--- /dev/null
+++ b/src/components/BarEchartC.vue
@@ -0,0 +1,251 @@
+
+
+
+
{{ echartData.title }}
+
+
+
+
+
+
+
diff --git a/src/components/BarEchartS.vue b/src/components/BarEchartS.vue
new file mode 100644
index 0000000..a4523d5
--- /dev/null
+++ b/src/components/BarEchartS.vue
@@ -0,0 +1,269 @@
+
+
+
+
{{ echartData.title }}
+
+
+
+
+
+
+
diff --git a/src/components/History2.vue b/src/components/History2.vue
index 37b0167..9a79f30 100644
--- a/src/components/History2.vue
+++ b/src/components/History2.vue
@@ -20,9 +20,7 @@
-
+
@@ -59,7 +57,7 @@
import { onMounted, reactive, ref, toRefs } from "vue";
import { ElMessage } from "element-plus";
import myApi from "@/api/myApi.js";
-import BarEchart from "./BarEchart.vue";
+import BarEchart from "./BarEchartB.vue";
import Process from "./Process.vue";
import Date from "@/components/Date.vue";
export default {
@@ -75,7 +73,7 @@ export default {
{
id: "echart0",
title: "降水量-柱状图",
- legend: ["降水量"],
+ legend: ["降水量", "数据2"],
color: ["#6fdbce"],
},
],
diff --git a/src/components/History3.vue b/src/components/History3.vue
index 37b0167..78b7301 100644
--- a/src/components/History3.vue
+++ b/src/components/History3.vue
@@ -20,9 +20,7 @@
-
+
@@ -59,7 +57,7 @@
import { onMounted, reactive, ref, toRefs } from "vue";
import { ElMessage } from "element-plus";
import myApi from "@/api/myApi.js";
-import BarEchart from "./BarEchart.vue";
+import BarEchart from "./BarEchartS.vue";
import Process from "./Process.vue";
import Date from "@/components/Date.vue";
export default {
diff --git a/src/components/History4.vue b/src/components/History4.vue
index 37b0167..7bb985d 100644
--- a/src/components/History4.vue
+++ b/src/components/History4.vue
@@ -59,7 +59,7 @@
import { onMounted, reactive, ref, toRefs } from "vue";
import { ElMessage } from "element-plus";
import myApi from "@/api/myApi.js";
-import BarEchart from "./BarEchart.vue";
+import BarEchart from "./BarEchartC.vue";
import Process from "./Process.vue";
import Date from "@/components/Date.vue";
export default {