'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'減速器機(jī)體工藝規(guī)程及工裝夾具設(shè)計【鉆孔8φ13夾具】【單級下箱體】【8張圖紙】【優(yōu)秀】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'減速器機(jī)體工藝規(guī)程及工裝夾具設(shè)計說明書.doc (2063KB)', click:'getBookinfo(8676356)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'減速器裝配圖.dwg (239KB)', click:'getBookinfo(8676357)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'外文翻譯--鉆模與夾具.doc (29KB)', click:'getBookinfo(8676358)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'工藝1.dwg (33KB)', click:'getBookinfo(8676359)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'工藝2.dwg (32KB)', click:'getBookinfo(8676360)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'工藝3.dwg (44KB)', click:'getBookinfo(8676361)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'工藝卡片.dwg (146KB)', click:'getBookinfo(8676362)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'機(jī)體零件圖.dwg (94KB)', click:'getBookinfo(8676363)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'論文格式.doc (177KB)', click:'getBookinfo(8676364)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'鉆孔8-Φ13夾具裝配圖.dwg (93KB)', click:'getBookinfo(8676365)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'鉆孔8-Φ13夾具零件圖.dwg (36KB)', click:'getBookinfo(8676366)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'減速器機(jī)體工藝規(guī)程及工裝夾具設(shè)計【鉆孔8φ13夾具】【單級下箱體】【8張圖紙】【優(yōu)秀】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'減速器機(jī)體工藝規(guī)程及工裝夾具設(shè)計說明書.doc',url:'http://m.facezit.com/p-8676356.html', target:'_blank' },{ id:'00002', pId:'1', name:'減速器裝配圖.dwg',url:'http://m.facezit.com/p-8676357.html', target:'_blank' },{ id:'00003', pId:'1', name:'外文翻譯--鉆模與夾具.doc',url:'http://m.facezit.com/p-8676358.html', target:'_blank' },{ id:'00004', pId:'1', name:'工藝1.dwg',url:'http://m.facezit.com/p-8676359.html', target:'_blank' },{ id:'00005', pId:'1', name:'工藝2.dwg',url:'http://m.facezit.com/p-8676360.html', target:'_blank' },{ id:'00006', pId:'1', name:'工藝3.dwg',url:'http://m.facezit.com/p-8676361.html', target:'_blank' },{ id:'00007', pId:'1', name:'工藝卡片.dwg',url:'http://m.facezit.com/p-8676362.html', target:'_blank' },{ id:'00008', pId:'1', name:'機(jī)體零件圖.dwg',url:'http://m.facezit.com/p-8676363.html', target:'_blank' },{ id:'00009', pId:'1', name:'論文格式.doc',url:'http://m.facezit.com/p-8676364.html', target:'_blank' },{ id:'00010', pId:'1', name:'鉆孔8-Φ13夾具裝配圖.dwg',url:'http://m.facezit.com/p-8676365.html', target:'_blank' },{ id:'00011', pId:'1', name:'鉆孔8-Φ13夾具零件圖.dwg',url:'http://m.facezit.com/p-8676366.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 = '7257958'; 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; }); });