'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'底板座架加工工藝及鉆φ36孔夾具設(shè)計【cad圖紙和說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'底板座架 3-鉆φ36孔 (包含13個文件)', },{ id:'0000100001', pId:'00001', name:'參考.doc (1177KB)', click:'getBookinfo(8338197)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'工序卡1.doc (66KB)', click:'getBookinfo(8338198)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'工序卡2.doc (190KB)', click:'getBookinfo(8338199)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'工序卡3.doc (58KB)', click:'getBookinfo(8338200)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'工序卡4.doc (140KB)', click:'getBookinfo(8338201)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'工序卡5.doc (140KB)', click:'getBookinfo(8338202)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'工藝過程卡.doc (111KB)', click:'getBookinfo(8338203)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'底板座架毛坯圖.DWG (86KB)', click:'getBookinfo(8338204)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'目錄.doc (13KB)', click:'getBookinfo(8338205)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'設(shè)計說明書.doc (1535KB)', click:'getBookinfo(8338206)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'鉆孔夾具體圖.dwg (47KB)', click:'getBookinfo(8338207)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'鉆孔夾具裝配圖.dwg (54KB)', click:'getBookinfo(8338208)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'零件圖.DWG (53KB)', click:'getBookinfo(8338209)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'底板座架加工工藝及鉆φ36孔夾具設(shè)計【cad圖紙和說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'參考.doc',url:'http://m.facezit.com/p-8338197.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'工序卡1.doc',url:'http://m.facezit.com/p-8338198.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'工序卡2.doc',url:'http://m.facezit.com/p-8338199.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'工序卡3.doc',url:'http://m.facezit.com/p-8338200.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'工序卡4.doc',url:'http://m.facezit.com/p-8338201.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'工序卡5.doc',url:'http://m.facezit.com/p-8338202.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'工藝過程卡.doc',url:'http://m.facezit.com/p-8338203.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'底板座架毛坯圖.DWG',url:'http://m.facezit.com/p-8338204.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'目錄.doc',url:'http://m.facezit.com/p-8338205.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'設(shè)計說明書.doc',url:'http://m.facezit.com/p-8338206.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'鉆孔夾具體圖.dwg',url:'http://m.facezit.com/p-8338207.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'鉆孔夾具裝配圖.dwg',url:'http://m.facezit.com/p-8338208.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'零件圖.DWG',url:'http://m.facezit.com/p-8338209.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 = '6840651'; 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; }); });