diff --git a/src/views/OperationalOverview/components/coldDoubleYChart.vue b/src/views/OperationalOverview/components/coldDoubleYChart.vue index bed1a9d1..71d469bc 100644 --- a/src/views/OperationalOverview/components/coldDoubleYChart.vue +++ b/src/views/OperationalOverview/components/coldDoubleYChart.vue @@ -2,7 +2,7 @@ @@ -266,12 +266,9 @@ export default { // }, }, { - min: function() { // 取最小值向下取整为最小刻度 - return 0 - }, - max: function(value) { // 取最大值向上取整为最大刻度 - return Math.ceil(value.max) - }, + min: 0, + max: 100000, + minInterval: 5,//间隔 scale: true, type: 'value', name: '产量/㎡', // y轴上方的单位 diff --git a/src/views/OperationalOverview/components/doubleYChart .vue b/src/views/OperationalOverview/components/doubleYChart .vue index b8febfad..658a6151 100644 --- a/src/views/OperationalOverview/components/doubleYChart .vue +++ b/src/views/OperationalOverview/components/doubleYChart .vue @@ -1,7 +1,7 @@ @@ -265,12 +265,9 @@ export default { // }, }, { - // min: function() { // 取最小值向下取整为最小刻度 - // return 0 - // }, - // max: function(value) { // 取最大值向上取整为最大刻度 - // return Math.ceil(value.max) - // }, + min: 0, + max: 100000, + minInterval: 5,//间隔 scale: true, type: 'value', name: '产量/片', // y轴上方的单位 diff --git a/src/views/report/ingredientReport/day.vue b/src/views/report/ingredientReport/day.vue index 09ce2fef..559d7399 100644 --- a/src/views/report/ingredientReport/day.vue +++ b/src/views/report/ingredientReport/day.vue @@ -1,7 +1,7 @@ @@ -36,6 +36,19 @@ --> + @@ -154,7 +154,7 @@ export default { endPlaceholder: '结束时间', param: 'checkTime', defaultSelect: [Date.now() - 24 * 60 * 60 - 1000, Date.now()], - width: 250 + width: 350 }, { type: 'select', diff --git a/src/views/report/qcReport/fullInspection/index.vue b/src/views/report/qcReport/fullInspection/index.vue index c9cb32ef..b4e7d8c9 100644 --- a/src/views/report/qcReport/fullInspection/index.vue +++ b/src/views/report/qcReport/fullInspection/index.vue @@ -1,7 +1,7 @@ @@ -222,7 +222,7 @@ export default { endPlaceholder: '结束时间', param: 'checkTime', defaultSelect: [Date.now() - 24 * 60 * 60 - 1000, Date.now()], - width: 250 + width: 350 }, { type: 'button', @@ -653,25 +653,24 @@ export default { }, }; - diff --git a/src/views/report/qcReport/lineReport.vue b/src/views/report/qcReport/lineReport.vue index 8ac78d80..2cc33ecc 100644 --- a/src/views/report/qcReport/lineReport.vue +++ b/src/views/report/qcReport/lineReport.vue @@ -1,7 +1,7 @@ @@ -129,7 +129,7 @@ export default { endPlaceholder: '结束时间', param: 'checkTime', defaultSelect: [Date.now() - 24 * 60 * 60 - 1000, Date.now()], - width: 250 + width: 350 }, { type: 'select', diff --git a/src/views/report/qcReport/optimizeCutData.vue b/src/views/report/qcReport/optimizeCutData.vue index eca06880..bd903db8 100644 --- a/src/views/report/qcReport/optimizeCutData.vue +++ b/src/views/report/qcReport/optimizeCutData.vue @@ -1,7 +1,7 @@ @@ -99,7 +99,7 @@ export default { listQuery: { startTime: undefined, endTime: undefined, - lineId:null + lineId:undefined }, formConfig: [ // { @@ -128,7 +128,7 @@ export default { endPlaceholder: '结束时间', param: 'checkTime', defaultSelect: [Date.now() - 24 * 60 * 60 - 1000, Date.now()], - width: 250 + width: 350 }, { type: 'select',