阅片修改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
d34f1f462a
commit
45cc714942
|
|
@ -1042,7 +1042,7 @@ export default {
|
||||||
seriesArr.push(seriesList[0], seriesList[0])
|
seriesArr.push(seriesList[0], seriesList[0])
|
||||||
activeStudyIndex = seriesList[0].StudyIndex
|
activeStudyIndex = seriesList[0].StudyIndex
|
||||||
activeSeriesIndex = seriesList[0].SeriesIndex
|
activeSeriesIndex = seriesList[0].SeriesIndex
|
||||||
} else if (seriesArr.length > 1) {
|
} else if (seriesList.length > 1) {
|
||||||
seriesArr.push(seriesList[0], seriesList[1])
|
seriesArr.push(seriesList[0], seriesList[1])
|
||||||
activeStudyIndex = seriesList[1].StudyIndex
|
activeStudyIndex = seriesList[1].StudyIndex
|
||||||
activeSeriesIndex = seriesList[1].SeriesIndex
|
activeSeriesIndex = seriesList[1].SeriesIndex
|
||||||
|
|
|
||||||
|
|
@ -41,13 +41,18 @@
|
||||||
fit="contain" crossorigin="anonymous" />
|
fit="contain" crossorigin="anonymous" />
|
||||||
<el-image v-else-if="k.FileType === 'application/pdf'" style="width: 100%;height: 100%;" :src="pdf"
|
<el-image v-else-if="k.FileType === 'application/pdf'" style="width: 100%;height: 100%;" :src="pdf"
|
||||||
fit="contain" crossorigin="anonymous" />
|
fit="contain" crossorigin="anonymous" />
|
||||||
|
<el-image v-else-if="
|
||||||
|
!!~item.FileType.indexOf('mp4')
|
||||||
|
" style="width: 100%; height: 100%" :src="mp4" fit="contain" crossorigin="anonymous" />
|
||||||
</div>
|
</div>
|
||||||
<div class="file-text" :title="k.FileName">
|
<div class="file-text" :title="k.FileName">
|
||||||
{{ k.FileName }}
|
{{ k.FileName }}
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<i v-if="visitTaskInfo.ReadingTaskState < 2 && (currentMarkedFiles[k.Id] && currentMarkedFiles[k.Id].count > 0)" class="el-icon-star-on" style="font-size: 12px;color: #ff5722;" />
|
<i v-if="visitTaskInfo.ReadingTaskState < 2 && (currentMarkedFiles[k.Id] && currentMarkedFiles[k.Id].count > 0)"
|
||||||
<i v-else-if="visitTaskInfo.ReadingTaskState >= 2 && k.IsBeMark" class="el-icon-star-on" style="font-size: 12px;color: #ff5722;" />
|
class="el-icon-star-on" style="font-size: 12px;color: #ff5722;" />
|
||||||
|
<i v-else-if="visitTaskInfo.ReadingTaskState >= 2 && k.IsBeMark" class="el-icon-star-on"
|
||||||
|
style="font-size: 12px;color: #ff5722;" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -59,6 +64,7 @@
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import pdf from '@/assets/pdf.png'
|
import pdf from '@/assets/pdf.png'
|
||||||
|
import mp4 from '@/assets/mp4.png'
|
||||||
export default {
|
export default {
|
||||||
name: 'StudyList',
|
name: 'StudyList',
|
||||||
props: {
|
props: {
|
||||||
|
|
@ -78,6 +84,7 @@ export default {
|
||||||
taskInfo: null,
|
taskInfo: null,
|
||||||
studyList: [],
|
studyList: [],
|
||||||
pdf,
|
pdf,
|
||||||
|
mp4,
|
||||||
BodyPart: {},
|
BodyPart: {},
|
||||||
currentMarkedFiles: {}
|
currentMarkedFiles: {}
|
||||||
}
|
}
|
||||||
|
|
@ -181,11 +188,11 @@ export default {
|
||||||
} else {
|
} else {
|
||||||
this.currentMarkedFiles[fileId].count++
|
this.currentMarkedFiles[fileId].count++
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
initCurrentMaredFiles() {
|
initCurrentMaredFiles() {
|
||||||
this.visitTaskInfo.Annotations.map(i=>{
|
this.visitTaskInfo.Annotations.map(i => {
|
||||||
if (!Object.hasOwn(this.currentMarkedFiles, i.NoneDicomFileId)) {
|
if (!Object.hasOwn(this.currentMarkedFiles, i.NoneDicomFileId)) {
|
||||||
this.$set(this.currentMarkedFiles, i.NoneDicomFileId, { count: 1 })
|
this.$set(this.currentMarkedFiles, i.NoneDicomFileId, { count: 1 })
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue