From 8025d00709b26c8af870192b81d852d4ea1a2790 Mon Sep 17 00:00:00 2001 From: helloDy <1615073571@qq.com> Date: Sun, 28 Apr 2024 17:04:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=9F=E7=89=87=E6=97=B6=E9=97=B4=EF=BC=8Cbu?= =?UTF-8?q?g?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/quality/base/qualityIsra/index.vue | 7 ++--- .../base/qualityScrapLog/add-or-updata.vue | 8 ++--- .../quality/base/qualityScrapLog/index.vue | 2 +- .../monitoring/originalGlassRetrace/index.vue | 31 ++++++++++++++++--- 4 files changed, 35 insertions(+), 13 deletions(-) diff --git a/src/views/quality/base/qualityIsra/index.vue b/src/views/quality/base/qualityIsra/index.vue index e7586efa..085434f6 100644 --- a/src/views/quality/base/qualityIsra/index.vue +++ b/src/views/quality/base/qualityIsra/index.vue @@ -199,10 +199,9 @@ export default { this.queryParams.lineName = this.$route.query.lineName this.searchBarFormConfig[2].defaultSelect = this.$route.query.lineName } - if (this.$route.query.originalGlassOutputTime) { - console.log('你好', this.$route.query.originalGlassOutputTime) - this.queryParams.startTime = parseTime(new Date(Number(this.$route.query.originalGlassOutputTime))) - this.queryParams.endTime = parseTime(new Date(Number(this.$route.query.originalGlassOutputTime))) + if (this.$route.query.startTime && this.$route.query.endTime) { + this.queryParams.startTime = parseTime(new Date(Number(this.$route.query.startTime))) + this.queryParams.endTime = parseTime(new Date(Number(this.$route.query.endTime))) this.searchBarFormConfig[3].defaultSelect = [ this.queryParams.startTime, this.queryParams.endTime, diff --git a/src/views/quality/base/qualityScrapLog/add-or-updata.vue b/src/views/quality/base/qualityScrapLog/add-or-updata.vue index 9e944998..a32e25c5 100644 --- a/src/views/quality/base/qualityScrapLog/add-or-updata.vue +++ b/src/views/quality/base/qualityScrapLog/add-or-updata.vue @@ -1,8 +1,8 @@