|
@@ -268,16 +268,18 @@ export default { |
|
|
this.$toast('问卷提交成功', 3000) |
|
|
this.$toast('问卷提交成功', 3000) |
|
|
this.isError = false |
|
|
this.isError = false |
|
|
setTimeout(() => { |
|
|
setTimeout(() => { |
|
|
if (this.isModel) { |
|
|
|
|
|
|
|
|
let fromSsjl = this.$store.getters.fromSsjl === 'true' |
|
|
|
|
|
if (fromSsjl) { |
|
|
|
|
|
// c端跳转按c端返回逻辑处理 |
|
|
|
|
|
this.onNavBack() |
|
|
|
|
|
} else if (this.isModel) { |
|
|
// 建模页跳转过来的要回建模页 |
|
|
// 建模页跳转过来的要回建模页 |
|
|
/* this.$router.replace({ |
|
|
|
|
|
|
|
|
this.$router.replace({ |
|
|
name: 'PsychologicalModeling', |
|
|
name: 'PsychologicalModeling', |
|
|
query: { |
|
|
query: { |
|
|
uid: this.uid, |
|
|
uid: this.uid, |
|
|
}, |
|
|
}, |
|
|
}) */ |
|
|
|
|
|
this.onNavBack(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}) |
|
|
} else { |
|
|
} else { |
|
|
this.$router.replace({ |
|
|
this.$router.replace({ |
|
|
name: 'PsychologicalScaleDetail', |
|
|
name: 'PsychologicalScaleDetail', |
|
|