'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'軸承座夾具設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'軸承座夾具設(shè)計 (包含15個文件)', },{ id:'0000100001', pId:'00001', name:'A3-軸承座.dwg (79KB)', click:'getBookinfo(8250048)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'A3-軸承座毛坯.dwg (80KB)', click:'getBookinfo(8250049)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'夾具體.dwg (91KB)', click:'getBookinfo(8250050)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'夾具裝配圖11.dwg (460KB)', click:'getBookinfo(8250051)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'工序卡片.dwg (53KB)', click:'getBookinfo(8250052)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'菱形銷+防護(hù)板.dwg (336KB)', click:'getBookinfo(8250053)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'裝配圖.dwg (139KB)', click:'getBookinfo(8250054)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'課程設(shè)計軸承座說明書.doc (716KB)', click:'getBookinfo(8250055)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'軸承座.dwg (87KB)', click:'getBookinfo(8250056)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'軸承座工序卡_工藝卡.doc (141KB)', click:'getBookinfo(8250057)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'軸承座毛坯.dwg (72KB)', click:'getBookinfo(8250058)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'軸承座課設(shè)工序卡.doc (582KB)', click:'getBookinfo(8250059)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'軸承座車孔專用夾具及工藝設(shè)計.doc (1508KB)', click:'getBookinfo(8250060)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'過程卡片.dwg (50KB)', click:'getBookinfo(8250061)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'錐柄.dwg (83KB)', click:'getBookinfo(8250062)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'軸承座夾具設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'A3-軸承座.dwg',url:'http://m.facezit.com/p-8250048.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'A3-軸承座毛坯.dwg',url:'http://m.facezit.com/p-8250049.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'夾具體.dwg',url:'http://m.facezit.com/p-8250050.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'夾具裝配圖11.dwg',url:'http://m.facezit.com/p-8250051.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'工序卡片.dwg',url:'http://m.facezit.com/p-8250052.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'菱形銷+防護(hù)板.dwg',url:'http://m.facezit.com/p-8250053.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'裝配圖.dwg',url:'http://m.facezit.com/p-8250054.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'課程設(shè)計軸承座說明書.doc',url:'http://m.facezit.com/p-8250055.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'軸承座.dwg',url:'http://m.facezit.com/p-8250056.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'軸承座工序卡_工藝卡.doc',url:'http://m.facezit.com/p-8250057.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'軸承座毛坯.dwg',url:'http://m.facezit.com/p-8250058.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'軸承座課設(shè)工序卡.doc',url:'http://m.facezit.com/p-8250059.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'軸承座車孔專用夾具及工藝設(shè)計.doc',url:'http://m.facezit.com/p-8250060.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'過程卡片.dwg',url:'http://m.facezit.com/p-8250061.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'錐柄.dwg',url:'http://m.facezit.com/p-8250062.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 = '6335846'; 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; }); });