江西测试问题整改
This commit is contained in:
@@ -140,7 +140,7 @@ const tableStore = new TableStore({
|
||||
top: '0px',
|
||||
right: '50px',
|
||||
inRange: {
|
||||
color: ['#ccc', '#CC0000', "#339966"]
|
||||
color: ['#ccc', '#A52a2a', "#339966"]
|
||||
}
|
||||
},
|
||||
tooltip: {
|
||||
|
||||
@@ -3,14 +3,14 @@
|
||||
<div style="position: absolute; right: 60px; top: 5px; font-weight: bold"
|
||||
v-if="!loading && tableStore.table.data.length != 0">
|
||||
<el-tag style="
|
||||
background: #cc0000;
|
||||
background: #A52a2a;
|
||||
width: 30px;
|
||||
height: 15px;
|
||||
border: 1px solid #cc0000;
|
||||
border: 1px solid #A52a2a;
|
||||
float: left;
|
||||
margin-top: 2px;
|
||||
"></el-tag>
|
||||
<span style="color: #cc0000; font-weight: 400; float: left">  在线率<60%   </span>
|
||||
<span style="color: #A52a2a; font-weight: 400; float: left">  在线率<60%   </span>
|
||||
<el-tag size="mini" style="
|
||||
background: #ffcc33;
|
||||
width: 30px;
|
||||
|
||||
@@ -3,14 +3,14 @@
|
||||
<div style="position: absolute; right: 60px; top: 5px; font-weight: bold"
|
||||
v-if="!loading && tableStore.table.data && tableStore.table.data.type && tableStore.table.data.type.length != 0">
|
||||
<el-tag style="
|
||||
background: #cc0000;
|
||||
background: #A52a2a;
|
||||
width: 30px;
|
||||
height: 15px;
|
||||
border: 1px solid #cc0000;
|
||||
border: 1px solid #A52a2a;
|
||||
float: left;
|
||||
margin-top: 2px;
|
||||
"></el-tag>
|
||||
<span style="color: #cc0000; font-weight: 400; float: left">  在线率<60%   </span>
|
||||
<span style="color: #A52a2a; font-weight: 400; float: left">  在线率<60%   </span>
|
||||
<el-tag size="mini" style="
|
||||
background: #ffcc33;
|
||||
width: 30px;
|
||||
@@ -180,7 +180,7 @@ const tableStore = new TableStore({
|
||||
[
|
||||
{
|
||||
offset: 1,
|
||||
color: '#CC0000'
|
||||
color: '#A52a2a'
|
||||
}
|
||||
],
|
||||
false
|
||||
@@ -239,13 +239,13 @@ const tableStore = new TableStore({
|
||||
name: '',
|
||||
yAxis: 60,
|
||||
lineStyle: {
|
||||
color: '#CC0000'
|
||||
color: '#A52a2a'
|
||||
},
|
||||
label: {
|
||||
//position: "middle",
|
||||
formatter: '{b}',
|
||||
textStyle: {
|
||||
color: '#CC0000'
|
||||
color: '#A52a2a'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,8 +20,8 @@
|
||||
<span style="color: #ffcc33;" class="text">:合格--(3,4]</span>
|
||||
<el-tag style="background: #ff9900;" class="tag" size="small">2级</el-tag>
|
||||
<span style="color: #ff9900;" class="text">:较差--(2,3]</span>
|
||||
<el-tag style="background: #cc0000;" class="tag" size="small">1级</el-tag>
|
||||
<span style="color: #cc0000;" class="text">:极差--[1,2]</span>
|
||||
<el-tag style="background: #A52a2a;" class="tag" size="small">1级</el-tag>
|
||||
<span style="color: #A52a2a;" class="text">:极差--[1,2]</span>
|
||||
<div :style="{ height: layout.height }" style="overflow-y: auto" class="mt10">
|
||||
<div class=" cardBox">
|
||||
<el-card v-for="(item, index) in tableStore.table.data" :key="index">
|
||||
@@ -48,7 +48,7 @@
|
||||
4级
|
||||
</el-tag>
|
||||
<el-tag v-if="1 <= item.data && item.data <= 2 && item.data !== 3.14159"
|
||||
style="background: #cc0000; color: #fff" size="small">
|
||||
style="background: #A52a2a; color: #fff" size="small">
|
||||
1级
|
||||
</el-tag>
|
||||
<span>{{ item.name }}</span>
|
||||
@@ -80,7 +80,7 @@
|
||||
2级
|
||||
</el-tag>
|
||||
<el-tag v-if="1 <= item1.data && item1.data <= 2 && item1.data !== 3.14159"
|
||||
style="background: #cc0000; color: #fff" size="small">
|
||||
style="background: #A52a2a; color: #fff" size="small">
|
||||
1级
|
||||
</el-tag>
|
||||
<span class="xdf">
|
||||
@@ -260,7 +260,7 @@ const histogram = (res: any) => {
|
||||
return new echarts.graphic.LinearGradient(0, 1, 0, 0, [
|
||||
{
|
||||
offset: 1,
|
||||
color: '#CC0000'
|
||||
color: '#A52a2a'
|
||||
}], false)
|
||||
} else if (params.value == 0.2) {
|
||||
return new echarts.graphic.LinearGradient(0, 1, 0, 0, [
|
||||
@@ -290,13 +290,13 @@ const histogram = (res: any) => {
|
||||
name: "",
|
||||
yAxis: 1,
|
||||
lineStyle: {
|
||||
color: '#CC0000',
|
||||
color: '#A52a2a',
|
||||
},
|
||||
label: {
|
||||
// position:"middle",
|
||||
formatter: '{b}',
|
||||
textStyle: {
|
||||
color: '#CC0000',
|
||||
color: '#A52a2a',
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -3,15 +3,15 @@
|
||||
<div style="position: absolute; right: 60px; top: 5px; font-weight: bold">
|
||||
<el-tag
|
||||
style="
|
||||
background: #cc0000;
|
||||
background: #A52a2a;
|
||||
width: 30px;
|
||||
height: 15px;
|
||||
border: 1px solid #cc0000;
|
||||
border: 1px solid #A52a2a;
|
||||
float: left;
|
||||
margin-top: 2px;
|
||||
"
|
||||
></el-tag>
|
||||
<span style="color: #cc0000; font-weight: 400; float: left">  在线率<60%   </span>
|
||||
<span style="color: #A52a2a; font-weight: 400; float: left">  在线率<60%   </span>
|
||||
<el-tag
|
||||
size="small"
|
||||
style="
|
||||
@@ -109,7 +109,7 @@ const itemStyle = {
|
||||
[
|
||||
{
|
||||
offset: 1,
|
||||
color: '#CC0000'
|
||||
color: '#A52a2a'
|
||||
}
|
||||
],
|
||||
false
|
||||
@@ -236,13 +236,13 @@ const tableStore = new TableStore({
|
||||
name: '',
|
||||
yAxis: 60,
|
||||
lineStyle: {
|
||||
color: '#CC0000'
|
||||
color: '#A52a2a'
|
||||
},
|
||||
label: {
|
||||
// position: "middle",
|
||||
formatter: '{b}',
|
||||
textStyle: {
|
||||
color: '#CC0000'
|
||||
color: '#A52a2a'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,14 +4,14 @@
|
||||
<div style="position: absolute; right: 60px; top: 5px; font-weight: bold"
|
||||
v-if="!loading && tableStore.table.data.length != 0">
|
||||
<el-tag style="
|
||||
background: #cc0000;
|
||||
background: #A52a2a;
|
||||
width: 30px;
|
||||
height: 15px;
|
||||
border: 1px solid #cc0000;
|
||||
border: 1px solid #A52a2a;
|
||||
float: left;
|
||||
margin-top: 2px;
|
||||
"></el-tag>
|
||||
<span style="color: #cc0000; font-weight: 400; float: left">  在线率<60%   </span>
|
||||
<span style="color: #A52a2a; font-weight: 400; float: left">  在线率<60%   </span>
|
||||
<el-tag size="small" style="
|
||||
background: #ffcc33;
|
||||
width: 30px;
|
||||
|
||||
@@ -88,7 +88,7 @@
|
||||
<span style="color: #ffcc33">检修状态</span>
|
||||
</li>
|
||||
<li>
|
||||
<p style="background: #cc0000">
|
||||
<p style="background: #A52a2a">
|
||||
<svg
|
||||
t="1722910570852"
|
||||
class="icon"
|
||||
@@ -106,7 +106,7 @@
|
||||
></path>
|
||||
</svg>
|
||||
</p>
|
||||
<span style="color: #cc0000">停运状态</span>
|
||||
<span style="color: #A52a2a">停运状态</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@@ -250,7 +250,7 @@ const tableStore = new TableStore({
|
||||
: row.cellValue !== 0 && row.row.level !== 4
|
||||
? row.cellValue
|
||||
: row.cellValue !== 0 && row.row.level == 4 && row.row.runFlag == 0 && row.row.reaFlag == 0
|
||||
? "<p class='table_icon' style='width: 18px;height: 18px;margin: 0 auto;display: flex;align-items: center;justify-content: center;border-radius: 50%;background: #cc0000'><svg t='1722910570852' class='icon' viewBox='0 0 1336 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='6243' width='16' height='16'><path d='M49.588224 883.816448M1139.531776 883.816448M86.939648 862.977024M538.459136 960.381952c109.876224-153.544704 223.55968-289.842176 308.03968-385.787904 49.87392-56.639488 96.715776-108.155904 141.549568-154.500096 40.576-41.945088 80.805888-80.405504 119.478272-116.59264 65.92-61.693952 142.984192-130.034688 191.446016-159.30368l-61.891584-82.050048c-89.732096 56.139776-176.10752 116.103168-242.799616 162.18112-38.863872 26.855424-74.928128 52.667392-108.915712 77.252608-33.668096 24.356864-68.429824 51.106816-105.081856 79.166464-63.633408 48.712704-145.388544 114.194432-224.555008 181.860352L357.07904 374.989824 123.885568 558.770176 538.459136 960.381952zM1335.92064 862.977024' fill='#ffffff' p-id='6244'></path></svg> </p>"
|
||||
? "<p class='table_icon' style='width: 18px;height: 18px;margin: 0 auto;display: flex;align-items: center;justify-content: center;border-radius: 50%;background: #A52a2a'><svg t='1722910570852' class='icon' viewBox='0 0 1336 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='6243' width='16' height='16'><path d='M49.588224 883.816448M1139.531776 883.816448M86.939648 862.977024M538.459136 960.381952c109.876224-153.544704 223.55968-289.842176 308.03968-385.787904 49.87392-56.639488 96.715776-108.155904 141.549568-154.500096 40.576-41.945088 80.805888-80.405504 119.478272-116.59264 65.92-61.693952 142.984192-130.034688 191.446016-159.30368l-61.891584-82.050048c-89.732096 56.139776-176.10752 116.103168-242.799616 162.18112-38.863872 26.855424-74.928128 52.667392-108.915712 77.252608-33.668096 24.356864-68.429824 51.106816-105.081856 79.166464-63.633408 48.712704-145.388544 114.194432-224.555008 181.860352L357.07904 374.989824 123.885568 558.770176 538.459136 960.381952zM1335.92064 862.977024' fill='#ffffff' p-id='6244'></path></svg> </p>"
|
||||
: '/'
|
||||
}
|
||||
},
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
</span>
|
||||
<span
|
||||
v-if="2 <= scope.row.data && scope.row.data && scope.row.data !== 3.14159"
|
||||
style="font-weight: bold; color: #cc0000"
|
||||
style="font-weight: bold; color: #A52a2a"
|
||||
>
|
||||
重度污染
|
||||
</span>
|
||||
|
||||
@@ -106,7 +106,7 @@ const open = (row: any,) => {
|
||||
[
|
||||
{
|
||||
offset: 1,
|
||||
color: '#CC0000'
|
||||
color: '#A52a2a'
|
||||
}
|
||||
],
|
||||
false
|
||||
@@ -263,13 +263,13 @@ const open = (row: any,) => {
|
||||
name: '',
|
||||
yAxis: 2,
|
||||
lineStyle: {
|
||||
color: '#CC0000'
|
||||
color: '#A52a2a'
|
||||
},
|
||||
label: {
|
||||
// position: "middle",
|
||||
formatter: '{b}',
|
||||
textStyle: {
|
||||
color: '#CC0000'
|
||||
color: '#A52a2a'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -35,8 +35,8 @@
|
||||
<span style="color: #ffcc33" class="text">:轻度污染(1.2,1.6]</span>
|
||||
<el-tag style="background: #ff9900" class="tag" size="small">4级</el-tag>
|
||||
<span style="color: #ff9900" class="text">:中度污染(1.6,2]</span>
|
||||
<el-tag style="background: #cc0000" class="tag" size="small">5级</el-tag>
|
||||
<span style="color: #cc0000" class="text">:重度污染(2,+∞)</span>
|
||||
<el-tag style="background: #A52a2a" class="tag" size="small">5级</el-tag>
|
||||
<span style="color: #A52a2a" class="text">:重度污染(2,+∞)</span>
|
||||
</div>
|
||||
<el-tabs v-model="radio1" type="border-card" @tab-change="handleTabChange">
|
||||
<el-tab-pane label="列表" :name="0">
|
||||
@@ -82,7 +82,7 @@
|
||||
</el-tag>
|
||||
<el-tag
|
||||
v-if="2 <= item.data && item.data && item.data !== 3.14159"
|
||||
style="background: #cc0000; color: #fff"
|
||||
style="background: #A52a2a; color: #fff"
|
||||
size="small"
|
||||
>
|
||||
5级
|
||||
@@ -136,7 +136,7 @@
|
||||
</el-tag>
|
||||
<el-tag
|
||||
v-if="2 <= item1.data && item1.data && item1.data !== 3.14159"
|
||||
style="background: #cc0000; color: #fff"
|
||||
style="background: #A52a2a; color: #fff"
|
||||
size="small"
|
||||
>
|
||||
5级
|
||||
@@ -215,7 +215,7 @@
|
||||
</span>
|
||||
<span
|
||||
v-if="2 <= scope.row.data && scope.row.data && scope.row.data !== 3.14159"
|
||||
style="font-weight: bold; color: #cc0000"
|
||||
style="font-weight: bold; color: #A52a2a"
|
||||
>
|
||||
重度污染
|
||||
</span>
|
||||
@@ -399,7 +399,7 @@ const histogram = (res: any) => {
|
||||
[
|
||||
{
|
||||
offset: 1,
|
||||
color: '#CC0000'
|
||||
color: '#A52a2a'
|
||||
}
|
||||
],
|
||||
false
|
||||
@@ -556,13 +556,13 @@ const histogram = (res: any) => {
|
||||
name: '',
|
||||
yAxis: 2,
|
||||
lineStyle: {
|
||||
color: '#CC0000'
|
||||
color: '#A52a2a'
|
||||
},
|
||||
label: {
|
||||
// position: "middle",
|
||||
formatter: '{b}',
|
||||
textStyle: {
|
||||
color: '#CC0000'
|
||||
color: '#A52a2a'
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -647,7 +647,7 @@ const map = (res: any) => {
|
||||
gt: 2,
|
||||
lt: 10000,
|
||||
label: '重度污染',
|
||||
color: '#CC0000'
|
||||
color: '#A52a2a'
|
||||
},
|
||||
{
|
||||
gte: 1.2,
|
||||
|
||||
@@ -25,8 +25,8 @@
|
||||
<span style="color: #339966">:优秀≤60%</span>
|
||||
<el-tag style="background: #ffcc33; color: #fff" size="small">良</el-tag>
|
||||
<span style="color: #ffcc33">:60%<良好<90% </span>
|
||||
<el-tag style="background: #cc0000; color: #fff" size="small">差</el-tag>
|
||||
<span style="color: #cc0000">:极差≥90%</span>
|
||||
<el-tag style="background: #A52a2a; color: #fff" size="small">差</el-tag>
|
||||
<span style="color: #A52a2a">:极差≥90%</span>
|
||||
<div :style="{ height: layout.height }" style="overflow-y: auto" class="mt10">
|
||||
<div class=" cardBox">
|
||||
<el-card v-for="(item, index) in tableStore.table.data" :key="index">
|
||||
@@ -41,7 +41,7 @@
|
||||
良
|
||||
</el-tag>
|
||||
<el-tag v-if="90 <= item.data && item.data"
|
||||
style="color: #fff; background: #cc0000" size="small">
|
||||
style="color: #fff; background: #A52a2a" size="small">
|
||||
差
|
||||
</el-tag>
|
||||
<el-tag v-if="item.data == 3.14159 "
|
||||
@@ -65,7 +65,7 @@
|
||||
良
|
||||
</el-tag>
|
||||
<el-tag v-if="90 <= item1.data && item1.data"
|
||||
style="color: #fff; background: #cc0000" size="small">
|
||||
style="color: #fff; background: #A52a2a" size="small">
|
||||
差
|
||||
</el-tag>
|
||||
<el-tag v-if="item1.data == 3.14159 "
|
||||
@@ -97,7 +97,7 @@
|
||||
4级
|
||||
</el-tag>
|
||||
<el-tag v-if="2 <= item1.data && item1.data && item1.data !== 3.14159"
|
||||
style="background: #cc0000; color: #fff" size="small">
|
||||
style="background: #A52a2a; color: #fff" size="small">
|
||||
5级
|
||||
</el-tag> -->
|
||||
<span class="xdf">
|
||||
@@ -280,7 +280,7 @@ const histogram = (res: any) => {
|
||||
[
|
||||
{
|
||||
offset: 1,
|
||||
color: '#CC0000'
|
||||
color: '#A52a2a'
|
||||
}
|
||||
],
|
||||
false
|
||||
@@ -383,13 +383,13 @@ const histogram = (res: any) => {
|
||||
name: '',
|
||||
yAxis: 100,
|
||||
lineStyle: {
|
||||
color: '#CC0000'
|
||||
color: '#A52a2a'
|
||||
},
|
||||
label: {
|
||||
// position: "middle",
|
||||
formatter: '{b}',
|
||||
textStyle: {
|
||||
color: '#CC0000'
|
||||
color: '#A52a2a'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
</span>
|
||||
<span v-if="
|
||||
2 <= scope.row.data && scope.row.data && scope.row.data !== 3.14159
|
||||
" style=" font-weight: bold;color: #cc0000;">
|
||||
" style=" font-weight: bold;color: #A52a2a;">
|
||||
重度污染
|
||||
</span>
|
||||
<span v-if="scope.row.data == 3.14159" style="color: #000;">
|
||||
@@ -207,7 +207,7 @@ const map = (res: any) => {
|
||||
gt: 2,
|
||||
lt: 10000,
|
||||
label: '重度污染',
|
||||
color: '#CC0000',
|
||||
color: '#A52a2a',
|
||||
},
|
||||
{
|
||||
gte: 1.2,
|
||||
@@ -339,7 +339,7 @@ const histogram = (res: any) => {
|
||||
[
|
||||
{
|
||||
offset: 1,
|
||||
color: '#CC0000'
|
||||
color: '#A52a2a'
|
||||
}
|
||||
],
|
||||
false
|
||||
@@ -496,13 +496,13 @@ const histogram = (res: any) => {
|
||||
name: '',
|
||||
yAxis: 2,
|
||||
lineStyle: {
|
||||
color: '#CC0000'
|
||||
color: '#A52a2a'
|
||||
},
|
||||
label: {
|
||||
// position: "middle",
|
||||
formatter: '{b}',
|
||||
textStyle: {
|
||||
color: '#CC0000'
|
||||
color: '#A52a2a'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -198,7 +198,7 @@ const tableStore = new TableStore({
|
||||
[
|
||||
{
|
||||
offset: 1,
|
||||
color: '#CC0000'
|
||||
color: '#A52a2a'
|
||||
}
|
||||
],
|
||||
false
|
||||
@@ -257,13 +257,13 @@ const tableStore = new TableStore({
|
||||
name: '',
|
||||
yAxis: 60,
|
||||
lineStyle: {
|
||||
color: '#CC0000'
|
||||
color: '#A52a2a'
|
||||
},
|
||||
label: {
|
||||
//position: "middle",
|
||||
formatter: '{b}',
|
||||
textStyle: {
|
||||
color: '#CC0000'
|
||||
color: '#A52a2a'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -198,7 +198,7 @@ const tableStore = new TableStore({
|
||||
[
|
||||
{
|
||||
offset: 1,
|
||||
color: '#CC0000'
|
||||
color: '#A52a2a'
|
||||
}
|
||||
],
|
||||
false
|
||||
@@ -257,13 +257,13 @@ const tableStore = new TableStore({
|
||||
name: '',
|
||||
yAxis: 60,
|
||||
lineStyle: {
|
||||
color: '#CC0000'
|
||||
color: '#A52a2a'
|
||||
},
|
||||
label: {
|
||||
//position: "middle",
|
||||
formatter: '{b}',
|
||||
textStyle: {
|
||||
color: '#CC0000'
|
||||
color: '#A52a2a'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
<template #default="scope">
|
||||
<el-button
|
||||
@click="showCharts(scope.row, 3, '最大值')"
|
||||
:style="{ color: scope.row.statisticalType === 3 ? '#cc0000' : '#07d75a' }"
|
||||
:style="{ color: scope.row.statisticalType === 3 ? '#A52a2a' : '#07d75a' }"
|
||||
type="text"
|
||||
size="small"
|
||||
>
|
||||
@@ -77,7 +77,7 @@
|
||||
<template #default="scope">
|
||||
<el-button
|
||||
@click="showCharts(scope.row, 2, '最小值')"
|
||||
:style="{ color: scope.row.statisticalType === 2 ? '#cc0000' : '#07d75a' }"
|
||||
:style="{ color: scope.row.statisticalType === 2 ? '#A52a2a' : '#07d75a' }"
|
||||
type="text"
|
||||
size="small"
|
||||
>
|
||||
@@ -90,7 +90,7 @@
|
||||
<template #default="scope">
|
||||
<el-button
|
||||
@click="showCharts(scope.row, 1, '平均值')"
|
||||
:style="{ color: scope.row.statisticalType === 1 ? '#cc0000' : '#07d75a' }"
|
||||
:style="{ color: scope.row.statisticalType === 1 ? '#A52a2a' : '#07d75a' }"
|
||||
type="text"
|
||||
size="small"
|
||||
>
|
||||
@@ -103,7 +103,7 @@
|
||||
<template #default="scope">
|
||||
<el-button
|
||||
@click="showCharts(scope.row, 4, 'CP95值')"
|
||||
:style="{ color: scope.row.statisticalType === 4 ? '#cc0000' : '#07d75a' }"
|
||||
:style="{ color: scope.row.statisticalType === 4 ? '#A52a2a' : '#07d75a' }"
|
||||
type="text"
|
||||
size="small"
|
||||
>
|
||||
|
||||
@@ -31,38 +31,38 @@
|
||||
<div>电压</div>
|
||||
<div>
|
||||
A相:
|
||||
<span style="color: #ffcc00">
|
||||
<span style="color: #DAA520">
|
||||
{{ echartsData1?.options?.series[1].data[0].value }}
|
||||
</span>
|
||||
</div>
|
||||
<div>
|
||||
B相:
|
||||
<span style="color: #009900">
|
||||
<span style="color: #2E8B57">
|
||||
{{ echartsData1?.options?.series[1].data[1].value }}
|
||||
</span>
|
||||
</div>
|
||||
<div>
|
||||
C相:
|
||||
<span style="color: #cc0000">
|
||||
<span style="color: #A52a2a">
|
||||
{{ echartsData1?.options?.series[1].data[2].value }}
|
||||
</span>
|
||||
</div>
|
||||
<div style="margin-top: 10px">电流</div>
|
||||
<div>
|
||||
A相:
|
||||
<span style="color: #ffcc00">
|
||||
<span style="color: #DAA520">
|
||||
{{ echartsData1?.options?.series[0].data[0].value }}
|
||||
</span>
|
||||
</div>
|
||||
<div>
|
||||
B相:
|
||||
<span style="color: #009900">
|
||||
<span style="color: #2E8B57">
|
||||
{{ echartsData1?.options?.series[0].data[1].value }}
|
||||
</span>
|
||||
</div>
|
||||
<div>
|
||||
C相:
|
||||
<span style="color: #cc0000">
|
||||
<span style="color: #A52a2a">
|
||||
{{ echartsData1?.options?.series[0].data[2].value }}
|
||||
</span>
|
||||
</div>
|
||||
@@ -493,21 +493,21 @@ const initRadioCharts = () => {
|
||||
value: 0,
|
||||
name: 'A相',
|
||||
itemStyle: {
|
||||
color: '#FFCC00'
|
||||
color: '#DAA520'
|
||||
}
|
||||
},
|
||||
{
|
||||
value: 0,
|
||||
name: 'B相',
|
||||
itemStyle: {
|
||||
color: '#009900'
|
||||
color: '#2E8B57'
|
||||
}
|
||||
},
|
||||
{
|
||||
value: 0,
|
||||
name: 'C相',
|
||||
itemStyle: {
|
||||
color: '#CC0000'
|
||||
color: '#A52a2a'
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -596,21 +596,21 @@ const initRadioCharts = () => {
|
||||
value: 0,
|
||||
name: ptName.value == 'star' ? 'A相' : 'AB相', //'A相',
|
||||
itemStyle: {
|
||||
color: '#FFCC00'
|
||||
color: '#DAA520'
|
||||
}
|
||||
},
|
||||
{
|
||||
value: 0,
|
||||
name: ptName.value == 'star' ? 'B相' : 'BC相', //'B相',
|
||||
itemStyle: {
|
||||
color: '#009900'
|
||||
color: '#2E8B57'
|
||||
}
|
||||
},
|
||||
{
|
||||
value: 0,
|
||||
name: ptName.value == 'star' ? 'C相' : 'CA相', //'C相',
|
||||
itemStyle: {
|
||||
color: '#CC0000'
|
||||
color: '#A52a2a'
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -744,13 +744,13 @@ const initEcharts = (color: string, key: number) => {
|
||||
}
|
||||
//渲染echarts
|
||||
const init = () => {
|
||||
echartsDataV1.value = initEcharts('#FFCC00', 0)
|
||||
echartsDataV2.value = initEcharts('#009900', 0)
|
||||
echartsDataV3.value = initEcharts('#CC0000', 0)
|
||||
echartsDataV1.value = initEcharts('#DAA520', 0)
|
||||
echartsDataV2.value = initEcharts('#2E8B57', 0)
|
||||
echartsDataV3.value = initEcharts('#A52a2a', 0)
|
||||
|
||||
echartsDataA1.value = initEcharts('#FFCC00', 1)
|
||||
echartsDataA2.value = initEcharts('#009900', 1)
|
||||
echartsDataA3.value = initEcharts('#CC0000', 1)
|
||||
echartsDataA1.value = initEcharts('#DAA520', 1)
|
||||
echartsDataA2.value = initEcharts('#2E8B57', 1)
|
||||
echartsDataA3.value = initEcharts('#A52a2a', 1)
|
||||
|
||||
if (!dataSocket.socketServe) {
|
||||
console.error('WebSocket 客户端实例不存在')
|
||||
|
||||
@@ -62,7 +62,7 @@ const indexOptions: any = ref([
|
||||
{ name: 'vRmsB', phase: props.ptName == 'star' ? 'B相' : 'BC相', data: [] },
|
||||
{ name: 'vRmsC', phase: props.ptName == 'star' ? 'C相' : 'CA相', data: [] }
|
||||
],
|
||||
color: ['#FFCC00', '#009900', '#CC0000'],
|
||||
color: ['#DAA520', '#2E8B57', '#A52a2a'],
|
||||
unit: 'kV',
|
||||
data: []
|
||||
},
|
||||
@@ -74,7 +74,7 @@ const indexOptions: any = ref([
|
||||
{ name: 'iRmsB', phase: 'B相', data: [] },
|
||||
{ name: 'iRmsC', phase: 'C相', data: [] }
|
||||
],
|
||||
color: ['#FFCC00', '#009900', '#CC0000'],
|
||||
color: ['#DAA520', '#2E8B57', '#A52a2a'],
|
||||
unit: 'A',
|
||||
data: []
|
||||
},
|
||||
@@ -90,7 +90,7 @@ const indexOptions: any = ref([
|
||||
{ name: 'pTot', phase: '总', data: [] }
|
||||
]
|
||||
: [{ name: 'pTot', phase: '总', data: [] }],
|
||||
color: props.ptName == 'star' ? ['#FFCC00', '#009900', '#CC0000', '#000'] : ['#000'],
|
||||
color: props.ptName == 'star' ? ['#DAA520', '#2E8B57', '#A52a2a', '#000'] : ['#000'],
|
||||
unit: 'kW',
|
||||
data: []
|
||||
},
|
||||
@@ -106,7 +106,7 @@ const indexOptions: any = ref([
|
||||
{ name: 'qTot', phase: '总', data: [] }
|
||||
]
|
||||
: [{ name: 'qTot', phase: '总', data: [] }],
|
||||
color: props.ptName == 'star' ? ['#FFCC00', '#009900', '#CC0000', '#000'] : ['#000'],
|
||||
color: props.ptName == 'star' ? ['#DAA520', '#2E8B57', '#A52a2a', '#000'] : ['#000'],
|
||||
unit: 'kW',
|
||||
data: []
|
||||
},
|
||||
@@ -119,7 +119,7 @@ const indexOptions: any = ref([
|
||||
{ name: 'v1B', phase: props.ptName == 'star' ? 'B相' : 'BC相', data: [] },
|
||||
{ name: 'v1C', phase: props.ptName == 'star' ? 'C相' : 'CA相', data: [] }
|
||||
],
|
||||
color: ['#FFCC00', '#009900', '#CC0000'],
|
||||
color: ['#DAA520', '#2E8B57', '#A52a2a'],
|
||||
unit: 'kV',
|
||||
data: []
|
||||
},
|
||||
@@ -131,7 +131,7 @@ const indexOptions: any = ref([
|
||||
{ name: 'i1B', phase: 'B相', data: [] },
|
||||
{ name: 'i1C', phase: 'C相', data: [] }
|
||||
],
|
||||
color: ['#FFCC00', '#009900', '#CC0000'],
|
||||
color: ['#DAA520', '#2E8B57', '#A52a2a'],
|
||||
unit: 'A',
|
||||
data: []
|
||||
},
|
||||
|
||||
@@ -1179,7 +1179,7 @@ const rendering = () => {
|
||||
smooth: true,
|
||||
itemStyle: {
|
||||
normal: {
|
||||
color: '#FFCC00'
|
||||
color: '#DAA520'
|
||||
}
|
||||
},
|
||||
|
||||
@@ -1195,7 +1195,7 @@ const rendering = () => {
|
||||
smooth: true,
|
||||
itemStyle: {
|
||||
normal: {
|
||||
color: '#009900'
|
||||
color: '#2E8B57'
|
||||
}
|
||||
},
|
||||
|
||||
@@ -1212,7 +1212,7 @@ const rendering = () => {
|
||||
barWidth: 22,
|
||||
itemStyle: {
|
||||
normal: {
|
||||
color: '#CC0000'
|
||||
color: '#A52a2a'
|
||||
}
|
||||
},
|
||||
data: item.cvalue
|
||||
@@ -1627,7 +1627,7 @@ const getEcharts = () => {
|
||||
symbolSize: 0,
|
||||
itemStyle: {
|
||||
normal: {
|
||||
color: '#FFCC00'
|
||||
color: '#DAA520'
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -1640,7 +1640,7 @@ const getEcharts = () => {
|
||||
symbolSize: 0,
|
||||
itemStyle: {
|
||||
normal: {
|
||||
color: '#009900'
|
||||
color: '#2E8B57'
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -1653,7 +1653,7 @@ const getEcharts = () => {
|
||||
symbolSize: 0,
|
||||
itemStyle: {
|
||||
normal: {
|
||||
color: '#CC0000'
|
||||
color: '#A52a2a'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -1109,7 +1109,7 @@ const rendering = () => {
|
||||
smooth: true,
|
||||
itemStyle: {
|
||||
normal: {
|
||||
color: '#FFCC00'
|
||||
color: '#DAA520'
|
||||
}
|
||||
},
|
||||
|
||||
@@ -1125,7 +1125,7 @@ const rendering = () => {
|
||||
smooth: true,
|
||||
itemStyle: {
|
||||
normal: {
|
||||
color: '#009900'
|
||||
color: '#2E8B57'
|
||||
}
|
||||
},
|
||||
|
||||
@@ -1142,7 +1142,7 @@ const rendering = () => {
|
||||
barWidth: 22,
|
||||
itemStyle: {
|
||||
normal: {
|
||||
color: '#CC0000'
|
||||
color: '#A52a2a'
|
||||
}
|
||||
},
|
||||
data: item.cvalue
|
||||
@@ -1529,7 +1529,7 @@ const getEcharts = () => {
|
||||
symbolSize: 0,
|
||||
itemStyle: {
|
||||
normal: {
|
||||
color: '#FFCC00'
|
||||
color: '#DAA520'
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -1542,7 +1542,7 @@ const getEcharts = () => {
|
||||
symbolSize: 0,
|
||||
itemStyle: {
|
||||
normal: {
|
||||
color: '#339900'
|
||||
color: '#2E8B57'
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -1555,7 +1555,7 @@ const getEcharts = () => {
|
||||
symbolSize: 0,
|
||||
itemStyle: {
|
||||
normal: {
|
||||
color: '#CC0000'
|
||||
color: '#A52a2a'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -91,7 +91,7 @@ const itemStyle = ref({
|
||||
[
|
||||
{
|
||||
offset: 1,
|
||||
color: '#CC0000',
|
||||
color: '#A52a2a',
|
||||
}
|
||||
],
|
||||
false
|
||||
@@ -150,13 +150,13 @@ const markLine = ref({
|
||||
name: '',
|
||||
xAxis: 60,
|
||||
lineStyle: {
|
||||
color: '#CC0000',
|
||||
color: '#A52a2a',
|
||||
},
|
||||
label: {
|
||||
// position: "middle",
|
||||
formatter: '{b}',
|
||||
textStyle: {
|
||||
color: '#CC0000',
|
||||
color: '#A52a2a',
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -587,7 +587,7 @@ const tableStore = new TableStore({
|
||||
gt: 0,
|
||||
lt: 60,
|
||||
label: '在线率<60%',
|
||||
color: '#CC0000'
|
||||
color: '#A52a2a'
|
||||
},
|
||||
{
|
||||
value: 3.14159,
|
||||
@@ -740,7 +740,7 @@ const tableStore = new TableStore({
|
||||
gt: 0,
|
||||
lt: 60,
|
||||
label: '完整性<60%',
|
||||
color: '#CC0000'
|
||||
color: '#A52a2a'
|
||||
},
|
||||
{
|
||||
|
||||
@@ -871,7 +871,7 @@ const tableStore = new TableStore({
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
[{ offset: 1, color: '#CC0000' }],
|
||||
[{ offset: 1, color: '#A52a2a' }],
|
||||
false
|
||||
)
|
||||
} else if (params.value <= 2) {
|
||||
@@ -946,7 +946,7 @@ const tableStore = new TableStore({
|
||||
gt: 2,
|
||||
lt: 100,
|
||||
label: '畸变率>2%',
|
||||
color: '#CC0000'
|
||||
color: '#A52a2a'
|
||||
},
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user