Browse Source

无JIRA 复选下拉树和下拉列表添加showView和hideVIew方法

es6
zsmj1994 5 years ago
parent
commit
a1e063bae8
  1. 8
      src/component/treevaluechooser/combo.listtreevaluechooser.js
  2. 8
      src/component/treevaluechooser/combo.treevaluechooser.insert.js
  3. 8
      src/component/treevaluechooser/combo.treevaluechooser.js
  4. 8
      src/widget/multiselect/multiselect.combo.js
  5. 8
      src/widget/multiselect/multiselect.combo.nobar.js
  6. 8
      src/widget/multiselect/multiselect.insert.combo.js
  7. 8
      src/widget/multiselect/multiselect.insert.combo.nobar.js
  8. 8
      src/widget/multitree/multi.tree.combo.js
  9. 8
      src/widget/multitree/multi.tree.insert.combo.js
  10. 8
      src/widget/multitree/multi.tree.list.combo.js

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

@ -76,6 +76,14 @@ BI.ListTreeValueChooserInsertCombo = BI.inherit(BI.AbstractListTreeValueChooser,
});
},
showView: function () {
this.combo.showView();
},
hideView: function () {
this.combo.hideView();
},
setValue: function (v) {
this.combo.setValue(v);
},

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

@ -75,6 +75,14 @@ BI.TreeValueChooserInsertCombo = BI.inherit(BI.AbstractTreeValueChooser, {
});
},
showView: function () {
this.combo.showView();
},
hideView: function () {
this.combo.hideView();
},
setValue: function (v) {
this.combo.setValue(v);
},

8
src/component/treevaluechooser/combo.treevaluechooser.js

@ -75,6 +75,14 @@ BI.TreeValueChooserCombo = BI.inherit(BI.AbstractTreeValueChooser, {
});
},
showView: function () {
this.combo.showView();
},
hideView: function () {
this.combo.hideView();
},
setValue: function (v) {
this.combo.setValue(v);
},

8
src/widget/multiselect/multiselect.combo.js

@ -425,6 +425,14 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, {
this.combo.populate.apply(this.combo, arguments);
},
showView:function (){
this.combo.showView();
},
hideView:function (){
this.combo.hideView();
},
setValue: function (v) {
this.storeValue = v || {};
this._assertValue(this.storeValue);

8
src/widget/multiselect/multiselect.combo.nobar.js

@ -418,6 +418,14 @@ BI.MultiSelectNoBarCombo = BI.inherit(BI.Single, {
this.combo.populate.apply(this.combo, arguments);
},
showView:function (){
this.combo.showView();
},
hideView:function (){
this.combo.hideView();
},
setValue: function (v) {
this.storeValue = {
type: BI.Selection.Multi,

8
src/widget/multiselect/multiselect.insert.combo.js

@ -443,6 +443,14 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
this.combo.populate.apply(this.combo, arguments);
},
showView:function (){
this.combo.showView();
},
hideView:function (){
this.combo.hideView();
},
setValue: function (v) {
this.storeValue = v || {};
this._assertValue(this.storeValue);

8
src/widget/multiselect/multiselect.insert.combo.nobar.js

@ -438,6 +438,14 @@ BI.MultiSelectInsertNoBarCombo = BI.inherit(BI.Single, {
this.combo.populate.apply(this.combo, arguments);
},
showView:function (){
this.combo.showView();
},
hideView:function (){
this.combo.hideView();
},
setValue: function (v) {
this.storeValue = {
type: BI.Selection.Multi,

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

@ -311,6 +311,14 @@ BI.MultiTreeCombo = BI.inherit(BI.Single, {
this.combo.hideView();
},
showView: function () {
this.combo.showView();
},
hideView: function () {
this.combo.hideView();
},
setValue: function (v) {
this.storeValue.value = v || {};
this.combo.setValue({

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

@ -326,6 +326,14 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
this.combo.hideView();
},
showView: function () {
this.combo.showView();
},
hideView: function () {
this.combo.hideView();
},
setValue: function (v) {
this.storeValue.value = v || {};
this.combo.setValue({

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

@ -350,6 +350,14 @@ BI.MultiTreeListCombo = BI.inherit(BI.Single, {
this.combo.hideView();
},
showView: function () {
this.combo.showView();
},
hideView: function () {
this.combo.hideView();
},
setValue: function (v) {
this.storeValue.value = v || [];
this.combo.setValue({

Loading…
Cancel
Save