diff --git a/src/views/base/orderInfo/index.vue b/src/views/base/orderInfo/index.vue index 169838d..53d1492 100644 --- a/src/views/base/orderInfo/index.vue +++ b/src/views/base/orderInfo/index.vue @@ -2,7 +2,7 @@
- + 目标:{{ finalInspection.mb }}    实际:{{ finalInspection.sj - }}%    累计不良数:{{ finalInspection.bls }} + }}    累计不良数:{{ finalInspection.bls }} 合计:{{ zhddhj }}
@@ -486,7 +486,7 @@ export default { name: '目标', type: 'line', yAxisIndex: 1, - data: e.map(val => 3), + data: e.map(val => 10), itemStyle: { normal: { color: '#0DB99D', @@ -789,8 +789,8 @@ export default { f: (e) => { this.finalInspection = { mb: e?.[0]?.COLUMN_A || '', - sj: e?.[0]?.COLUMN_C || '', - bls: e?.[0]?.COLUMN_B || '', + sj: e?.[0]?.COLUMN_B || '', + bls: e?.[0]?.COLUMN_C || '', } } }, @@ -882,7 +882,8 @@ export default { itemStyle: { normal: { color: function (val) { - if (e[val.dataIndex].Y_VALUE_TWO < 3) { + console.log(e[val.dataIndex].Y_VALUE_TWO) + if (e[val.dataIndex].Y_VALUE_TWO < 10) { return '#30e391' } else { return '#FE70A6' @@ -916,7 +917,7 @@ export default { name: '目标', type: 'line', yAxisIndex: 1, - data: e.map(val => 3), + data: e.map(val => 10), itemStyle: { normal: { color: '#0DB99D', diff --git a/src/views/production/planInfo/index.vue b/src/views/production/planInfo/index.vue index 261d094..3cac80a 100644 --- a/src/views/production/planInfo/index.vue +++ b/src/views/production/planInfo/index.vue @@ -2,7 +2,7 @@
- + {