From ec37fd05b0c5ea17450d8408a26902dc85830726 Mon Sep 17 00:00:00 2001 From: qiezi <15576055375@163.com> Date: Mon, 28 Apr 2025 16:51:01 +0800 Subject: [PATCH] 2025-04-27 --- .../technicalSpecificationList.vue | 9 ++++++++- src/views/modules/test/requestForTest.vue | 17 +++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/src/views/modules/sampleManagement/technicalSpecificationList.vue b/src/views/modules/sampleManagement/technicalSpecificationList.vue index a7125c7..1f33f1a 100644 --- a/src/views/modules/sampleManagement/technicalSpecificationList.vue +++ b/src/views/modules/sampleManagement/technicalSpecificationList.vue @@ -936,7 +936,6 @@ }, activated() { if (this.$route.params.type === 'tokenLogin') { - console.log("进来啦") if (this.$route.params.docNo) { // this.searchData.applyNo = this.$route.params.docNo @@ -964,6 +963,14 @@ this.dataListLoading = false }) } + }else if (this.$route.params.type === 'test'){ + this.searchData.buNo = this.$route.params.buNo + this.searchData.testPartNo = this.$route.params.testPartNo + this.search(); + setTimeout(() => { + this.searchData.buNo = ''; + this.searchData.testPartNo = ''; + }, 200) } if (this.$route.params.codeNo){ this.searchData.oriCodeNo = this.$route.params.codeNo; diff --git a/src/views/modules/test/requestForTest.vue b/src/views/modules/test/requestForTest.vue index d81a444..f90a099 100644 --- a/src/views/modules/test/requestForTest.vue +++ b/src/views/modules/test/requestForTest.vue @@ -144,6 +144,7 @@ width="120" label="操作">