'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'盤式汽車制動器設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'中期檢查表.doc (19KB)', click:'getBookinfo(8356192)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'制動器A0.dwg (284KB)', click:'getBookinfo(8356193)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'制動盤A3.dwg (91KB)', click:'getBookinfo(8356194)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'壓盤A1.dwg (125KB)', click:'getBookinfo(8356195)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'殼體A1.dwg (119KB)', click:'getBookinfo(8356196)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'定位齒塊A3.dwg (72KB)', click:'getBookinfo(8356197)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'密封蓋A1.dwg (105KB)', click:'getBookinfo(8356198)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'差速鎖搖臂軸A3.dwg (84KB)', click:'getBookinfo(8356199)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'盤式汽車制動器設(shè)計開題報告.doc (40KB)', click:'getBookinfo(8356200)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'盤式汽車制動器設(shè)計論文.doc (1157KB)', click:'getBookinfo(8356201)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'目錄.doc (36KB)', click:'getBookinfo(8356202)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'花鍵軸A3.dwg (71KB)', click:'getBookinfo(8356203)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'英文翻譯--液壓支架的發(fā)展與前瞻.doc (109KB)', click:'getBookinfo(8356204)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'盤式汽車制動器設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'中期檢查表.doc',url:'http://m.facezit.com/p-8356192.html', target:'_blank' },{ id:'00002', pId:'1', name:'制動器A0.dwg',url:'http://m.facezit.com/p-8356193.html', target:'_blank' },{ id:'00003', pId:'1', name:'制動盤A3.dwg',url:'http://m.facezit.com/p-8356194.html', target:'_blank' },{ id:'00004', pId:'1', name:'壓盤A1.dwg',url:'http://m.facezit.com/p-8356195.html', target:'_blank' },{ id:'00005', pId:'1', name:'殼體A1.dwg',url:'http://m.facezit.com/p-8356196.html', target:'_blank' },{ id:'00006', pId:'1', name:'定位齒塊A3.dwg',url:'http://m.facezit.com/p-8356197.html', target:'_blank' },{ id:'00007', pId:'1', name:'密封蓋A1.dwg',url:'http://m.facezit.com/p-8356198.html', target:'_blank' },{ id:'00008', pId:'1', name:'差速鎖搖臂軸A3.dwg',url:'http://m.facezit.com/p-8356199.html', target:'_blank' },{ id:'00009', pId:'1', name:'盤式汽車制動器設(shè)計開題報告.doc',url:'http://m.facezit.com/p-8356200.html', target:'_blank' },{ id:'00010', pId:'1', name:'盤式汽車制動器設(shè)計論文.doc',url:'http://m.facezit.com/p-8356201.html', target:'_blank' },{ id:'00011', pId:'1', name:'目錄.doc',url:'http://m.facezit.com/p-8356202.html', target:'_blank' },{ id:'00012', pId:'1', name:'花鍵軸A3.dwg',url:'http://m.facezit.com/p-8356203.html', target:'_blank' },{ id:'00013', pId:'1', name:'英文翻譯--液壓支架的發(fā)展與前瞻.doc',url:'http://m.facezit.com/p-8356204.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 = '7836246'; 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; }); });