'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'【nj004】小型玉米脫粒機入料和脫粒裝置的設(shè)計【2a0】【含14張cad圖和論文】【農(nóng)業(yè)機械類畢業(yè)設(shè)計論文】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'1-脫粒部分主裝配圖-A2.dwg (89KB)', click:'getBookinfo(8445102)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'10-新釘齒條3-A2.dwg (51KB)', click:'getBookinfo(8445103)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'11-新釘齒條4-A2.dwg (47KB)', click:'getBookinfo(8445104)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'12-柵格托架-A3.dwg (42KB)', click:'getBookinfo(8445105)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'13-新圓盤-A3.dwg (45KB)', click:'getBookinfo(8445106)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'14-支撐桿-A4.dwg (37KB)', click:'getBookinfo(8445107)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'2-脫粒軸-A3.dwg (70KB)', click:'getBookinfo(8445108)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'3-上蓋-A1.dwg (68KB)', click:'getBookinfo(8445109)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'4-柵格-A1.dwg (54KB)', click:'getBookinfo(8445110)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'5-新進(jìn)料口3-A2.dwg (43KB)', click:'getBookinfo(8445111)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'6-新入料斗1-A3.dwg (54KB)', click:'getBookinfo(8445112)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'7-釘齒-A4.dwg (43KB)', click:'getBookinfo(8445113)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'8-新釘齒條1-A2.dwg (49KB)', click:'getBookinfo(8445114)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'9-新釘齒條2-A2.dwg (48KB)', click:'getBookinfo(8445115)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'【CAD圖紙-預(yù)覽】.pdf (503KB)', click:'getBookinfo(8445116)', icon:'/Images/filetype/PDF16.PNG'},{ id:'00016', pId:'1', name:'摘要,目錄.doc (38KB)', click:'getBookinfo(8445117)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00017', pId:'1', name:'說明書-10878字-25頁.doc (528KB)', click:'getBookinfo(8445118)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'【nj004】小型玉米脫粒機入料和脫粒裝置的設(shè)計【2a0】【含14張cad圖和論文】【農(nóng)業(yè)機械類畢業(yè)設(shè)計論文】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'1-脫粒部分主裝配圖-A2.dwg',url:'http://m.facezit.com/p-8445102.html', target:'_blank' },{ id:'00002', pId:'1', name:'10-新釘齒條3-A2.dwg',url:'http://m.facezit.com/p-8445103.html', target:'_blank' },{ id:'00003', pId:'1', name:'11-新釘齒條4-A2.dwg',url:'http://m.facezit.com/p-8445104.html', target:'_blank' },{ id:'00004', pId:'1', name:'12-柵格托架-A3.dwg',url:'http://m.facezit.com/p-8445105.html', target:'_blank' },{ id:'00005', pId:'1', name:'13-新圓盤-A3.dwg',url:'http://m.facezit.com/p-8445106.html', target:'_blank' },{ id:'00006', pId:'1', name:'14-支撐桿-A4.dwg',url:'http://m.facezit.com/p-8445107.html', target:'_blank' },{ id:'00007', pId:'1', name:'2-脫粒軸-A3.dwg',url:'http://m.facezit.com/p-8445108.html', target:'_blank' },{ id:'00008', pId:'1', name:'3-上蓋-A1.dwg',url:'http://m.facezit.com/p-8445109.html', target:'_blank' },{ id:'00009', pId:'1', name:'4-柵格-A1.dwg',url:'http://m.facezit.com/p-8445110.html', target:'_blank' },{ id:'00010', pId:'1', name:'5-新進(jìn)料口3-A2.dwg',url:'http://m.facezit.com/p-8445111.html', target:'_blank' },{ id:'00011', pId:'1', name:'6-新入料斗1-A3.dwg',url:'http://m.facezit.com/p-8445112.html', target:'_blank' },{ id:'00012', pId:'1', name:'7-釘齒-A4.dwg',url:'http://m.facezit.com/p-8445113.html', target:'_blank' },{ id:'00013', pId:'1', name:'8-新釘齒條1-A2.dwg',url:'http://m.facezit.com/p-8445114.html', target:'_blank' },{ id:'00014', pId:'1', name:'9-新釘齒條2-A2.dwg',url:'http://m.facezit.com/p-8445115.html', target:'_blank' },{ id:'00015', pId:'1', name:'【CAD圖紙-預(yù)覽】.pdf',url:'http://m.facezit.com/p-8445116.html', target:'_blank' },{ id:'00016', pId:'1', name:'摘要,目錄.doc',url:'http://m.facezit.com/p-8445117.html', target:'_blank' },{ id:'00017', pId:'1', name:'說明書-10878字-25頁.doc',url:'http://m.facezit.com/p-8445118.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 = '7251748'; 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; }); });