非dicom阅片更改
continuous-integration/drone/push Build is passing Details

uat
caiyiling 2025-03-10 15:20:02 +08:00
parent d117bac7f6
commit 33ac08f4e4
2 changed files with 12 additions and 2 deletions

BIN
src/assets/pdf.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -44,13 +44,21 @@
:class="{'file-active': index === activeStudyIndex && i === activeFileIndex}"
class="file-wrapper"
>
<div v-if="k.FileType === 'image/jpeg'" class="file-image">
<div class="file-image">
<el-image
v-if="k.FileType === 'image/jpeg'"
style="width: 100%;height: 100%;"
:src="`${OSSclientConfig.basePath}${k.Path}?x-oss-process=image/resize,w_50,h_50/format,png`"
fit="contain"
crossorigin="anonymous"
/>
<el-image
v-else-if="k.FileType === 'application/pdf'"
style="width: 100%;height: 100%;"
:src="pdf"
fit="contain"
crossorigin="anonymous"
/>
</div>
<div class="file-text" :title="k.FileName">
{{ k.FileName }}
@ -65,6 +73,7 @@
</div>
</template>
<script>
import pdf from '@/assets/pdf.jpg'
export default {
name: 'StudyList',
props: {
@ -82,7 +91,8 @@ export default {
activeStudyIndex: -1,
activeFileIndex: -1,
taskInfo: null,
studyList: []
studyList: [],
pdf
}
},
mounted() {