|
@@ -113,7 +113,7 @@
|
|
|
<!-- 拍照图片 -->
|
|
|
<div class="photos">
|
|
|
<div v-for="(photo,pindex) in zb.taskTargetPhotoList" :key="photo.id">
|
|
|
- <a-avatar :size="40" shape="square" :src="photo.photoPath+'?x-oss-process=image/resize,m_pad,h_40,w_40,color_000000'" />
|
|
|
+ <a-avatar @click="previewImg(photo.photoPath)" :size="60" shape="square" :src="photo.photoPath+'?x-oss-process=image/resize,m_pad,h_60,w_60,color_ffffff'" />
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- 评论 -->
|
|
@@ -165,7 +165,7 @@
|
|
|
<!-- 图片列表 -->
|
|
|
<div class="imglist">
|
|
|
<div v-for="(photo,pindex) in curZbItem.taskTargetPhotoList" :key="pindex">
|
|
|
- <img @click="editImgs(photo.photoPath,activeZbIndex,pindex)" :src="photo.photoPath+'?x-oss-process=image/resize,m_pad,h_50,w_50,color_000000'">
|
|
|
+ <img @click="editImgs(photo.photoPath,activeZbIndex,pindex)" :src="photo.photoPath+'?x-oss-process=image/resize,m_pad,h_60,w_60,color_ffffff'">
|
|
|
<a-icon @click.stop="delImgs(pindex)" class="aicon" type="close" />
|
|
|
</div>
|
|
|
</div>
|
|
@@ -472,6 +472,10 @@
|
|
|
let photoList = this.curZbItem.taskTargetPhotoList
|
|
|
photoList[this.activeZbPhoto].photoPath = path
|
|
|
},
|
|
|
+ // 查看大图
|
|
|
+ previewImg(path){
|
|
|
+ this.sendMsg('previewImg', path)
|
|
|
+ },
|
|
|
// 更新已完成考评数
|
|
|
updateKpFinish() {
|
|
|
let kpItem = this.kpItem[this.activeIndex]
|