From 2676f45f33b9dedb80d0417e5af603df41216f0b Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Tue, 19 Nov 2024 18:31:22 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/main'
---
src/views/survey/components/box/fireContent.vue | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/views/survey/components/box/fireContent.vue b/src/views/survey/components/box/fireContent.vue
index 523b548..923b06f 100644
--- a/src/views/survey/components/box/fireContent.vue
+++ b/src/views/survey/components/box/fireContent.vue
@@ -2,7 +2,7 @@
* @Author: shuishen 1109946754@qq.com
* @Date: 2024-11-04 16:32:04
* @LastEditors: shuishen 1109946754@qq.com
- * @LastEditTime: 2024-11-05 17:42:44
+ * @LastEditTime: 2024-11-19 15:33:32
* @FilePath: \bigScreen\src\views\survey\components\box\fireContent.vue
* @Description:
*
@@ -45,18 +45,18 @@
}
]
-function getRiskSource() {
+function getRiskSource () {
getRiskSourceStatistic().then(res => {
let data = res.data.data
let dataRsult = []
- var total = 0;
+ var total = 0
data.forEach(item => {
dataRsult.push({
name: item.riskLevel,
value: item.num,
itemStyle: typeLevel.find(i => i.name == item.riskLevel).itemStyle
})
- total = total + item.num;
+ total = total + item.num
})
myEcharts.setOption({
@@ -80,7 +80,7 @@
legend: {
orient: "vertical",
- top: "5%",
+ top: "40%",
left: "5%",
textStyle: {
color: "#fff",
--
Gitblit v1.9.3