liuying
2024-10-16 c7acb51c3ace14e509704f453adc58b9eb6613a8
细节
已修改3个文件
8 ■■■■ 文件已修改
yiqi_screen/src/assets/images/1.png 补丁 | 查看 | 原始文档 | blame | 历史
yiqi_screen/src/components/EquipmentRunStatus.vue 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
yiqi_screen/src/components/ProdlineHealthy.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
yiqi_screen/src/assets/images/1.png

yiqi_screen/src/components/EquipmentRunStatus.vue
@@ -68,13 +68,13 @@
        orient: "vertical",
        top: "25%",
        right: "5%",
        itemGap: 2, //块之间的间距
        itemHeight: 5,
        itemGap: 5, //块之间的间距
        itemHeight: 5, // 设置图例项的高度
        itemWidth: 5, // 设置图例项的宽度
        data: ["生产", "完成", "待机", "警告", "故障"],
        textStyle: {
          color: "#fff",
          fontSize: 10,
          fontSize: 8,
        },
        formatter:  (name) =>{
          let res=this.option.series[0].data.filter(item=>item.name==name)
@@ -195,6 +195,5 @@
}
.box-container{
  position: relative;
  /* border: 1px solid red; */
}
</style>
yiqi_screen/src/components/ProdlineHealthy.vue
@@ -22,6 +22,7 @@
        textStyle:{
            color:'#fff'
        },
        itemHeight: 5, // 设置图例项的高度
        itemWidth: 5, // 设置图例项的宽度
        data: [
        {