修改历史

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

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

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

Loading…
Cancel
Save