From f3ff162cddcda030f58ec12348978a74cbe03f9f Mon Sep 17 00:00:00 2001
From: wangxiaoshuang <825034831@qq.com>
Date: Thu, 18 Sep 2025 18:12:57 +0800
Subject: [PATCH] 1
---
.../visit/crc-upload/components/studyInfo.vue | 10 +++++++---
.../visit/qc-check/components/dicomFiles.vue | 18 ++++++++----------
2 files changed, 15 insertions(+), 13 deletions(-)
diff --git a/src/views/trials/trials-panel/visit/crc-upload/components/studyInfo.vue b/src/views/trials/trials-panel/visit/crc-upload/components/studyInfo.vue
index 41b526bb..bb5f8c14 100644
--- a/src/views/trials/trials-panel/visit/crc-upload/components/studyInfo.vue
+++ b/src/views/trials/trials-panel/visit/crc-upload/components/studyInfo.vue
@@ -77,7 +77,7 @@
show-overflow-tooltip
>
- {{ getBodyPart(scope.row.BodyPartForEdit) }}
+ {{ getBodyPart(scope.row.BodyPartForEdit, scope.row.BodyPartForEditOther) }}
@@ -493,8 +493,8 @@ export default {
})
.catch(() => {})
},
- getBodyPart(bodyPart) {
- if (!bodyPart) return ''
+ getBodyPart(bodyPart, other) {
+ if (!bodyPart && !other) return ''
var separator = ','
if (bodyPart.indexOf('|') > -1) {
separator = '|'
@@ -507,6 +507,10 @@ export default {
var newArr = arr.map((i) => {
return this.$fd('Bodypart', i.trim(), 'Code', this.BodyPart, 'Name')
})
+ if (other) {
+ newArr.push(other)
+ }
+ newArr = newArr.filter(Boolean)
return newArr.join(' | ')
},
// 获取勾选项
diff --git a/src/views/trials/trials-panel/visit/qc-check/components/dicomFiles.vue b/src/views/trials/trials-panel/visit/qc-check/components/dicomFiles.vue
index ad684982..cde258cb 100644
--- a/src/views/trials/trials-panel/visit/qc-check/components/dicomFiles.vue
+++ b/src/views/trials/trials-panel/visit/qc-check/components/dicomFiles.vue
@@ -75,7 +75,7 @@
sortable
>
- {{ getBodyPart(scope.row.BodyPartForEdit) }}
+ {{ getBodyPart(scope.row.BodyPartForEdit, scope.row.BodyPartForEditOther) }}
@@ -260,8 +260,8 @@ export default {
})
window.open(routeData.href, '_blank')
},
- getBodyPart(bodyPart) {
- if (!bodyPart) return ''
+ getBodyPart(bodyPart, other) {
+ if (!bodyPart && !other) return ''
var separator = ','
if (bodyPart.indexOf('|') > -1) {
separator = '|'
@@ -272,14 +272,12 @@ export default {
}
var arr = bodyPart.split(separator)
var newArr = arr.map((i) => {
- return this.$fd(
- 'Bodypart',
- i.trim(),
- 'Code',
- { Bodypart: this.bp },
- 'Name'
- )
+ return this.$fd('Bodypart', i.trim(), 'Code', this.BodyPart, 'Name')
})
+ if (other) {
+ newArr.push(other)
+ }
+ newArr = newArr.filter(Boolean)
return newArr.join(' | ')
},
// 获取勾选项