From 9fd3f7927d22e5f161b4a6e8b50717cc55b040c4 Mon Sep 17 00:00:00 2001 From: liuying <1427574514@qq.com> Date: 周三, 16 10月 2024 11:21:03 +0800 Subject: [PATCH] 整改细节 --- yiqi_screen/src/components/ProductionStatistics.vue | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/yiqi_screen/src/components/ProductionStatistics.vue b/yiqi_screen/src/components/ProductionStatistics.vue index 82ab84c..5a50aa1 100644 --- a/yiqi_screen/src/components/ProductionStatistics.vue +++ b/yiqi_screen/src/components/ProductionStatistics.vue @@ -26,7 +26,13 @@ { value: val.currentMonthProduceNum }, { value: val.currentMonthPlanNum - val.currentMonthProduceNum }, ]); + // 褰撳墠鐝粍瀹為檯鐢熶骇鏁伴噺 currentShiftProduceNum + // 褰撳墠鐝粍璁″垝鐢熶骇鏁伴噺 currentShiftPlanNum this.$set(this.option.series[0], "data", [ + + // { value: 1 }, //瀹為檯鐢熶骇鏁伴噺 1/ (9+1) = 10% + // { value: 9 }, + { value: val.currentShiftProduceNum }, { value: val.currentShiftPlanNum - val.currentShiftProduceNum }, ]); @@ -53,11 +59,11 @@ fontSize: 12, }, - emphasis: { + emphasis: { //楗煎浘涓棿鐨勫瓧浣撳ぇ灏� scale: false, label: { show: true, - fontSize: 24, + fontSize: 14, fontWeight: "normal", }, }, @@ -93,7 +99,7 @@ scale: false, label: { show: true, - fontSize: 24, + fontSize: 14, //楗煎浘涓棿鐨勫瓧浣撳ぇ灏� fontWeight: "normal", }, }, -- Gitblit v1.9.3