'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'大學(xué)生方程式賽車前后懸架設(shè)計【優(yōu)秀方程式賽車課程畢業(yè)設(shè)計含ug三維建模及3張cad圖紙】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'車道變換測試的靈敏度作為衡量車載系統(tǒng)需求的一種方式(有英文原文)--中英文翻譯 (包含2個文件)', },{ id:'0000100001', pId:'00001', name:'劉恩澤-Sensitivity of the lane change test as a measure of in-vehicle system demand.pdf (334KB)', click:'getBookinfo(8521685)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000100002', pId:'00001', name:'車道變換測試的靈敏度作為衡量車載系統(tǒng)需求的一種方式(有英文原文)--中英文翻譯.doc (274KB)', click:'getBookinfo(8521686)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'UGsanweijianmo.rar (55235KB)', click:'getBookinfo(8521687)', icon:'/Images/filetype/RAR16.PNG'},{ id:'00003', pId:'1', name:'前后懸架上下叉臂裝配圖.dwg (170KB)', click:'getBookinfo(8521688)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'前懸架裝配圖.dwg (252KB)', click:'getBookinfo(8521689)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'后懸架裝配圖.dwg (497KB)', click:'getBookinfo(8521690)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'大學(xué)生方程式賽車前后懸架設(shè)計.doc (3148KB)', click:'getBookinfo(8521691)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'開題報告-懸架設(shè)計.doc (39KB)', click:'getBookinfo(8521692)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'大學(xué)生方程式賽車前后懸架設(shè)計【優(yōu)秀方程式賽車課程畢業(yè)設(shè)計含ug三維建模及3張cad圖紙】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'劉恩澤-Sensitivity of the lane change test as a measure of in-vehicle system demand.pdf',url:'http://canyonlakefaqs.com/p-8521685.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'車道變換測試的靈敏度作為衡量車載系統(tǒng)需求的一種方式(有英文原文)--中英文翻譯.doc',url:'http://canyonlakefaqs.com/p-8521686.html', target:'_blank' },{ id:'00002', pId:'1', name:'UGsanweijianmo.rar',url:'http://canyonlakefaqs.com/p-8521687.html', target:'_blank' },{ id:'00003', pId:'1', name:'前后懸架上下叉臂裝配圖.dwg',url:'http://canyonlakefaqs.com/p-8521688.html', target:'_blank' },{ id:'00004', pId:'1', name:'前懸架裝配圖.dwg',url:'http://canyonlakefaqs.com/p-8521689.html', target:'_blank' },{ id:'00005', pId:'1', name:'后懸架裝配圖.dwg',url:'http://canyonlakefaqs.com/p-8521690.html', target:'_blank' },{ id:'00006', pId:'1', name:'大學(xué)生方程式賽車前后懸架設(shè)計.doc',url:'http://canyonlakefaqs.com/p-8521691.html', target:'_blank' },{ id:'00007', pId:'1', name:'開題報告-懸架設(shè)計.doc',url:'http://canyonlakefaqs.com/p-8521692.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 = '7260038'; 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; }); });