From 81bc7f281de9ff9a054140b98979553f68815fe7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=86=8A=E9=A3=9E?= Date: Fri, 8 Mar 2024 17:27:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E5=8F=B0=E5=BE=85=E5=8A=9E?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E6=8D=A2=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/dicom-show/dicom-study.vue | 4 ++-- src/views/dicom-show/dicom-visit.vue | 2 ++ .../visit/qc-check/components/qualityAssurance.vue | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) 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'