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/centerLeft1Chart/chart.vue | 65 ++++++++++++++++++++++++++++++++
1 files changed, 65 insertions(+), 0 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/BigScreen/src/components/echart/centerLeft/centerLeft1Chart/chart.vue" "b/\351\241\271\347\233\256\344\273\243\347\240\201/BigScreen/src/components/echart/centerLeft/centerLeft1Chart/chart.vue"
new file mode 100644
index 0000000..5c6d6fc
--- /dev/null
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/BigScreen/src/components/echart/centerLeft/centerLeft1Chart/chart.vue"
@@ -0,0 +1,65 @@
+<template>
+ <div>
+ <Echart
+ :options="options"
+ id="centreLeft1Chart"
+ height="220px"
+ width="260px"
+ ></Echart>
+ </div>
+</template>
+
+<script>
+import Echart from '@/common/echart'
+export default {
+ data () {
+ return {
+ options: {},
+ };
+ },
+ components: {
+ Echart,
+ },
+ props: {
+ cdata: {
+ type: Object,
+ default: () => ({})
+ },
+ },
+ watch: {
+ cdata: {
+ handler (newData) {
+ this.options = {
+ series: [
+ {
+ type: "pie",
+ radius: [40, 50],
+ hoverAnimation: false,
+ itemStyle: {
+ borderColor: 'gray', // 杈规棰滆壊
+ borderWidth: 1 // 杈规瀹藉害
+ },
+ center: ["50%", "35%"],
+ data: newData.seriesData,
+ label: {//楗煎浘涓棿鏂囧瓧璁剧疆
+ normal: {
+ show: false,
+ position: 'center',
+ color:'#fff',
+ fontSize:'16',
+ formatter: "{d}%",
+ },
+ },
+ }
+ ]
+ }
+ },
+ immediate: true,
+ deep: true
+ }
+ }
+};
+</script>
+
+<style lang="scss" scoped>
+</style>
\ No newline at end of file
--
Gitblit v1.9.3