[update 消息跳转] 跳转参数补充

This commit is contained in:
danshihao
2024-03-25 14:52:34 +08:00
parent 41f7bc9827
commit a339ca1f12
2 changed files with 8 additions and 3 deletions
@@ -344,8 +344,8 @@ export default {
},
created () {
// 从消息跳转进来带企业编号
const { standardNumber } = this.$route.query
this.$set(this.defaultSearchParams, 'standard_number', standardNumber)
const { standard_number } = this.$route.query
this.$set(this.defaultSearchParams, 'standard_number', standard_number)
this.searchParams = Object.assign({}, this.defaultSearchParams)
this.getTableHeader()
this.loadData()
@@ -264,7 +264,12 @@ export default {
}
},
created () {
this.queryParam.projectId = this.$route.query.projectId
const { projectId, standardName, standardNumber, projectName } = this.$route.query
this.queryParam.projectId = projectId
// 我的消息跳转带入搜索条件
this.$set(this.queryParam, 'standardName', standardName)
this.$set(this.queryParam, 'standardNumber', standardNumber)
this.$set(this.queryParam, 'projectName', projectName)
this.loadData()
},
methods: {