update 设备分组

This commit is contained in:
lb
2023-10-09 17:01:19 +08:00
parent 907db90e93
commit 769830c448
6 changed files with 200 additions and 10 deletions

View File

@@ -66,7 +66,7 @@ export default {
(item, index) => `
<li style="list-style: none; display: flex; justify-content: space-between; align-items: center;">
<div>
<span style="display: inline-block; width: 10px; height: 10px; border-radius: 50%; background-color: ${item.color}; margin-right: 5px;"></span>
<span style="display: inline-block; width: 10px; height: 10px; border-radius: 2px; background-color: ${item.color}; margin-right: 5px;"></span>
${item.seriesName}
</div>
${item.value}
@@ -121,6 +121,7 @@ export default {
},
series: [
{
animation: false,
name: '合格数量',
type: 'bar',
barWidth: 20,
@@ -128,6 +129,7 @@ export default {
data: opt.map((item) => item[1]),
},
{
animation: false,
name: '不合格数量',
type: 'bar',
barWidth: 20,