From 7a1a89f650f0102c07631c146fcc1b99c1465391 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期三, 19 十一月 2025 15:14:18 +0800
Subject: [PATCH] 大屏
---
screen/src/views/KeyCabinet.vue | 19 ++++++-------------
1 files changed, 6 insertions(+), 13 deletions(-)
diff --git a/screen/src/views/KeyCabinet.vue b/screen/src/views/KeyCabinet.vue
index 986892f..70602d4 100644
--- a/screen/src/views/KeyCabinet.vue
+++ b/screen/src/views/KeyCabinet.vue
@@ -229,22 +229,16 @@
</template>
<script setup>
- import { ref, onMounted, nextTick } from 'vue'
import VScaleScreen from 'v-scale-screen'
- import Percent from '@/components/percent.vue'
- import Loading from '@/components/Loading.vue'
+ import {onMounted, ref} from 'vue'
import dayjs from 'dayjs'
- import ChargeRate from '@/components/ChargeRate.vue'
- import { statusMap } from '@/utils/config'
import * as echarts from 'echarts'
import duration from 'dayjs/plugin/duration'
- dayjs.extend(duration)
import 'swiper/css/swiper.min.css'
import Swiper from 'swiper'
- import {
- zxloadCurve,
- zxenergyDataList
- } from '@/api'
+ import {zxenergyDataList, zxloadCurve} from '@/api'
+
+ dayjs.extend(duration)
const weekMap = ['鏄熸湡鏃�', '鏄熸湡涓�', '鏄熸湡浜�', '鏄熸湡涓�', '鏄熸湡鍥�', '鏄熸湡浜�', '鏄熸湡鍏�',]
@@ -375,8 +369,7 @@
const getData2 = () => {
zxenergyDataList({ type: 0 }).then(res => {
- const result = res.data || []
- data2.value = result
+ data2.value = res.data || []
initEnergy()
})
}
@@ -447,7 +440,7 @@
color: new echarts.graphic.LinearGradient(
0, 0, 0, 1,
[
- { offset: 0, color: 'rgba(255, 184, 0, 1)' },
+ { offset: 0, color: 'rgb(255,184,0)' },
{ offset: 1, color: 'rgba(255, 138, 0, 0.20)' }
]
),
--
Gitblit v1.9.3