@ -9,7 +9,7 @@ BI.DynamicDateTrigger = BI.inherit(BI.Trigger, {
iconWidth: 24
},
props: {
props: () => ({
extraCls: "bi-date-trigger",
min: "1900-01-01", // 最小日期
max: "2099-12-31", // 最大日期
@ -18,7 +18,7 @@ BI.DynamicDateTrigger = BI.inherit(BI.Trigger, {
format: "", // 显示的日期格式化方式
allowEdit: true, // 是否允许编辑
watermark: BI.i18nText("BI-Basic_Unrestricted"),
}),
_init: function () {
BI.DynamicDateTrigger.superclass._init.apply(this, arguments);
@ -23,13 +23,13 @@
DEFAULT_HOUR: "00"
extraCls: "bi-time-trigger",
value: {},
format: "",
allowEdit: false,
render: function () {
var self = this, o = this.options;
@ -5,7 +5,7 @@ BI.DynamicYearMonthTrigger = BI.inherit(BI.Trigger, {
extraCls: "bi-year-month-trigger",
@ -14,7 +14,7 @@ BI.DynamicYearMonthTrigger = BI.inherit(BI.Trigger, {
year: BI.i18nText("BI-Basic_Unrestricted"),
month: BI.i18nText("BI-Basic_Unrestricted"),
beforeInit: function (callback) {
var o = this.options;
@ -5,7 +5,7 @@ BI.DynamicYearQuarterTrigger = BI.inherit(BI.Trigger, {
extraCls: "bi-year-quarter-trigger",
@ -14,7 +14,7 @@ BI.DynamicYearQuarterTrigger = BI.inherit(BI.Trigger, {
quarter: BI.i18nText("BI-Basic_Unrestricted"),
BI.DynamicYearQuarterTrigger.superclass._init.apply(this, arguments);