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