|
@@ -3,8 +3,6 @@ import {grid} from '../Defaults'
|
|
import {baseConfig} from "./base";
|
|
import {baseConfig} from "./base";
|
|
import {lookupFn, lookupScope} from "../lib/lib";
|
|
import {lookupFn, lookupScope} from "../lib/lib";
|
|
import LAY_EXCEL from "lay-excel"
|
|
import LAY_EXCEL from "lay-excel"
|
|
-import {serverInvokeUrlTransform} from "../lib/config";
|
|
|
|
-import {calcObject, calcObjectFlat} from "../lib/systemLib";
|
|
|
|
import {
|
|
import {
|
|
disabled,
|
|
disabled,
|
|
fieldLabel,
|
|
fieldLabel,
|
|
@@ -16,7 +14,7 @@ import {
|
|
} from "../PropertyDescriptionTable";
|
|
} from "../PropertyDescriptionTable";
|
|
import {PropertyDescription} from "../PropertyDescription";
|
|
import {PropertyDescription} from "../PropertyDescription";
|
|
import {gridInvokeBuild} from "./stores";
|
|
import {gridInvokeBuild} from "./stores";
|
|
-import { msg } from 'src/message';
|
|
|
|
|
|
+import {msg} from 'src/message';
|
|
|
|
|
|
|
|
|
|
const defaultGrid = grid
|
|
const defaultGrid = grid
|
|
@@ -106,7 +104,7 @@ export default function () {
|
|
buttons.push({
|
|
buttons.push({
|
|
xtype: 'button',
|
|
xtype: 'button',
|
|
tooltip: '保存表格自定义配置',
|
|
tooltip: '保存表格自定义配置',
|
|
- iconCls: 'x-fa fa-cog',
|
|
|
|
|
|
+ iconCls: 'x-fa fa-cogs',
|
|
handler: this.saveGridUIConfig
|
|
handler: this.saveGridUIConfig
|
|
})
|
|
})
|
|
}
|
|
}
|
|
@@ -114,7 +112,7 @@ export default function () {
|
|
buttons.push({
|
|
buttons.push({
|
|
xtype: 'button',
|
|
xtype: 'button',
|
|
tooltip: '还原表格自定义配置',
|
|
tooltip: '还原表格自定义配置',
|
|
- iconCls: 'x-fa fa-repeat',
|
|
|
|
|
|
+ iconCls: 'x-fa fa-reply-all',
|
|
handler: this.clearGridUIConfig
|
|
handler: this.clearGridUIConfig
|
|
})
|
|
})
|
|
}
|
|
}
|
|
@@ -158,7 +156,16 @@ export default function () {
|
|
newConfig.bbar = {
|
|
newConfig.bbar = {
|
|
xtype: 'toolbar', overflowHandler: 'menu',
|
|
xtype: 'toolbar', overflowHandler: 'menu',
|
|
items: [
|
|
items: [
|
|
- ...buttons
|
|
|
|
|
|
+ {
|
|
|
|
+ xtype: 'button',
|
|
|
|
+ tooltip: '刷新',
|
|
|
|
+ iconCls: 'x-fa fa-refresh',
|
|
|
|
+ handler: () => {
|
|
|
|
+ this.reload()
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ '-',
|
|
|
|
+ ...buttons,
|
|
]
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|