干燥机配套车间生产管理系统/云平台前端
baoshiwei
2024-12-12 2b4f4cda0a0031f02f7354fc2c68f056e44e1885
车间生产管理中的大屏故障显示完善
已修改2个文件
32 ■■■■ 文件已修改
src/views/dry/bigScreen/BigEqp.vue 29 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/dry/bigScreen/BigFault.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/dry/bigScreen/BigEqp.vue
@@ -1392,9 +1392,7 @@
                        width: 1,
                    },
                    // [[15,10], [15,11], [10,6], [7.5,12], [5,12], [2.5,5], [2.5,9], [1,7]]
                    data: [
                    ],
                    data: [],
                    markPoint: {
                        data: [
                            { type: 'max', name: 'Max' },
@@ -1735,6 +1733,7 @@
                                },
                                series: [
                                    {
                    name: '干燥效率',
                                        data: ganZaoXiaoLv,
                                        markLine: {
                                            symbol: 'none',
@@ -1750,8 +1749,8 @@
                                            },
                                        },
                                    },
                                    { data: zhengQiXiaoHao },
                                    { data: dianNengXiaoHao },
                                    // { data: zhengQiXiaoHao },
                                    // { data: dianNengXiaoHao },
                                ],
                            })
                        }
@@ -2578,4 +2577,24 @@
            opacity: 0;
        }
    }
  .error-div {
    position: absolute; display: flex; align-items: center;
  }
  .error-marker {
    width: 18px; height: 18px; background: red; border-radius: 50%;
  }
  .error-msg {
    margin-left: 6px;
    height: 24px;
    background: gray; border-radius: 5px; font-weight: bold; color: red
  }
  .warn-marker {
    width: 18px; height: 18px; background: orange; border-radius: 50%;
  }
  .warn-msg {
    margin-left: 6px;
    height: 24px;
    background: gray; border-radius: 5px; font-weight: bold; color: orange;
  }
</style>
src/views/dry/bigScreen/BigFault.vue
@@ -337,7 +337,7 @@
                // result.forEach((item) => {
                //     eqpCodes.push(item.code)
                // })
                queryRealTime()
            })
            .catch((err) => {
                //console.log(`output->err`, err)
@@ -482,6 +482,7 @@
        option2 && chart2.setOption(option2)
        option3 && chart3.setOption(option3)
        option4 && chart4.setOption(option4)
    queryRealTime()
    }
    var shangliaoFlag = false