From b7324a23eeee6dd8522b1ce5f257101d6493fcd9 Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Wed, 21 Mar 2018 14:18:03 +0800 Subject: [PATCH] update --- dist/bundle.js | 2 ++ dist/widget.js | 2 ++ src/widget/dynamic/yearmonth/card.static.yearmonth.js | 1 + src/widget/dynamic/yearquarter/card.static.yearquarter.js | 1 + 4 files changed, 6 insertions(+) diff --git a/dist/bundle.js b/dist/bundle.js index e58e08ee5c..f7a9565fd1 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -90198,6 +90198,7 @@ BI.shortcut("bi.dynamic_year_month_card", BI.DynamicYearMonthCard);BI.StaticYear listeners: [{ eventName: BI.ButtonGroup.EVENT_CHANGE, action: function () { + self.selectedYear = self.yearPicker.getValue(); self.selectedMonth = this.getValue()[0]; self.fireEvent(BI.StaticYearMonthCard.EVENT_CHANGE); } @@ -90885,6 +90886,7 @@ BI.shortcut("bi.dynamic_year_quarter_card", BI.DynamicYearQuarterCard);BI.Static listeners: [{ eventName: BI.ButtonGroup.EVENT_CHANGE, action: function () { + self.selectedYear = self.yearPicker.getValue(); self.selectedQuarter = this.getValue()[0]; self.fireEvent(BI.StaticYearQuarterCard.EVENT_CHANGE); } diff --git a/dist/widget.js b/dist/widget.js index 2a4a0ec365..b1e5431cac 100644 --- a/dist/widget.js +++ b/dist/widget.js @@ -3638,6 +3638,7 @@ BI.shortcut("bi.dynamic_year_month_card", BI.DynamicYearMonthCard);BI.StaticYear listeners: [{ eventName: BI.ButtonGroup.EVENT_CHANGE, action: function () { + self.selectedYear = self.yearPicker.getValue(); self.selectedMonth = this.getValue()[0]; self.fireEvent(BI.StaticYearMonthCard.EVENT_CHANGE); } @@ -4325,6 +4326,7 @@ BI.shortcut("bi.dynamic_year_quarter_card", BI.DynamicYearQuarterCard);BI.Static listeners: [{ eventName: BI.ButtonGroup.EVENT_CHANGE, action: function () { + self.selectedYear = self.yearPicker.getValue(); self.selectedQuarter = this.getValue()[0]; self.fireEvent(BI.StaticYearQuarterCard.EVENT_CHANGE); } diff --git a/src/widget/dynamic/yearmonth/card.static.yearmonth.js b/src/widget/dynamic/yearmonth/card.static.yearmonth.js index 7ded14f36c..e1a6c34ce3 100644 --- a/src/widget/dynamic/yearmonth/card.static.yearmonth.js +++ b/src/widget/dynamic/yearmonth/card.static.yearmonth.js @@ -76,6 +76,7 @@ BI.StaticYearMonthCard = BI.inherit(BI.Widget, { listeners: [{ eventName: BI.ButtonGroup.EVENT_CHANGE, action: function () { + self.selectedYear = self.yearPicker.getValue(); self.selectedMonth = this.getValue()[0]; self.fireEvent(BI.StaticYearMonthCard.EVENT_CHANGE); } diff --git a/src/widget/dynamic/yearquarter/card.static.yearquarter.js b/src/widget/dynamic/yearquarter/card.static.yearquarter.js index bb32524853..31ec9fb714 100644 --- a/src/widget/dynamic/yearquarter/card.static.yearquarter.js +++ b/src/widget/dynamic/yearquarter/card.static.yearquarter.js @@ -68,6 +68,7 @@ BI.StaticYearQuarterCard = BI.inherit(BI.Widget, { listeners: [{ eventName: BI.ButtonGroup.EVENT_CHANGE, action: function () { + self.selectedYear = self.yearPicker.getValue(); self.selectedQuarter = this.getValue()[0]; self.fireEvent(BI.StaticYearQuarterCard.EVENT_CHANGE); }