From 0aefa1da3b18068a090f7b1acd1e2f83b34504e4 Mon Sep 17 00:00:00 2001 From: wzl <1720360649@qq.com> Date: Fri, 16 Aug 2024 22:15:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8C=BA=E5=88=86b=E7=AB=AF=EF=BC=8Cc=E7=AB=AF?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E8=BF=94=E5=9B=9E=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/psychological-scale/index.vue | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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',