1
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
3be34d89ca
commit
d42e446953
|
@ -90,7 +90,7 @@
|
||||||
custom-class="base-dialog-wrapper"
|
custom-class="base-dialog-wrapper"
|
||||||
append-to-body
|
append-to-body
|
||||||
>
|
>
|
||||||
<DicomTags :imageId="stack.imageIds[stack.currentImageIdIndex]" @close="dcmTag.visible = false" />
|
<DicomTags :image-id="stack.imageIds[stack.currentImageIdIndex]" @close="dcmTag.visible = false" />
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -72,7 +72,7 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
async mounted() {
|
async mounted() {
|
||||||
let image = await cornerstone.loadAndCacheImage(this.imageId)
|
const image = await cornerstone.loadAndCacheImage(this.imageId)
|
||||||
var dataSet = dicomParser.parseDicom(image.data.byteArray)
|
var dataSet = dicomParser.parseDicom(image.data.byteArray)
|
||||||
var output = []
|
var output = []
|
||||||
this.dumpDataSet(dataSet, output)
|
this.dumpDataSet(dataSet, output)
|
||||||
|
@ -84,16 +84,15 @@ export default {
|
||||||
if (!this.search) {
|
if (!this.search) {
|
||||||
return list
|
return list
|
||||||
} else {
|
} else {
|
||||||
let search = isNaN(parseFloat(this.search)) ? this.search.toLowerCase() : String(this.search)
|
const search = isNaN(parseFloat(this.search)) ? this.search.toLowerCase() : String(this.search)
|
||||||
let arr = list.filter(data=>{
|
const arr = list.filter(data => {
|
||||||
|
|
||||||
if (data.tagCode && data.tagCode.toLowerCase().includes(search)) {
|
if (data.tagCode && data.tagCode.toLowerCase().includes(search)) {
|
||||||
return data
|
return data
|
||||||
} else if (data.tagName && data.tagName.toLowerCase().includes(search)) {
|
} else if (data.tagName && data.tagName.toLowerCase().includes(search)) {
|
||||||
return data
|
return data
|
||||||
} else if (data.value) {
|
} else if (data.value) {
|
||||||
let v = ''
|
let v = ''
|
||||||
if (!isNaN(parseFloat(data.value))){
|
if (!isNaN(parseFloat(data.value))) {
|
||||||
v = String(data.value)
|
v = String(data.value)
|
||||||
} else {
|
} else {
|
||||||
v = data.value.toLowerCase()
|
v = data.value.toLowerCase()
|
||||||
|
@ -114,15 +113,14 @@ export default {
|
||||||
const tag = this.getTag(element.tag)
|
const tag = this.getTag(element.tag)
|
||||||
elementObject.id = `${this.idx++}${new Date().getTime()}`
|
elementObject.id = `${this.idx++}${new Date().getTime()}`
|
||||||
if (!tag) {
|
if (!tag) {
|
||||||
let group = element.tag.substring(1, 5)
|
const group = element.tag.substring(1, 5)
|
||||||
let el = element.tag.substring(5, 9)
|
const el = element.tag.substring(5, 9)
|
||||||
elementObject.tagCode = ('(' + group + ',' + el + ')').toUpperCase()
|
elementObject.tagCode = ('(' + group + ',' + el + ')').toUpperCase()
|
||||||
} else {
|
} else {
|
||||||
elementObject.tagCode = tag ? tag.tag : ''
|
elementObject.tagCode = tag ? tag.tag : ''
|
||||||
elementObject.tagName = tag ? tag.name : ''
|
elementObject.tagName = tag ? tag.name : ''
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
elementObject.tagLength = element.length
|
elementObject.tagLength = element.length
|
||||||
elementObject.value = ''
|
elementObject.value = ''
|
||||||
|
|
||||||
|
|
|
@ -102,7 +102,7 @@
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span :style="{color: ((scope.row.isLymphNodes === 1 && scope.row.QuestionMark === 1) || (scope.row.isLymphNodes === 0 && scope.row.QuestionMark === 0)) && (scope.row.LesionType === 0 || scope.row.LesionType === 5) || (scope.row.QuestionMark === 12) || scope.row.HighlightAnswerList.includes(`${scope.row.Answers[task.VisitTaskId]}`) ? '#f66' : '#fff'}" >
|
<span :style="{color: ((scope.row.isLymphNodes === 1 && scope.row.QuestionMark === 1) || (scope.row.isLymphNodes === 0 && scope.row.QuestionMark === 0)) && (scope.row.LesionType === 0 || scope.row.LesionType === 5) || (scope.row.QuestionMark === 12) || scope.row.HighlightAnswerList.includes(`${scope.row.Answers[task.VisitTaskId]}`) ? '#f66' : '#fff'}">
|
||||||
<template v-if="task.VisitTaskId === visitTaskId && readingTaskState < 2 && [13,14,15,42].includes(scope.row.QuestionType)">
|
<template v-if="task.VisitTaskId === visitTaskId && readingTaskState < 2 && [13,14,15,42].includes(scope.row.QuestionType)">
|
||||||
<!-- 是否存在疾病(基线时可修改) -->
|
<!-- 是否存在疾病(基线时可修改) -->
|
||||||
<template v-if="task.IsBaseLine && scope.row.QuestionType=== 15">
|
<template v-if="task.IsBaseLine && scope.row.QuestionType=== 15">
|
||||||
|
|
Loading…
Reference in New Issue