|
@@ -282,9 +282,11 @@ Ext.define('saas.view.core.query.QueryGridPanel', {
|
|
|
}
|
|
}
|
|
|
if(c.xtype == 'datecolumn') {
|
|
if(c.xtype == 'datecolumn') {
|
|
|
Ext.applyIf(c, {
|
|
Ext.applyIf(c, {
|
|
|
- exportStyle: {
|
|
|
|
|
- format: 'Medium Date'
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ format:'Y-m-d',
|
|
|
|
|
+ //只导出年月日
|
|
|
|
|
+ // exportStyle: {
|
|
|
|
|
+ // format: 'Medium Date'
|
|
|
|
|
+ // },
|
|
|
exportRenderer: function (value) {
|
|
exportRenderer: function (value) {
|
|
|
return Ext.Date.format(new Date(value), 'Y-m-d');
|
|
return Ext.Date.format(new Date(value), 'Y-m-d');
|
|
|
}
|
|
}
|