From da4257bc32483409af02a06dd342c6981ec786ec Mon Sep 17 00:00:00 2001
From: liulijun <liulijun@hnkhzn.com>
Date: 星期一, 17 十一月 2025 17:14:14 +0800
Subject: [PATCH] 更新大屏幕页面和任务信息页面

---
 项目代码/BigScreen/src/components/echart/centerLeft/centerLeft2Chat/index.vue |   88 ++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 88 insertions(+), 0 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/BigScreen/src/components/echart/centerLeft/centerLeft2Chat/index.vue" "b/\351\241\271\347\233\256\344\273\243\347\240\201/BigScreen/src/components/echart/centerLeft/centerLeft2Chat/index.vue"
new file mode 100644
index 0000000..12152f9
--- /dev/null
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/BigScreen/src/components/echart/centerLeft/centerLeft2Chat/index.vue"
@@ -0,0 +1,88 @@
+<template>
+  <div>
+    <Chart :cdata="cdata" />
+  </div>
+</template>
+
+<script>
+import Chart from "./chart.vue";
+import axios from "@/api/ajax.js";
+export default {
+  data() {
+    return {
+      isEfficient: true,
+      cdata: {
+        xData: [],
+        seriesData: [
+          {
+            value: 2900,
+            name: "宸插畬鎴�",
+            itemStyle: { color: "#32c5e9" },
+            label: {
+              normal: {
+                show: true,
+                formatter: "{d}%",
+                textStyle: {
+                  fontSize: 16,
+                  fontWeight: "bolder",
+                },
+              },
+            },
+          },
+          { value:300, name: "鏈畬鎴�", itemStyle: { color: "#00000000" } },
+        ],
+      },
+    };
+  },
+  components: {
+    Chart,
+  },
+  mounted() {
+    // this.GetEfficient();
+  },
+  methods: {
+    GetEfficient() {
+      axios.post("/api/xxx/GetEfficient", null, "").then((x) => {
+        if (x.data.status) {
+          var data = x.data.data;
+          this.cdata.seriesData = [
+            {
+              value: data.moutheta[0], //宸插畬鎴愬��
+              name: "宸插畬鎴�",
+              itemStyle: { color: "#32c5e9" },
+              label: {
+                normal: {
+                  show: true,
+                  formatter: "{d}%",
+                  textStyle: {
+                    fontSize: 16,
+                    fontWeight: "bolder",
+                  },
+                },
+              },
+            },
+            {
+              value: data.moutheta[1],//鏈畬鎴愬��
+              name: "鏈畬鎴�",
+              itemStyle: { color: "#00000000" },
+            },
+          ];
+          //寮�鍚畾鏃跺櫒
+          if (this.isEfficient) {
+            setInterval(() => {
+              this.isEfficient = false;
+              this.GetEfficient();
+            }, 10000);
+          }
+        }
+      });
+    },
+  },
+};
+</script>
+
+<style lang="scss" scoped>
+.ec-font {
+  font-size: 18px;
+}
+</style>
\ No newline at end of file

--
Gitblit v1.9.3