|
|
@ -87868,6 +87868,7 @@ BI.YearPicker = BI.inherit(BI.Widget, { |
|
|
|
var conf = BI.YearPicker.superclass._defaultConfig.apply(this, arguments); |
|
|
|
var conf = BI.YearPicker.superclass._defaultConfig.apply(this, arguments); |
|
|
|
return BI.extend(conf, { |
|
|
|
return BI.extend(conf, { |
|
|
|
baseCls: "bi-year-picker bi-background", |
|
|
|
baseCls: "bi-year-picker bi-background", |
|
|
|
|
|
|
|
behaviors: {}, |
|
|
|
height: 40, |
|
|
|
height: 40, |
|
|
|
min: "1900-01-01", // 最小日期
|
|
|
|
min: "1900-01-01", // 最小日期
|
|
|
|
max: "2099-12-31" // 最大日期
|
|
|
|
max: "2099-12-31" // 最大日期
|
|
|
@ -87908,6 +87909,7 @@ BI.YearPicker = BI.inherit(BI.Widget, { |
|
|
|
this.year = BI.createWidget({ |
|
|
|
this.year = BI.createWidget({ |
|
|
|
type: "bi.year_date_combo", |
|
|
|
type: "bi.year_date_combo", |
|
|
|
min: o.min, |
|
|
|
min: o.min, |
|
|
|
|
|
|
|
behaviors: o.behaviors, |
|
|
|
max: o.max |
|
|
|
max: o.max |
|
|
|
}); |
|
|
|
}); |
|
|
|
this.year.on(BI.YearDateCombo.EVENT_CHANGE, function () { |
|
|
|
this.year.on(BI.YearDateCombo.EVENT_CHANGE, function () { |
|
|
@ -87968,7 +87970,8 @@ BI.YearPicker = BI.inherit(BI.Widget, { |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
BI.YearPicker.EVENT_CHANGE = "EVENT_CHANGE"; |
|
|
|
BI.YearPicker.EVENT_CHANGE = "EVENT_CHANGE"; |
|
|
|
BI.shortcut("bi.year_picker", BI.YearPicker);/** |
|
|
|
BI.shortcut("bi.year_picker", BI.YearPicker); |
|
|
|
|
|
|
|
/** |
|
|
|
* Created by GUY on 2015/9/7. |
|
|
|
* Created by GUY on 2015/9/7. |
|
|
|
* @class BI.DateCalendarPopup |
|
|
|
* @class BI.DateCalendarPopup |
|
|
|
* @extends BI.Widget |
|
|
|
* @extends BI.Widget |
|
|
@ -108404,6 +108407,7 @@ BI.shortcut("bi.dynamic_year_month_card", BI.DynamicYearMonthCard);BI.StaticYear |
|
|
|
ref: function () { |
|
|
|
ref: function () { |
|
|
|
self.yearPicker = this; |
|
|
|
self.yearPicker = this; |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
behaviors: o.behaviors, |
|
|
|
height: 30, |
|
|
|
height: 30, |
|
|
|
listeners: [{ |
|
|
|
listeners: [{ |
|
|
|
eventName: BI.YearPicker.EVENT_CHANGE, |
|
|
|
eventName: BI.YearPicker.EVENT_CHANGE, |
|
|
@ -108475,7 +108479,8 @@ BI.shortcut("bi.dynamic_year_month_card", BI.DynamicYearMonthCard);BI.StaticYear |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
BI.StaticYearMonthCard.EVENT_CHANGE = "EVENT_CHANGE"; |
|
|
|
BI.StaticYearMonthCard.EVENT_CHANGE = "EVENT_CHANGE"; |
|
|
|
BI.shortcut("bi.static_year_month_card", BI.StaticYearMonthCard);BI.DynamicYearMonthCombo = BI.inherit(BI.Single, { |
|
|
|
BI.shortcut("bi.static_year_month_card", BI.StaticYearMonthCard); |
|
|
|
|
|
|
|
BI.DynamicYearMonthCombo = BI.inherit(BI.Single, { |
|
|
|
|
|
|
|
|
|
|
|
props: { |
|
|
|
props: { |
|
|
|
baseCls: "bi-year-month-combo bi-border", |
|
|
|
baseCls: "bi-year-month-combo bi-border", |
|
|
|