|
|
|
|
@ -29,13 +29,13 @@
|
|
|
|
|
:pagination="pagination"
|
|
|
|
|
@change="handleGetHistoryList"
|
|
|
|
|
>
|
|
|
|
|
<span slot="pic" slot-scope="text">
|
|
|
|
|
<span slot="pics" slot-scope="text">
|
|
|
|
|
<template>
|
|
|
|
|
<span v-if="text.putPath || text.goodsPath ||text.outputPath">
|
|
|
|
|
<!-- {{text.putPath}} {{text.goodsPath}} {{text.outputPath}}-->
|
|
|
|
|
<img class="historyImg" :src="imgUrl+text.putPath" alt="">
|
|
|
|
|
<img class="historyImg" :src="imgUrl+text.goodsPath" alt="">
|
|
|
|
|
<img class="historyImg" :src="imgUrl+text.outputPath" alt="">
|
|
|
|
|
<viewer :images="text.pics">
|
|
|
|
|
<img class="historyImg" v-for="(src,index) in text.pics" :src="imgUrl+src"
|
|
|
|
|
:key="index"/>
|
|
|
|
|
</viewer>
|
|
|
|
|
</span>
|
|
|
|
|
<span v-else>
|
|
|
|
|
暂无图片
|
|
|
|
|
@ -117,7 +117,7 @@ export default {
|
|
|
|
|
{
|
|
|
|
|
title: "照片(入库 货位 出库)",
|
|
|
|
|
// dataIndex: "pic",
|
|
|
|
|
scopedSlots: {customRender: 'pic'}
|
|
|
|
|
scopedSlots: {customRender: 'pics'}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: "视频状态",
|
|
|
|
|
@ -172,7 +172,16 @@ export default {
|
|
|
|
|
...this.queryParam
|
|
|
|
|
}
|
|
|
|
|
}).then(res => {
|
|
|
|
|
console.log(res)
|
|
|
|
|
// let pics =new Array()
|
|
|
|
|
res.data.map(function (item) {
|
|
|
|
|
console.log(item)
|
|
|
|
|
console.log('000')
|
|
|
|
|
var pic = [
|
|
|
|
|
item.putPath, item.goodsPath, item.outputPath
|
|
|
|
|
]
|
|
|
|
|
item.pics = pic
|
|
|
|
|
})
|
|
|
|
|
console.log(res.data)
|
|
|
|
|
this.data = res.data
|
|
|
|
|
}).catch(err => {
|
|
|
|
|
|
|
|
|
|
|