diff --git a/src/lang/en/business/study/studyMethod.js b/src/lang/en/business/study/studyMethod.js index 5cf34a1..6307c2f 100644 --- a/src/lang/en/business/study/studyMethod.js +++ b/src/lang/en/business/study/studyMethod.js @@ -19,7 +19,7 @@ export default { remark: 'Comment', ts: '', gbts: 'This method has been closed, no need to read!', - jcyd: '坚持阅读', + jcyd: 'Go Read', qyd:'Go Read', gb: 'Close', sfgb: 'Closed', diff --git a/src/views/business/form/nonTrial/comp/syffList.vue b/src/views/business/form/nonTrial/comp/syffList.vue index a8200cc..2edebda 100644 --- a/src/views/business/form/nonTrial/comp/syffList.vue +++ b/src/views/business/form/nonTrial/comp/syffList.vue @@ -199,11 +199,17 @@ export default { detail(row) { // 已关闭 if (row.status == 1) { - this.$modal.confirm(this.$t('page.business.study.studyMethod.gbts')).then(() => { + this.$confirm(this.$t('page.business.study.studyMethod.gbts'), this.$t('system.tip'), { + confirmButtonText: this.$t('page.business.study.studyMethod.jcyd'), + cancelButtonText: this.$t('form.cancel'), + type: 'warning' + }).then(() => { this.showDetail = true this.$emit('showDetail', this.showDetail) this.$refs.Xq.show(row) - }).catch(() => { }); + }).catch(() => { + + }); } else { this.showDetail = true this.$emit('showDetail', this.showDetail) diff --git a/src/views/business/study/comp/syffList.vue b/src/views/business/study/comp/syffList.vue index a8200cc..2edebda 100644 --- a/src/views/business/study/comp/syffList.vue +++ b/src/views/business/study/comp/syffList.vue @@ -199,11 +199,17 @@ export default { detail(row) { // 已关闭 if (row.status == 1) { - this.$modal.confirm(this.$t('page.business.study.studyMethod.gbts')).then(() => { + this.$confirm(this.$t('page.business.study.studyMethod.gbts'), this.$t('system.tip'), { + confirmButtonText: this.$t('page.business.study.studyMethod.jcyd'), + cancelButtonText: this.$t('form.cancel'), + type: 'warning' + }).then(() => { this.showDetail = true this.$emit('showDetail', this.showDetail) this.$refs.Xq.show(row) - }).catch(() => { }); + }).catch(() => { + + }); } else { this.showDetail = true this.$emit('showDetail', this.showDetail)