Browse Source

节假日

es6
windy 7 years ago
parent
commit
93b5d6fb37
  1. 10
      dist/_fineui.min.js
  2. 10
      dist/bundle.js
  3. 8
      dist/bundle.min.js
  4. 6
      dist/case.js
  5. 10
      dist/fineui.js
  6. 10
      dist/fineui.min.js
  7. 4
      dist/widget.js
  8. 2
      src/case/combo/icontextvaluecombo/combo.icontextvalue.js
  9. 4
      src/case/trigger/trigger.icon.text.select.js
  10. 4
      src/widget/dynamicdate/dynamicdate.caculate.js

10
dist/_fineui.min.js vendored

File diff suppressed because one or more lines are too long

10
dist/bundle.js vendored

@ -78407,7 +78407,7 @@ BI.IconTextValueCombo = BI.inherit(BI.Widget, {
items: o.items,
height: o.height,
text: o.text,
defaultIconCls: o.defaultIconCls,
iconCls: o.iconCls,
value: o.value,
iconHeight: o.iconHeight,
iconWidth: o.iconWidth
@ -87332,7 +87332,7 @@ BI.SelectIconTextTrigger = BI.inherit(BI.Trigger, {
height: 24,
iconHeight: null,
iconWidth: null,
defaultIconCls: ""
iconCls: ""
});
},
@ -87375,7 +87375,7 @@ BI.SelectIconTextTrigger = BI.inherit(BI.Trigger, {
} else {
return {
text: o.text,
iconCls: o.defaultIconCls
iconCls: o.iconCls
};
}
},
@ -90402,11 +90402,11 @@ BI.shortcut("bi.down_list_popup", BI.DownListPopup);/**
}
if (BI.isNotNull(obj.workDay)) {
// 配置了节假日就按照节假日计算工作日偏移,否则按正常的天去算
if(BI.isNotNull(Date.holidays)) {
if(BI.isNotNull(BI.holidays)) {
var count = Math.abs(obj.workDay);
for (var i = 0; i < count; i++) {
date = date.getOffsetDate(obj.workDay < 0 ? -1 : 1);
if(BI.isNotNull(Date.holidays[date.print("%Y-%X-%d")])) {
if(BI.isNotNull(BI.holidays[date.print("%Y-%X-%d")])) {
i--;
}
}

8
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

6
dist/case.js vendored

@ -5918,7 +5918,7 @@ BI.IconTextValueCombo = BI.inherit(BI.Widget, {
items: o.items,
height: o.height,
text: o.text,
defaultIconCls: o.defaultIconCls,
iconCls: o.iconCls,
value: o.value,
iconHeight: o.iconHeight,
iconWidth: o.iconWidth
@ -14843,7 +14843,7 @@ BI.SelectIconTextTrigger = BI.inherit(BI.Trigger, {
height: 24,
iconHeight: null,
iconWidth: null,
defaultIconCls: ""
iconCls: ""
});
},
@ -14886,7 +14886,7 @@ BI.SelectIconTextTrigger = BI.inherit(BI.Trigger, {
} else {
return {
text: o.text,
iconCls: o.defaultIconCls
iconCls: o.iconCls
};
}
},

10
dist/fineui.js vendored

@ -78650,7 +78650,7 @@ BI.IconTextValueCombo = BI.inherit(BI.Widget, {
items: o.items,
height: o.height,
text: o.text,
defaultIconCls: o.defaultIconCls,
iconCls: o.iconCls,
value: o.value,
iconHeight: o.iconHeight,
iconWidth: o.iconWidth
@ -87575,7 +87575,7 @@ BI.SelectIconTextTrigger = BI.inherit(BI.Trigger, {
height: 24,
iconHeight: null,
iconWidth: null,
defaultIconCls: ""
iconCls: ""
});
},
@ -87618,7 +87618,7 @@ BI.SelectIconTextTrigger = BI.inherit(BI.Trigger, {
} else {
return {
text: o.text,
iconCls: o.defaultIconCls
iconCls: o.iconCls
};
}
},
@ -90645,11 +90645,11 @@ BI.shortcut("bi.down_list_popup", BI.DownListPopup);/**
}
if (BI.isNotNull(obj.workDay)) {
// 配置了节假日就按照节假日计算工作日偏移,否则按正常的天去算
if(BI.isNotNull(Date.holidays)) {
if(BI.isNotNull(BI.holidays)) {
var count = Math.abs(obj.workDay);
for (var i = 0; i < count; i++) {
date = date.getOffsetDate(obj.workDay < 0 ? -1 : 1);
if(BI.isNotNull(Date.holidays[date.print("%Y-%X-%d")])) {
if(BI.isNotNull(BI.holidays[date.print("%Y-%X-%d")])) {
i--;
}
}

10
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

4
dist/widget.js vendored

@ -2779,11 +2779,11 @@ BI.shortcut("bi.down_list_popup", BI.DownListPopup);/**
}
if (BI.isNotNull(obj.workDay)) {
// 配置了节假日就按照节假日计算工作日偏移,否则按正常的天去算
if(BI.isNotNull(Date.holidays)) {
if(BI.isNotNull(BI.holidays)) {
var count = Math.abs(obj.workDay);
for (var i = 0; i < count; i++) {
date = date.getOffsetDate(obj.workDay < 0 ? -1 : 1);
if(BI.isNotNull(Date.holidays[date.print("%Y-%X-%d")])) {
if(BI.isNotNull(BI.holidays[date.print("%Y-%X-%d")])) {
i--;
}
}

2
src/case/combo/icontextvaluecombo/combo.icontextvalue.js

@ -21,7 +21,7 @@ BI.IconTextValueCombo = BI.inherit(BI.Widget, {
items: o.items,
height: o.height,
text: o.text,
defaultIconCls: o.defaultIconCls,
iconCls: o.iconCls,
value: o.value,
iconHeight: o.iconHeight,
iconWidth: o.iconWidth

4
src/case/trigger/trigger.icon.text.select.js

@ -9,7 +9,7 @@ BI.SelectIconTextTrigger = BI.inherit(BI.Trigger, {
height: 24,
iconHeight: null,
iconWidth: null,
defaultIconCls: ""
iconCls: ""
});
},
@ -52,7 +52,7 @@ BI.SelectIconTextTrigger = BI.inherit(BI.Trigger, {
} else {
return {
text: o.text,
iconCls: o.defaultIconCls
iconCls: o.iconCls
};
}
},

4
src/widget/dynamicdate/dynamicdate.caculate.js

@ -29,11 +29,11 @@
}
if (BI.isNotNull(obj.workDay)) {
// 配置了节假日就按照节假日计算工作日偏移,否则按正常的天去算
if(BI.isNotNull(Date.holidays)) {
if(BI.isNotNull(BI.holidays)) {
var count = Math.abs(obj.workDay);
for (var i = 0; i < count; i++) {
date = date.getOffsetDate(obj.workDay < 0 ? -1 : 1);
if(BI.isNotNull(Date.holidays[date.print("%Y-%X-%d")])) {
if(BI.isNotNull(BI.holidays[date.print("%Y-%X-%d")])) {
i--;
}
}

Loading…
Cancel
Save