|
@@ -813,8 +813,17 @@
|
|
|
</div>
|
|
|
</el-image>
|
|
|
</div>
|
|
|
+ <template #footer>
|
|
|
+ <!-- 全部下载按钮 -->
|
|
|
+ <vxe-button
|
|
|
+ size="max"
|
|
|
+ status="primary"
|
|
|
+ content="下载全部抵达图片"
|
|
|
+ @click="downloadAll">
|
|
|
+ </vxe-button>
|
|
|
+ </template>
|
|
|
</vxe-modal>
|
|
|
- <vxe-modal width="80%" height="80%" v-model="isShow4" show-zoom>
|
|
|
+ <vxe-modal width="80%" height="80%" v-model="isShow4" show-footer show-zoom>
|
|
|
<div class="demo-image__preview" v-for="(item, i) in srcList2" :key="i">
|
|
|
<el-image
|
|
|
:src="item.src"
|
|
@@ -827,6 +836,15 @@
|
|
|
</div>
|
|
|
</el-image>
|
|
|
</div>
|
|
|
+ <template #footer>
|
|
|
+ <!-- 全部下载按钮 -->
|
|
|
+ <vxe-button
|
|
|
+ size="max"
|
|
|
+ status="primary"
|
|
|
+ content="下载全部签收图片"
|
|
|
+ @click="downloadAll1">
|
|
|
+ </vxe-button>
|
|
|
+ </template>
|
|
|
</vxe-modal>
|
|
|
</div>
|
|
|
<div class="dialog">
|
|
@@ -3707,6 +3725,16 @@ export default {
|
|
|
downloadFile(src, `${this.downloadCapacityNo}${title}照片`, 'jpg')
|
|
|
// this.dialogVisible = true
|
|
|
},
|
|
|
+ downloadAll(){
|
|
|
+ this.srcList.forEach((e, index) => {
|
|
|
+ downloadFile(e.src, `${this.downloadCapacityNo}抵达照片`+index, 'jpg')
|
|
|
+ })
|
|
|
+ },
|
|
|
+ downloadAll1(){
|
|
|
+ this.srcList2.forEach((e, index) => {
|
|
|
+ downloadFile(e.src, `${this.downloadCapacityNo}签收照片`+index, 'jpg')
|
|
|
+ })
|
|
|
+ },
|
|
|
openRemarkPic() {
|
|
|
//获取图片到本地
|
|
|
this.axios.post('/api/v1/uc/getPicture', this.steelMap).then(res => {
|