Commit ca54e1ff by xuyl

修复跳转问题

1 parent 6e454beb
......@@ -130,7 +130,11 @@ export default {
methods: {
// 返回
goback() {
this.$router.go(-1)
if (this.$route.query && this.$route.query.flag) {
this.$router.push('/clientDataOverview/index')
} else {
this.$router.push('/clientDataOverview/grouping')
}
},
// 结束
handleEnd(row) {
......@@ -167,6 +171,13 @@ export default {
crowdId: this.crowdGroupId,
selectTab: 'second'
})
if (this.$route.query && this.$route.query.flag == 1) {
query = JSON.stringify({
crowdId: this.crowdGroupId,
selectTab: 'second',
flag: 1
})
}
this.$history.push(`/marketing/sop/sopAnalysisList?fromPage=${encodeURI(`/custom/clientDataOverview/marketingPeople?crowQuery=${query}`)}&id=${id}`)
},
// 跳转到编辑营销SOP
......
......@@ -567,7 +567,7 @@ export default {
})
},
goToGroupOperating(id) {
this.$router.push(`/clientDataOverview/marketingPeople?crowdId=${id}`)
this.$router.push(`/clientDataOverview/marketingPeople?crowdId=${id}&flag=1`)
},
goNextPage() {
this.$history.push('/drainage/square/index')
......
......@@ -360,7 +360,11 @@ export default {
},
methods: {
goback() {
this.$router.go(-1)
if (this.$route.query && this.$route.query.flag) {
this.$router.push('/clientDataOverview/index')
} else {
this.$router.push('/clientDataOverview/grouping')
}
},
// 导出
handleExport() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!