|
|
@ -64,6 +64,7 @@ BI.MultiLayerSelectTreeCombo = BI.inherit(BI.Widget, { |
|
|
|
return { |
|
|
|
return { |
|
|
|
type: "bi.combo", |
|
|
|
type: "bi.combo", |
|
|
|
container: o.container, |
|
|
|
container: o.container, |
|
|
|
|
|
|
|
destroyWhenHide: o.destroyWhenHide, |
|
|
|
adjustLength: 2, |
|
|
|
adjustLength: 2, |
|
|
|
ref: function (_ref) { |
|
|
|
ref: function (_ref) { |
|
|
|
self.combo = _ref; |
|
|
|
self.combo = _ref; |
|
|
@ -104,6 +105,7 @@ BI.MultiLayerSelectTreeCombo = BI.inherit(BI.Widget, { |
|
|
|
return { |
|
|
|
return { |
|
|
|
el: { |
|
|
|
el: { |
|
|
|
type: "bi.multilayer_select_tree_trigger", |
|
|
|
type: "bi.multilayer_select_tree_trigger", |
|
|
|
|
|
|
|
container: o.container, |
|
|
|
allowInsertValue: o.allowInsertValue, |
|
|
|
allowInsertValue: o.allowInsertValue, |
|
|
|
allowSearchValue: o.allowSearchValue, |
|
|
|
allowSearchValue: o.allowSearchValue, |
|
|
|
allowEdit: o.allowEdit, |
|
|
|
allowEdit: o.allowEdit, |
|
|
@ -152,8 +154,14 @@ BI.MultiLayerSelectTreeCombo = BI.inherit(BI.Widget, { |
|
|
|
} |
|
|
|
} |
|
|
|
}] |
|
|
|
}] |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
toggle: !o.allowEdit, |
|
|
|
hideChecker: function (e) { |
|
|
|
hideChecker: function (e) { |
|
|
|
return self.triggerBtn.element.find(e.target).length === 0; |
|
|
|
// 新增传配置container后对应hideChecker的修改
|
|
|
|
|
|
|
|
// IE11下,popover(position: fixed)下放置下拉控件(position: fixed), 滚动的时候会异常卡顿
|
|
|
|
|
|
|
|
// 通过container参数将popup放置于popover之外解决此问题, 其他下拉控件由于元素少或者有分页,所以
|
|
|
|
|
|
|
|
// 卡顿不明显, 先在此做尝试, 并在FineUI特殊处理待解决文档中标记跟踪
|
|
|
|
|
|
|
|
return (o.container && self.trigger.getSearcher().getView().element.find(e.target).length > 0) ? false : self.triggerBtn.element.find(e.target).length === 0; |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
listeners: [{ |
|
|
|
listeners: [{ |
|
|
|
eventName: BI.Combo.EVENT_AFTER_HIDEVIEW, |
|
|
|
eventName: BI.Combo.EVENT_AFTER_HIDEVIEW, |
|
|
|