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