diff --git a/src/views/dicom-show/dicom-study.vue b/src/views/dicom-show/dicom-study.vue index 96f6b938..24e8e2ac 100644 --- a/src/views/dicom-show/dicom-study.vue +++ b/src/views/dicom-show/dicom-study.vue @@ -403,7 +403,7 @@ export default { data.isReading = true } var message = this.$t('trials:audit:message:changeSeriesStatus').replace('xxx', statusStr) - message = this.$t('trials:audit:message:changeSeriesStatus').replace('yyy', this.$fd('YesOrNo', data.isReading)) + message = message.replace('yyy', this.$fd('YesOrNo', !data.isReading)) this.$confirm(message, { distinguishCancelAndClose: true, type: 'warning' @@ -431,7 +431,7 @@ export default { data.isDeleted = true } var message = this.$t('trials:audit:message:changeSeriesStatus').replace('xxx', statusStr) - message = this.$t('trials:audit:message:changeSeriesStatus').replace('yyy', this.$fd('YesOrNo', data.isDeleted)) + message = message.replace('yyy', this.$fd('YesOrNo', !data.isDeleted)) this.$confirm(message, { distinguishCancelAndClose: true, type: 'warning' diff --git a/src/views/dicom-show/dicom-visit.vue b/src/views/dicom-show/dicom-visit.vue index 27788f7e..68fd4e1f 100644 --- a/src/views/dicom-show/dicom-visit.vue +++ b/src/views/dicom-show/dicom-visit.vue @@ -353,6 +353,7 @@ export default { data.isReading = true } var message = this.$t('trials:audit:message:changeSeriesStatus').replace('xxx', statusStr) + message = message.replace('yyy', this.$fd('YesOrNo', !data.isReading)) this.$confirm(message, { distinguishCancelAndClose: true, type: 'warning' @@ -380,6 +381,7 @@ export default { data.isDeleted = true } var message = this.$t('trials:audit:message:changeSeriesStatus').replace('xxx', statusStr) + message = message.replace('yyy', this.$fd('YesOrNo', !data.isDeleted)) this.$confirm(message, { distinguishCancelAndClose: true, type: 'warning' diff --git a/src/views/trials/trials-panel/visit/qc-check/components/qualityAssurance.vue b/src/views/trials/trials-panel/visit/qc-check/components/qualityAssurance.vue index 2e992780..365da61e 100644 --- a/src/views/trials/trials-panel/visit/qc-check/components/qualityAssurance.vue +++ b/src/views/trials/trials-panel/visit/qc-check/components/qualityAssurance.vue @@ -1262,6 +1262,7 @@ export default { row.IsReading = true } var message = this.$t('trials:audit:message:changeSeriesStatus').replace('xxx', statusStr) + message = message.replace('yyy', this.$fd('YesOrNo', !row.IsReading)) this.$confirm(message, { distinguishCancelAndClose: true, type: 'warning' @@ -1287,6 +1288,7 @@ export default { row.IsDeleted = true } var message = this.$t('trials:audit:message:changeSeriesStatus').replace('xxx', statusStr) + message = message.replace('yyy', this.$fd('YesOrNo', !row.IsDeleted)) this.$confirm(message, { distinguishCancelAndClose: true, type: 'warning'