联调终端运行评价

This commit is contained in:
GGJ
2025-05-13 15:26:24 +08:00
parent 363c05639b
commit 325aa7d56e
29 changed files with 910 additions and 2075 deletions

View File

@@ -87,15 +87,15 @@ const init = () => {
let yData = [],
yData2 = []
for (let i = 0; i < steadyInfoList.length; i++) {
if (steadyInfoList[i] == 3.1415) {
steadyInfoList[i] = 1
yData.push(steadyInfoList[i])
} else if (steadyInfoList[i] == 3.14159) {
steadyInfoList[i] = 1
yData.push(steadyInfoList[i])
} else if (steadyInfoList[i] !== 3.14159) {
yData.push(steadyInfoList[i])
}
// if (steadyInfoList[i] == 3.1415) {
// steadyInfoList[i] = 1
// yData.push(steadyInfoList[i])
// } else if (steadyInfoList[i] == 3.14159) {
// steadyInfoList[i] = 1
// yData.push(steadyInfoList[i])
// } else if (steadyInfoList[i] !== 3.14159) {
yData.push(steadyInfoList[i])
// }
}
for (let i = 0; i < steadyInfoData.length; i++) {
if (steadyInfoData[i] == 3.1415) {
@@ -169,6 +169,8 @@ const init = () => {
return gradeColor3[0]
} else if (params.value > 60) {
return gradeColor3[1]
} else if (params.value == 3.14159) {
return '#ccc'
} else {
return gradeColor3[2]
}
@@ -224,7 +226,7 @@ const init = () => {
opacity: 0.35,
fontSize: 14
},
backgroundColor: 'rgba(0,0,0,0.55)',
backgroundColor: 'rgba(0,0,0,0.55)'
// formatter: function (params: any) {
// //console.log(params)
// let msg = ''