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