'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'普通錐齒輪式差速器.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'普通錐齒輪式差速器 (包含36個文件)', },{ id:'0000100001', pId:'00001', name:'banzhou.CATPart (741KB)', },{ id:'0000100002', pId:'00001', name:'banzhouchilun.CATPart (4631KB)', },{ id:'0000100003', pId:'00001', name:'banzhouyoufeng.CATPart (197KB)', },{ id:'0000100004', pId:'00001', name:'beidongshanchilun.CATPart (7463KB)', },{ id:'0000100005', pId:'00001', name:'Bevel Gear Differential.CATProduct (220KB)', },{ id:'0000100006', pId:'00001', name:'chasuqike.CATPart (2828KB)', },{ id:'0000100007', pId:'00001', name:'dianpian-chasuqi.CATPart (57KB)', },{ id:'0000100008', pId:'00001', name:'dianquan-19.CATPart (56KB)', },{ id:'0000100009', pId:'00001', name:'fangchengzhao.CATPart (152KB)', },{ id:'0000100010', pId:'00001', name:'getao.CATPart (201KB)', },{ id:'0000100011', pId:'00001', name:'jiansuqike.CATPart (6490KB)', },{ id:'0000100012', pId:'00001', name:'lianjiefalan.CATPart (442KB)', },{ id:'0000100013', pId:'00001', name:'luoshuan-chasu.CATPart (202KB)', },{ id:'0000100014', pId:'00001', name:'luoshuan-jiansuqi.CATPart (148KB)', },{ id:'0000100015', pId:'00001', name:'qiumiandianpian.CATPart (92KB)', },{ id:'0000100016', pId:'00001', name:'Symmetry of banzhouchilun.CATPart (3757KB)', },{ id:'0000100017', pId:'00001', name:'Symmetry of dianpian-chasuqi.CATPart (47KB)', },{ id:'0000100018', pId:'00001', name:'Symmetry of luoshuan-chasuqi.CATPart (99KB)', },{ id:'0000100019', pId:'00001', name:'Symmetry of luoshuan-jiansuqi.CATPart (83KB)', },{ id:'0000100020', pId:'00001', name:'Symmetry of qiumiandianpian_1.CATPart (52KB)', },{ id:'0000100021', pId:'00001', name:'Symmetry of Symmetry of luoshuan-jiansuqi.CATPart (83KB)', },{ id:'0000100022', pId:'00001', name:'Symmetry of tiaozhengdianpian1.CATPart (47KB)', },{ id:'0000100023', pId:'00001', name:'Symmetry of xingxingchilun.CATPart (1630KB)', },{ id:'0000100024', pId:'00001', name:'Symmetry of zhoucheng-40.CATPart (308KB)', },{ id:'0000100025', pId:'00001', name:'tianzhengdianpian-1.CATPart (57KB)', },{ id:'0000100026', pId:'00001', name:'tianzhengdianpian-2.CATPart (57KB)', },{ id:'0000100027', pId:'00001', name:'xiaozhou.CATPart (65KB)', },{ id:'0000100028', pId:'00001', name:'xingxingchilun.CATPart (2371KB)', },{ id:'0000100029', pId:'00001', name:'xingxinglunzhou.CATPart (204KB)', },{ id:'0000100030', pId:'00001', name:'zdscl-suojinluomu.CATPart (165KB)', },{ id:'0000100031', pId:'00001', name:'zhoucheng-25.CATPart (706KB)', },{ id:'0000100032', pId:'00001', name:'zhoucheng-30.CATPart (517KB)', },{ id:'0000100033', pId:'00001', name:'zhoucheng-40.CATPart (467KB)', },{ id:'0000100034', pId:'00001', name:'zhouchenggai-L.CATPart (831KB)', },{ id:'0000100035', pId:'00001', name:'zhouchenggai-R.CATPart (616KB)', },{ id:'0000100036', pId:'00001', name:'zhudongshanchilun.CATPart (1905KB)', }]; var zNodes2 = [{ id:'1', pId:'0', name:'普通錐齒輪式差速器.rar', open:true, icon:'/Images/filetype/RAR16.PNG'}]; $(document).ready(function(){ if(JSON.stringify(zNodes)=="{}") { $("#ysyl").hide(); }else { $.fn.zTree.init($("#treeDemo"), setting, zNodes); $.fn.zTree.init($("#treeDemo2"), setting, zNodes2); } }); $(function() { $("#jubao input[type='radio']").click(function() { $("#hidTypeID").val($(this).val()); }); }); function jubao() { var userid = '0'; if (userid != "" && userid != undefined && userid != "0") { $("#jubao").show(); } else { alert("請登錄!");window.location.href='login.aspx'; } } function saveJuBao() { var bookid = '7262499'; var type = $("#hidTypeID").val(); if (type != "" && type != undefined && bookid != "" && bookid != undefined) { $.ajax({ type: "post", url: "View.aspx/JuBao", data: "{bookid: '" + bookid + "', type: '" + type + "' }", contentType: "application/json; charset=utf-8", dataType: "json", success: function(data) { $("#jubao").hide(); $("#jubaoResponse").show(); if (data.d != "0") { $("#jubaoResponse h4").html("您的舉報提交成功"); } else { $("#jubaoResponse h4").html("您的舉報提交失敗"); } } }); } else { alert("請選擇投訴類型或者數(shù)據(jù)錯誤請刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });