This commit is contained in:
zhaomeijing
2022-06-07 22:18:24 +08:00
parent c5ef179052
commit a5d51d53bf
@@ -14,6 +14,9 @@
@change="tableOnChange"
@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">
<span style='padding-right: 20px'>{{ item.db_field_txt }} </span>
<a-button @click='onClickSee(item)'>查看</a-button>
@@ -394,6 +397,9 @@
ellipsis: true,
sorter: res.sort
})
this.columns[index].scopedSlots = {
customRender: 'titleName',
}
if (res.click) {
// 工程接口人列表修改
this.columns[index].scopedSlots = {