'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'機油泵傳動軸支架加工工藝及鉆11斜孔夾具設計【帶三維圖】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'UG3D (包含10個文件)', },{ id:'0000100001', pId:'00001', name:'jiajuzhuangpeitu.prt (100KB)', },{ id:'0000100002', pId:'00001', name:'jiajuzhuangpeitu.STP (781KB)', },{ id:'0000100003', pId:'00001', name:'Part24.prt (272KB)', },{ id:'0000100004', pId:'00001', name:'Part2zhijia -shukong.prt (220KB)', },{ id:'0000100005', pId:'00001', name:'Part2zhijia -shukong.ptp (5KB)', },{ id:'0000100006', pId:'00001', name:'Part2zhijia.prt (200KB)', },{ id:'0000100007', pId:'00001', name:'Part3zhichengban.prt (108KB)', },{ id:'0000100008', pId:'00001', name:'Part4zhichengban2.prt (108KB)', },{ id:'0000100009', pId:'00001', name:'Part6zuanmoban11.prt (144KB)', },{ id:'0000100010', pId:'00001', name:'Part9chentao22.prt (96KB)', },{ id:'00002', pId:'1', name:'A3-傳動軸支架零件二維圖.DWG (108KB)', click:'getBookinfo(8543586)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'A4-鉆夾具零件-固定軸.DWG (67KB)', click:'getBookinfo(8543587)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'A4-鉆夾具零件-鉆套.DWG (82KB)', click:'getBookinfo(8543588)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'K078-機油泵傳動軸支架 鉆11斜孔夾具裝配及零件圖 - 鑄造一起.dwg (246KB)', click:'getBookinfo(8543589)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'夾具體.dwg (86KB)', click:'getBookinfo(8543590)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'整套設計說明書.doc (492KB)', click:'getBookinfo(8543591)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'機械加工工序卡片.dwg (191KB)', click:'getBookinfo(8543592)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'機械加工工藝過程卡片.dwg (54KB)', click:'getBookinfo(8543593)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'毛坯圖.DWG (82KB)', click:'getBookinfo(8543594)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'鉆11斜孔夾具設計說明書夾具部分.doc (265KB)', click:'getBookinfo(8543595)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'鉆孔夾具.dwg (137KB)', click:'getBookinfo(8543596)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'機油泵傳動軸支架加工工藝及鉆11斜孔夾具設計【帶三維圖】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00002', pId:'1', name:'A3-傳動軸支架零件二維圖.DWG',url:'http://m.facezit.com/p-8543586.html', target:'_blank' },{ id:'00003', pId:'1', name:'A4-鉆夾具零件-固定軸.DWG',url:'http://m.facezit.com/p-8543587.html', target:'_blank' },{ id:'00004', pId:'1', name:'A4-鉆夾具零件-鉆套.DWG',url:'http://m.facezit.com/p-8543588.html', target:'_blank' },{ id:'00005', pId:'1', name:'K078-機油泵傳動軸支架 鉆11斜孔夾具裝配及零件圖 - 鑄造一起.dwg',url:'http://m.facezit.com/p-8543589.html', target:'_blank' },{ id:'00006', pId:'1', name:'夾具體.dwg',url:'http://m.facezit.com/p-8543590.html', target:'_blank' },{ id:'00007', pId:'1', name:'整套設計說明書.doc',url:'http://m.facezit.com/p-8543591.html', target:'_blank' },{ id:'00008', pId:'1', name:'機械加工工序卡片.dwg',url:'http://m.facezit.com/p-8543592.html', target:'_blank' },{ id:'00009', pId:'1', name:'機械加工工藝過程卡片.dwg',url:'http://m.facezit.com/p-8543593.html', target:'_blank' },{ id:'00010', pId:'1', name:'毛坯圖.DWG',url:'http://m.facezit.com/p-8543594.html', target:'_blank' },{ id:'00011', pId:'1', name:'鉆11斜孔夾具設計說明書夾具部分.doc',url:'http://m.facezit.com/p-8543595.html', target:'_blank' },{ id:'00012', pId:'1', name:'鉆孔夾具.dwg',url:'http://m.facezit.com/p-8543596.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 = '7263287'; 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; }); });