拆分条款详情修改

This commit is contained in:
caoyang
2022-04-08 22:49:48 +08:00
parent cfd47d4233
commit 7d9dc44461
9 changed files with 110 additions and 98 deletions
@@ -34,6 +34,11 @@
{{text && text.length > 18?text.slice(0,17)+'...':text}}
</a>
</span>
<span slot="detailText" slot-scope="text,record">
<span class="text" :title="text">
{{text && text.length > 18?text.slice(0,17)+'...':text}}
</span>
</span>
</a-table>
</div>
<div class="page" v-if="dataSource.length > 0">
@@ -156,19 +161,23 @@
ellipsis: true,
sorter: res.sort
})
if(res.db_field_name=='iterms_conditions'){
this.columns[index].width='500'
this.columns[index].scopedSlots = {
customRender: 'showContent'
}
}
if (res.urlClick) {
this.columns[index].scopedSlots = {
customRender: 'urlClick'
}
}else if(res.db_field_name=='iterms_conditions'){
this.columns[index].width='500'
this.columns[index].scopedSlots = {
customRender: 'showContent'
}
}else{
this.columns[index].scopedSlots = {
customRender: 'detailText'
}
}
})
// console.log('this.columns',this.columns)
let width = 0
if (this.OperationList.length > 0) {
for (let i = 0; i < this.OperationList.length; i++) {