/// /// 转发IP段设置 [Pub_AgentIPConfig] Ajax提交类 /// var AgentIPConfigAjax = new Object(); /// /// 转发IP段设置 [Pub_AgentIPConfig] 获取记录信息 /// AgentIPConfigAjax.GetInfo = function (key, send, fun, errorFun, target, html) { return Global.Ajax( { ajaxCache: false, ajaxUrl: "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.Pub.AgentIPConfigAjax.Get", ajaxData: "key=" + encodeURIComponent(key), ajaxAsync: true, ajaxFunSuccess: fun, ajaxFunError: errorFun }, send, target, html); }; /// /// 转发IP段设置 [Pub_AgentIPConfig] 添加记录 /// AgentIPConfigAjax.Insert = function (form, send, fun, errorFun, target, html) { return Global.Ajax( { ajaxCache: false, ajaxUrl: "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.Pub.AgentIPConfigAjax.Insert", ajaxData: Global.GetFormValue(form), ajaxAsync: true, ajaxFunSuccess: fun, ajaxFunError: errorFun }, send, target, html); }; /// /// 转发IP段设置 [Pub_AgentIPConfig] 修改记录 /// AgentIPConfigAjax.Update = function (form, send, fun, errorFun, target, html) { return Global.Ajax( { ajaxCache: false, ajaxUrl: "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.Pub.AgentIPConfigAjax.Update", ajaxData: Global.GetFormValue(form), ajaxAsync: true, ajaxFunSuccess: fun, ajaxFunError: errorFun }, send, target, html); }; /// /// 转发IP段设置 [Pub_AgentIPConfig] 删除记录 /// AgentIPConfigAjax.Delete = function (key, send, fun, errorFun, target, html) { return Global.Ajax( { ajaxCache: false, ajaxUrl: "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.Pub.AgentIPConfigAjax.Delete", ajaxData: "key=" + encodeURIComponent(key), ajaxAsync: true, ajaxFunSuccess: fun, ajaxFunError: errorFun }, send, target, html); }; /// /// 转发IP段设置 [Pub_AgentIPConfig] 批量删除记录 /// AgentIPConfigAjax.BatchDelete = function (key, send, fun, errorFun, target, html) { return Global.Ajax( { ajaxCache: false, ajaxUrl: "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.Pub.AgentIPConfigAjax.BatchDelete", ajaxData: key, ajaxAsync: true, ajaxFunSuccess: fun, ajaxFunError: errorFun }, send, target, html); }; /******************************************* * 以下为自定义方法 *******************************************/