'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'1492制定支架零件圖58的加工工藝,設(shè)計鉆2215;φ14孔的鉆床夾具.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'制定支架零件(圖5-8)的加工工藝,設(shè)計鉆2×Φ14孔的鉆床夾具 (包含17個文件)', },{ id:'0000100001', pId:'00001', name:'Φ38孔定位軸 (2).dwg (93KB)', click:'getBookinfo(8252660)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'Φ38孔定位軸.dwg (79KB)', click:'getBookinfo(8252661)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'夾具 (2).dwg (144KB)', click:'getBookinfo(8252662)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'夾具.dwg (209KB)', click:'getBookinfo(8252663)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'夾具體 (2).dwg (104KB)', click:'getBookinfo(8252664)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'夾具體.dwg (121KB)', click:'getBookinfo(8252665)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'封面 (2).doc (54KB)', click:'getBookinfo(8252666)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'封面.doc (62KB)', click:'getBookinfo(8252667)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'工序卡 (2).doc (37KB)', click:'getBookinfo(8252668)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'工序卡.doc (207KB)', click:'getBookinfo(8252669)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'工藝過程卡 (2).doc (37KB)', click:'getBookinfo(8252670)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'工藝過程卡.doc (57KB)', click:'getBookinfo(8252671)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'支架 (2).dwg (130KB)', click:'getBookinfo(8252672)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'支架.dwg (129KB)', click:'getBookinfo(8252673)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'機械制造技術(shù)基礎(chǔ)課程設(shè)計.doc (147KB)', click:'getBookinfo(8252674)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'設(shè)計說明書.doc (147KB)', click:'getBookinfo(8252675)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100017', pId:'00001', name:'鉆模板.dwg (85KB)', click:'getBookinfo(8252676)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'1492制定支架零件圖58的加工工藝,設(shè)計鉆2215;φ14孔的鉆床夾具.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'Φ38孔定位軸 (2).dwg',url:'http://m.facezit.com/p-8252660.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'Φ38孔定位軸.dwg',url:'http://m.facezit.com/p-8252661.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'夾具 (2).dwg',url:'http://m.facezit.com/p-8252662.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'夾具.dwg',url:'http://m.facezit.com/p-8252663.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'夾具體 (2).dwg',url:'http://m.facezit.com/p-8252664.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'夾具體.dwg',url:'http://m.facezit.com/p-8252665.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'封面 (2).doc',url:'http://m.facezit.com/p-8252666.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'封面.doc',url:'http://m.facezit.com/p-8252667.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'工序卡 (2).doc',url:'http://m.facezit.com/p-8252668.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'工序卡.doc',url:'http://m.facezit.com/p-8252669.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'工藝過程卡 (2).doc',url:'http://m.facezit.com/p-8252670.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'工藝過程卡.doc',url:'http://m.facezit.com/p-8252671.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'支架 (2).dwg',url:'http://m.facezit.com/p-8252672.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'支架.dwg',url:'http://m.facezit.com/p-8252673.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'機械制造技術(shù)基礎(chǔ)課程設(shè)計.doc',url:'http://m.facezit.com/p-8252674.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'設(shè)計說明書.doc',url:'http://m.facezit.com/p-8252675.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'鉆模板.dwg',url:'http://m.facezit.com/p-8252676.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 = '6332171'; 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; }); });