Commit c7d7144f by wangzhihui

Merge branch 'SAAS+V4.55.0-0730' of http://192.168.3.233:8090/saas_plus/dj-car-l…

…ife-system into SAAS+V4.55.0-0730
2 parents 43383c02 4b83f313
......@@ -143,8 +143,8 @@
<img class="icon" src="./images/picIcon.png" />
<span class="label">图片.jpg</span>
<span class="handle" @click="
handleEnlargeImg(
[detail.electronicSignature],
handleImg(
detail.electronicSignature,
'electronicSignature'
)
">点击查看</span>
......@@ -279,24 +279,6 @@
</p>
</div>
<!-- <el-dialog :visible="imgVisible"
:before-close="handleEnlargeImg">
<el-carousel :autoplay="false"
arrow="always"
trigger="click"
height="695px"
:initial-index="index"
ref="carousel">
<el-carousel-item v-for="(item, index) in imgList"
:key="index"
class="carousel">
<img :src="item[imgUrlName]"
alt=""
class="carousel-img">
</el-carousel-item>
</el-carousel>
</el-dialog> -->
<el-image-viewer v-if="imgVisible" :on-close="closeImgViewer" :url-list="imgList" :initial-index="initialIndex" />
<!-- 标记退款 -->
......@@ -441,10 +423,20 @@ export default {
},
handleEnlargeImg(url, name) {
this.imgVisible = !this.imgVisible
this.initialIndex = 0
// this.imgList = url
console.log("url", url)
this.imgList = url.map((item) => item[name])
// this.imgList = url
this.imgUrlName = name
},
handleImg(url, name) {
this.imgVisible = !this.imgVisible
this.initialIndex = 0
// this.imgList = url
// this.imgList = url.map((item) => item[name])
this.imgList = url
this.imgList = [url]
console.log("url", this.imgList)
this.imgUrlName = name
},
handleEnlargeFile(url) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!