Commit ca54e1ff by xuyl

修复跳转问题

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