From 382526b8d64bffe687ac57d3b51face476def388 Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期一, 04 十二月 2023 16:29:18 +0800 Subject: [PATCH] 工单进度统计-延期预警小于零绿色 --- src/views/cockpitPage/components/MachineStartupRate.vue | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/views/cockpitPage/components/MachineStartupRate.vue b/src/views/cockpitPage/components/MachineStartupRate.vue index 5e66228..051f94d 100644 --- a/src/views/cockpitPage/components/MachineStartupRate.vue +++ b/src/views/cockpitPage/components/MachineStartupRate.vue @@ -71,6 +71,7 @@ label: { color: "#01f7fd", fontSize: 14, + padding: [0, -60], formatter: function (params) { return `{a|${params.name}} {b|${params.value + "%"}}`; }, @@ -94,8 +95,13 @@ }, labelLine: { show: true, - length: 50, + length: 40, color: "blue", + length2: 70, + }, + labelLayout: { + verticalAlign: "bottom", + dy: -5, }, data: data, }, -- Gitblit v1.8.0