Browse Source

BI-19821 布局间距加一下

es6
windy 6 years ago
parent
commit
745310684f
  1. 32
      dist/bundle.js
  2. 32
      dist/fineui.js
  3. 32
      dist/widget.js
  4. 32
      src/widget/dynamicdate/dynamicdate.card.js

32
dist/bundle.js vendored

@ -91234,8 +91234,7 @@ BI.DynamicDateCard = BI.inherit(BI.Widget, {
self.fireEvent("EVENT_CHANGE");
}
}]
},
bgap: 5
}
}],
ref: function () {
self.workDay = this;
@ -91261,16 +91260,19 @@ BI.DynamicDateCard = BI.inherit(BI.Widget, {
var self = this;
var items = BI.map(values, function (idx, value) {
return {
type: "bi.dynamic_date_param_item",
dateType: value.dateType,
value: value.value,
offset: value.offset,
listeners: [{
eventName: "EVENT_CHANGE",
action: function () {
self.fireEvent("EVENT_CHANGE");
}
}]
el: {
type: "bi.dynamic_date_param_item",
dateType: value.dateType,
value: value.value,
offset: value.offset,
listeners: [{
eventName: "EVENT_CHANGE",
action: function () {
self.fireEvent("EVENT_CHANGE");
}
}]
},
tgap: idx === 0 ? 5 : 0
};
});
@ -91458,9 +91460,9 @@ BI.extend(BI.DynamicDateCard, {
WORK_DAY: 6
},
OFFSET: {
CURRENT: 1,
BEGIN: 2,
END: 3
CURRENT: "1",
BEGIN: "2",
END: "3"
}
});BI.DynamicDateCombo = BI.inherit(BI.Single, {

32
dist/fineui.js vendored

@ -91455,8 +91455,7 @@ BI.DynamicDateCard = BI.inherit(BI.Widget, {
self.fireEvent("EVENT_CHANGE");
}
}]
},
bgap: 5
}
}],
ref: function () {
self.workDay = this;
@ -91482,16 +91481,19 @@ BI.DynamicDateCard = BI.inherit(BI.Widget, {
var self = this;
var items = BI.map(values, function (idx, value) {
return {
type: "bi.dynamic_date_param_item",
dateType: value.dateType,
value: value.value,
offset: value.offset,
listeners: [{
eventName: "EVENT_CHANGE",
action: function () {
self.fireEvent("EVENT_CHANGE");
}
}]
el: {
type: "bi.dynamic_date_param_item",
dateType: value.dateType,
value: value.value,
offset: value.offset,
listeners: [{
eventName: "EVENT_CHANGE",
action: function () {
self.fireEvent("EVENT_CHANGE");
}
}]
},
tgap: idx === 0 ? 5 : 0
};
});
@ -91679,9 +91681,9 @@ BI.extend(BI.DynamicDateCard, {
WORK_DAY: 6
},
OFFSET: {
CURRENT: 1,
BEGIN: 2,
END: 3
CURRENT: "1",
BEGIN: "2",
END: "3"
}
});BI.DynamicDateCombo = BI.inherit(BI.Single, {

32
dist/widget.js vendored

@ -3029,8 +3029,7 @@ BI.DynamicDateCard = BI.inherit(BI.Widget, {
self.fireEvent("EVENT_CHANGE");
}
}]
},
bgap: 5
}
}],
ref: function () {
self.workDay = this;
@ -3056,16 +3055,19 @@ BI.DynamicDateCard = BI.inherit(BI.Widget, {
var self = this;
var items = BI.map(values, function (idx, value) {
return {
type: "bi.dynamic_date_param_item",
dateType: value.dateType,
value: value.value,
offset: value.offset,
listeners: [{
eventName: "EVENT_CHANGE",
action: function () {
self.fireEvent("EVENT_CHANGE");
}
}]
el: {
type: "bi.dynamic_date_param_item",
dateType: value.dateType,
value: value.value,
offset: value.offset,
listeners: [{
eventName: "EVENT_CHANGE",
action: function () {
self.fireEvent("EVENT_CHANGE");
}
}]
},
tgap: idx === 0 ? 5 : 0
};
});
@ -3253,9 +3255,9 @@ BI.extend(BI.DynamicDateCard, {
WORK_DAY: 6
},
OFFSET: {
CURRENT: 1,
BEGIN: 2,
END: 3
CURRENT: "1",
BEGIN: "2",
END: "3"
}
});BI.DynamicDateCombo = BI.inherit(BI.Single, {

32
src/widget/dynamicdate/dynamicdate.card.js

@ -111,8 +111,7 @@ BI.DynamicDateCard = BI.inherit(BI.Widget, {
self.fireEvent("EVENT_CHANGE");
}
}]
},
bgap: 5
}
}],
ref: function () {
self.workDay = this;
@ -138,16 +137,19 @@ BI.DynamicDateCard = BI.inherit(BI.Widget, {
var self = this;
var items = BI.map(values, function (idx, value) {
return {
type: "bi.dynamic_date_param_item",
dateType: value.dateType,
value: value.value,
offset: value.offset,
listeners: [{
eventName: "EVENT_CHANGE",
action: function () {
self.fireEvent("EVENT_CHANGE");
}
}]
el: {
type: "bi.dynamic_date_param_item",
dateType: value.dateType,
value: value.value,
offset: value.offset,
listeners: [{
eventName: "EVENT_CHANGE",
action: function () {
self.fireEvent("EVENT_CHANGE");
}
}]
},
tgap: idx === 0 ? 5 : 0
};
});
@ -335,9 +337,9 @@ BI.extend(BI.DynamicDateCard, {
WORK_DAY: 6
},
OFFSET: {
CURRENT: 1,
BEGIN: 2,
END: 3
CURRENT: "1",
BEGIN: "2",
END: "3"
}
});
Loading…
Cancel
Save