'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'中型貨車驅(qū)動(dòng)橋設(shè)計(jì)【cad圖紙三維建?!?rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'驅(qū)動(dòng)橋橋殼catia建模 (包含11個(gè)文件)', },{ id:'0000100001', pId:'00001', name:'luoding1245.CATPart (226KB)', },{ id:'0000100002', pId:'00001', name:'luoding14.CATPart (223KB)', },{ id:'0000100003', pId:'00001', name:'Part1.CATPart (372KB)', },{ id:'0000100004', pId:'00001', name:'Part2.CATPart (2319KB)', },{ id:'0000100005', pId:'00001', name:'Part3.CATPart (1172KB)', },{ id:'0000100006', pId:'00001', name:'Part4.CATPart (240KB)', },{ id:'0000100007', pId:'00001', name:'Part5.CATPart (252KB)', },{ id:'0000100008', pId:'00001', name:'Product1.CATProduct (205KB)', },{ id:'0000100009', pId:'00001', name:'Product1.stp (1624KB)', },{ id:'0000100010', pId:'00001', name:'qiaokegaidianpian.CATPart (135KB)', },{ id:'0000100011', pId:'00001', name:'tiaozhengdianpian.CATPart (99KB)', },{ id:'00002', pId:'1', name:'中型貨車驅(qū)動(dòng)橋設(shè)計(jì)【帶三維】.doc (1880KB)', click:'getBookinfo(8675290)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'任務(wù)書(shū).doc (49KB)', click:'getBookinfo(8675291)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'十字軸-A3.dwg (72KB)', click:'getBookinfo(8675292)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'半軸-A3.dwg (68KB)', click:'getBookinfo(8675293)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'半軸齒輪-A3.dwg (79KB)', click:'getBookinfo(8675294)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'叉形凸緣-A3.dwg (69KB)', click:'getBookinfo(8675295)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'外文翻譯.doc (120KB)', click:'getBookinfo(8675296)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'封皮.doc (24KB)', click:'getBookinfo(8675297)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'差速器前殼-A2.dwg (82KB)', click:'getBookinfo(8675298)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'摘要目錄.doc (88KB)', click:'getBookinfo(8675299)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'設(shè)計(jì)說(shuō)明書(shū).doc (1853KB)', click:'getBookinfo(8675300)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'調(diào)整螺母-A3.dwg (68KB)', click:'getBookinfo(8675301)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'驅(qū)動(dòng)橋裝配圖-A0.dwg (167KB)', click:'getBookinfo(8675302)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'中型貨車驅(qū)動(dòng)橋設(shè)計(jì)【cad圖紙三維建?!?rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00002', pId:'1', name:'中型貨車驅(qū)動(dòng)橋設(shè)計(jì)【帶三維】.doc',url:'http://m.facezit.com/p-8675290.html', target:'_blank' },{ id:'00003', pId:'1', name:'任務(wù)書(shū).doc',url:'http://m.facezit.com/p-8675291.html', target:'_blank' },{ id:'00004', pId:'1', name:'十字軸-A3.dwg',url:'http://m.facezit.com/p-8675292.html', target:'_blank' },{ id:'00005', pId:'1', name:'半軸-A3.dwg',url:'http://m.facezit.com/p-8675293.html', target:'_blank' },{ id:'00006', pId:'1', name:'半軸齒輪-A3.dwg',url:'http://m.facezit.com/p-8675294.html', target:'_blank' },{ id:'00007', pId:'1', name:'叉形凸緣-A3.dwg',url:'http://m.facezit.com/p-8675295.html', target:'_blank' },{ id:'00008', pId:'1', name:'外文翻譯.doc',url:'http://m.facezit.com/p-8675296.html', target:'_blank' },{ id:'00009', pId:'1', name:'封皮.doc',url:'http://m.facezit.com/p-8675297.html', target:'_blank' },{ id:'00010', pId:'1', name:'差速器前殼-A2.dwg',url:'http://m.facezit.com/p-8675298.html', target:'_blank' },{ id:'00011', pId:'1', name:'摘要目錄.doc',url:'http://m.facezit.com/p-8675299.html', target:'_blank' },{ id:'00012', pId:'1', name:'設(shè)計(jì)說(shuō)明書(shū).doc',url:'http://m.facezit.com/p-8675300.html', target:'_blank' },{ id:'00013', pId:'1', name:'調(diào)整螺母-A3.dwg',url:'http://m.facezit.com/p-8675301.html', target:'_blank' },{ id:'00014', pId:'1', name:'驅(qū)動(dòng)橋裝配圖-A0.dwg',url:'http://m.facezit.com/p-8675302.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("請(qǐng)登錄!");window.location.href='login.aspx'; } } function saveJuBao() { var bookid = '7257010'; 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("您的舉報(bào)提交成功"); } else { $("#jubaoResponse h4").html("您的舉報(bào)提交失敗"); } } }); } else { alert("請(qǐng)選擇投訴類型或者數(shù)據(jù)錯(cuò)誤請(qǐng)刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });