赞
踩
methods: {
handleWatch (row) {
// console.log(row.activeJobId)
this.$router.push({path: 'gd_detail/', query: {id: row.activeJobId}})
}
2.在详情页文件的methods方法中获取参数
init () {
this.id = this.$route.query.id
console.log(this.id)
// 获取详情数据
getGdDetail({activeJobId: this.id})
.then(res => {
console.log(res)
this.personInfo = res.query_result.serv_name
})
}
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。