'; } $("#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:'全液壓升降機設計開題報告.doc (71KB)', click:'getBookinfo(8500629)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'全液壓升降機設計說明書.doc (1652KB)', click:'getBookinfo(8500630)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'內(nèi)支架.dwg (153KB)', click:'getBookinfo(8500631)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'外支架.dwg (179KB)', click:'getBookinfo(8500632)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'支架1A1.dwg (83KB)', click:'getBookinfo(8500633)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'支架2A1.dwg (123KB)', click:'getBookinfo(8500634)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'機械總裝圖A0.dwg (84KB)', click:'getBookinfo(8500635)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'泵站圖A0.dwg (80KB)', click:'getBookinfo(8500636)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'液壓升降機A2.dwg (75KB)', click:'getBookinfo(8500637)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'液壓升降機底座A2.dwg (57KB)', click:'getBookinfo(8500638)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'液壓泵站A2.dwg (82KB)', click:'getBookinfo(8500639)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'液壓系統(tǒng)原理A1.dwg (120KB)', click:'getBookinfo(8500640)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'液壓缸A2.dwg (116KB)', click:'getBookinfo(8500641)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'課題介紹.doc (51KB)', click:'getBookinfo(8500642)', 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:'全液壓升降機設計開題報告.doc',url:'http://m.facezit.com/p-8500629.html', target:'_blank' },{ id:'00002', pId:'1', name:'全液壓升降機設計說明書.doc',url:'http://m.facezit.com/p-8500630.html', target:'_blank' },{ id:'00003', pId:'1', name:'內(nèi)支架.dwg',url:'http://m.facezit.com/p-8500631.html', target:'_blank' },{ id:'00004', pId:'1', name:'外支架.dwg',url:'http://m.facezit.com/p-8500632.html', target:'_blank' },{ id:'00005', pId:'1', name:'支架1A1.dwg',url:'http://m.facezit.com/p-8500633.html', target:'_blank' },{ id:'00006', pId:'1', name:'支架2A1.dwg',url:'http://m.facezit.com/p-8500634.html', target:'_blank' },{ id:'00007', pId:'1', name:'機械總裝圖A0.dwg',url:'http://m.facezit.com/p-8500635.html', target:'_blank' },{ id:'00008', pId:'1', name:'泵站圖A0.dwg',url:'http://m.facezit.com/p-8500636.html', target:'_blank' },{ id:'00009', pId:'1', name:'液壓升降機A2.dwg',url:'http://m.facezit.com/p-8500637.html', target:'_blank' },{ id:'00010', pId:'1', name:'液壓升降機底座A2.dwg',url:'http://m.facezit.com/p-8500638.html', target:'_blank' },{ id:'00011', pId:'1', name:'液壓泵站A2.dwg',url:'http://m.facezit.com/p-8500639.html', target:'_blank' },{ id:'00012', pId:'1', name:'液壓系統(tǒng)原理A1.dwg',url:'http://m.facezit.com/p-8500640.html', target:'_blank' },{ id:'00013', pId:'1', name:'液壓缸A2.dwg',url:'http://m.facezit.com/p-8500641.html', target:'_blank' },{ id:'00014', pId:'1', name:'課題介紹.doc',url:'http://m.facezit.com/p-8500642.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 = '7257639'; 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; }); });