'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'831006精銑槽16mmca6140車床撥叉零件的機械加工工藝及工藝夾具設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'831006(精銑槽16mm)CA6140車床撥叉零件的機械加工工藝及工藝夾具設(shè)計.doc (515KB)', click:'getBookinfo(8196370)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'夾具.dwg (64KB)', click:'getBookinfo(8196371)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'工序卡01.dwg (43KB)', click:'getBookinfo(8196372)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'工序卡02.dwg (36KB)', click:'getBookinfo(8196373)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'毛坯圖.dwg (34KB)', click:'getBookinfo(8196374)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'零件圖.dwg (75KB)', click:'getBookinfo(8196375)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'零件圖01.dwg (57KB)', click:'getBookinfo(8196376)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'零件圖02.dwg (62KB)', click:'getBookinfo(8196377)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'零件圖03.dwg (53KB)', click:'getBookinfo(8196378)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'831006精銑槽16mmca6140車床撥叉零件的機械加工工藝及工藝夾具設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'831006(精銑槽16mm)CA6140車床撥叉零件的機械加工工藝及工藝夾具設(shè)計.doc',url:'http://m.facezit.com/p-8196370.html', target:'_blank' },{ id:'00002', pId:'1', name:'夾具.dwg',url:'http://m.facezit.com/p-8196371.html', target:'_blank' },{ id:'00003', pId:'1', name:'工序卡01.dwg',url:'http://m.facezit.com/p-8196372.html', target:'_blank' },{ id:'00004', pId:'1', name:'工序卡02.dwg',url:'http://m.facezit.com/p-8196373.html', target:'_blank' },{ id:'00005', pId:'1', name:'毛坯圖.dwg',url:'http://m.facezit.com/p-8196374.html', target:'_blank' },{ id:'00006', pId:'1', name:'零件圖.dwg',url:'http://m.facezit.com/p-8196375.html', target:'_blank' },{ id:'00007', pId:'1', name:'零件圖01.dwg',url:'http://m.facezit.com/p-8196376.html', target:'_blank' },{ id:'00008', pId:'1', name:'零件圖02.dwg',url:'http://m.facezit.com/p-8196377.html', target:'_blank' },{ id:'00009', pId:'1', name:'零件圖03.dwg',url:'http://m.facezit.com/p-8196378.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 = '3531121'; 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; }); });