'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'2kw水平軸家用風力發(fā)電機設計【16張cad圖紙和說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'2.A1圖紙(4幅).dwg (170KB)', click:'getBookinfo(8395192)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'2.A2圖紙(4幅).dwg (151KB)', click:'getBookinfo(8395193)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'2KW水平軸家用風力發(fā)電機設計論文.doc (2149KB)', click:'getBookinfo(8395194)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'任務書.doc (11KB)', click:'getBookinfo(8395195)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'減壓閥.dwg (150KB)', click:'getBookinfo(8395196)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'加氣口接頭.dwg (78KB)', click:'getBookinfo(8395197)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'加氣裝置加氣口.dwg (80KB)', click:'getBookinfo(8395198)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'增速器裝配圖A0.dwg (288KB)', click:'getBookinfo(8395199)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'定子、轉子.dwg (50KB)', click:'getBookinfo(8395200)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'總體圖.dwg (217KB)', click:'getBookinfo(8395201)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'截止閥閥芯.dwg (70KB)', click:'getBookinfo(8395202)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'目錄.doc (55KB)', click:'getBookinfo(8395203)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'風葉數(shù)據(jù).dwg (150KB)', click:'getBookinfo(8395204)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'2kw水平軸家用風力發(fā)電機設計【16張cad圖紙和說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'2.A1圖紙(4幅).dwg',url:'http://m.facezit.com/p-8395192.html', target:'_blank' },{ id:'00002', pId:'1', name:'2.A2圖紙(4幅).dwg',url:'http://m.facezit.com/p-8395193.html', target:'_blank' },{ id:'00003', pId:'1', name:'2KW水平軸家用風力發(fā)電機設計論文.doc',url:'http://m.facezit.com/p-8395194.html', target:'_blank' },{ id:'00004', pId:'1', name:'任務書.doc',url:'http://m.facezit.com/p-8395195.html', target:'_blank' },{ id:'00005', pId:'1', name:'減壓閥.dwg',url:'http://m.facezit.com/p-8395196.html', target:'_blank' },{ id:'00006', pId:'1', name:'加氣口接頭.dwg',url:'http://m.facezit.com/p-8395197.html', target:'_blank' },{ id:'00007', pId:'1', name:'加氣裝置加氣口.dwg',url:'http://m.facezit.com/p-8395198.html', target:'_blank' },{ id:'00008', pId:'1', name:'增速器裝配圖A0.dwg',url:'http://m.facezit.com/p-8395199.html', target:'_blank' },{ id:'00009', pId:'1', name:'定子、轉子.dwg',url:'http://m.facezit.com/p-8395200.html', target:'_blank' },{ id:'00010', pId:'1', name:'總體圖.dwg',url:'http://m.facezit.com/p-8395201.html', target:'_blank' },{ id:'00011', pId:'1', name:'截止閥閥芯.dwg',url:'http://m.facezit.com/p-8395202.html', target:'_blank' },{ id:'00012', pId:'1', name:'目錄.doc',url:'http://m.facezit.com/p-8395203.html', target:'_blank' },{ id:'00013', pId:'1', name:'風葉數(shù)據(jù).dwg',url:'http://m.facezit.com/p-8395204.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 = '7246297'; 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; }); });