如下代码所示,查询成功后怎么获取查询到的记录总数呢?我试过了用store的getCount()和getTotalCount(),这两个方方法获取不到结果, 另外也试过了用var count =store.reader.jsonData.totalCount但是得到的总是上一次的查询时的记录数。请问有什么办法获取到本次查询的记录总数?以下是查询函数的代码 function thisQuery(){
var frm=win.getComponent("txzdq").getForm();
var code = frm.findField("codeq").getValue();
var name = frm.findField("nameq").getValue();
var address = frm.findField("addressq").getValue();
var method = frm.findField("methodq").getValue();
var scheme = frm.findField("scheme").getValue();
var protocal = frm.findField("protocalq").getValue();
var state = frm.findField("state").getValue();
        store.reload({params:{start:start,limit:limit,code:code,name:name,address:address,method:method,scheme:scheme,protocal:protocal,state:state}});


}