Browse Source

无JIRA任务 fix: 使用脚本漏掉的常量

es6
Zhenfei.Li 2 years ago
parent
commit
2d2d87015e
  1. 8
      src/widget/dynamicdate/dynamicdate.combo.js
  2. 4
      src/widget/dynamicdate/dynamicdate.popup.js
  3. 8
      src/widget/dynamicdatetime/dynamicdatetime.combo.js
  4. 5
      src/widget/dynamicdatetime/dynamicdatetime.popup.js

8
src/widget/dynamicdate/dynamicdate.combo.js

@ -7,6 +7,14 @@ import { DynamicDatePopup } from "./dynamicdate.popup";
export class DynamicDateCombo extends Single {
static xtype = "bi.dynamic_date_combo"
constants = {
popupHeight: 259,
popupWidth: 270,
comboAdjustHeight: 1,
border: 1,
iconWidth: 24,
}
props = {
baseCls: "bi-dynamic-date-combo",
height: 24,

4
src/widget/dynamicdate/dynamicdate.popup.js

@ -8,6 +8,10 @@ import { DynamicDateHelper } from "./dynamicdate.caculate";
export class DynamicDatePopup extends Widget {
static xtype = "bi.dynamic_date_popup"
constants = {
tabHeight: 40,
}
props = {
baseCls: "bi-dynamic-date-popup",
width: 272,

8
src/widget/dynamicdatetime/dynamicdatetime.combo.js

@ -11,6 +11,14 @@ export class DynamicDateTimeCombo extends Single {
static Static = 1
static Dynamic = 2
constants = {
popupHeight: 259,
popupWidth: 270,
comboAdjustHeight: 1,
border: 1,
iconWidth: 24,
}
props = {
baseCls: "bi-dynamic-date--time-combo",
height: 24,

5
src/widget/dynamicdatetime/dynamicdatetime.popup.js

@ -8,6 +8,11 @@ import { DynamicDateTimeCombo } from "./dynamicdatetime.combo";
export class DynamicDateTimePopup extends Widget {
static xtype = "bi.dynamic_date_time_popup"
constants = {
tabHeight: 40,
buttonHeight: 24,
}
props = {
baseCls: "bi-dynamic-date-time-popup",
width: 272,

Loading…
Cancel
Save