'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'汽車車門墊板的沖裁模具設計【11張圖紙】【優(yōu)秀】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'沖孔凸模零件圖.dwg (43KB)', click:'getBookinfo(8551068)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'凸模墊板.dwg (49KB)', click:'getBookinfo(8551069)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'凹模.dwg (45KB)', click:'getBookinfo(8551070)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'切斷凸模.dwg (43KB)', click:'getBookinfo(8551071)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'卸料板.dwg (37KB)', click:'getBookinfo(8551072)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'壓力中心.dwg (27KB)', click:'getBookinfo(8551073)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'墊板.dwg (59KB)', click:'getBookinfo(8551074)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'實習總結(jié).doc (22KB)', click:'getBookinfo(8551075)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'排樣.dwg (30KB)', click:'getBookinfo(8551076)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'模柄.dwg (50KB)', click:'getBookinfo(8551077)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'汽車車門墊板的沖裁模具設計論文.doc (638KB)', click:'getBookinfo(8551078)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'表格.doc (199KB)', click:'getBookinfo(8551079)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'裝配圖.dwg (81KB)', click:'getBookinfo(8551080)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'零件圖.dwg (42KB)', click:'getBookinfo(8551081)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'汽車車門墊板的沖裁模具設計【11張圖紙】【優(yōu)秀】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'沖孔凸模零件圖.dwg',url:'http://canyonlakefaqs.com/p-8551068.html', target:'_blank' },{ id:'00002', pId:'1', name:'凸模墊板.dwg',url:'http://canyonlakefaqs.com/p-8551069.html', target:'_blank' },{ id:'00003', pId:'1', name:'凹模.dwg',url:'http://canyonlakefaqs.com/p-8551070.html', target:'_blank' },{ id:'00004', pId:'1', name:'切斷凸模.dwg',url:'http://canyonlakefaqs.com/p-8551071.html', target:'_blank' },{ id:'00005', pId:'1', name:'卸料板.dwg',url:'http://canyonlakefaqs.com/p-8551072.html', target:'_blank' },{ id:'00006', pId:'1', name:'壓力中心.dwg',url:'http://canyonlakefaqs.com/p-8551073.html', target:'_blank' },{ id:'00007', pId:'1', name:'墊板.dwg',url:'http://canyonlakefaqs.com/p-8551074.html', target:'_blank' },{ id:'00008', pId:'1', name:'實習總結(jié).doc',url:'http://canyonlakefaqs.com/p-8551075.html', target:'_blank' },{ id:'00009', pId:'1', name:'排樣.dwg',url:'http://canyonlakefaqs.com/p-8551076.html', target:'_blank' },{ id:'00010', pId:'1', name:'模柄.dwg',url:'http://canyonlakefaqs.com/p-8551077.html', target:'_blank' },{ id:'00011', pId:'1', name:'汽車車門墊板的沖裁模具設計論文.doc',url:'http://canyonlakefaqs.com/p-8551078.html', target:'_blank' },{ id:'00012', pId:'1', name:'表格.doc',url:'http://canyonlakefaqs.com/p-8551079.html', target:'_blank' },{ id:'00013', pId:'1', name:'裝配圖.dwg',url:'http://canyonlakefaqs.com/p-8551080.html', target:'_blank' },{ id:'00014', pId:'1', name:'零件圖.dwg',url:'http://canyonlakefaqs.com/p-8551081.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 = '7264409'; 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; }); });