diff --git a/src/views/quality/produceReport/index.vue b/src/views/quality/produceReport/index.vue index d1940c4..0f6376d 100644 --- a/src/views/quality/produceReport/index.vue +++ b/src/views/quality/produceReport/index.vue @@ -929,6 +929,11 @@ export default { this.queryParams.checkTimeEnd = null; } + const routeCheckType = this.$route.query.checkType + if (routeCheckType){ + this.queryParams.checkType = routeCheckType + } + listProduce(this.queryParams).then(response => { this.incomeList = response.rows; this.total = response.total; diff --git a/src/views/quality/qcProduce/index.vue b/src/views/quality/qcProduce/index.vue index 0961079..75aa0d8 100644 --- a/src/views/quality/qcProduce/index.vue +++ b/src/views/quality/qcProduce/index.vue @@ -663,6 +663,10 @@ export default { this.queryParams.checkTimeStart = null; this.queryParams.checkTimeEnd = null; } + const routeCheckType = this.$route.query.checkType + if (routeCheckType){ + this.queryParams.checkType = routeCheckType + } listQcProduce(this.queryParams).then(response => { this.qcProduceList = response.rows;