From becf34d089c916963b623322ecb7a0c5e50ea53d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E2=80=98937886381=E2=80=99?= <‘937886381@qq.com’>
Date: Tue, 23 Apr 2024 15:09:07 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../components/coldDoubleYChart.vue | 11 +-
.../components/doubleYChart .vue | 11 +-
src/views/report/ingredientReport/day.vue | 143 ++++++++++++++++--
.../report/qcReport/cutDayReport/index.vue | 4 +-
.../report/qcReport/fullInspection/index.vue | 20 +--
src/views/report/qcReport/lineReport.vue | 4 +-
src/views/report/qcReport/optimizeCutData.vue | 6 +-
7 files changed, 158 insertions(+), 41 deletions(-)
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',