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