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