'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'【zs精品】后鋼板彈簧吊耳加工工藝和鉆φ37孔夾具設計[機械制造課程設計]【全套cad圖紙】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'后鋼板彈簧吊耳 7-鉆φ37孔夾具設計[版本2] (包含15個文件)', },{ id:'0000100001', pId:'00001', name:'A2-毛坯圖.dwg (97KB)', click:'getBookinfo(8473136)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'A4-工序卡1.DWG (111KB)', click:'getBookinfo(8473137)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'A4-工序卡2.DWG (81KB)', click:'getBookinfo(8473138)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'A4-工序卡3.DWG (58KB)', click:'getBookinfo(8473139)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'A4-工序卡4.DWG (50KB)', click:'getBookinfo(8473140)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'A4-工藝過程卡片[1張].dwg (37KB)', click:'getBookinfo(8473141)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'夾具說明書.doc (270KB)', click:'getBookinfo(8473142)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'尾座.dwg (47KB)', click:'getBookinfo(8473143)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'工藝說明書.doc (1156KB)', click:'getBookinfo(8473144)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'手柄.dwg (48KB)', click:'getBookinfo(8473145)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'裝配圖.dwg (124KB)', click:'getBookinfo(8473146)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'說明書封面.doc (21KB)', click:'getBookinfo(8473147)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'課設任務書.doc (30KB)', click:'getBookinfo(8473148)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'課設計劃書.doc (42KB)', click:'getBookinfo(8473149)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'零件圖.dwg (64KB)', click:'getBookinfo(8473150)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'【zs精品】后鋼板彈簧吊耳加工工藝和鉆φ37孔夾具設計[機械制造課程設計]【全套cad圖紙】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'A2-毛坯圖.dwg',url:'http://m.facezit.com/p-8473136.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'A4-工序卡1.DWG',url:'http://m.facezit.com/p-8473137.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'A4-工序卡2.DWG',url:'http://m.facezit.com/p-8473138.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'A4-工序卡3.DWG',url:'http://m.facezit.com/p-8473139.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'A4-工序卡4.DWG',url:'http://m.facezit.com/p-8473140.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'A4-工藝過程卡片[1張].dwg',url:'http://m.facezit.com/p-8473141.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'夾具說明書.doc',url:'http://m.facezit.com/p-8473142.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'尾座.dwg',url:'http://m.facezit.com/p-8473143.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'工藝說明書.doc',url:'http://m.facezit.com/p-8473144.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'手柄.dwg',url:'http://m.facezit.com/p-8473145.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'裝配圖.dwg',url:'http://m.facezit.com/p-8473146.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'說明書封面.doc',url:'http://m.facezit.com/p-8473147.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'課設任務書.doc',url:'http://m.facezit.com/p-8473148.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'課設計劃書.doc',url:'http://m.facezit.com/p-8473149.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'零件圖.dwg',url:'http://m.facezit.com/p-8473150.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 = '7254414'; 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; }); });