'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'輕型載貨汽車后鼓式制動器cadcae設計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'輕型載貨汽車后鼓式制動器CADCAE設計 (包含30個文件)', },{ id:'0000100001', pId:'00001', name:'三維圖 (包含14個文件)', },{ id:'000010000100001', pId:'0000100001', name:'congti.CATPart (695KB)', },{ id:'000010000100002', pId:'0000100001', name:'cttp1.CATPart (352KB)', },{ id:'000010000100003', pId:'0000100001', name:'cttp2.CATPart (352KB)', },{ id:'000010000100004', pId:'0000100001', name:'ctxiao.CATPart (66KB)', },{ id:'000010000100005', pId:'0000100001', name:'hftanhuang.CATPart (434KB)', },{ id:'000010000100006', pId:'0000100001', name:'houtlzzc1.CATPart (193KB)', },{ id:'000010000100007', pId:'0000100001', name:'houzddiban.CATPart (503KB)', },{ id:'000010000100008', pId:'0000100001', name:'houzhidonggu.CATPart (315KB)', },{ id:'000010000100009', pId:'0000100001', name:'houzhidongqi .CATProduct (193KB)', },{ id:'000010000100010', pId:'0000100001', name:'lingti.CATPart (694KB)', },{ id:'000010000100011', pId:'0000100001', name:'lttp1.CATPart (352KB)', },{ id:'000010000100012', pId:'0000100001', name:'lttp2.CATPart (352KB)', },{ id:'000010000100013', pId:'0000100001', name:'ltxiao.CATPart (65KB)', },{ id:'000010000100014', pId:'0000100001', name:'Part102.CATPart (51KB)', },{ id:'0000100002', pId:'00001', name:'二維圖 (包含7個文件)', },{ id:'000010000200001', pId:'0000100002', name:'制動蹄A3.dwg (70KB)', click:'getBookinfo(8700556)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200002', pId:'0000100002', name:'制動鼓A2.dwg (64KB)', click:'getBookinfo(8700557)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200003', pId:'0000100002', name:'摩擦襯片A4.dwg (77KB)', click:'getBookinfo(8700558)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200004', pId:'0000100002', name:'支承銷A4.dwg (54KB)', click:'getBookinfo(8700559)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200005', pId:'0000100002', name:'活塞A2.dwg (71KB)', click:'getBookinfo(8700560)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200006', pId:'0000100002', name:'管路布置圖新A0.dwg (249KB)', click:'getBookinfo(8700561)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200007', pId:'0000100002', name:'鼓式制動器裝配圖A0.dwg (234KB)', click:'getBookinfo(8700562)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'-英文翻譯.doc (66KB)', click:'getBookinfo(8700563)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'中期報告.doc (289KB)', click:'getBookinfo(8700564)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'中期報告.ppt (292KB)', click:'getBookinfo(8700565)', icon:'/Images/filetype/PPT16.PNG'},{ id:'0000100006', pId:'00001', name:'開題報告.doc (49KB)', click:'getBookinfo(8700566)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'開題報告.ppt (372KB)', click:'getBookinfo(8700567)', icon:'/Images/filetype/PPT16.PNG'},{ id:'0000100008', pId:'00001', name:'畢業(yè)論文.doc (4015KB)', click:'getBookinfo(8700568)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'論文答辯.ppt (1686KB)', click:'getBookinfo(8700569)', icon:'/Images/filetype/PPT16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'輕型載貨汽車后鼓式制動器cadcae設計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000200001', pId:'0000100002', name:'制動蹄A3.dwg',url:'http://m.facezit.com/p-8700556.html', target:'_blank' },{ id:'000010000200002', pId:'0000100002', name:'制動鼓A2.dwg',url:'http://m.facezit.com/p-8700557.html', target:'_blank' },{ id:'000010000200003', pId:'0000100002', name:'摩擦襯片A4.dwg',url:'http://m.facezit.com/p-8700558.html', target:'_blank' },{ id:'000010000200004', pId:'0000100002', name:'支承銷A4.dwg',url:'http://m.facezit.com/p-8700559.html', target:'_blank' },{ id:'000010000200005', pId:'0000100002', name:'活塞A2.dwg',url:'http://m.facezit.com/p-8700560.html', target:'_blank' },{ id:'000010000200006', pId:'0000100002', name:'管路布置圖新A0.dwg',url:'http://m.facezit.com/p-8700561.html', target:'_blank' },{ id:'000010000200007', pId:'0000100002', name:'鼓式制動器裝配圖A0.dwg',url:'http://m.facezit.com/p-8700562.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'-英文翻譯.doc',url:'http://m.facezit.com/p-8700563.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'中期報告.doc',url:'http://m.facezit.com/p-8700564.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'中期報告.ppt',url:'http://m.facezit.com/p-8700565.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'開題報告.doc',url:'http://m.facezit.com/p-8700566.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'開題報告.ppt',url:'http://m.facezit.com/p-8700567.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'畢業(yè)論文.doc',url:'http://m.facezit.com/p-8700568.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'論文答辯.ppt',url:'http://m.facezit.com/p-8700569.html', target:'_blank' }]; $(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 = '3422379'; 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("請選擇投訴類型或者數據錯誤請刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });