From 10f2953a944d1bd1c9a8ae144ada3da5dbea9083 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Thu, 5 Jun 2025 13:12:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A6=82=E6=9E=9C=E4=B8=8D=E8=83=BD=E4=B8=8B?= =?UTF-8?q?=E8=BD=BD=E5=BD=B1=E5=83=8F=EF=BC=8C=E5=88=99=E6=A3=80=E6=9F=A5?= =?UTF-8?q?=E4=B9=9F=E4=B8=8D=E9=9C=80=E8=A6=81=E8=83=BD=E5=A4=9F=E9=80=89?= =?UTF-8?q?=E6=8B=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../qc-check/components/qualityAssurance.vue | 1362 +++++------------ 1 file changed, 350 insertions(+), 1012 deletions(-) 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 5cabb58d..60fc77c5 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 @@ -1,10 +1,7 @@ - + - + - + - +
- +
- + - + - + - + - + - + - + - + - + - + - + - - + + @@ -973,125 +535,75 @@
- - + "> + - -
+
+ "> - + ]"> - + - + - + - + - {{ - $fd('Bodypart', bodyPart, 'Code', BodyPart, 'Name') - }} + {{ + $fd('Bodypart', bodyPart, 'Code', BodyPart, 'Name') + }} @@ -1099,54 +611,29 @@ - + - +
- +
{{ $t('common:dialogTitle:sign') @@ -1155,177 +642,98 @@ `(${$t('common:label:sign')}${currentUser})` }}
- +
- -
+
- + "> + - + ]"> - + - + - + - {{ - $fd('Bodypart', bodyPart, 'Code', BodyPart, 'Name') - }} + {{ + $fd('Bodypart', bodyPart, 'Code', BodyPart, 'Name') + }} - - + +
- -
+
- - + "> + + {{ @@ -1339,109 +747,56 @@ - - + ]"> +
- -
- + +
+
- + {{ $t('trials:audit:button:save') }} - + {{ $t('trials:audit:button:question') }} {{ - `${$t('trials:audit:button:historicalQuestions')}(${ - relationInfo.TotalChallengeCount !== undefined - ? relationInfo.TotalChallengeCount - : 0 - }, ${ - relationInfo.NotClosedChallengeCount !== undefined - ? relationInfo.NotClosedChallengeCount - : 0 + `${$t('trials:audit:button:historicalQuestions')}(${relationInfo.TotalChallengeCount !== undefined + ? relationInfo.TotalChallengeCount + : 0 + }, ${relationInfo.NotClosedChallengeCount !== undefined + ? relationInfo.NotClosedChallengeCount + : 0 })` }} - + {{ $t('trials:audit:button:auditPassed') }} @@ -1450,18 +805,8 @@
- - + +
@@ -1722,9 +1067,8 @@ export default { name: `${data.SubjectCode}_${data.VisitName}_${this.$fd( 'IsDicom', true - )}/${study.StudyCode}_${study.StudyTime.split(' ')[0]}_${ - series.Modality - }/${fileName}`, + )}/${study.StudyCode}_${study.StudyTime.split(' ')[0]}_${series.Modality + }/${fileName}`, url: this.OSSclientConfig.basePath + instance.Path, } files.push(obj) @@ -1759,9 +1103,8 @@ export default { name: `${data.SubjectCode}_${data.VisitName}_${this.$fd( 'IsDicom', false - )}/${study.StudyCode}_${study.ImageDate.split(' ')[0]}_${ - study.Modality - }/${item.FileName}`, + )}/${study.StudyCode}_${study.ImageDate.split(' ')[0]}_${study.Modality + }/${item.FileName}`, url: this.OSSclientConfig.basePath + item.Path, } files.push(obj) @@ -2008,15 +1351,14 @@ export default { if (isHyperwindow) { contents.push({ keyName: this.$t('trials:audit:message:qsOverWindow'), - keyValue: `${this.$t('trials:audit:message:qsOverWindow1')}:${ - this.upperLimit - }~${this.lowerLimit},${this.$t( - 'trials:audit:message:qsOverWindow2' - )}:${moment(this.relationInfo.EarliestScanDate).format( - 'YYYY-MM-DD' - )}~${moment(this.relationInfo.LatestScanDate).format( - 'YYYY-MM-DD' - )},${this.$t('trials:audit:message:qsOverWindow3')}`, + keyValue: `${this.$t('trials:audit:message:qsOverWindow1')}:${this.upperLimit + }~${this.lowerLimit},${this.$t( + 'trials:audit:message:qsOverWindow2' + )}:${moment(this.relationInfo.EarliestScanDate).format( + 'YYYY-MM-DD' + )}~${moment(this.relationInfo.LatestScanDate).format( + 'YYYY-MM-DD' + )},${this.$t('trials:audit:message:qsOverWindow3')}`, isSelect: false, actionContent: this.$t('trials:audit:message:qsOverWindow4'), }) @@ -2119,9 +1461,8 @@ export default { // 问题无法解决强制关闭质疑,已提醒中心下次注意 this.closeQuestionForm.Reason = `${this.$t( 'trials:qcQuality:message:problemNotSolved' - )}

${this.$t('trials:consistencyCheck:label:closereason')}:${ - this.closeQuestionForm.Remake - }` + )}

${this.$t('trials:consistencyCheck:label:closereason')}:${this.closeQuestionForm.Remake + }` } var params = { TrialId: this.data.TrialId, @@ -2224,7 +1565,7 @@ export default { this.loading = false }) }) - .catch(() => {}) + .catch(() => { }) }, changeDeleteStatus(callback, row, isNoDicom = false) { let statusStr = '' @@ -2287,7 +1628,7 @@ export default { this.loading = false }) }) - .catch(() => {}) + .catch(() => { }) }, receiveMsg(event) { if (event.data.type === 'refreshSeriesList') { @@ -2482,7 +1823,7 @@ export default { .then(() => { this.$emit('close') }) - .catch(() => {}) + .catch(() => { }) } }) } @@ -2645,11 +1986,9 @@ export default { } var token = getToken() const routeData = this.$router.resolve({ - path: `/showvisitdicoms?trialId=${this.data.TrialId}&visitInfo=${ - this.data.VisitName - }(${this.data.VisitNum})&subjectVisitId=${this.data.Id}&showDelete=${ - this.isAudit ? 0 : 1 - }&TokenKey=${token}`, + path: `/showvisitdicoms?trialId=${this.data.TrialId}&visitInfo=${this.data.VisitName + }(${this.data.VisitNum})&subjectVisitId=${this.data.Id}&showDelete=${this.isAudit ? 0 : 1 + }&TokenKey=${token}`, }) this.open = window.open(routeData.href, '_blank') }, @@ -2676,11 +2015,9 @@ export default { } var token = getToken() const routeData = this.$router.resolve({ - path: `/showdicom?trialId=${this.trialId}&subjectVisitId=${ - this.data.Id - }&studyId=${row.StudyId}&showDelete=${ - this.isAudit ? 0 : 1 - }&TokenKey=${token}&type=Study`, + path: `/showdicom?trialId=${this.trialId}&subjectVisitId=${this.data.Id + }&studyId=${row.StudyId}&showDelete=${this.isAudit ? 0 : 1 + }&TokenKey=${token}&type=Study`, }) this.open = window.open(routeData.href, '_blank') }, @@ -2692,15 +2029,11 @@ export default { } var token = getToken() const routeData = this.$router.resolve({ - path: `/showdicom?trialId=${this.trialId}&studyId=${ - row.StudyId - }&studyCode=${row.StudyCode}&modality=${row.Modality}&seriesId=${ - row.Id - }&seriesNumber=${row.SeriesNumber}&showDelete=${ - this.isAudit ? 0 : 1 - }&subjectVisitId=${ - this.data.Id - }&type=Series&TokenKey=${token}&description=${row.Description}`, + path: `/showdicom?trialId=${this.trialId}&studyId=${row.StudyId + }&studyCode=${row.StudyCode}&modality=${row.Modality}&seriesId=${row.Id + }&seriesNumber=${row.SeriesNumber}&showDelete=${this.isAudit ? 0 : 1 + }&subjectVisitId=${this.data.Id + }&type=Series&TokenKey=${token}&description=${row.Description}`, }) this.open = window.open(routeData.href, '_blank') } catch (e) { @@ -2717,11 +2050,11 @@ export default { var token = getToken() const routeData = isReading ? this.$router.resolve({ - path: `/showNoneDicoms?trialId=${trialId}&subjectVisitId=${this.data.Id}&TokenKey=${token}&isReading=1`, - }) + path: `/showNoneDicoms?trialId=${trialId}&subjectVisitId=${this.data.Id}&TokenKey=${token}&isReading=1`, + }) : this.$router.resolve({ - path: `/showNoneDicoms?trialId=${trialId}&subjectVisitId=${this.data.Id}&TokenKey=${token}&isQcCheck=1`, - }) + path: `/showNoneDicoms?trialId=${trialId}&subjectVisitId=${this.data.Id}&TokenKey=${token}&isQcCheck=1`, + }) this.open = window.open(routeData.href, '_blank') }, // 预览单个检查下非Dicom文件 @@ -2766,22 +2099,27 @@ export default { border: 1px solid #fff; padding: 10px; box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1); + .function-wrapper { text-align: right; } + .qa-content { flex: 1; margin-top: 10px; overflow-y: auto; } + ::v-deep .delete-row { text-decoration-line: line-through; color: #c0c4cc; } + ::v-deep .el-card { padding: 10px; } } + ::v-deep .tip-i { &::before { color: #fff !important;