|
|
@ -340,11 +340,20 @@ |
|
|
|
this.resetListWidth(""); |
|
|
|
this.resetListWidth(""); |
|
|
|
var width = this.popupView.element.outerWidth(); |
|
|
|
var width = this.popupView.element.outerWidth(); |
|
|
|
var maxW = this.element.outerWidth() || o.width; |
|
|
|
var maxW = this.element.outerWidth() || o.width; |
|
|
|
if (width > maxW + 80) { |
|
|
|
// BI-93885 最大列宽算法调整
|
|
|
|
maxW = maxW + 80; |
|
|
|
if (maxW < 500) { |
|
|
|
|
|
|
|
if (width > 500) { |
|
|
|
|
|
|
|
maxW = 500; |
|
|
|
} else if (width > maxW) { |
|
|
|
} else if (width > maxW) { |
|
|
|
maxW = width; |
|
|
|
maxW = width; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// if (width > maxW + 80) {
|
|
|
|
|
|
|
|
// maxW = maxW + 80;
|
|
|
|
|
|
|
|
// } else if (width > maxW) {
|
|
|
|
|
|
|
|
// maxW = width;
|
|
|
|
|
|
|
|
// }
|
|
|
|
this.resetListWidth(maxW < 100 ? 100 : maxW); |
|
|
|
this.resetListWidth(maxW < 100 ? 100 : maxW); |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|