From 7ca11bcafbe94025e9552f228d0857975ffb5d84 Mon Sep 17 00:00:00 2001 From: "15881625488@163.com" <15881625488@163.com> Date: Fri, 27 Mar 2026 12:35:31 +0800 Subject: [PATCH] =?UTF-8?q?fix:[=E9=A2=84=E5=A1=AB=E8=A1=A8=E5=8D=95]bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/business/study/comp/ytbd/Xq.vue | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/views/business/study/comp/ytbd/Xq.vue b/src/views/business/study/comp/ytbd/Xq.vue index f6cf103..196b9fb 100644 --- a/src/views/business/study/comp/ytbd/Xq.vue +++ b/src/views/business/study/comp/ytbd/Xq.vue @@ -192,6 +192,25 @@ export default { this.openApprove = true } }, + toRead(data) { + this.$alert(data.ffmc, '', { + confirmButtonText: this.$t('page.business.study.studyMethod.qyd'), + callback: action => { + if (this.$route.path === data.toUrl) { + this.$emit('changeTab', { key: 'syff' }) + } else { + let index = _.findIndex(this.$store.state.tagsView.visitedViews, (tab) => { + return tab.path === data.toUrl + }) + if (index > -1) { + this.$tab.refreshPage(this.$store.state.tagsView.visitedViews[index]); + } else { + this.$tab.openPage("loading", data.toUrl) + } + } + } + }); + }, getIsMatchSubject() { studySubject_isMatchSubject({ studySubjectId: this.form.studySubjectId }).then(response => { this.isMatchSubject = response.data