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

View File

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

View File

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

View File

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