'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'螺旋式榨油機設(shè)計與校核【12張圖紙】【優(yōu)秀】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'1號圓排9.dwg (85KB)', click:'getBookinfo(8570279)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'2號榨螺6.dwg (95KB)', click:'getBookinfo(8570280)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'3號榨螺11.dwg (85KB)', click:'getBookinfo(8570281)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'7號圓排10.dwg (84KB)', click:'getBookinfo(8570282)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'8號圓排12.dwg (82KB)', click:'getBookinfo(8570283)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'A1榨油機齒輪箱總成.dwg (111KB)', click:'getBookinfo(8570284)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'A2入料器1.dwg (95KB)', click:'getBookinfo(8570285)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'中齒輪4.dwg (96KB)', click:'getBookinfo(8570286)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'二軸齒輪5.dwg (92KB)', click:'getBookinfo(8570287)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'發(fā)言稿.doc (21KB)', click:'getBookinfo(8570288)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'實習小結(jié).doc (21KB)', click:'getBookinfo(8570289)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'封面.doc (25KB)', click:'getBookinfo(8570290)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'總裝圖A0.dwg (205KB)', click:'getBookinfo(8570291)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'接油盤8.dwg (83KB)', click:'getBookinfo(8570292)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'螺旋式榨油機設(shè)計與校核說明書.doc (240KB)', click:'getBookinfo(8570293)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'防護帽7.dwg (96KB)', click:'getBookinfo(8570294)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'螺旋式榨油機設(shè)計與校核【12張圖紙】【優(yōu)秀】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'1號圓排9.dwg',url:'http://facezit.com/p-8570279.html', target:'_blank' },{ id:'00002', pId:'1', name:'2號榨螺6.dwg',url:'http://facezit.com/p-8570280.html', target:'_blank' },{ id:'00003', pId:'1', name:'3號榨螺11.dwg',url:'http://facezit.com/p-8570281.html', target:'_blank' },{ id:'00004', pId:'1', name:'7號圓排10.dwg',url:'http://facezit.com/p-8570282.html', target:'_blank' },{ id:'00005', pId:'1', name:'8號圓排12.dwg',url:'http://facezit.com/p-8570283.html', target:'_blank' },{ id:'00006', pId:'1', name:'A1榨油機齒輪箱總成.dwg',url:'http://facezit.com/p-8570284.html', target:'_blank' },{ id:'00007', pId:'1', name:'A2入料器1.dwg',url:'http://facezit.com/p-8570285.html', target:'_blank' },{ id:'00008', pId:'1', name:'中齒輪4.dwg',url:'http://facezit.com/p-8570286.html', target:'_blank' },{ id:'00009', pId:'1', name:'二軸齒輪5.dwg',url:'http://facezit.com/p-8570287.html', target:'_blank' },{ id:'00010', pId:'1', name:'發(fā)言稿.doc',url:'http://facezit.com/p-8570288.html', target:'_blank' },{ id:'00011', pId:'1', name:'實習小結(jié).doc',url:'http://facezit.com/p-8570289.html', target:'_blank' },{ id:'00012', pId:'1', name:'封面.doc',url:'http://facezit.com/p-8570290.html', target:'_blank' },{ id:'00013', pId:'1', name:'總裝圖A0.dwg',url:'http://facezit.com/p-8570291.html', target:'_blank' },{ id:'00014', pId:'1', name:'接油盤8.dwg',url:'http://facezit.com/p-8570292.html', target:'_blank' },{ id:'00015', pId:'1', name:'螺旋式榨油機設(shè)計與校核說明書.doc',url:'http://facezit.com/p-8570293.html', target:'_blank' },{ id:'00016', pId:'1', name:'防護帽7.dwg',url:'http://facezit.com/p-8570294.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 = '7267005'; 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; }); });