江西测试问题整改

This commit is contained in:
guanj
2025-07-16 18:31:31 +08:00
parent 2f5ab61e9c
commit 6f15ce04fb
53 changed files with 286 additions and 234 deletions

View File

@@ -385,7 +385,7 @@ export default {
symbol: 'none',
sampling: 'lttb',
itemStyle: {
color: '#FFCC00'
color: '#DAA520'
},
data: adata
},
@@ -396,7 +396,7 @@ export default {
symbol: 'none',
sampling: 'lttb',
itemStyle: {
color: '#009900'
color: '#2E8B57'
},
data: bdata
},
@@ -407,7 +407,7 @@ export default {
symbol: 'none',
sampling: 'lttb',
itemStyle: {
color: '#CC0000'
color: '#A52a2a'
},
data: cdata
},

View File

@@ -10,5 +10,5 @@ export let color = [
'#66FFCC',
'#B3B'
]
export const gradeColor3 = ['#339966', '#FFCC33', '#CC0000']
export const gradeColor5 = ['#00CC00', '#99CC99', '#FF9900', '#996600', '#CC0000']
export const gradeColor3 = ['#339966', '#FFCC33', '#A52a2a']
export const gradeColor5 = ['#00CC00', '#99CC99', '#FF9900', '#996600', '#A52a2a']

View File

@@ -772,7 +772,7 @@ export default {
zhou = waveDatas[0].RMSSMinDetail.secondeZhou;
}
colors.push("#FFCC00");
colors.push("#DAA520");
colors.push("#fff");
colors.push("#fff");
break;
@@ -810,8 +810,8 @@ export default {
rmsvY = waveDatas[0].RMSSMinDetail.rmsvSecondY;
zhou = waveDatas[0].RMSSMinDetail.secondeZhou;
}
colors.push("#FFCC00");
colors.push("#009900");
colors.push("#DAA520");
colors.push("#2E8B57");
colors.push("#fff");
break;
case 3:
@@ -849,9 +849,9 @@ export default {
rmsvY = waveDatas[0].RMSSMinDetail.rmsvSecondY;
zhou = waveDatas[0].RMSSMinDetail.secondeZhou;
}
colors.push("#FFCC00");
colors.push("#009900");
colors.push("#CC0000");
colors.push("#DAA520");
colors.push("#2E8B57");
colors.push("#A52a2a");
break;
}
if (waveDatas[0].unit === "电压") {
@@ -1121,7 +1121,7 @@ export default {
symbol: "none",
sampling: "average",
itemStyle: {
color: "#FFCC00",
color: "#DAA520",
},
data: radata,
},
@@ -1132,7 +1132,7 @@ export default {
symbol: "none",
sampling: "average",
itemStyle: {
color: "#009900",
color: "#2E8B57",
},
data: rbdata,
},
@@ -1143,7 +1143,7 @@ export default {
symbol: "none",
sampling: "average",
itemStyle: {
color: "#CC0000",
color: "#A52a2a",
},
data: rcdata,
},
@@ -1542,7 +1542,7 @@ export default {
symbol: "none",
sampling: "average",
itemStyle: {
color: "#FFCC00",
color: "#DAA520",
},
data: radata,
},
@@ -1553,7 +1553,7 @@ export default {
symbol: "none",
sampling: "average",
itemStyle: {
color: "#009900",
color: "#2E8B57",
},
data: rbdata,
},
@@ -1564,7 +1564,7 @@ export default {
symbol: "none",
sampling: "average",
itemStyle: {
color: "#CC0000",
color: "#A52a2a",
},
data: rcdata,
},

View File

@@ -488,7 +488,7 @@ export default {
adata = waveDatas[0].shunshiS.shunshiSA
}
colors.push('#FFCC00')
colors.push('#DAA520')
colors.push('#fff')
colors.push('#fff')
break
@@ -508,8 +508,8 @@ export default {
adata = waveDatas[0].shunshiS.shunshiSA
bdata = waveDatas[0].shunshiS.shunshiSB
}
colors.push('#FFCC00')
colors.push('#009900')
colors.push('#DAA520')
colors.push('#2E8B57')
colors.push('#fff')
break
case 3:
@@ -532,9 +532,9 @@ export default {
cdata = waveDatas[0].shunshiS.shunshiSC
}
colors.push('#FFCC00')
colors.push('#009900')
colors.push('#CC0000')
colors.push('#DAA520')
colors.push('#2E8B57')
colors.push('#A52a2a')
break
}
@@ -788,7 +788,7 @@ export default {
symbol: 'none',
sampling: 'average',
itemStyle: {
color: '#FFCC00'
color: '#DAA520'
},
data: adata
},
@@ -801,7 +801,7 @@ export default {
symbol: 'none',
sampling: 'average',
itemStyle: {
color: '#009900'
color: '#2E8B57'
},
data: bdata
},
@@ -814,7 +814,7 @@ export default {
symbol: 'none',
sampling: 'average',
itemStyle: {
color: '#CC0000'
color: '#A52a2a'
},
data: cdata
},
@@ -867,24 +867,24 @@ export default {
switch (this.iphasic) {
case 1:
a = waveDataTemp.title.aTitle
colors.push('#FFCC00')
colors.push('#DAA520')
colors.push('#fff')
colors.push('#fff')
break
case 2:
a = waveDataTemp.title.aTitle
b = waveDataTemp.title.bTitle
colors.push('#FFCC00')
colors.push('#009900')
colors.push('#DAA520')
colors.push('#2E8B57')
colors.push('#fff')
break
case 3:
a = waveDataTemp.title.aTitle
b = waveDataTemp.title.bTitle
c = waveDataTemp.title.cTitle
colors.push('#FFCC00')
colors.push('#009900')
colors.push('#CC0000')
colors.push('#DAA520')
colors.push('#2E8B57')
colors.push('#A52a2a')
break
}
@@ -1151,7 +1151,7 @@ export default {
symbol: 'none',
sampling: 'average',
itemStyle: {
color: '#FFCC00'
color: '#DAA520'
},
data: adata
},
@@ -1164,7 +1164,7 @@ export default {
symbol: 'none',
sampling: 'average',
itemStyle: {
color: '#009900'
color: '#2E8B57'
},
data: bdata
},
@@ -1177,7 +1177,7 @@ export default {
symbol: 'none',
sampling: 'average',
itemStyle: {
color: '#CC0000'
color: '#A52a2a'
},
data: cdata
}

View File

@@ -151,7 +151,7 @@ const info = () => {
// top: '30px',
// left: '30px'
// },
// color: ['#FFCC00', '#009900', '#CC0000'],
// color: ['#DAA520', '#2E8B57', '#A52a2a'],
// series: [
// {
// name: 'A相',

View File

@@ -64,7 +64,7 @@ const itemStyle = {
[
{
offset: 1,
color: '#CC0000'
color: '#A52a2a'
}
],
false
@@ -190,13 +190,13 @@ const tableStore = new TableStore({
name: '',
yAxis: 60,
lineStyle: {
color: '#CC0000'
color: '#A52a2a'
},
label: {
// position: "middle",
formatter: '{b}',
textStyle: {
color: '#CC0000'
color: '#A52a2a'
}
}
}

View File

@@ -369,7 +369,7 @@ const setEChart = (val: any, data: any, text: string, name: string) => {
top: '30px',
left: '30px'
},
color: ['#FFCC00', '#009900', '#CC0000'],
color: ['#DAA520', '#2E8B57', '#A52a2a'],
series: [
{
name: 'A相',

View File

@@ -80,14 +80,14 @@
<el-tag v-if="row.runFlag === 1" style="color: #fff; background: #996600" size="small">
热备用
</el-tag>
<el-tag v-if="row.runFlag === 2" style="color: #fff; background: #cc0000" size="small">
<el-tag v-if="row.runFlag === 2" style="color: #fff; background: #A52a2a" size="small">
停运
</el-tag>
</template>
</vxe-column>
<vxe-column field="comFlag" title="通讯状态">
<template #default="{ row }">
<el-tag v-if="row.comFlag === 0" style="color: #fff; background: #cc0000" size="small">
<el-tag v-if="row.comFlag === 0" style="color: #fff; background: #A52a2a" size="small">
中断
</el-tag>
<el-tag v-if="row.comFlag === 1" style="color: #fff; background: #2e8b57" size="small">

View File

@@ -140,7 +140,7 @@ const tableStore = new TableStore({
top: '0px',
right: '50px',
inRange: {
color: ['#ccc', '#CC0000', "#339966"]
color: ['#ccc', '#A52a2a', "#339966"]
}
},
tooltip: {

View File

@@ -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">&nbsp&nbsp在线率<60% &nbsp&nbsp</span>
<span style="color: #A52a2a; font-weight: 400; float: left">&nbsp&nbsp在线率<60% &nbsp&nbsp</span>
<el-tag size="mini" style="
background: #ffcc33;
width: 30px;

View File

@@ -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">&nbsp&nbsp在线率<60% &nbsp&nbsp</span>
<span style="color: #A52a2a; font-weight: 400; float: left">&nbsp&nbsp在线率<60% &nbsp&nbsp</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'
}
}
}

View File

@@ -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',
}

View File

@@ -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">&nbsp&nbsp在线率<60% &nbsp&nbsp</span>
<span style="color: #A52a2a; font-weight: 400; float: left">&nbsp&nbsp在线率<60% &nbsp&nbsp</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'
}
}
}

View File

@@ -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">&nbsp&nbsp在线率<60% &nbsp&nbsp</span>
<span style="color: #A52a2a; font-weight: 400; float: left">&nbsp&nbsp在线率<60% &nbsp&nbsp</span>
<el-tag size="small" style="
background: #ffcc33;
width: 30px;

View File

@@ -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>"
: '/'
}
},

View File

@@ -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>

View File

@@ -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'
}
}
}

View File

@@ -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,

View File

@@ -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'
}
}
}

View File

@@ -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'
}
}
}

View File

@@ -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'
}
}
}

View File

@@ -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'
}
}
}

View File

@@ -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"
>

View File

@@ -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 客户端实例不存在')

View File

@@ -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: []
},

View File

@@ -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'
}
}
},

View File

@@ -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'
}
}
},

View File

@@ -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'
},
{

View File

@@ -139,7 +139,7 @@
</div>
<div>
{{ item.title[2] }}:
<span style="color: #cc0000" @click="LookMap([], item.lineListTwo, 1)">
<span style="color: #A52a2a" @click="LookMap([], item.lineListTwo, 1)">
{{ item.lineNumTwo || 0 }}
</span>
</div>

View File

@@ -201,7 +201,7 @@ const analysis = () => {
// : params[i].value > 2
// ? '#97017e'
// : params[i].value > 0
// ? '#cc0000'
// ? '#A52a2a'
// : ''
// }">
// ${
@@ -290,7 +290,7 @@ defineExpose({ open })
color: #fff;
}
.background3 {
background-color: #cc0000;
background-color: #A52a2a;
color: #fff;
}
:deep(.el-select) {

View File

@@ -33,7 +33,7 @@
<br />
<span style="color: #ff9900">中度污染(1.6 , 2]</span>
<br />
<span style="color: #cc0000">重度污染(2 , +)</span>
<span style="color: #A52a2a">重度污染(2 , +)</span>
</div>
</el-popover>
</span>
@@ -161,7 +161,7 @@ const contaminateC = () => {
name: `重度污染:${a5}`
}
]
const color = ['#00B07D', '#3399ff', '#ffcc33', '#ff9900', '#cc0000']
const color = ['#00B07D', '#3399ff', '#ffcc33', '#ff9900', '#A52a2a']
list.forEach((item, i) => {
picEChart.value[i] = {

View File

@@ -1035,7 +1035,7 @@ const rendering = () => {
smooth: true,
itemStyle: {
normal: {
color: '#FFCC00'
color: '#DAA520'
}
},
@@ -1051,7 +1051,7 @@ const rendering = () => {
smooth: true,
itemStyle: {
normal: {
color: '#339900'
color: '#2E8B57'
}
},
@@ -1068,7 +1068,7 @@ const rendering = () => {
barWidth: 22,
itemStyle: {
normal: {
color: '#CC0000'
color: '#A52a2a'
}
},
data: item.cvalue
@@ -1452,7 +1452,7 @@ const getEcharts = () => {
symbolSize: 0,
itemStyle: {
normal: {
color: '#FFCC00'
color: '#DAA520'
}
}
},
@@ -1465,7 +1465,7 @@ const getEcharts = () => {
symbolSize: 0,
itemStyle: {
normal: {
color: '#339900'
color: '#2E8B57'
}
}
},

View File

@@ -737,7 +737,7 @@ defineExpose({ open })
}
.background3 {
background-color: #cc0000;
background-color: #A52a2a;
color: #fff;
}
</style>

View File

@@ -133,7 +133,7 @@
</div>
<div>
{{ item.title[2] }}:
<span style="color: #cc0000" @click="LookMap([], item.lineListTwo, 1)">
<span style="color: #A52a2a" @click="LookMap([], item.lineListTwo, 1)">
{{ item.lineNumTwo || 0 }}
</span>
</div>

View File

@@ -19,7 +19,7 @@
<br />
<span style="color: #97017e">较差(2 , 3]</span>
<br />
<span style="color: #cc0000">极差[1 , 2]</span>
<span style="color: #A52a2a">极差[1 , 2]</span>
</div>
</el-popover>
</span>
@@ -48,7 +48,7 @@
: assessList.score > 2
? '#97017e'
: assessList.score > 0
? '#cc0000'
? '#A52a2a'
: ''
}"
>
@@ -77,7 +77,7 @@
: item.score > 2
? '#97017e'
: item.score > 0
? '#cc0000'
? '#A52a2a'
: ''
}"
>

View File

@@ -119,7 +119,7 @@
</div>
<div>
{{ item.title[2] }}:
<span style="color: #cc0000" @click="LookMap([], item.lineListTwo, 1)">
<span style="color: #A52a2a" @click="LookMap([], item.lineListTwo, 1)">
{{ item.lineNumTwo || 0 }}
</span>
</div>

View File

@@ -201,7 +201,7 @@ const analysis = () => {
// : params[i].value > 2
// ? '#97017e'
// : params[i].value > 0
// ? '#cc0000'
// ? '#A52a2a'
// : ''
// }">
// ${
@@ -290,7 +290,7 @@ defineExpose({ open })
color: #fff;
}
.background3 {
background-color: #cc0000;
background-color: #A52a2a;
color: #fff;
}
:deep(.el-select) {

View File

@@ -33,7 +33,7 @@
<br />
<span style="color: #ff9900">中度污染(1.6 , 2]</span>
<br />
<span style="color: #cc0000">重度污染(2 , +)</span>
<span style="color: #A52a2a">重度污染(2 , +)</span>
</div>
</el-popover>
</span>
@@ -169,7 +169,7 @@ const contaminateC = () => {
name: `重度污染:${a5}`
}
]
const color = ['#00B07D', '#3399ff', '#ffcc33', '#ff9900', '#cc0000']
const color = ['#00B07D', '#3399ff', '#ffcc33', '#ff9900', '#A52a2a']
list.forEach((item, i) => {
picEChart.value[i] = {

View File

@@ -1035,7 +1035,7 @@ const rendering = () => {
smooth: true,
itemStyle: {
normal: {
color: '#FFCC00'
color: '#DAA520'
}
},
@@ -1051,7 +1051,7 @@ const rendering = () => {
smooth: true,
itemStyle: {
normal: {
color: '#339900'
color: '#2E8B57'
}
},
@@ -1068,7 +1068,7 @@ const rendering = () => {
barWidth: 22,
itemStyle: {
normal: {
color: '#CC0000'
color: '#A52a2a'
}
},
data: item.cvalue
@@ -1452,7 +1452,7 @@ const getEcharts = () => {
symbolSize: 0,
itemStyle: {
normal: {
color: '#FFCC00'
color: '#DAA520'
}
}
},
@@ -1465,7 +1465,7 @@ const getEcharts = () => {
symbolSize: 0,
itemStyle: {
normal: {
color: '#339900'
color: '#2E8B57'
}
}
},

View File

@@ -736,7 +736,7 @@ defineExpose({ open })
}
.background3 {
background-color: #cc0000;
background-color: #A52a2a;
color: #fff;
}
</style>

View File

@@ -117,7 +117,7 @@
</div>
<div>
{{ item.title[2] }}:
<span style="color: #cc0000" @click="LookMap([], item.lineListTwo, 1)">
<span style="color: #A52a2a" @click="LookMap([], item.lineListTwo, 1)">
{{ item.lineNumTwo || 0 }}
</span>
</div>

View File

@@ -19,7 +19,7 @@
<br />
<span style="color: #97017e">较差(2 , 3]</span>
<br />
<span style="color: #cc0000">极差[1 , 2]</span>
<span style="color: #A52a2a">极差[1 , 2]</span>
</div>
</el-popover>
</span>
@@ -48,7 +48,7 @@
: assessList.score > 2
? '#97017e'
: assessList.score > 0
? '#cc0000'
? '#A52a2a'
: ''
}"
>
@@ -77,7 +77,7 @@
: item.score > 2
? '#97017e'
: item.score > 0
? '#cc0000'
? '#A52a2a'
: ''
}"
>

View File

@@ -1,6 +1,6 @@
<template>
<div>
<TableHeader date-picker ref="TableHeaderRef">
<TableHeader date-picker area ref="TableHeaderRef">
<template v-slot:select>
<el-form-item label="对象类型">
<el-select
@@ -17,6 +17,23 @@
></el-option>
</el-select>
</el-form-item>
<el-form-item label="终端厂家:">
<el-select
v-model="tableStore.table.params.manufacturer"
multiple
collapse-tags
clearable
value-key="id"
placeholder="请选择终端厂家"
>
<el-option
v-for="item in terminaloption"
:key="item.id"
:label="item.name"
:value="item"
></el-option>
</el-select>
</el-form-item>
</template>
<template v-slot:operation></template>
@@ -203,6 +220,7 @@ const TableHeaderRef = ref()
const abnormal: any = ref([])
const mapList: any = ref([])
const segmented = ref(1)
const terminaloption = dictData.getBasicData('Dev_Manufacturers')
const time = ref(['', ''])
const tableStore = new TableStore({
@@ -214,6 +232,7 @@ const tableStore = new TableStore({
column: [],
beforeSearchFun: () => {
loading.value = true
tableStore.table.params.deptId = tableStore.table.params.deptIndex
time.value = [tableStore.table.params.startTime, tableStore.table.params.endTime]
},
loadCallback: () => {
@@ -403,11 +422,11 @@ const echart = () => {
}
}
}
tableStore.table.params.deptId = dictData.state.area[0].id
// tableStore.table.params.deptId = dictData.state.area[0].id
tableStore.table.params.objType = ''
tableStore.table.params.alarmDayLimit = 5
tableStore.table.params.warnDayLimit = 1
tableStore.table.params.manufacturer = ''
const quantityClick = (e: any, num: number) => {
if (num == 0 && e.ids?.length == 0) return
alarmDetailsRef.value.open(e, time.value, num)
@@ -442,11 +461,11 @@ const onExport = () => {
})
}
onMounted(() => {
TableHeaderRef.value.setDatePicker([
{ label: '年份', value: 1 },
{ label: '季度', value: 2 },
{ label: '月份', value: 3 }
])
// TableHeaderRef.value.setDatePicker([
// { label: '年份', value: 1 },
// { label: '季度', value: 2 },
// { label: '月份', value: 3 }
// ])
queryFirstNode({ type: 0 }).then(res => {
objTypeList.value = res.data
})

View File

@@ -1,6 +1,6 @@
<template>
<div>
<TableHeader date-picker ref="TableHeaderRef">
<TableHeader date-picker area ref="TableHeaderRef">
<template v-slot:select>
<el-form-item label="对象类型">
<el-select
@@ -17,6 +17,23 @@
></el-option>
</el-select>
</el-form-item>
<el-form-item label="终端厂家:">
<el-select
v-model="tableStore.table.params.manufacturer"
multiple
collapse-tags
clearable
value-key="id"
placeholder="请选择终端厂家"
>
<el-option
v-for="item in terminaloption"
:key="item.id"
:label="item.name"
:value="item"
></el-option>
</el-select>
</el-form-item>
</template>
<template v-slot:operation></template>
@@ -227,6 +244,7 @@ const abnormal: any = ref([])
const mapList: any = ref([])
const segmented = ref('base')
const time = ref(['', ''])
const terminaloption = dictData.getBasicData('Dev_Manufacturers')
const segmentedList = ref([
{
label: '基础指标',
@@ -253,6 +271,7 @@ const tableStore = new TableStore({
column: [],
beforeSearchFun: () => {
loading.value = true
tableStore.table.params.deptId = tableStore.table.params.deptIndex
time.value = [tableStore.table.params.startTime, tableStore.table.params.endTime]
},
loadCallback: () => {
@@ -449,10 +468,11 @@ const echart = () => {
}
}
}
tableStore.table.params.deptId = dictData.state.area[0].id
tableStore.table.params.objType = ''
tableStore.table.params.alarmDayLimit = 5
tableStore.table.params.warnDayLimit = 1
tableStore.table.params.manufacturer = ''
const quantityClick = (e: any, num: number) => {
if (num == 0 && e.ids?.length == 0) return
@@ -488,11 +508,11 @@ const onExport = () => {
})
}
onMounted(() => {
TableHeaderRef.value.setDatePicker([
{ label: '年份', value: 1 },
{ label: '季度', value: 2 },
{ label: '月份', value: 3 }
])
// TableHeaderRef.value.setDatePicker([
// { label: '年份', value: 1 },
// { label: '季度', value: 2 },
// { label: '月份', value: 3 }
// ])
queryFirstNode({ type: 0 }).then(res => {
objTypeList.value = res.data
})

View File

@@ -112,12 +112,12 @@ const info = () => {
// name: '',
// yAxis: 100,
// lineStyle: {
// color: '#009900'
// color: '#2E8B57'
// },
// label: {
// show: true,
// formatter: '优质',
// color: '#009900'
// color: '#2E8B57'
// }
// },
// {
@@ -136,11 +136,11 @@ const info = () => {
// name: '',
// yAxis: 60,
// lineStyle: {
// color: '#FFCC00'
// color: '#DAA520'
// },
// label: {
// show: true,
// color: '#FFCC00',
// color: '#DAA520',
// formatter: '合格'
// }
// }

View File

@@ -96,12 +96,12 @@ onMounted(() => {
top: 100%;
}
.hexagon1 {
background-color: #339900;
background-color: #2E8B57;
&::before {
border-bottom: 27.5px solid #339900;
border-bottom: 27.5px solid #2E8B57;
}
&::after {
border-top: 27.5px solid #339900;
border-top: 27.5px solid #2E8B57;
}
}
.hexagon2 {
@@ -114,12 +114,12 @@ onMounted(() => {
}
}
.hexagon3 {
background-color: #cc0000;
background-color: #A52a2a;
&::before {
border-bottom: 27.5px solid #cc0000;
border-bottom: 27.5px solid #A52a2a;
}
&::after {
border-top: 27.5px solid #cc0000;
border-top: 27.5px solid #A52a2a;
}
}
</style>

View File

@@ -12,7 +12,7 @@
<el-checkbox-group
v-model="checkedVoltage"
@change="handleCheckedVoltageChange"
style="height: 72px; overflow-y: auto;flex: 1"
style="height: 72px; overflow-y: auto; flex: 1"
>
<el-checkbox v-for="(item, index) in grade" :label="item" :key="index">{{ item.name }}</el-checkbox>
</el-checkbox-group>
@@ -30,7 +30,7 @@
<el-checkbox-group
v-model="checkedSource"
@change="handleCheckedSourceChange"
style="height: 72px; overflow-y: auto;flex: 1"
style="height: 72px; overflow-y: auto; flex: 1"
>
<el-checkbox v-for="(item, index) in type" :label="item" :key="index">{{ item.name }}</el-checkbox>
</el-checkbox-group>
@@ -142,7 +142,8 @@ const info = async (list: any) => {
legend: {
data: ['上限', '下限', '可容忍事件', '不可容忍事件'],
// selectedMode: false,
left: '10px'
left: '80px',
top: '18px'
},
color: ['#FF8C00', '#00BFFF', 'green', 'red'],
xAxis: {
@@ -242,7 +243,8 @@ const info = async (list: any) => {
legend: {
data: ['分割线', '可容忍事件', '不可容忍事件'],
// selectedMode: false,
left: '10px'
left: '80px',
top: '18px'
},
color: ['yellow', 'green', 'red'],
xAxis: {
@@ -479,4 +481,8 @@ const layout = mainHeight(390) as any
top: 210px;
right: 70px;
}
:deep(.vxe-table--body-wrapper) {
min-height: 30px !important;
height: 40px !important;
}
</style>

View File

@@ -3,7 +3,7 @@
<TableHeader date-picker area>
<template v-slot:select></template>
</TableHeader>
<el-tabs v-model="activeName" type="border-card" @tab-click="handleClick" v-loading="tableStore.table.loading">
<el-tabs v-model="activeName" type="border-card" @tab-change="handleClick" v-loading="tableStore.table.loading">
<el-tab-pane label="暂降原因及类型统计" name="1">
<TypeStatistics ref="Statistics" />
</el-tab-pane>
@@ -43,6 +43,15 @@ const tableStore = new TableStore({
url: '/event-boot/areaAnalysis/getEventReason',
method: 'POST',
column: [],
beforeSearchFun: () => {
if (activeName.value == '1') {
tableStore.table.params.scale = null
tableStore.table.params.loadType = null
} else {
tableStore.table.params.scale = compatibility.value.checkedVoltage
tableStore.table.params.loadType = compatibility.value.checkedSource
}
},
loadCallback: () => {
if (activeName.value == '1') {
Statistics.value.info(tableStore.table.data)
@@ -61,13 +70,13 @@ onMounted(() => {
tableStore.index()
})
const handleClick = async (e: any) => {
if (e.paneName == '1') {
tableStore.table.params.scale = null
tableStore.table.params.loadType = null
if (e == '1') {
// tableStore.table.params.scale = null
// tableStore.table.params.loadType = null
tableStore.url = '/event-boot/areaAnalysis/getEventReason'
} else {
tableStore.table.params.scale = compatibility.value.checkedVoltage
tableStore.table.params.loadType = compatibility.value.checkedSource
// tableStore.table.params.scale = compatibility.value.checkedVoltage
// tableStore.table.params.loadType = compatibility.value.checkedSource
tableStore.url = '/event-boot/areaAnalysis/getVoltageToleranceCurve'
}
await tableStore.onTableAction('search', {})

View File

@@ -177,7 +177,7 @@ const map = (res: any) => {
}
],
inRange: {
color: ['#ccc', '#CC0000', '#FF9900', '#3399CC', '#339966']
color: ['#ccc', '#A52a2a', '#FF9900', '#3399CC', '#339966']
}
},
@@ -298,9 +298,9 @@ const histogram = (res: any) => {
} else if (0.4 < params.value && params.value <= 0.8 && params.value !== 0.05) {
return '#FF9900'
} else if (0 < params.value && params.value <= 0.4 && params.value !== 0.05) {
return '#CC0000'
return '#A52a2a'
} else if (params.value == 0.05) {
return '#CC0000'
return '#A52a2a'
}
}
}
@@ -322,13 +322,13 @@ const histogram = (res: any) => {
name: '',
yAxis: 0.4,
lineStyle: {
color: '#CC0000'
color: '#A52a2a'
},
label: {
// position: "middle",
formatter: '{b}',
textStyle: {
color: '#CC0000'
color: '#A52a2a'
}
}
},

View File

@@ -237,10 +237,8 @@ const initSecond = () => {
},
backgroundColor: 'rgba(0,0,0,0.55)',
formatter: function (params: any) {
console.log('🚀 ~ initSecond ~ params:', params)
let res = ''
res += `${params[0].value[0]}${params[0].value[1] == '0' ? '中断' : '正常'}` //params[0].value[0] + '' //+ params[0].value[1] == '0' ? '中断' : '正常'
console.log('🚀 ~ initSecond ~ res:', res)
return res
}

View File

@@ -18,8 +18,8 @@
<span class="smallBlock" style="background: #996600"></span>
热备用
</span>
<span style="color: #cc0000">
<span class="smallBlock" style="background: #cc0000"></span>
<span style="color: #A52a2a">
<span class="smallBlock" style="background: #A52a2a"></span>
停运
</span>
</span>
@@ -34,8 +34,8 @@
<span class="smallBlock" style="background: #daa520"></span>
{{ '60 %≤在线率 < 90 %' }}
</span>
<span style="color: #cc0000">
<span class="smallBlock" style="background: #cc0000"></span>
<span style="color: #A52a2a">
<span class="smallBlock" style="background: #A52a2a"></span>
{{ '在线率 < 60 %' }}
</span>
</span>
@@ -184,7 +184,7 @@ const tableStore = new TableStore({
return new echarts.graphic.LinearGradient(0, 1, 0, 0, [
{
offset: 1,
color: '#cc0000'
color: '#A52a2a'
}
])
} else if ((params.value = 3.14159)) {
@@ -226,7 +226,7 @@ const tableStore = new TableStore({
return new echarts.graphic.LinearGradient(0, 1, 0, 0, [
{
offset: 1,
color: '#CC0000'
color: '#A52a2a'
}
])
} else if ((params.value = 3.14159)) {
@@ -319,7 +319,7 @@ const tableStore = new TableStore({
return new echarts.graphic.LinearGradient(0, 1, 0, 0, [
{
offset: 1,
color: '#cc0000'
color: '#A52a2a'
}
])
} else if ((params.value = 3.14159)) {
@@ -361,7 +361,7 @@ const tableStore = new TableStore({
return new echarts.graphic.LinearGradient(0, 1, 0, 0, [
{
offset: 1,
color: '#CC0000'
color: '#A52a2a'
}
])
} else if ((params.value = 3.14159)) {

View File

@@ -1005,7 +1005,7 @@ onUnmounted(() => {
}
.yellowFont {
color: #ffcc00;
color: #DAA520;
font-size: 30px;
}