Browse Source

2025-05-28

跳转技术参数卡优化
master
fengyuan_yang 8 months ago
parent
commit
5c931738c3
  1. 2
      src/views/modules/changeManagement/changeRecord.vue
  2. 10
      src/views/modules/sampleManagement/technicalSpecificationList.vue

2
src/views/modules/changeManagement/changeRecord.vue

@ -4861,7 +4861,7 @@
if (this.$router.resolve(`/sampleManagement-technicalSpecificationList`).resolved.name === '404') { if (this.$router.resolve(`/sampleManagement-technicalSpecificationList`).resolved.name === '404') {
this.$alert('权限不足,访问失败', '警告', {confirmButtonText: '确定',}) this.$alert('权限不足,访问失败', '警告', {confirmButtonText: '确定',})
} else { } else {
this.$router.push({name:`sampleManagement-technicalSpecificationList`,params:{nowCodeNo:row.codeNo},})
this.$router.push({name:`sampleManagement-technicalSpecificationList`,params:{nowCodeNo: row.oriCodeNo},})
} }
}, },

10
src/views/modules/sampleManagement/technicalSpecificationList.vue

@ -1001,7 +1001,7 @@
this.dataListLoading = false this.dataListLoading = false
}) })
} }
}else if (this.$route.params.type === 'test'){
} else if (this.$route.params.type === 'test') {
this.searchData.buNo = this.$route.params.buNo this.searchData.buNo = this.$route.params.buNo
this.searchData.testPartNo = this.$route.params.testPartNo this.searchData.testPartNo = this.$route.params.testPartNo
this.search(); this.search();
@ -1009,17 +1009,17 @@
this.searchData.buNo = ''; this.searchData.buNo = '';
this.searchData.testPartNo = ''; this.searchData.testPartNo = '';
}, 200) }, 200)
}else if (this.$route.params.codeNo){
} else if (this.$route.params.codeNo) {
this.searchData.oriCodeNo = this.$route.params.codeNo; this.searchData.oriCodeNo = this.$route.params.codeNo;
this.search(); this.search();
setTimeout(() => { setTimeout(() => {
this.searchData.oriCodeNo = ''; this.searchData.oriCodeNo = '';
}, 200) }, 200)
}else if (this.$route.params.nowCodeNo){
this.searchData.codeNo = this.$route.params.nowCodeNo;
} else if (this.$route.params.nowCodeNo) {
this.searchData.oriCodeNo = this.$route.params.nowCodeNo;
this.search(); this.search();
setTimeout(() => { setTimeout(() => {
this.searchData.codeNo = '';
this.searchData.oriCodeNo = '';
}, 200) }, 200)
} }
}, },

Loading…
Cancel
Save