'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'【zs精品】抽油機機械系統(tǒng)設(shè)計【全套cad圖紙畢業(yè)論文】【答辯優(yōu)秀】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'抽油機機械系統(tǒng)設(shè)計(常規(guī)型) (包含11個文件)', },{ id:'0000100001', pId:'00001', name:'A0-總裝配圖.dwg (257KB)', click:'getBookinfo(8476271)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'A1-減速器裝配圖.dwg (218KB)', click:'getBookinfo(8476272)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'A1-支架.dwg (118KB)', click:'getBookinfo(8476273)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'A1-曲柄+平衡重.dwg (71KB)', click:'getBookinfo(8476274)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'A1-驢頭.dwg (63KB)', click:'getBookinfo(8476275)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'A2-帶輪輻條式.dwg (58KB)', click:'getBookinfo(8476276)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'A2-橫梁.dwg (105KB)', click:'getBookinfo(8476277)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'A2-游梁+橫梁+連桿.dwg (158KB)', click:'getBookinfo(8476278)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'任務(wù)書.doc (25KB)', click:'getBookinfo(8476279)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'抽油機機械系統(tǒng)設(shè)計說明書.doc (748KB)', click:'getBookinfo(8476280)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'連桿.dwg (102KB)', click:'getBookinfo(8476281)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'【zs精品】抽油機機械系統(tǒng)設(shè)計【全套cad圖紙畢業(yè)論文】【答辯優(yōu)秀】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'A0-總裝配圖.dwg',url:'http://m.facezit.com/p-8476271.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'A1-減速器裝配圖.dwg',url:'http://m.facezit.com/p-8476272.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'A1-支架.dwg',url:'http://m.facezit.com/p-8476273.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'A1-曲柄+平衡重.dwg',url:'http://m.facezit.com/p-8476274.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'A1-驢頭.dwg',url:'http://m.facezit.com/p-8476275.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'A2-帶輪輻條式.dwg',url:'http://m.facezit.com/p-8476276.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'A2-橫梁.dwg',url:'http://m.facezit.com/p-8476277.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'A2-游梁+橫梁+連桿.dwg',url:'http://m.facezit.com/p-8476278.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'任務(wù)書.doc',url:'http://m.facezit.com/p-8476279.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'抽油機機械系統(tǒng)設(shè)計說明書.doc',url:'http://m.facezit.com/p-8476280.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'連桿.dwg',url:'http://m.facezit.com/p-8476281.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 = '7254760'; 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; }); });