[update]
This commit is contained in:
@@ -14,6 +14,9 @@
|
|||||||
@change="tableOnChange"
|
@change="tableOnChange"
|
||||||
@onHeaderRow='onHeaderRow'
|
@onHeaderRow='onHeaderRow'
|
||||||
>
|
>
|
||||||
|
<span slot="titleName" slot-scope="text,record" :title="text">
|
||||||
|
{{ text && text.length > 10 ? text.slice(0, 9) + '...' : text }}
|
||||||
|
</span>
|
||||||
<div :slot="'titleName'+(index+1)" v-for="(item,index) in content">
|
<div :slot="'titleName'+(index+1)" v-for="(item,index) in content">
|
||||||
<span style='padding-right: 20px'>{{ item.db_field_txt }} </span>
|
<span style='padding-right: 20px'>{{ item.db_field_txt }} </span>
|
||||||
<a-button @click='onClickSee(item)'>查看</a-button>
|
<a-button @click='onClickSee(item)'>查看</a-button>
|
||||||
@@ -394,6 +397,9 @@
|
|||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
sorter: res.sort
|
sorter: res.sort
|
||||||
})
|
})
|
||||||
|
this.columns[index].scopedSlots = {
|
||||||
|
customRender: 'titleName',
|
||||||
|
}
|
||||||
if (res.click) {
|
if (res.click) {
|
||||||
// 工程接口人列表修改
|
// 工程接口人列表修改
|
||||||
this.columns[index].scopedSlots = {
|
this.columns[index].scopedSlots = {
|
||||||
|
|||||||
Reference in New Issue
Block a user