'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'半自動液壓專用銑床液壓系統(tǒng)設(shè)計(論文dwg圖紙).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'半自動液壓專用銑床液壓系統(tǒng)設(shè)計(論文+DWG圖紙) (包含12個文件)', },{ id:'0000100001', pId:'00001', name:'A0圖紙 刀庫裝配圖.dwg (590KB)', click:'getBookinfo(8710586)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'A2圖紙 零件圖.dwg (132KB)', click:'getBookinfo(8710587)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'A3圖紙 液壓控制圖.dwg (57KB)', click:'getBookinfo(8710588)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'AD.dwg (78KB)', click:'getBookinfo(8710589)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'SDrawing111.dwg (106KB)', click:'getBookinfo(8710590)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'半自動液壓專用銑床液壓系統(tǒng)設(shè)計.doc (586KB)', click:'getBookinfo(8710591)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'導(dǎo)向套.dwg (37KB)', click:'getBookinfo(8710592)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'工序卡.dwg (51KB)', click:'getBookinfo(8710593)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'工序卡1.dwg (48KB)', click:'getBookinfo(8710594)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'活塞桿.dwg (41KB)', click:'getBookinfo(8710595)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'過程卡片.dwg (49KB)', click:'getBookinfo(8710596)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'運動簡圖.dwg (50KB)', click:'getBookinfo(8710597)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'半自動液壓專用銑床液壓系統(tǒng)設(shè)計(論文dwg圖紙).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'A0圖紙 刀庫裝配圖.dwg',url:'http://m.facezit.com/p-8710586.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'A2圖紙 零件圖.dwg',url:'http://m.facezit.com/p-8710587.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'A3圖紙 液壓控制圖.dwg',url:'http://m.facezit.com/p-8710588.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'AD.dwg',url:'http://m.facezit.com/p-8710589.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'SDrawing111.dwg',url:'http://m.facezit.com/p-8710590.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'半自動液壓專用銑床液壓系統(tǒng)設(shè)計.doc',url:'http://m.facezit.com/p-8710591.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'導(dǎo)向套.dwg',url:'http://m.facezit.com/p-8710592.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'工序卡.dwg',url:'http://m.facezit.com/p-8710593.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'工序卡1.dwg',url:'http://m.facezit.com/p-8710594.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'活塞桿.dwg',url:'http://m.facezit.com/p-8710595.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'過程卡片.dwg',url:'http://m.facezit.com/p-8710596.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'運動簡圖.dwg',url:'http://m.facezit.com/p-8710597.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 = '3433511'; 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; }); });