[update 消息跳转] 跳转参数补充
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user