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