|
@@ -48,11 +48,15 @@ export function getTableColumns() {
|
|
|
if (columnwidth && columnwidth !== '0') {
|
|
if (columnwidth && columnwidth !== '0') {
|
|
|
item.width = +columnwidth
|
|
item.width = +columnwidth
|
|
|
} else {
|
|
} else {
|
|
|
- const len = columntitle.length
|
|
|
|
|
- if (len > 4) {
|
|
|
|
|
- item.width = 120 + 10 * (len - 4)
|
|
|
|
|
|
|
+ if (columntitle.includes('时间') || columntitle.includes('编号')) {
|
|
|
|
|
+ item.width = 200
|
|
|
} else {
|
|
} else {
|
|
|
- item.width = 120 // 默认120
|
|
|
|
|
|
|
+ const len = columntitle.length
|
|
|
|
|
+ if (len > 4) {
|
|
|
|
|
+ item.width = 120 + 10 * (len - 4)
|
|
|
|
|
+ } else {
|
|
|
|
|
+ item.width = 120 // 默认120
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|