|
|
|
@ -78478,7 +78478,9 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, {
|
|
|
|
|
baseCls: "bi-search-text-value-combo", |
|
|
|
|
height: 30, |
|
|
|
|
text: "", |
|
|
|
|
items: [] |
|
|
|
|
items: [], |
|
|
|
|
tipType: "", |
|
|
|
|
warningTitle: "" |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
render: function () { |
|
|
|
@ -78502,6 +78504,8 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, {
|
|
|
|
|
height: o.height - 2, |
|
|
|
|
text: o.text, |
|
|
|
|
value: o.value, |
|
|
|
|
tipType: o.tipType, |
|
|
|
|
warningTitle: o.warningTitle, |
|
|
|
|
listeners: [{ |
|
|
|
|
eventName: BI.SearchTextValueTrigger.EVENT_CHANGE, |
|
|
|
|
action: function () { |
|
|
|
@ -90563,6 +90567,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 +90869,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 +90969,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 +91010,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 +91112,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 +91732,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 +91863,6 @@ BI.extend(BI.DynamicDateTimeCombo, {
|
|
|
|
|
var self = this; |
|
|
|
|
return { |
|
|
|
|
type: "bi.tab", |
|
|
|
|
showIndex: BI.DynamicDateCombo.Static, |
|
|
|
|
ref: function () { |
|
|
|
|
self.dateTab = this; |
|
|
|
|
}, |
|
|
|
@ -112640,7 +112652,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": "十一月", |
|
|
|
|