江西测试问题整改
This commit is contained in:
@@ -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'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user