修改测试bug

This commit is contained in:
GGJ
2024-12-11 16:33:23 +08:00
parent 26c971f3b0
commit fb462e3936
10 changed files with 58 additions and 70 deletions

View File

@@ -66,7 +66,7 @@ const initChart = () => {
opacity: 0.35,
fontSize: 14
},
backgroundColor: 'rgba(0,0,0,0.35)',
backgroundColor: 'rgba(0,0,0,0.55)',
borderWidth: 0,
confine: true,
...(props.options?.tooltip || null)

View File

@@ -10,7 +10,7 @@
import { onBeforeUnmount, ref, watch, onMounted, defineEmits } from 'vue'
import * as echarts from 'echarts4'
import { useDictData } from '@/stores/dictData'
const dictData = useDictData()
const dictData = useDictData()
const props = defineProps(['options'])
const myCharts = ref()
const showCircle = ref(false)
@@ -23,7 +23,7 @@ const fetchConfig = async (name: string) => {
// fetchConfig()
const emit = defineEmits(['getRegionByRegion', 'eliminate'])
onMounted(() => {})
onMounted(() => { })
const GetEchar = async (name: string) => {
let chartDom = document.getElementById('chartMap')
@@ -53,7 +53,7 @@ const GetEchar = async (name: string) => {
opacity: 0.35,
fontSize: 14
},
backgroundColor: 'rgba(0,0,0,0.35)',
backgroundColor: 'rgba(0,0,0,0.55)',
...(props.options.tooltip || null)
},
@@ -206,6 +206,7 @@ watch(
width: 100%;
height: 100%;
}
.iconfont {
cursor: pointer;
position: absolute;

View File

@@ -209,8 +209,8 @@ export default {
this.boxoList.evtParamTm +
"s";
} else if (this.boxoList.systemType == 'WX') {
this.titles =
' 监测点名称:' +
@@ -218,7 +218,7 @@ export default {
' 发生时刻:' +
this.boxoList.startTime +
' 暂降(骤升)幅值:' +
(this.boxoList.featureAmplitude ) +
(this.boxoList.featureAmplitude) +
'% 持续时间:' +
(this.boxoList.persistTime ? this.boxoList.persistTime.toFixed(2) : '-') +
's'
@@ -907,12 +907,12 @@ export default {
opacity: 0.35,
fontSize: 14,
},
backgroundColor: "rgba(0,0,0,0.35)",
backgroundColor: "rgba(0,0,0,0.55)",
borderWidth: 0,
},
title: {
left: "center",
text: title,
text: title,
subtitle: {
text: "电压",
align: "left",
@@ -1079,9 +1079,9 @@ export default {
color: "#FFCC00",
},
progressive: 500,
// 渲染阈值,大于此值则启动渐进渲染
progressiveThreshold: 1000,
large: true,
// 渲染阈值,大于此值则启动渐进渲染
progressiveThreshold: 1000,
large: true,
data: radata,
},
{
@@ -1094,9 +1094,9 @@ export default {
color: "#009900",
},
progressive: 500,
// 渲染阈值,大于此值则启动渐进渲染
progressiveThreshold: 1000,
large: true,
// 渲染阈值,大于此值则启动渐进渲染
progressiveThreshold: 1000,
large: true,
data: rbdata,
},
{
@@ -1109,9 +1109,9 @@ export default {
color: "#CC0000",
},
progressive: 500,
// 渲染阈值,大于此值则启动渐进渲染
progressiveThreshold: 1000,
large: true,
// 渲染阈值,大于此值则启动渐进渲染
progressiveThreshold: 1000,
large: true,
data: rcdata,
},
{
@@ -1338,7 +1338,7 @@ export default {
opacity: 0.35,
fontSize: 14,
},
backgroundColor: "rgba(0,0,0,0.35)",
backgroundColor: "rgba(0,0,0,0.55)",
borderWidth: 0,
},
title: {
@@ -1509,9 +1509,9 @@ export default {
color: "#FFCC00",
},
progressive: 500,
// 渲染阈值,大于此值则启动渐进渲染
progressiveThreshold: 1000,
large: true,
// 渲染阈值,大于此值则启动渐进渲染
progressiveThreshold: 1000,
large: true,
data: radata,
},
{
@@ -1524,9 +1524,9 @@ export default {
color: "#009900",
},
progressive: 500,
// 渲染阈值,大于此值则启动渐进渲染
progressiveThreshold: 1000,
large: true,
// 渲染阈值,大于此值则启动渐进渲染
progressiveThreshold: 1000,
large: true,
data: rbdata,
},
{
@@ -1539,9 +1539,9 @@ export default {
color: "#CC0000",
},
progressive: 500,
// 渲染阈值,大于此值则启动渐进渲染
progressiveThreshold: 1000,
large: true,
// 渲染阈值,大于此值则启动渐进渲染
progressiveThreshold: 1000,
large: true,
data: rcdata,
},
],

View File

@@ -577,7 +577,7 @@ export default {
opacity: 0.35,
fontSize: 14
},
backgroundColor: 'rgba(0,0,0,0.35)',
backgroundColor: 'rgba(0,0,0,0.55)',
borderWidth: 0,
},
@@ -941,7 +941,7 @@ export default {
opacity: 0.35,
fontSize: 14
},
backgroundColor: 'rgba(0,0,0,0.35)',
backgroundColor: 'rgba(0,0,0,0.55)',
borderWidth: 0
},
title: {