var win = new Ext.create('Ext.window.Window', {
title: '报表',
height: 500,
width: 600,
layout: 'fit',
tbar: [startDate, endDate],
buttons: [
{ text: '立即体检',
handel: function () {
Ext.Ajax.request({
url: 'core/WebService.asmx/Time',
headers: {
'Content-Type': 'application/json; charset=utf-8'
},
method: 'POST',
jsonData: {
start: Ext.Date.format(startDate.getValue(), 'Y-m-d'),
end: Ext.Date.format(endDate.getValue(), 'Y-m-d') + ' 23:59:59.999'
} });
}
}
]
//items: { }
}) win.show();
title: '报表',
height: 500,
width: 600,
layout: 'fit',
tbar: [startDate, endDate],
buttons: [
{ text: '立即体检',
handel: function () {
Ext.Ajax.request({
url: 'core/WebService.asmx/Time',
headers: {
'Content-Type': 'application/json; charset=utf-8'
},
method: 'POST',
jsonData: {
start: Ext.Date.format(startDate.getValue(), 'Y-m-d'),
end: Ext.Date.format(endDate.getValue(), 'Y-m-d') + ' 23:59:59.999'
} });
}
}
]
//items: { }
}) win.show();
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货