非dicom阅片更改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
d117bac7f6
commit
33ac08f4e4
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue