'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'ca6140車床數(shù)控化改造【說明書cad】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'265 CA6140車床數(shù)控化改造【說明書+CAD】 (包含15個文件)', },{ id:'0000100001', pId:'00001', name:'上刀架體-A2.dwg (83KB)', click:'getBookinfo(8709224)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'絲桿-A3.dwg (72KB)', click:'getBookinfo(8709225)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'刀架-A2.dwg (99KB)', click:'getBookinfo(8709226)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'刀架螺桿-A2.dwg (95KB)', click:'getBookinfo(8709227)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'加粗的滾珠絲杠裝配圖-A0.dwg (179KB)', click:'getBookinfo(8709228)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'已知條件.doc (26KB)', click:'getBookinfo(8709229)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'床鞍裝配圖-A0.dwg (234KB)', click:'getBookinfo(8709230)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'開題報告.doc (34KB)', click:'getBookinfo(8709231)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'橫向進給系統(tǒng)裝配圖-A0.dwg (170KB)', click:'getBookinfo(8709232)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'步進電機外形-A3.dwg (76KB)', click:'getBookinfo(8709233)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'畢業(yè)設計說明書.doc (368KB)', click:'getBookinfo(8709234)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'直齒輪-A3.dwg (77KB)', click:'getBookinfo(8709235)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'縱向進給裝配圖-A0.dwg (171KB)', click:'getBookinfo(8709236)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'調節(jié)盤-A2.dwg (93KB)', click:'getBookinfo(8709237)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'車床數(shù)控改造設計電路原理圖-A2.dwg (109KB)', click:'getBookinfo(8709238)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'ca6140車床數(shù)控化改造【說明書cad】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'上刀架體-A2.dwg',url:'http://m.facezit.com/p-8709224.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'絲桿-A3.dwg',url:'http://m.facezit.com/p-8709225.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'刀架-A2.dwg',url:'http://m.facezit.com/p-8709226.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'刀架螺桿-A2.dwg',url:'http://m.facezit.com/p-8709227.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'加粗的滾珠絲杠裝配圖-A0.dwg',url:'http://m.facezit.com/p-8709228.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'已知條件.doc',url:'http://m.facezit.com/p-8709229.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'床鞍裝配圖-A0.dwg',url:'http://m.facezit.com/p-8709230.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'開題報告.doc',url:'http://m.facezit.com/p-8709231.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'橫向進給系統(tǒng)裝配圖-A0.dwg',url:'http://m.facezit.com/p-8709232.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'步進電機外形-A3.dwg',url:'http://m.facezit.com/p-8709233.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'畢業(yè)設計說明書.doc',url:'http://m.facezit.com/p-8709234.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'直齒輪-A3.dwg',url:'http://m.facezit.com/p-8709235.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'縱向進給裝配圖-A0.dwg',url:'http://m.facezit.com/p-8709236.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'調節(jié)盤-A2.dwg',url:'http://m.facezit.com/p-8709237.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'車床數(shù)控改造設計電路原理圖-A2.dwg',url:'http://m.facezit.com/p-8709238.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 = '3433326'; 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; }); });