Browse Source

无JIRA任务 整理同步异步树的populate && insert列表全选可滚动 && 复选树的加减号

master
windy 4 years ago
parent
commit
7f6fcd2690
  1. 2
      src/component/treevaluechooser/combo.listtreevaluechooser.js
  2. 2
      src/component/treevaluechooser/combo.treevaluechooser.insert.js
  3. 2
      src/component/treevaluechooser/combo.treevaluechooser.js
  4. 5
      src/component/treevaluechooser/pane.treevaluechooser.js
  5. 4
      src/less/base/tree/ztree.less
  6. 2
      src/widget/multiselectlist/multiselectlist.insert.js
  7. 4
      src/widget/multiselecttree/multiselecttree.js
  8. 2
      src/widget/multitree/multi.tree.combo.js
  9. 2
      src/widget/multitree/multi.tree.insert.combo.js
  10. 2
      src/widget/multitree/multi.tree.list.combo.js

2
src/component/treevaluechooser/combo.listtreevaluechooser.js

@ -94,7 +94,7 @@ BI.ListTreeValueChooserInsertCombo = BI.inherit(BI.AbstractListTreeValueChooser,
populate: function (items) {
this._initData(items);
this.combo.populate.apply(this.combo, arguments);
this.combo.populate();
}
});

2
src/component/treevaluechooser/combo.treevaluechooser.insert.js

@ -93,7 +93,7 @@ BI.TreeValueChooserInsertCombo = BI.inherit(BI.AbstractTreeValueChooser, {
populate: function (items) {
this._initData(items);
this.combo.populate.apply(this.combo, arguments);
this.combo.populate();
}
});

2
src/component/treevaluechooser/combo.treevaluechooser.js

@ -97,7 +97,7 @@ BI.TreeValueChooserCombo = BI.inherit(BI.AbstractTreeValueChooser, {
populate: function (items) {
this._initData(items);
this.combo.populate.apply(this.combo, arguments);
this.combo.populate();
}
});

5
src/component/treevaluechooser/pane.treevaluechooser.js

@ -49,8 +49,9 @@ BI.TreeValueChooserPane = BI.inherit(BI.AbstractTreeValueChooser, {
return this.buildCompleteTree(this.combo.getValue());
},
populate: function () {
this.pane.populate.apply(this.pane, arguments);
populate: function (items) {
this._initData(items);
this.pane.populate();
}
});
BI.TreeValueChooserPane.EVENT_CHANGE = "EVENT_CHANGE";

4
src/less/base/tree/ztree.less

@ -185,8 +185,8 @@
}
.ztree li span.button.switch {
width: 25px;
height: 25px
width: 24px;
height: 24px
}
.ztree li span.button.noline_open {

2
src/widget/multiselectlist/multiselectlist.insert.js

@ -26,7 +26,7 @@ BI.MultiSelectInsertList = BI.inherit(BI.Single, {
itemsCreator: o.itemsCreator,
valueFormatter: o.valueFormatter,
logic: {
dynamic: true
dynamic: false
},
// onLoaded: o.onLoaded,
el: {},

4
src/widget/multiselecttree/multiselecttree.js

@ -163,8 +163,8 @@ BI.MultiSelectTree = BI.inherit(BI.Single, {
},
populate: function () {
this.searcher.populate.apply(this.searcher, arguments);
this.adapter.populate.apply(this.adapter, arguments);
this.searcher.populate();
this.adapter.populate();
}
});
BI.MultiSelectTree.EVENT_CHANGE = "EVENT_CHANGE";

2
src/widget/multitree/multi.tree.combo.js

@ -334,7 +334,7 @@ BI.MultiTreeCombo = BI.inherit(BI.Single, {
},
populate: function () {
this.combo.populate.apply(this.combo, arguments);
this.combo.populate();
}
});

2
src/widget/multitree/multi.tree.insert.combo.js

@ -349,7 +349,7 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
},
populate: function () {
this.combo.populate.apply(this.combo, arguments);
this.combo.populate();
}
});

2
src/widget/multitree/multi.tree.list.combo.js

@ -373,7 +373,7 @@ BI.MultiTreeListCombo = BI.inherit(BI.Single, {
},
populate: function () {
this.combo.populate.apply(this.combo, arguments);
this.combo.populate();
}
});

Loading…
Cancel
Save