'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'空心齒輪軸零件工藝規(guī)程及其銑左端鍵槽工裝夾具設計【卡片】【7張圖紙】【優(yōu)秀】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'半圓形上蓋.dwg (19KB)', click:'getBookinfo(8137380)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'半圓形下座.dwg (27KB)', click:'getBookinfo(8137381)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'工序卡片1.doc (51KB)', click:'getBookinfo(8137382)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'工序卡片2.doc (48KB)', click:'getBookinfo(8137383)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'工序卡片3.doc (43KB)', click:'getBookinfo(8137384)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'工序卡片4.doc (45KB)', click:'getBookinfo(8137385)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'工序卡片5.doc (46KB)', click:'getBookinfo(8137386)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'工序卡片6.doc (45KB)', click:'getBookinfo(8137387)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'工序卡片7.doc (44KB)', click:'getBookinfo(8137388)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'工藝過程卡.doc (47KB)', click:'getBookinfo(8137389)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'弧形壓塊.dwg (25KB)', click:'getBookinfo(8137390)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'空心齒輪軸毛坯圖.dwg (33KB)', click:'getBookinfo(8137391)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'空心齒輪軸零件圖.dwg (34KB)', click:'getBookinfo(8137392)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'空心齒輪軸零件工藝規(guī)程及其銑左端鍵槽工裝夾具設計說明書.doc (447KB)', click:'getBookinfo(8137393)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'銑左端鍵槽夾具體.dwg (46KB)', click:'getBookinfo(8137394)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'銑左端鍵槽夾具裝配圖.dwg (79KB)', click:'getBookinfo(8137395)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'空心齒輪軸零件工藝規(guī)程及其銑左端鍵槽工裝夾具設計【卡片】【7張圖紙】【優(yōu)秀】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'半圓形上蓋.dwg',url:'http://m.facezit.com/p-8137380.html', target:'_blank' },{ id:'00002', pId:'1', name:'半圓形下座.dwg',url:'http://m.facezit.com/p-8137381.html', target:'_blank' },{ id:'00003', pId:'1', name:'工序卡片1.doc',url:'http://m.facezit.com/p-8137382.html', target:'_blank' },{ id:'00004', pId:'1', name:'工序卡片2.doc',url:'http://m.facezit.com/p-8137383.html', target:'_blank' },{ id:'00005', pId:'1', name:'工序卡片3.doc',url:'http://m.facezit.com/p-8137384.html', target:'_blank' },{ id:'00006', pId:'1', name:'工序卡片4.doc',url:'http://m.facezit.com/p-8137385.html', target:'_blank' },{ id:'00007', pId:'1', name:'工序卡片5.doc',url:'http://m.facezit.com/p-8137386.html', target:'_blank' },{ id:'00008', pId:'1', name:'工序卡片6.doc',url:'http://m.facezit.com/p-8137387.html', target:'_blank' },{ id:'00009', pId:'1', name:'工序卡片7.doc',url:'http://m.facezit.com/p-8137388.html', target:'_blank' },{ id:'00010', pId:'1', name:'工藝過程卡.doc',url:'http://m.facezit.com/p-8137389.html', target:'_blank' },{ id:'00011', pId:'1', name:'弧形壓塊.dwg',url:'http://m.facezit.com/p-8137390.html', target:'_blank' },{ id:'00012', pId:'1', name:'空心齒輪軸毛坯圖.dwg',url:'http://m.facezit.com/p-8137391.html', target:'_blank' },{ id:'00013', pId:'1', name:'空心齒輪軸零件圖.dwg',url:'http://m.facezit.com/p-8137392.html', target:'_blank' },{ id:'00014', pId:'1', name:'空心齒輪軸零件工藝規(guī)程及其銑左端鍵槽工裝夾具設計說明書.doc',url:'http://m.facezit.com/p-8137393.html', target:'_blank' },{ id:'00015', pId:'1', name:'銑左端鍵槽夾具體.dwg',url:'http://m.facezit.com/p-8137394.html', target:'_blank' },{ id:'00016', pId:'1', name:'銑左端鍵槽夾具裝配圖.dwg',url:'http://m.facezit.com/p-8137395.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 = '3524680'; 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; }); });