'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'液壓油箱的裝配圖和零件cad圖紙.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'主作用缸柱塞桿.dwg (809KB)', click:'getBookinfo(8554240)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'導(dǎo)向套1.dwg (813KB)', click:'getBookinfo(8554241)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'導(dǎo)向套2.dwg (811KB)', click:'getBookinfo(8554242)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'支撐用法蘭1.dwg (804KB)', click:'getBookinfo(8554243)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'支撐用法蘭2.dwg (806KB)', click:'getBookinfo(8554244)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'法蘭2-.dwg (807KB)', click:'getBookinfo(8554245)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'法蘭2.dwg (806KB)', click:'getBookinfo(8554246)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'液壓油箱裝配圖.dwg (864KB)', click:'getBookinfo(8554247)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'缸底1.dwg (814KB)', click:'getBookinfo(8554248)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'缸底2.dwg (814KB)', click:'getBookinfo(8554249)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'缸筒1.dwg (809KB)', click:'getBookinfo(8554250)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'缸筒2.dwg (812KB)', click:'getBookinfo(8554251)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'液壓油箱的裝配圖和零件cad圖紙.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'主作用缸柱塞桿.dwg',url:'http://m.facezit.com/p-8554240.html', target:'_blank' },{ id:'00002', pId:'1', name:'導(dǎo)向套1.dwg',url:'http://m.facezit.com/p-8554241.html', target:'_blank' },{ id:'00003', pId:'1', name:'導(dǎo)向套2.dwg',url:'http://m.facezit.com/p-8554242.html', target:'_blank' },{ id:'00004', pId:'1', name:'支撐用法蘭1.dwg',url:'http://m.facezit.com/p-8554243.html', target:'_blank' },{ id:'00005', pId:'1', name:'支撐用法蘭2.dwg',url:'http://m.facezit.com/p-8554244.html', target:'_blank' },{ id:'00006', pId:'1', name:'法蘭2-.dwg',url:'http://m.facezit.com/p-8554245.html', target:'_blank' },{ id:'00007', pId:'1', name:'法蘭2.dwg',url:'http://m.facezit.com/p-8554246.html', target:'_blank' },{ id:'00008', pId:'1', name:'液壓油箱裝配圖.dwg',url:'http://m.facezit.com/p-8554247.html', target:'_blank' },{ id:'00009', pId:'1', name:'缸底1.dwg',url:'http://m.facezit.com/p-8554248.html', target:'_blank' },{ id:'00010', pId:'1', name:'缸底2.dwg',url:'http://m.facezit.com/p-8554249.html', target:'_blank' },{ id:'00011', pId:'1', name:'缸筒1.dwg',url:'http://m.facezit.com/p-8554250.html', target:'_blank' },{ id:'00012', pId:'1', name:'缸筒2.dwg',url:'http://m.facezit.com/p-8554251.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 = '7264865'; 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; }); });