可以监听请求发送之前的事件:beforeload ,然后再添加请求的参数
me.store = Ext.create('Ext.data.JsonStore', { remoteSort: true, pageSize: YZSoft.EnvSetting.PageSize.defaultSize, model: 'Ext.data.Model', sorters: [{ property: 'Date', direction: 'desc' }, { property: 'id', direction: 'desc' }], proxy: { type: 'ajax', url: YZSoft.$url(me, 'ServerInForm.ashx'), extraParams: Ext.apply({ method: 'GetData', }, storeParams), reader: { rootProperty: 'children' } }, listeners: { "beforeload": function (store, operation, eOpts) { //me.store.getProxy().extraParams.typeCombox = Ext.getCmp("typeCombox").getValue(); me.store.getProxy().extraParams.startDate = me.DateStart.getValue(); me.store.getProxy().extraParams.endDate = me.DateEnd.getValue(); me.store.getProxy().extraParams.typeCombox = me.TypeCombox.getValue(); }, load: function (store, records, successful, eOpts) { var params = store.getProxy().getExtraParams(), newsType = params.newsType; me.fieldNewsType.setText(newsType ? Ext.String.format(me.fieldNewsType.textTpl, newsType) : ''); } } });