'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'分離式機器床椅設(shè)計【含cad圖紙、三維模型】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'catia三維 (包含11個文件)', },{ id:'0000100001', pId:'00001', name:'ATLAS45_b.CATPart (142KB)', },{ id:'0000100002', pId:'00001', name:'ATLAS45_c.CATPart (91KB)', },{ id:'0000100003', pId:'00001', name:'ATLAS45_s.CATPart (87KB)', },{ id:'0000100004', pId:'00001', name:'C_CTCS100_R_b.CATPart (182KB)', },{ id:'0000100005', pId:'00001', name:'C_CTCS100_R_m.CATPart (95KB)', },{ id:'0000100006', pId:'00001', name:'C_CTCS100_R_w.CATPart (179KB)', },{ id:'0000100007', pId:'00001', name:'fenlichuang.CATProduct (33KB)', },{ id:'0000100008', pId:'00001', name:'HSTM42-1.8-S-60_AP214_step.CATPart (405KB)', },{ id:'0000100009', pId:'00001', name:'PJLR10_5b.CATPart (80KB)', },{ id:'0000100010', pId:'00001', name:'PJLR10_5p.CATPart (70KB)', },{ id:'0000100011', pId:'00001', name:'_NPart#235.CATPart (3204KB)', },{ id:'00002', pId:'1', name:'分離式機器床椅.avi (1318KB)', },{ id:'00003', pId:'1', name:'分離式機器床椅設(shè)計答辯稿.pptx (1642KB)', click:'getBookinfo(8376205)', icon:'/Images/filetype/PPT16.PNG'},{ id:'00004', pId:'1', name:'分離式機器床椅設(shè)計說明書.doc (2959KB)', click:'getBookinfo(8376206)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'床.dwg (239KB)', click:'getBookinfo(8376207)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'總圖.dwg (276KB)', click:'getBookinfo(8376208)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'支撐架.dwg (376KB)', click:'getBookinfo(8376209)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'滑槽.dwg (388KB)', click:'getBookinfo(8376210)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'滑軌.dwg (385KB)', click:'getBookinfo(8376211)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'背板支架.dwg (383KB)', click:'getBookinfo(8376212)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'足板支架.dwg (376KB)', click:'getBookinfo(8376213)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'輪椅.dwg (191KB)', click:'getBookinfo(8376214)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'分離式機器床椅設(shè)計【含cad圖紙、三維模型】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00003', pId:'1', name:'分離式機器床椅設(shè)計答辯稿.pptx',url:'http://m.facezit.com/p-8376205.html', target:'_blank' },{ id:'00004', pId:'1', name:'分離式機器床椅設(shè)計說明書.doc',url:'http://m.facezit.com/p-8376206.html', target:'_blank' },{ id:'00005', pId:'1', name:'床.dwg',url:'http://m.facezit.com/p-8376207.html', target:'_blank' },{ id:'00006', pId:'1', name:'總圖.dwg',url:'http://m.facezit.com/p-8376208.html', target:'_blank' },{ id:'00007', pId:'1', name:'支撐架.dwg',url:'http://m.facezit.com/p-8376209.html', target:'_blank' },{ id:'00008', pId:'1', name:'滑槽.dwg',url:'http://m.facezit.com/p-8376210.html', target:'_blank' },{ id:'00009', pId:'1', name:'滑軌.dwg',url:'http://m.facezit.com/p-8376211.html', target:'_blank' },{ id:'00010', pId:'1', name:'背板支架.dwg',url:'http://m.facezit.com/p-8376212.html', target:'_blank' },{ id:'00011', pId:'1', name:'足板支架.dwg',url:'http://m.facezit.com/p-8376213.html', target:'_blank' },{ id:'00012', pId:'1', name:'輪椅.dwg',url:'http://m.facezit.com/p-8376214.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 = '7123604'; 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; }); });