WebTM/views/ÖÊÁ¿¹ÜÀí/ÖÊÁ¿±¨±í/QC_ProcessPerformanceFirstPass.html
@@ -473,6 +473,7 @@
                var HWasterQty_Work = [];//工废
                var HWasterQty_Mater = [];//料废
                var FistPass = [];//一次合格率
                var target = [];//目标值
                var HTitle = "直通率趋势图";//图形标题
                if (option.data.length > 0) {
                    for (let i = 0; i < option.data.length; i++) {
@@ -485,6 +486,7 @@
                        HWasterQty_Work.push(option.data[i].工废);
                        HWasterQty_Mater.push(option.data[i].料废);
                        FistPass.push((option.data[i].一次合格率).replace('%', ''));
                        target.push(('95.00%').replace('%', ''))
                   
                    }
                }
@@ -570,6 +572,18 @@
                                    return value;
                                }
                            },
                            itemStyle: {
                                normal: {
                                    label: {
                                        show: true,      //开启显示
                                        textStyle: {       //数值样式
                                            color: 'black',
                                            fontSize: 16
                                        }
                                    }
                                },
                                color: '#00DDDD' // è®¾ç½®æŸ±çŠ¶å›¾è“è‰²
                            },
                            data: HBackWorkQty
                        },
                        {
@@ -582,13 +596,25 @@
                            tooltip: {
                                valueFormatter: function (value) {
                                    return value;
                                }
                                }
                            },
                            itemStyle: {
                                normal: {
                                    label: {
                                        show: true,      //开启显示
                                        textStyle: {       //数值样式
                                            color: 'black',
                                            fontSize: 16
                                        }
                                    }
                                },
                                color: '#FFFF00' // è®¾ç½®æŸ±çŠ¶å›¾é»„è‰²
                            },
                            data: HWasterQty_Work
                        },
                        {
                            name: '料废',
                            type: 'bar',
                            type: 'bar',
                            stack: 'Ad',
                            emphasis: {
                                focus: 'series'
@@ -598,11 +624,27 @@
                                    return value;
                                }
                            },
                            itemStyle: {
                                normal: {
                                    label: {
                                        show: true,      //开启显示
                                        textStyle: {       //数值样式
                                            color: 'black',
                                            fontSize: 16
                                        }
                                    }
                                },
                                color: '#FFAA33' // è®¾ç½®æŸ±çŠ¶å›¾æ©™è‰²
                            },
                            data: HWasterQty_Mater
                        },
                        {
                            name: '一次合格率',
                            type: 'line',
                            label: {
                                show: true,
                                formatter: '{c}%'
                            },
                            tooltip: {
                                valueFormatter: function (value) {
                                    return value;
@@ -611,12 +653,34 @@
                            itemStyle: {
                                normal: {
                                    lineStyle: {
                                        color: 'green' // è®¾ç½®çº¿æ¡é¢œè‰²ä¸ºç»¿è‰²
                                        color: '#00BBFF' // è®¾ç½®çº¿æ¡é¢œè‰²ä¸ºç»¿è‰²
                                    },
                                    color: 'green' // è®¾ç½®çº¿æ¡é¢œè‰²ä¸ºç»¿è‰²
                                    color: '#00BBFF' // è®¾ç½®çº¿æ¡é¢œè‰²ä¸ºç»¿è‰²
                                }
                            },
                            data: FistPass
                        },
                        {
                            name: '目标值',
                            type: 'line',
                            label: {
                                show: true,
                                formatter: '{c}%'
                            },
                            tooltip: {
                                valueFormatter: function (value) {
                                    return value;
                                }
                            },
                            data: FistPass
                            itemStyle: {
                                normal: {
                                    lineStyle: {
                                        color: '#FF0000' // è®¾ç½®çº¿æ¡é¢œè‰²ä¸ºç»¿è‰²
                                    },
                                    color: '#FF0000' // è®¾ç½®çº¿æ¡é¢œè‰²ä¸ºç»¿è‰²
                                }
                            },
                            data: target
                        }
                    ]
                };
@@ -701,12 +765,34 @@
                    series: [
                        {
                            name: '工料率',
                            type: 'line',
                            type: 'line',
                            label: {
                                show: true
                            },
                            itemStyle: {
                                normal: {
                                    lineStyle: {
                                        color: '#FF0000' // è®¾ç½®çº¿æ¡é¢œè‰²ä¸ºç»¿è‰²
                                    },
                                    color: '#FF0000' // è®¾ç½®çº¿æ¡é¢œè‰²ä¸ºç»¿è‰²
                                }
                            },
                            data: HWorkPass
                        },
                        {
                            name: '料废率',
                            type: 'line',
                            type: 'line',
                            label: {
                                show: true
                            },
                            itemStyle: {
                                normal: {
                                    lineStyle: {
                                        color: '#77DDFF' // è®¾ç½®çº¿æ¡é¢œè‰²ä¸ºç»¿è‰²
                                    },
                                    color: '#77DDFF' // è®¾ç½®çº¿æ¡é¢œè‰²ä¸ºç»¿è‰²
                                }
                            },
                            data: HMaterPass
                        }                      
                    ]