Browse Source

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

es6
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. 7
      src/component/treevaluechooser/pane.treevaluechooser.js
  5. 6
      src/less/base/tree/ztree.less
  6. 4
      src/widget/multiselectlist/multiselectlist.insert.js
  7. 6
      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();
}
});

7
src/component/treevaluechooser/pane.treevaluechooser.js

@ -49,9 +49,10 @@ 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";
BI.shortcut("bi.tree_value_chooser_pane", BI.TreeValueChooserPane);
BI.shortcut("bi.tree_value_chooser_pane", BI.TreeValueChooserPane);

6
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 {
@ -295,4 +295,4 @@ ul.ztree.zTreeDragUL {
.ztree li ul.level0 {
padding:0;
background:none;
}*/
}*/

4
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: {},
@ -334,4 +334,4 @@ BI.extend(BI.MultiSelectInsertList, {
});
BI.MultiSelectInsertList.EVENT_CHANGE = "EVENT_CHANGE";
BI.shortcut("bi.multi_select_insert_list", BI.MultiSelectInsertList);
BI.shortcut("bi.multi_select_insert_list", BI.MultiSelectInsertList);

6
src/widget/multiselecttree/multiselecttree.js

@ -163,9 +163,9 @@ 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";
BI.shortcut("bi.multi_select_tree", BI.MultiSelectTree);
BI.shortcut("bi.multi_select_tree", BI.MultiSelectTree);

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