阅片修改
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])
|
||||
activeStudyIndex = seriesList[0].StudyIndex
|
||||
activeSeriesIndex = seriesList[0].SeriesIndex
|
||||
} else if (seriesArr.length > 1) {
|
||||
} else if (seriesList.length > 1) {
|
||||
seriesArr.push(seriesList[0], seriesList[1])
|
||||
activeStudyIndex = seriesList[1].StudyIndex
|
||||
activeSeriesIndex = seriesList[1].SeriesIndex
|
||||
|
|
|
|||
|
|
@ -41,13 +41,18 @@
|
|||
fit="contain" crossorigin="anonymous" />
|
||||
<el-image v-else-if="k.FileType === 'application/pdf'" style="width: 100%;height: 100%;" :src="pdf"
|
||||
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 class="file-text" :title="k.FileName">
|
||||
{{ k.FileName }}
|
||||
</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-else-if="visitTaskInfo.ReadingTaskState >= 2 && k.IsBeMark" 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)"
|
||||
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>
|
||||
|
|
@ -59,6 +64,7 @@
|
|||
</template>
|
||||
<script>
|
||||
import pdf from '@/assets/pdf.png'
|
||||
import mp4 from '@/assets/mp4.png'
|
||||
export default {
|
||||
name: 'StudyList',
|
||||
props: {
|
||||
|
|
@ -78,6 +84,7 @@ export default {
|
|||
taskInfo: null,
|
||||
studyList: [],
|
||||
pdf,
|
||||
mp4,
|
||||
BodyPart: {},
|
||||
currentMarkedFiles: {}
|
||||
}
|
||||
|
|
@ -181,11 +188,11 @@ export default {
|
|||
} else {
|
||||
this.currentMarkedFiles[fileId].count++
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
initCurrentMaredFiles() {
|
||||
this.visitTaskInfo.Annotations.map(i=>{
|
||||
this.visitTaskInfo.Annotations.map(i => {
|
||||
if (!Object.hasOwn(this.currentMarkedFiles, i.NoneDicomFileId)) {
|
||||
this.$set(this.currentMarkedFiles, i.NoneDicomFileId, { count: 1 })
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue