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