修改历史

1.0.0
黄崇栋 5 years ago
parent d9d9bab453
commit 497589d639

@ -11,10 +11,10 @@
<a-table :rowKey="record => record.id" :columns="columns" :dataSource="dataSource">
<div slot="filePath" slot-scope="text, record">
<img
v-if="imglist.some(item => record.mediaType === item)"
v-if="imglist.some(item => record.mediaType.toLowerCase() === item)"
:src="record.filePath"
alt="内容图片"
style="width: 140px"
style="width: 140px; cursor:pointer;"
@click="handlePopup('image', record.filePath)"
/>
<span
@ -45,22 +45,26 @@ export default {
columns: [
{
title: "工单号",
dataIndex: "orderNum"
dataIndex: "orderNum",
width: 90
},
{
title: "仓位号",
dataIndex: "positionNum"
dataIndex: "positionNum",
width: 170
},
{
title: "创建时间",
dataIndex: "createTime"
dataIndex: "createTime",
width: 200
},
{
title: "内容",
dataIndex: "filePath",
scopedSlots: {
customRender: "filePath"
}
},
width: 300
}
],
dataSource: [],

@ -3,7 +3,7 @@ module.exports = {
devServer: {
proxy: {
'/api': {
target: 'http://47.99.104.87:8632',
target: 'http://47.99.104.87:8633',
},
},
port: 8008

Loading…
Cancel
Save