update 设备分组
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user