'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'0127履帶式推土機(jī)設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'0127-履帶式推土機(jī) (包含23個文件)', },{ id:'0000100001', pId:'00001', name:'10 推土鏟0.dwg (75KB)', click:'getBookinfo(8386334)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'11 主刀片0.dwg (44KB)', click:'getBookinfo(8386335)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'12 側(cè)刀片0.dwg (42KB)', click:'getBookinfo(8386336)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'13 上加筋板0.dwg (45KB)', click:'getBookinfo(8386337)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'1總裝圖0.dwg (108KB)', click:'getBookinfo(8386338)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'2 頂推架0.dwg (47KB)', click:'getBookinfo(8386339)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'4 垂直撐桿0.dwg (49KB)', click:'getBookinfo(8386340)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'5 水平撐桿0.fdwg.dwg (51KB)', click:'getBookinfo(8386341)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'6 頂推架銷軸0.dwg (43KB)', click:'getBookinfo(8386342)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'垂直撐桿.png (8KB)', click:'getBookinfo(8386343)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'總.dwg (57KB)', click:'getBookinfo(8386344)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'總裝圖.png (14KB)', click:'getBookinfo(8386345)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'推土鏟.png (12KB)', click:'getBookinfo(8386346)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'摘要.png (99KB)', click:'getBookinfo(8386347)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'新建 文本文檔.txt (0KB)', click:'getBookinfo(8386348)', icon:'/Images/filetype/TXT16.PNG'},{ id:'0000100016', pId:'00001', name:'水平撐桿.png (8KB)', click:'getBookinfo(8386349)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100017', pId:'00001', name:'液壓缸0.dwg (48KB)', click:'getBookinfo(8386350)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100018', pId:'00001', name:'目錄.png (69KB)', click:'getBookinfo(8386351)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100019', pId:'00001', name:'設(shè)計說明書.png (397KB)', click:'getBookinfo(8386352)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100020', pId:'00001', name:'說明書1.doc (1267KB)', click:'getBookinfo(8386353)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100021', pId:'00001', name:'說明書第二部分.doc (134KB)', click:'getBookinfo(8386354)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100022', pId:'00001', name:'頂推架.png (5KB)', click:'getBookinfo(8386355)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100023', pId:'00001', name:'頂推架銷軸.png (9KB)', click:'getBookinfo(8386356)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'0127履帶式推土機(jī)設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'10 推土鏟0.dwg',url:'http://m.facezit.com/p-8386334.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'11 主刀片0.dwg',url:'http://m.facezit.com/p-8386335.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'12 側(cè)刀片0.dwg',url:'http://m.facezit.com/p-8386336.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'13 上加筋板0.dwg',url:'http://m.facezit.com/p-8386337.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'1總裝圖0.dwg',url:'http://m.facezit.com/p-8386338.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'2 頂推架0.dwg',url:'http://m.facezit.com/p-8386339.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'4 垂直撐桿0.dwg',url:'http://m.facezit.com/p-8386340.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'5 水平撐桿0.fdwg.dwg',url:'http://m.facezit.com/p-8386341.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'6 頂推架銷軸0.dwg',url:'http://m.facezit.com/p-8386342.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'垂直撐桿.png',url:'http://m.facezit.com/p-8386343.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'總.dwg',url:'http://m.facezit.com/p-8386344.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'總裝圖.png',url:'http://m.facezit.com/p-8386345.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'推土鏟.png',url:'http://m.facezit.com/p-8386346.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'摘要.png',url:'http://m.facezit.com/p-8386347.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'新建 文本文檔.txt',url:'http://m.facezit.com/p-8386348.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'水平撐桿.png',url:'http://m.facezit.com/p-8386349.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'液壓缸0.dwg',url:'http://m.facezit.com/p-8386350.html', target:'_blank' },{ id:'0000100018', pId:'00001', name:'目錄.png',url:'http://m.facezit.com/p-8386351.html', target:'_blank' },{ id:'0000100019', pId:'00001', name:'設(shè)計說明書.png',url:'http://m.facezit.com/p-8386352.html', target:'_blank' },{ id:'0000100020', pId:'00001', name:'說明書1.doc',url:'http://m.facezit.com/p-8386353.html', target:'_blank' },{ id:'0000100021', pId:'00001', name:'說明書第二部分.doc',url:'http://m.facezit.com/p-8386354.html', target:'_blank' },{ id:'0000100022', pId:'00001', name:'頂推架.png',url:'http://m.facezit.com/p-8386355.html', target:'_blank' },{ id:'0000100023', pId:'00001', name:'頂推架銷軸.png',url:'http://m.facezit.com/p-8386356.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 = '7245475'; 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; }); });