diff --git a/src/views/psychological-scale/index.vue b/src/views/psychological-scale/index.vue index 900b242..b963a60 100644 --- a/src/views/psychological-scale/index.vue +++ b/src/views/psychological-scale/index.vue @@ -268,16 +268,18 @@ export default { this.$toast('问卷提交成功', 3000) this.isError = false 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', query: { uid: this.uid, }, - }) */ - this.onNavBack(); - + }) } else { this.$router.replace({ name: 'PsychologicalScaleDetail',