'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'多功能挖掘機回轉(zhuǎn)裝置設(shè)計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'多功能挖掘機回轉(zhuǎn)裝置設(shè)計 (包含21個文件)', },{ id:'0000100001', pId:'00001', name:'圖紙 (包含17個文件)', },{ id:'000010000100001', pId:'0000100001', name:'A0.dwg (517KB)', click:'getBookinfo(8522207)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'A1.dwg (655KB)', click:'getBookinfo(8522208)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'內(nèi)圈組合件.DWG (54KB)', click:'getBookinfo(8522209)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'制動器下殼題.DWG (62KB)', click:'getBookinfo(8522210)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'回轉(zhuǎn)支撐內(nèi)圈.DWG (51KB)', click:'getBookinfo(8522211)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100006', pId:'0000100001', name:'回轉(zhuǎn)支撐外齒.DWG (69KB)', click:'getBookinfo(8522212)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100007', pId:'0000100001', name:'固定齒.DWG (87KB)', click:'getBookinfo(8522213)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100008', pId:'0000100001', name:'太陽輪.DWG (68KB)', click:'getBookinfo(8522214)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100009', pId:'0000100001', name:'摩擦滑套.DWG (52KB)', click:'getBookinfo(8522215)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100010', pId:'0000100001', name:'摩擦片1.DWG (46KB)', click:'getBookinfo(8522216)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100011', pId:'0000100001', name:'機殼下.DWG (60KB)', click:'getBookinfo(8522217)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100012', pId:'0000100001', name:'活塞.DWG (69KB)', click:'getBookinfo(8522218)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100013', pId:'0000100001', name:'缸體.DWG (93KB)', click:'getBookinfo(8522219)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100014', pId:'0000100001', name:'行星減速機轉(zhuǎn)子.DWG (52KB)', click:'getBookinfo(8522220)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100015', pId:'0000100001', name:'轉(zhuǎn)動倫.DWG (52KB)', click:'getBookinfo(8522221)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100016', pId:'0000100001', name:'連接軸.DWG (51KB)', click:'getBookinfo(8522222)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100017', pId:'0000100001', name:'鎖緊螺母.DWG (46KB)', click:'getBookinfo(8522223)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'中期報告.doc (104KB)', click:'getBookinfo(8522224)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'開題報告.doc (3875KB)', click:'getBookinfo(8522225)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'畢業(yè)論文.doc (1979KB)', click:'getBookinfo(8522226)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'多功能挖掘機回轉(zhuǎn)裝置設(shè)計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'A0.dwg',url:'http://facezit.com/p-8522207.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'A1.dwg',url:'http://facezit.com/p-8522208.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'內(nèi)圈組合件.DWG',url:'http://facezit.com/p-8522209.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'制動器下殼題.DWG',url:'http://facezit.com/p-8522210.html', target:'_blank' },{ id:'000010000100005', pId:'0000100001', name:'回轉(zhuǎn)支撐內(nèi)圈.DWG',url:'http://facezit.com/p-8522211.html', target:'_blank' },{ id:'000010000100006', pId:'0000100001', name:'回轉(zhuǎn)支撐外齒.DWG',url:'http://facezit.com/p-8522212.html', target:'_blank' },{ id:'000010000100007', pId:'0000100001', name:'固定齒.DWG',url:'http://facezit.com/p-8522213.html', target:'_blank' },{ id:'000010000100008', pId:'0000100001', name:'太陽輪.DWG',url:'http://facezit.com/p-8522214.html', target:'_blank' },{ id:'000010000100009', pId:'0000100001', name:'摩擦滑套.DWG',url:'http://facezit.com/p-8522215.html', target:'_blank' },{ id:'000010000100010', pId:'0000100001', name:'摩擦片1.DWG',url:'http://facezit.com/p-8522216.html', target:'_blank' },{ id:'000010000100011', pId:'0000100001', name:'機殼下.DWG',url:'http://facezit.com/p-8522217.html', target:'_blank' },{ id:'000010000100012', pId:'0000100001', name:'活塞.DWG',url:'http://facezit.com/p-8522218.html', target:'_blank' },{ id:'000010000100013', pId:'0000100001', name:'缸體.DWG',url:'http://facezit.com/p-8522219.html', target:'_blank' },{ id:'000010000100014', pId:'0000100001', name:'行星減速機轉(zhuǎn)子.DWG',url:'http://facezit.com/p-8522220.html', target:'_blank' },{ id:'000010000100015', pId:'0000100001', name:'轉(zhuǎn)動倫.DWG',url:'http://facezit.com/p-8522221.html', target:'_blank' },{ id:'000010000100016', pId:'0000100001', name:'連接軸.DWG',url:'http://facezit.com/p-8522222.html', target:'_blank' },{ id:'000010000100017', pId:'0000100001', name:'鎖緊螺母.DWG',url:'http://facezit.com/p-8522223.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'中期報告.doc',url:'http://facezit.com/p-8522224.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'開題報告.doc',url:'http://facezit.com/p-8522225.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'畢業(yè)論文.doc',url:'http://facezit.com/p-8522226.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 = '7260127'; 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; }); });