默认列宽设置

This commit is contained in:
zyx.net
2023-04-23 11:11:42 +08:00
parent 0b9d54f0db
commit a91aee26cb
43 changed files with 112 additions and 92 deletions
@@ -112,7 +112,7 @@
title: this.$t('areaOfResponsibility'),
dataIndex: 'dutyTerritory_dictText',
align: 'left',
width: 200,
width: 100,
ellipsis: true
}
],
+1 -1
View File
@@ -36,7 +36,7 @@
</span>
<span slot="detailText" slot-scope="text,record">
<span class="text" :title="text">
{{text && text.length > 18?text.slice(0,17)+'...':text}}
{{text && text.length > 25?text.slice(0,24)+'...':text}}
</span>
</span>
<span slot="detail" slot-scope="text,record">
@@ -557,7 +557,7 @@
dataIndex: 'implementationDate',
align: 'left',
ellipsis: true,
width: 150,
width: 190,
scopedSlots: { title: 'implementationDateTwo' }
},
{
@@ -829,6 +829,15 @@
if (res.db_field_name == 'nioNumber') {
this.columns[index].width = 120
}
if (res.db_field_name == 'dutyTerritory') {
this.columns[index].width = 120
}
if (res.db_field_name == 'sdt') {
this.columns[index].width = 130
}
if (res.db_field_name == 'dre') {
this.columns[index].width = 120
}
if (res.click1) {
this.columns[index].scopedSlots = {
customRender: 'operationzr'
@@ -710,6 +710,15 @@
if (res.db_field_name == 'nioNumber') {
this.columns[index].width = 120
}
if (res.db_field_name == 'dutyTerritory') {
this.columns[index].width = 120
}
if (res.db_field_name == 'sdt') {
this.columns[index].width = 130
}
if (res.db_field_name == 'dre') {
this.columns[index].width = 120
}
if (res.click) {
// 工程接口人列表修改
this.columns[index].scopedSlots = {