From 6a554d7a2c736bb9f265899f3ee31e7f47eef92f Mon Sep 17 00:00:00 2001 From: ruanqi Date: Tue, 22 Oct 2024 17:37:53 +0800 Subject: [PATCH] plm BMM --- .../technicalSpecificationList.vue | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/src/views/modules/sampleManagement/technicalSpecificationList.vue b/src/views/modules/sampleManagement/technicalSpecificationList.vue index 304cd72..107939d 100644 --- a/src/views/modules/sampleManagement/technicalSpecificationList.vue +++ b/src/views/modules/sampleManagement/technicalSpecificationList.vue @@ -779,6 +779,35 @@ }) }, activated() { + if (this.$route.params.type === 'tokenLogin') { + console.log("进来啦") + if (this.$route.params.docNo) { + // this.searchData.applyNo = this.$route.params.docNo + + let inData={ + page: 1, + limit: 100, + site: this.$store.state.user.site, + userName: this.$store.state.user.name, + + codeNo:this.$route.params.docNo, + + } + technicalSpecificationListSearch(inData).then(({data}) => { + if (data.code == 0) { + this.dataList1 = data.page.list + this.pageIndex = data.page.currPage + this.pageSize = data.page.pageSize + this.totalPage = data.page.totalCount + if(this.dataList1.length>0){ + this.$refs.mainTable.setCurrentRow(this.dataList1[0]); + this.changeData(this.dataList1[0]) + } + } + this.dataListLoading = false + }) + } + } if (this.$route.params.codeNo){ this.searchData.oriCodeNo = this.$route.params.codeNo; this.search();