'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'【zs精品】可伸縮帶式輸送機設(shè)計傾角5度【含cad圖紙和文檔全套資料】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'預覽 (包含12個文件)', },{ id:'0000100001', pId:'00001', name:'1.png (18KB)', click:'getBookinfo(8472053)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'10.png (24KB)', click:'getBookinfo(8472054)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'11.png (47KB)', click:'getBookinfo(8472055)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'12.png (25KB)', click:'getBookinfo(8472056)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'2.png (16KB)', click:'getBookinfo(8472057)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'3.png (14KB)', click:'getBookinfo(8472058)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'4.png (16KB)', click:'getBookinfo(8472059)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'5.png (20KB)', click:'getBookinfo(8472060)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'6.png (20KB)', click:'getBookinfo(8472061)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'7.png (11KB)', click:'getBookinfo(8472062)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'8.png (34KB)', click:'getBookinfo(8472063)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'9.png (62KB)', click:'getBookinfo(8472064)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'傳動滾筒A2.dwg (146KB)', click:'getBookinfo(8472065)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'傳動滾筒軸A2.dwg (101KB)', click:'getBookinfo(8472066)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'參考用.rar (1282KB)', click:'getBookinfo(8472067)', icon:'/Images/filetype/RAR16.PNG'},{ id:'00005', pId:'1', name:'可伸縮帶式輸送機設(shè)計畢業(yè)設(shè)計論文(定稿).doc (2602KB)', click:'getBookinfo(8472068)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'外文+中文翻譯--減速器.doc (50KB)', click:'getBookinfo(8472069)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'張緊裝置.dwg (225KB)', click:'getBookinfo(8472070)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'張緊裝配圖.dwg (220KB)', click:'getBookinfo(8472071)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'總裝配圖(修改).dwg (497KB)', click:'getBookinfo(8472072)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'液壓系統(tǒng)原理圖.dwg (85KB)', click:'getBookinfo(8472073)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'液壓缸設(shè)計.dwg (113KB)', click:'getBookinfo(8472074)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'【zs精品】可伸縮帶式輸送機設(shè)計傾角5度【含cad圖紙和文檔全套資料】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'1.png',url:'http://m.facezit.com/p-8472053.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'10.png',url:'http://m.facezit.com/p-8472054.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'11.png',url:'http://m.facezit.com/p-8472055.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'12.png',url:'http://m.facezit.com/p-8472056.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'2.png',url:'http://m.facezit.com/p-8472057.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'3.png',url:'http://m.facezit.com/p-8472058.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'4.png',url:'http://m.facezit.com/p-8472059.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'5.png',url:'http://m.facezit.com/p-8472060.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'6.png',url:'http://m.facezit.com/p-8472061.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'7.png',url:'http://m.facezit.com/p-8472062.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'8.png',url:'http://m.facezit.com/p-8472063.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'9.png',url:'http://m.facezit.com/p-8472064.html', target:'_blank' },{ id:'00002', pId:'1', name:'傳動滾筒A2.dwg',url:'http://m.facezit.com/p-8472065.html', target:'_blank' },{ id:'00003', pId:'1', name:'傳動滾筒軸A2.dwg',url:'http://m.facezit.com/p-8472066.html', target:'_blank' },{ id:'00004', pId:'1', name:'參考用.rar',url:'http://m.facezit.com/p-8472067.html', target:'_blank' },{ id:'00005', pId:'1', name:'可伸縮帶式輸送機設(shè)計畢業(yè)設(shè)計論文(定稿).doc',url:'http://m.facezit.com/p-8472068.html', target:'_blank' },{ id:'00006', pId:'1', name:'外文+中文翻譯--減速器.doc',url:'http://m.facezit.com/p-8472069.html', target:'_blank' },{ id:'00007', pId:'1', name:'張緊裝置.dwg',url:'http://m.facezit.com/p-8472070.html', target:'_blank' },{ id:'00008', pId:'1', name:'張緊裝配圖.dwg',url:'http://m.facezit.com/p-8472071.html', target:'_blank' },{ id:'00009', pId:'1', name:'總裝配圖(修改).dwg',url:'http://m.facezit.com/p-8472072.html', target:'_blank' },{ id:'00010', pId:'1', name:'液壓系統(tǒng)原理圖.dwg',url:'http://m.facezit.com/p-8472073.html', target:'_blank' },{ id:'00011', pId:'1', name:'液壓缸設(shè)計.dwg',url:'http://m.facezit.com/p-8472074.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 = '7254297'; 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; }); });