update 质量管理,产线缺陷月对比

This commit is contained in:
lb
2022-11-18 10:15:57 +08:00
parent d89eb46f58
commit df6cdf8f13
3 changed files with 33 additions and 23 deletions

View File

@@ -48,7 +48,7 @@
>
<new-bar
chart-name="realtime-cost-production"
:name-list="['A', 'B', 'C', 'D', 'E', 'F']"
:name-list="['脏污', '破片', '崩边', '崩孔', '划擦伤', '其他']"
:data-list="[
{
topColor: 'rgba(59, 76, 118, 0.2)',
@@ -70,18 +70,30 @@
<div class="grow">
<techy-box class="" style="padding: calc(16px * var(--beilv));">
<techy-analysis-header>产线缺陷月对比</techy-analysis-header>
<new-bar
chart-name="process-fault"
:name-list="['A', 'B', 'C', 'D', 'E', 'F']"
:data-list="[
{
topColor: 'rgba(59, 76, 118, 0.2)',
bottomColor: '#49FBD6',
name: '库存',
data: [64, 91, 55, 65, 37, 77]
}
]"
/>
<div
class="absolute top-0 left-0"
style="position: absolute; width: 100%; height: 100%; top: 0; left: 0;"
>
<new-bar
chart-name="realtime-cost-production"
:name-list="['脏污', '破片', '崩边', '崩孔', '划擦伤', '其他']"
unit-name="单位: 千片"
:data-list="[
{
topColor: 'rgba(59, 76, 118, 0.2)',
bottomColor: '#49FBD6',
name: '产线A',
data: [3.3, 1.2, 4.5, 5.8, 2.1, 2]
},
{
topColor: 'rgba(59, 76, 118, 0.2)',
bottomColor: '#31A2FF',
name: '产线B',
data: [4.3, 2.2, 3.5, 5.9, 2.3, 3]
}
]"
/>
</div>
</techy-box>
</div>
</div>