非dicom缩略图更改
parent
f73eabed03
commit
305b6ab294
|
@ -5,7 +5,7 @@
|
||||||
:rules="rules"
|
:rules="rules"
|
||||||
class="demo-ruleForm"
|
class="demo-ruleForm"
|
||||||
size="small"
|
size="small"
|
||||||
label-width="120px"
|
label-width="140px"
|
||||||
>
|
>
|
||||||
<div class="base-dialog-body">
|
<div class="base-dialog-body">
|
||||||
<!-- CRO Name -->
|
<!-- CRO Name -->
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
class="img-box"
|
class="img-box"
|
||||||
@click="selected(item, i, j, true)"
|
@click="selected(item, i, j, true)"
|
||||||
>
|
>
|
||||||
<div v-if="item.FileType === 'image/jpeg'" class="file-image">
|
<div v-if="item.FileType === 'image/jpeg' || item.FileType === 'image/jpg' || item.FileType === 'image/bmp' || item.FileType === 'image/png'" class="file-image">
|
||||||
<el-image
|
<el-image
|
||||||
style="width: 100%; height: 100%"
|
style="width: 100%; height: 100%"
|
||||||
:src="`${OSSclientConfig.basePath}${item.Path}?x-oss-process=image/resize,w_50,h_50/format,png`"
|
:src="`${OSSclientConfig.basePath}${item.Path}?x-oss-process=image/resize,w_50,h_50/format,png`"
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
>
|
>
|
||||||
<div class="file-image">
|
<div class="file-image">
|
||||||
<el-image
|
<el-image
|
||||||
v-if="k.FileType === 'image/jpeg'"
|
v-if="k.FileType === 'image/jpeg' || k.FileType === 'image/jpg' || k.FileType === 'image/bmp' || k.FileType === 'image/png'"
|
||||||
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"
|
||||||
|
|
Loading…
Reference in New Issue