邮寄列表table宽度
This commit is contained in:
@@ -67,7 +67,7 @@
|
||||
size="middle"
|
||||
bordered
|
||||
rowKey="id"
|
||||
:scroll="{x:true}"
|
||||
:scroll="{x: 1600}"
|
||||
:columns="columns"
|
||||
:dataSource="dataSource"
|
||||
:pagination="ipagination"
|
||||
@@ -77,7 +77,12 @@
|
||||
@change="handleTableChange">
|
||||
|
||||
<template slot="htmlSlot" slot-scope="text, record">
|
||||
<div class="primary-color" v-html="text"></div>
|
||||
<a-tooltip placement="top">
|
||||
<template slot="title">
|
||||
<span>{{text}}</span>
|
||||
</template>
|
||||
<span class="primary-color">{{text}}</span>
|
||||
</a-tooltip>
|
||||
</template>
|
||||
|
||||
<span slot="print" slot-scope="text, record" class="action-span-cell">
|
||||
@@ -134,6 +139,8 @@ export default {
|
||||
},
|
||||
{
|
||||
title: '来款项目',
|
||||
width: 300,
|
||||
ellipsis: true,
|
||||
align: 'center',
|
||||
dataIndex: 'projectName',
|
||||
scopedSlots: {customRender: 'htmlSlot'}
|
||||
|
||||
Reference in New Issue
Block a user