liuying
2024-10-16 9fd3f7927d22e5f161b4a6e8b50717cc55b040c4
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",
            },
          },