|
|
@ -192,6 +192,25 @@ export default { |
|
|
this.openApprove = true |
|
|
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() { |
|
|
getIsMatchSubject() { |
|
|
studySubject_isMatchSubject({ studySubjectId: this.form.studySubjectId }).then(response => { |
|
|
studySubject_isMatchSubject({ studySubjectId: this.form.studySubjectId }).then(response => { |
|
|
this.isMatchSubject = response.data |
|
|
this.isMatchSubject = response.data |
|
|
|