lugano病灶截图预览路径由绝对路径改为相对路径

uat_us
caiyiling 2024-03-18 15:05:07 +08:00
parent 766a2a786f
commit a048572403
4 changed files with 5 additions and 5 deletions

View File

@ -39,7 +39,7 @@
}"
@click="selected(index)"
>
<img crossorigin="anonymous" :src="`${item.PicturePath}`">
<img crossorigin="anonymous" :src="`${OSSclientConfig.basePath}${item.PicturePath}`">
<p class="item-date">
{{ `${item.TaskBlindName}` }}
</p>

View File

@ -47,7 +47,7 @@
:ref="`img${i}`"
:key="item.VisitTaskId"
crossorigin="anonymous"
:src="`${item.PicturePath}`"
:src="`${OSSclientConfig.basePath}${item.PicturePath}`"
:style="imgStyle"
style="max-width:100%;max-height: 100%;"
@load="handleImgLoad"

View File

@ -194,7 +194,7 @@
v-if="answers.OtherPicturePath"
ref="viewer"
style="margin:0 10px;"
:images="[answers.OtherPicturePath]"
:images="[`${OSSclientConfig.basePath}${answers.OtherPicturePath}`]"
>
<span style="color:#409eff;cursor: pointer" @click="previewImage()">
{{ $t('trials:lugano:button:suvscreenshot') }}
@ -202,7 +202,7 @@
<img
v-show="false"
crossorigin="anonymous"
:src="answers.OtherPicturePath"
:src="`${OSSclientConfig.basePath}${answers.OtherPicturePath}`"
alt="Image"
>
</viewer>

View File

@ -643,7 +643,7 @@ export default {
/deep/ .el-button--mini, .el-button--mini.is-round {
padding: 7px 10px;
}
.el-form-item__content
/deep/ .el-form-item__content
.el-select{
width: 100%;
}