0898-08980898

资料下载

DOMNLOAD

常用表格

首页 > 资料下载 > 常用表格

  • 使用帮助二

    下载
    function ey_1563185380(file_id) { var downurl = document.getElementById("ey_file_list_"+file_id).value + "&_ajax=1"; //创建异步对象 var ajaxObj = new XMLHttpRequest(); ajaxObj.open("get", downurl, true); ajaxObj.setRequestHeader("X-Requested-With","XMLHttpRequest"); ajaxObj.setRequestHeader("Content-type","application/x-www-form-urlencoded"); //发送请求 ajaxObj.send(); ajaxObj.onreadystatechange = function () { // 这步为判断服务器是否正确响应 if (ajaxObj.readyState == 4 && ajaxObj.status == 200) { var json = ajaxObj.responseText; var res = JSON.parse(json); if (0 == res.code) { // 没有登录 if (undefined != res.data.is_login && 0 == res.data.is_login) { if (document.getElementById('ey_login_id_1609665117')) { $('#ey_login_id_1609665117').trigger('click'); } else { window.location.href = res.data.url; } } else { if (!window.layer) { alert(res.msg); if (undefined != res.data.url && res.data.url) { window.location.href = res.data.url; } } else { if (undefined != res.data.url && '' != res.data.url) { layer.confirm(res.msg, { title: false , icon: 5 , closeBtn: false }, function (index) { layer.close(index); window.location.href = res.data.url; }); } else { layer.alert(res.msg, {icon: 5, title: false, closeBtn: false}); } } } return false; }else{ // document.getElementById('form_file_list_'+file_id).submit(); window.location.href = res.url; // window.open(res.url); } } }; };
  • 使用帮助一

    下载
    function ey_1563185380(file_id) { var downurl = document.getElementById("ey_file_list_"+file_id).value + "&_ajax=1"; //创建异步对象 var ajaxObj = new XMLHttpRequest(); ajaxObj.open("get", downurl, true); ajaxObj.setRequestHeader("X-Requested-With","XMLHttpRequest"); ajaxObj.setRequestHeader("Content-type","application/x-www-form-urlencoded"); //发送请求 ajaxObj.send(); ajaxObj.onreadystatechange = function () { // 这步为判断服务器是否正确响应 if (ajaxObj.readyState == 4 && ajaxObj.status == 200) { var json = ajaxObj.responseText; var res = JSON.parse(json); if (0 == res.code) { // 没有登录 if (undefined != res.data.is_login && 0 == res.data.is_login) { if (document.getElementById('ey_login_id_1609665117')) { $('#ey_login_id_1609665117').trigger('click'); } else { window.location.href = res.data.url; } } else { if (!window.layer) { alert(res.msg); if (undefined != res.data.url && res.data.url) { window.location.href = res.data.url; } } else { if (undefined != res.data.url && '' != res.data.url) { layer.confirm(res.msg, { title: false , icon: 5 , closeBtn: false }, function (index) { layer.close(index); window.location.href = res.data.url; }); } else { layer.alert(res.msg, {icon: 5, title: false, closeBtn: false}); } } } return false; }else{ // document.getElementById('form_file_list_'+file_id).submit(); window.location.href = res.url; // window.open(res.url); } } }; };
1页 2
if (!window.jQuery) { document.write(unescape("%3Cscript src='/public/static/common/js/jquery.min.js' type='text/javascript'%3E%3C/script%3E")); document.write(unescape("%3Cscript type='text/javascript'%3E try{jQuery.noConflict();}catch(e){} %3C/script%3E")); } if (window.jQuery) { (function($){ default_switch(); //简体繁体互换 function default_switch() { var home_lang = getCookie('home_lang'); if (home_lang == '') { home_lang = 'cn'; } if ($.inArray(home_lang, ['zh','cn'])) { var obj = $('#jquerys2t_1573822909'); var isSimplified = getCookie('jquerys2t_1573822909'); if ('cn' == isSimplified) { $('body').t2s(); $(obj).text('繁體'); } else if ('zh' == isSimplified) { $('body').s2t(); $(obj).text('简体'); } } } //简体繁体互换 $('#jquerys2t_1573822909').click(function(){ var obj = this; var isSimplified = getCookie('jquerys2t_1573822909'); if ('' == isSimplified || 'cn' == isSimplified) { $('body').s2t(); // 简体转繁体 setCookie('jquerys2t_1573822909', 'zh'); $(obj).text('简体'); } else { $('body').t2s(); // 繁体转简体 setCookie('jquerys2t_1573822909', 'cn'); $(obj).text('繁體'); } }); })(jQuery); }