var RecordhisStore = new Ext.data.JsonStore({
root: 'dataRoot',
totalProperty: 'totalCount',
idProperty: 'threadid',
remoteSort: true,
필드: [
{이름: 'id', 유형: '문자열'},
{이름: 'src', 유형: '문자열'},
{이름: 'dst', 유형: 'string'},
{이름: 'srcip', 유형: 'string'},
{name: 'dstip', 유형: 'string'},
{name: 'begin_date', 유형 : 'date', dateFormat:'Y-m-d H:i:s'},//onclick='javascript:startwav(" " value " ")'
{name: 'end_date', type: 'date', dateFormat :'Y-m-d H:i:s'},
{name: 'content', type: 'string', Convert:function(value,rec){
return "";
}}
],
proxy: new Ext.data.HttpProxy({
url : 'ctl.php?c=HisRecordQueryController&a=Query'
}),
sortInfo: {필드: 'begin_date', 방향: 'ASC'},
리스너:{
beforeload:function( obj,params){
var start_date = document.getElementById("his_startdt").value;
var end_date = document.getElementById("his_enddt").value;
var src = document.getElementById("his_src").value;
var dst = document.getElementById("his_dst").value;
recordhisStore.baseParams = {limit:params.params.limit,start:params.params.start,begindate:begin_date,enddate:end_date,src:src,dst:dst};
}
}
});
js播放wav文件