|
|
|
@ -90563,6 +90563,7 @@ BI.shortcut("bi.down_list_popup", BI.DownListPopup);/**
|
|
|
|
|
|
|
|
|
|
setValue: function (v) { |
|
|
|
|
v = v || {}; |
|
|
|
|
this.position = v.position || BI.DynamicDateCard.OFFSET.CURRENT; |
|
|
|
|
var values = []; |
|
|
|
|
var valuesItems = []; |
|
|
|
|
if(BI.isNotNull(v.year)) { |
|
|
|
@ -90864,7 +90865,10 @@ BI.extend(BI.DynamicDateCard, {
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
mounted: function () { |
|
|
|
|
this._checkDynamicValue(this.options.value); |
|
|
|
|
var o = this.options; |
|
|
|
|
if(BI.isNotNull(o.value)) { |
|
|
|
|
this._checkDynamicValue(o.value); |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
_checkDynamicValue: function (v) { |
|
|
|
@ -90961,7 +90965,7 @@ BI.extend(BI.DynamicDateCombo, {
|
|
|
|
|
height: 24, |
|
|
|
|
text: this._getText() |
|
|
|
|
}, |
|
|
|
|
width: 20 |
|
|
|
|
width: o.dateType === BI.DynamicDateCard.TYPE.WORK_DAY ? 60 : 20 |
|
|
|
|
}, { |
|
|
|
|
type: "bi.text_value_combo", |
|
|
|
|
height: 24, |
|
|
|
@ -91002,9 +91006,12 @@ BI.extend(BI.DynamicDateCombo, {
|
|
|
|
|
text = BI.i18nText("BI-Basic_Week"); |
|
|
|
|
break; |
|
|
|
|
case BI.DynamicDateCard.TYPE.DAY: |
|
|
|
|
default: |
|
|
|
|
text = BI.i18nText("BI-Basic_Day"); |
|
|
|
|
break; |
|
|
|
|
case BI.DynamicDateCard.TYPE.WORK_DAY: |
|
|
|
|
default: |
|
|
|
|
text = BI.i18nText("BI-Basic_Work_Day"); |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
return text; |
|
|
|
|
}, |
|
|
|
@ -91101,7 +91108,6 @@ BI.shortcut("bi.dynamic_date_param_item", BI.DynamicDateParamItem);BI.DynamicDat
|
|
|
|
|
var self = this; |
|
|
|
|
return { |
|
|
|
|
type: "bi.tab", |
|
|
|
|
showIndex: BI.DynamicDateCombo.Static, |
|
|
|
|
ref: function () { |
|
|
|
|
self.dateTab = this; |
|
|
|
|
}, |
|
|
|
@ -91722,7 +91728,10 @@ BI.shortcut("bi.dynamic_date_trigger", BI.DynamicDateTrigger);BI.DynamicDateTime
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
mounted: function () { |
|
|
|
|
this._checkDynamicValue(this.options.value); |
|
|
|
|
var o = this.options; |
|
|
|
|
if(BI.isNotNull(o.value)) { |
|
|
|
|
this._checkDynamicValue(o.value); |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
_checkDynamicValue: function (v) { |
|
|
|
@ -91850,7 +91859,6 @@ BI.extend(BI.DynamicDateTimeCombo, {
|
|
|
|
|
var self = this; |
|
|
|
|
return { |
|
|
|
|
type: "bi.tab", |
|
|
|
|
showIndex: BI.DynamicDateCombo.Static, |
|
|
|
|
ref: function () { |
|
|
|
|
self.dateTab = this; |
|
|
|
|
}, |
|
|
|
@ -112640,7 +112648,7 @@ BI.i18n = {
|
|
|
|
|
"BI-Basic_April": "四月", |
|
|
|
|
"BI-Multi_Date_Quarter_Begin": "季度初", |
|
|
|
|
"BI-Multi_Date_Week": "周", |
|
|
|
|
"BI-Click_Blank_To_Select": "点按\"空格键\"选中匹配项", |
|
|
|
|
"BI-Click_Blank_To_Select": "点击\"空格键\"选中匹配项", |
|
|
|
|
"BI-Basic_August": "八月", |
|
|
|
|
"BI-Word_Align_Left": "文字居左", |
|
|
|
|
"BI-Basic_November": "十一月", |
|
|
|
|