@@ -174,7 +129,7 @@ export default {
subjectVisitId: '',
sudyId: '',
loading: false,
- bp: [],
+ BodyPart: {},
OtherInfo: {},
showPDF: false,
pdfFile: {
@@ -188,7 +143,7 @@ export default {
}
},
async created() {
- this.bp = await this.$getBodyPart(this.$route.query.trialId)
+ this.BodyPart.Bodypart = await this.$getBodyPart(this.$route.query.trialId)
this.isQcCheck = !!this.$route.query.isQcCheck
},
async mounted() {
@@ -202,7 +157,7 @@ export default {
// 默认选择第一个文件
},
methods: {
- handleChange() {},
+ handleChange() { },
changeReadingStatus(callback, row, file) {
let statusStr = ''
if (callback) {
@@ -245,7 +200,7 @@ export default {
this.loading = false
})
})
- .catch(() => {})
+ .catch(() => { })
},
changeDeleteStatus(callback, row, file) {
let statusStr = ''
@@ -295,8 +250,8 @@ export default {
// file.IsDeleted = !file.IsDeleted
})
},
- getBodyPart(bodyPart) {
- if (!bodyPart) return ''
+ getBodyPart(bodyPart, other) {
+ if (!bodyPart && !other) return ''
var separator = ','
if (bodyPart.indexOf('|') > -1) {
separator = '|'
@@ -307,14 +262,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(' | ')
},
// 获取非Dicom检查信息
@@ -406,24 +359,29 @@ export default {
height: 100%;
padding: 10px;
display: flex;
+
::-webkit-scrollbar {
width: 7px;
height: 7px;
}
+
::-webkit-scrollbar-thumb {
border-radius: 10px;
background: #d0d0d0;
}
+
::v-deep .el-card__body {
padding: 0px;
}
}
+
.study-desc {
padding: 10px 5px;
line-height: 20px;
background-color: #d5d5d5;
font-weight: 500;
}
+
.left {
width: 220px;
height: 100%;
@@ -434,6 +392,7 @@ export default {
display: flex;
flex-direction: column;
}
+
.title {
height: 40px;
line-height: 40px;
@@ -443,6 +402,7 @@ export default {
background-color: #4e4e4e;
color: #ffffff;
}
+
.left-content {
flex: 1;
overflow-y: auto;
@@ -474,6 +434,7 @@ export default {
// margin-bottom: 5px;
padding-left: 5px;
}
+
.img-text {
display: inline-block;
width: calc(100% - 60px);
@@ -481,33 +442,41 @@ export default {
height: 50px;
line-height: 50px;
overflow: hidden;
- text-overflow: ellipsis; /* 用省略号表示溢出的文本 */
+ text-overflow: ellipsis;
+ /* 用省略号表示溢出的文本 */
white-space: nowrap;
}
+
.img-box:nth-last-child(1) {
margin-bottom: 0px;
}
+
.is-boxActive {
// border-color: #409eff;
color: #409eff;
}
+
.is-boxActiv:after {
opacity: 0;
}
}
+
.right {
flex: 1;
height: 100%;
margin-left: 10px;
+
::v-deep .el-card__body {
height: 100%;
width: 100%;
}
}
+
.switchBox {
width: 100%;
margin: 5px 0;
color: #4e4e4e;
+
.item {
display: flex;
align-items: center;
@@ -515,17 +484,21 @@ export default {
margin-bottom: 5px;
}
}
+
.file-image {
width: 50px;
height: 50px;
}
+
::v-deep .el-collapse-item__header {
background-color: #d5d5d5;
}
+
::v-deep .el-collapse-item__header {
min-height: 48px;
height: auto;
}
+
::v-deep .el-collapse-item__content {
padding-bottom: 0;
}
diff --git a/src/views/trials/trials-panel/reading/dicoms/none-dicoms.vue b/src/views/trials/trials-panel/reading/dicoms/none-dicoms.vue
index 0e6f64c6..5420a69f 100644
--- a/src/views/trials/trials-panel/reading/dicoms/none-dicoms.vue
+++ b/src/views/trials/trials-panel/reading/dicoms/none-dicoms.vue
@@ -7,33 +7,26 @@