Browse Source

fix:[预填表单]bug

luojie
15881625488@163.com 3 weeks ago
parent
commit
7ca11bcafb
1 changed files with 19 additions and 0 deletions
  1. +19
    -0
      src/views/business/study/comp/ytbd/Xq.vue

+ 19
- 0
src/views/business/study/comp/ytbd/Xq.vue View File

@ -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

Loading…
Cancel
Save