'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'4887雙童車滾輪疲勞試驗機設(shè)計【機械畢業(yè)設(shè)計全套資料已通過答辯】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'4887-雙童車滾輪疲勞試驗機設(shè)計 (包含31個文件)', },{ id:'0000100001', pId:'00001', name:'修改前資料 (包含16個文件)', },{ id:'000010000100001', pId:'0000100001', name:'daozhu__1.dwg (350KB)', click:'getBookinfo(8128612)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'gnaqq__1.dwg (48KB)', click:'getBookinfo(8128613)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'gunzhutai__1.dwg (58KB)', click:'getBookinfo(8128614)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'hengang__1.dwg (58KB)', click:'getBookinfo(8128615)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'jia1__1.dwg (47KB)', click:'getBookinfo(8128616)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100006', pId:'0000100001', name:'jia2__1.dwg (43KB)', click:'getBookinfo(8128617)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100007', pId:'0000100001', name:'luomu__1.dwg (35KB)', click:'getBookinfo(8128618)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100008', pId:'0000100001', name:'sigang__1.dwg (182KB)', click:'getBookinfo(8128619)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100009', pId:'0000100001', name:'zhichengfalan__1.dwg (47KB)', click:'getBookinfo(8128620)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100010', pId:'0000100001', name:'zhichenggan__1.dwg (41KB)', click:'getBookinfo(8128621)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100011', pId:'0000100001', name:'機器實物照片.jpg (7KB)', click:'getBookinfo(8128622)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100012', pId:'0000100001', name:'滾軸1__1.dwg (51KB)', click:'getBookinfo(8128623)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100013', pId:'0000100001', name:'滾軸2__1.dwg (41KB)', click:'getBookinfo(8128624)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100014', pId:'0000100001', name:'滾軸裝配__1.dwg (329KB)', click:'getBookinfo(8128625)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100015', pId:'0000100001', name:'滾軸裝配__2.dwg (330KB)', click:'getBookinfo(8128626)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100016', pId:'0000100001', name:'童車滾輪疲勞試驗機設(shè)計.doc (905KB)', click:'getBookinfo(8128627)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'1.dwg (178KB)', click:'getBookinfo(8128628)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'2.dwg (86KB)', click:'getBookinfo(8128629)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'3.dwg (78KB)', click:'getBookinfo(8128630)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'雙童車滾輪疲勞試驗機設(shè)計.doc (868KB)', click:'getBookinfo(8128631)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'夾具.dwg (89KB)', click:'getBookinfo(8128632)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'總裝配.dwg (230KB)', click:'getBookinfo(8128633)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'支座.dwg (80KB)', click:'getBookinfo(8128634)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'支架.dwg (134KB)', click:'getBookinfo(8128635)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'滾筒.dwg (92KB)', click:'getBookinfo(8128636)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'端蓋.dwg (92KB)', click:'getBookinfo(8128637)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'螺桿擋環(huán).dwg (85KB)', click:'getBookinfo(8128638)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'軸承.dwg (72KB)', click:'getBookinfo(8128639)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'軸承端蓋.dwg (80KB)', click:'getBookinfo(8128640)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'鏈軌.dwg (98KB)', click:'getBookinfo(8128641)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'4887雙童車滾輪疲勞試驗機設(shè)計【機械畢業(yè)設(shè)計全套資料已通過答辯】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'daozhu__1.dwg',url:'http://m.facezit.com/p-8128612.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'gnaqq__1.dwg',url:'http://m.facezit.com/p-8128613.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'gunzhutai__1.dwg',url:'http://m.facezit.com/p-8128614.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'hengang__1.dwg',url:'http://m.facezit.com/p-8128615.html', target:'_blank' },{ id:'000010000100005', pId:'0000100001', name:'jia1__1.dwg',url:'http://m.facezit.com/p-8128616.html', target:'_blank' },{ id:'000010000100006', pId:'0000100001', name:'jia2__1.dwg',url:'http://m.facezit.com/p-8128617.html', target:'_blank' },{ id:'000010000100007', pId:'0000100001', name:'luomu__1.dwg',url:'http://m.facezit.com/p-8128618.html', target:'_blank' },{ id:'000010000100008', pId:'0000100001', name:'sigang__1.dwg',url:'http://m.facezit.com/p-8128619.html', target:'_blank' },{ id:'000010000100009', pId:'0000100001', name:'zhichengfalan__1.dwg',url:'http://m.facezit.com/p-8128620.html', target:'_blank' },{ id:'000010000100010', pId:'0000100001', name:'zhichenggan__1.dwg',url:'http://m.facezit.com/p-8128621.html', target:'_blank' },{ id:'000010000100011', pId:'0000100001', name:'機器實物照片.jpg',url:'http://m.facezit.com/p-8128622.html', target:'_blank' },{ id:'000010000100012', pId:'0000100001', name:'滾軸1__1.dwg',url:'http://m.facezit.com/p-8128623.html', target:'_blank' },{ id:'000010000100013', pId:'0000100001', name:'滾軸2__1.dwg',url:'http://m.facezit.com/p-8128624.html', target:'_blank' },{ id:'000010000100014', pId:'0000100001', name:'滾軸裝配__1.dwg',url:'http://m.facezit.com/p-8128625.html', target:'_blank' },{ id:'000010000100015', pId:'0000100001', name:'滾軸裝配__2.dwg',url:'http://m.facezit.com/p-8128626.html', target:'_blank' },{ id:'000010000100016', pId:'0000100001', name:'童車滾輪疲勞試驗機設(shè)計.doc',url:'http://m.facezit.com/p-8128627.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'1.dwg',url:'http://m.facezit.com/p-8128628.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'2.dwg',url:'http://m.facezit.com/p-8128629.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'3.dwg',url:'http://m.facezit.com/p-8128630.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'雙童車滾輪疲勞試驗機設(shè)計.doc',url:'http://m.facezit.com/p-8128631.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'夾具.dwg',url:'http://m.facezit.com/p-8128632.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'總裝配.dwg',url:'http://m.facezit.com/p-8128633.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'支座.dwg',url:'http://m.facezit.com/p-8128634.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'支架.dwg',url:'http://m.facezit.com/p-8128635.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'滾筒.dwg',url:'http://m.facezit.com/p-8128636.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'端蓋.dwg',url:'http://m.facezit.com/p-8128637.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'螺桿擋環(huán).dwg',url:'http://m.facezit.com/p-8128638.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'軸承.dwg',url:'http://m.facezit.com/p-8128639.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'軸承端蓋.dwg',url:'http://m.facezit.com/p-8128640.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'鏈軌.dwg',url:'http://m.facezit.com/p-8128641.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 = '3521952'; 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; }); });