Browse Source

fix:[试验管理][试验方法]

luojie
HanLong 3 weeks ago
parent
commit
c88cb554cb
3 changed files with 17 additions and 5 deletions
  1. +1
    -1
      src/lang/en/business/study/studyMethod.js
  2. +8
    -2
      src/views/business/form/nonTrial/comp/syffList.vue
  3. +8
    -2
      src/views/business/study/comp/syffList.vue

+ 1
- 1
src/lang/en/business/study/studyMethod.js View File

@ -19,7 +19,7 @@ export default {
remark: 'Comment', remark: 'Comment',
ts: '', ts: '',
gbts: 'This method has been closed, no need to read!', gbts: 'This method has been closed, no need to read!',
jcyd: '坚持阅读',
jcyd: 'Go Read',
qyd:'Go Read', qyd:'Go Read',
gb: 'Close', gb: 'Close',
sfgb: 'Closed', sfgb: 'Closed',

+ 8
- 2
src/views/business/form/nonTrial/comp/syffList.vue View File

@ -199,11 +199,17 @@ export default {
detail(row) { detail(row) {
// //
if (row.status == 1) { 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.showDetail = true
this.$emit('showDetail', this.showDetail) this.$emit('showDetail', this.showDetail)
this.$refs.Xq.show(row) this.$refs.Xq.show(row)
}).catch(() => { });
}).catch(() => {
});
} else { } else {
this.showDetail = true this.showDetail = true
this.$emit('showDetail', this.showDetail) this.$emit('showDetail', this.showDetail)

+ 8
- 2
src/views/business/study/comp/syffList.vue View File

@ -199,11 +199,17 @@ export default {
detail(row) { detail(row) {
// //
if (row.status == 1) { 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.showDetail = true
this.$emit('showDetail', this.showDetail) this.$emit('showDetail', this.showDetail)
this.$refs.Xq.show(row) this.$refs.Xq.show(row)
}).catch(() => { });
}).catch(() => {
});
} else { } else {
this.showDetail = true this.showDetail = true
this.$emit('showDetail', this.showDetail) this.$emit('showDetail', this.showDetail)

Loading…
Cancel
Save