|
|
@ -78478,7 +78478,9 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, { |
|
|
|
baseCls: "bi-search-text-value-combo", |
|
|
|
baseCls: "bi-search-text-value-combo", |
|
|
|
height: 30, |
|
|
|
height: 30, |
|
|
|
text: "", |
|
|
|
text: "", |
|
|
|
items: [] |
|
|
|
items: [], |
|
|
|
|
|
|
|
tipType: "", |
|
|
|
|
|
|
|
warningTitle: "" |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
render: function () { |
|
|
|
render: function () { |
|
|
@ -78502,6 +78504,8 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, { |
|
|
|
height: o.height - 2, |
|
|
|
height: o.height - 2, |
|
|
|
text: o.text, |
|
|
|
text: o.text, |
|
|
|
value: o.value, |
|
|
|
value: o.value, |
|
|
|
|
|
|
|
tipType: o.tipType, |
|
|
|
|
|
|
|
warningTitle: o.warningTitle, |
|
|
|
listeners: [{ |
|
|
|
listeners: [{ |
|
|
|
eventName: BI.SearchTextValueTrigger.EVENT_CHANGE, |
|
|
|
eventName: BI.SearchTextValueTrigger.EVENT_CHANGE, |
|
|
|
action: function () { |
|
|
|
action: function () { |
|
|
@ -90563,6 +90567,7 @@ BI.shortcut("bi.down_list_popup", BI.DownListPopup);/** |
|
|
|
|
|
|
|
|
|
|
|
setValue: function (v) { |
|
|
|
setValue: function (v) { |
|
|
|
v = v || {}; |
|
|
|
v = v || {}; |
|
|
|
|
|
|
|
this.position = v.position || BI.DynamicDateCard.OFFSET.CURRENT; |
|
|
|
var values = []; |
|
|
|
var values = []; |
|
|
|
var valuesItems = []; |
|
|
|
var valuesItems = []; |
|
|
|
if(BI.isNotNull(v.year)) { |
|
|
|
if(BI.isNotNull(v.year)) { |
|
|
@ -90864,7 +90869,10 @@ BI.extend(BI.DynamicDateCard, { |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
mounted: function () { |
|
|
|
mounted: function () { |
|
|
|
this._checkDynamicValue(this.options.value); |
|
|
|
var o = this.options; |
|
|
|
|
|
|
|
if(BI.isNotNull(o.value)) { |
|
|
|
|
|
|
|
this._checkDynamicValue(o.value); |
|
|
|
|
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
_checkDynamicValue: function (v) { |
|
|
|
_checkDynamicValue: function (v) { |
|
|
@ -90961,7 +90969,7 @@ BI.extend(BI.DynamicDateCombo, { |
|
|
|
height: 24, |
|
|
|
height: 24, |
|
|
|
text: this._getText() |
|
|
|
text: this._getText() |
|
|
|
}, |
|
|
|
}, |
|
|
|
width: 20 |
|
|
|
width: o.dateType === BI.DynamicDateCard.TYPE.WORK_DAY ? 60 : 20 |
|
|
|
}, { |
|
|
|
}, { |
|
|
|
type: "bi.text_value_combo", |
|
|
|
type: "bi.text_value_combo", |
|
|
|
height: 24, |
|
|
|
height: 24, |
|
|
@ -91002,9 +91010,12 @@ BI.extend(BI.DynamicDateCombo, { |
|
|
|
text = BI.i18nText("BI-Basic_Week"); |
|
|
|
text = BI.i18nText("BI-Basic_Week"); |
|
|
|
break; |
|
|
|
break; |
|
|
|
case BI.DynamicDateCard.TYPE.DAY: |
|
|
|
case BI.DynamicDateCard.TYPE.DAY: |
|
|
|
default: |
|
|
|
|
|
|
|
text = BI.i18nText("BI-Basic_Day"); |
|
|
|
text = BI.i18nText("BI-Basic_Day"); |
|
|
|
break; |
|
|
|
break; |
|
|
|
|
|
|
|
case BI.DynamicDateCard.TYPE.WORK_DAY: |
|
|
|
|
|
|
|
default: |
|
|
|
|
|
|
|
text = BI.i18nText("BI-Basic_Work_Day"); |
|
|
|
|
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
return text; |
|
|
|
return text; |
|
|
|
}, |
|
|
|
}, |
|
|
@ -91101,7 +91112,6 @@ BI.shortcut("bi.dynamic_date_param_item", BI.DynamicDateParamItem);BI.DynamicDat |
|
|
|
var self = this; |
|
|
|
var self = this; |
|
|
|
return { |
|
|
|
return { |
|
|
|
type: "bi.tab", |
|
|
|
type: "bi.tab", |
|
|
|
showIndex: BI.DynamicDateCombo.Static, |
|
|
|
|
|
|
|
ref: function () { |
|
|
|
ref: function () { |
|
|
|
self.dateTab = this; |
|
|
|
self.dateTab = this; |
|
|
|
}, |
|
|
|
}, |
|
|
@ -91722,7 +91732,10 @@ BI.shortcut("bi.dynamic_date_trigger", BI.DynamicDateTrigger);BI.DynamicDateTime |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
mounted: function () { |
|
|
|
mounted: function () { |
|
|
|
this._checkDynamicValue(this.options.value); |
|
|
|
var o = this.options; |
|
|
|
|
|
|
|
if(BI.isNotNull(o.value)) { |
|
|
|
|
|
|
|
this._checkDynamicValue(o.value); |
|
|
|
|
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
_checkDynamicValue: function (v) { |
|
|
|
_checkDynamicValue: function (v) { |
|
|
@ -91850,7 +91863,6 @@ BI.extend(BI.DynamicDateTimeCombo, { |
|
|
|
var self = this; |
|
|
|
var self = this; |
|
|
|
return { |
|
|
|
return { |
|
|
|
type: "bi.tab", |
|
|
|
type: "bi.tab", |
|
|
|
showIndex: BI.DynamicDateCombo.Static, |
|
|
|
|
|
|
|
ref: function () { |
|
|
|
ref: function () { |
|
|
|
self.dateTab = this; |
|
|
|
self.dateTab = this; |
|
|
|
}, |
|
|
|
}, |
|
|
@ -112640,7 +112652,7 @@ BI.i18n = { |
|
|
|
"BI-Basic_April": "四月", |
|
|
|
"BI-Basic_April": "四月", |
|
|
|
"BI-Multi_Date_Quarter_Begin": "季度初", |
|
|
|
"BI-Multi_Date_Quarter_Begin": "季度初", |
|
|
|
"BI-Multi_Date_Week": "周", |
|
|
|
"BI-Multi_Date_Week": "周", |
|
|
|
"BI-Click_Blank_To_Select": "点按\"空格键\"选中匹配项", |
|
|
|
"BI-Click_Blank_To_Select": "点击\"空格键\"选中匹配项", |
|
|
|
"BI-Basic_August": "八月", |
|
|
|
"BI-Basic_August": "八月", |
|
|
|
"BI-Word_Align_Left": "文字居左", |
|
|
|
"BI-Word_Align_Left": "文字居左", |
|
|
|
"BI-Basic_November": "十一月", |
|
|
|
"BI-Basic_November": "十一月", |
|
|
|