|
|
|
@ -7993,7 +7993,7 @@ Demo.NumericalInterval = BI.inherit(BI.Widget, {
|
|
|
|
|
mounted: function () { |
|
|
|
|
var numerical = this.numerical; |
|
|
|
|
var label = this.label; |
|
|
|
|
numerical.on(BI.NumericalInterval.EVENT_CHANGE, function () { |
|
|
|
|
numerical.on(BI.NumberInterval.EVENT_CHANGE, function () { |
|
|
|
|
var temp = numerical.getValue(); |
|
|
|
|
var res = "大于" + (temp.closemin ? "等于 " : " ") + temp.min + " 小于" + (temp.closemax ? "等于 " : " ") + temp.max; |
|
|
|
|
label.setValue(res); |
|
|
|
@ -8001,8 +8001,6 @@ Demo.NumericalInterval = BI.inherit(BI.Widget, {
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
render: function () { |
|
|
|
|
var self = this; |
|
|
|
|
return { |
|
|
|
@ -8025,7 +8023,7 @@ Demo.NumericalInterval = BI.inherit(BI.Widget, {
|
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
BI.shortcut("demo.numberical_interval", Demo.NumericalInterval); |
|
|
|
|
BI.shortcut("demo.number_interval", Demo.NumericalInterval); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Demo.DirectionPathChooser = BI.inherit(BI.Widget, { |
|
|
|
|