'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'高低檔撥叉零件的機(jī)械加工工藝及鉆ф16孔的夾具設(shè)計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'【簡介截圖】高低檔撥叉零件的機(jī)械加工工藝及鉆Ф16孔的夾具設(shè)計 (包含10個文件)', },{ id:'0000100001', pId:'00001', name:'A2-鉆16孔夾具體.png (30KB)', click:'getBookinfo(8582191)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'A2-鉆16裝配圖.png (48KB)', click:'getBookinfo(8582192)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'A3-撥叉零件圖.png (32KB)', click:'getBookinfo(8582193)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'A3-毛坯圖.png (24KB)', click:'getBookinfo(8582194)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'QQ截圖20190124143452.jpg (62KB)', click:'getBookinfo(8582195)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'工藝路線.jpg (168KB)', click:'getBookinfo(8582196)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'工藝過程綜合卡片含工序圖.jpg (94KB)', click:'getBookinfo(8582197)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'機(jī)械加工工藝過程卡片.jpg (110KB)', click:'getBookinfo(8582198)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'計算.jpg (103KB)', click:'getBookinfo(8582199)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'零件作用.jpg (57KB)', click:'getBookinfo(8582200)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'A2-鉆16孔夾具體.dwg (83KB)', click:'getBookinfo(8582201)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'A2-鉆16裝配圖.dwg (157KB)', click:'getBookinfo(8582202)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'A3-撥叉零件圖.dwg (102KB)', click:'getBookinfo(8582203)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'A3-毛坯圖.dwg (91KB)', click:'getBookinfo(8582204)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'工藝過程卡片.DOC (50KB)', click:'getBookinfo(8582205)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'工藝過程綜合卡片.doc (53KB)', click:'getBookinfo(8582206)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'工藝過程綜合卡片含工序圖.doc (123KB)', click:'getBookinfo(8582207)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'目 錄.doc (28KB)', click:'getBookinfo(8582208)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'鉆16孔說明書.doc (470KB)', click:'getBookinfo(8582209)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'鉆16工序卡片.doc (49KB)', click:'getBookinfo(8582210)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'高低檔撥叉零件的機(jī)械加工工藝及鉆ф16孔的夾具設(shè)計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'A2-鉆16孔夾具體.png',url:'http://m.facezit.com/p-8582191.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'A2-鉆16裝配圖.png',url:'http://m.facezit.com/p-8582192.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'A3-撥叉零件圖.png',url:'http://m.facezit.com/p-8582193.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'A3-毛坯圖.png',url:'http://m.facezit.com/p-8582194.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'QQ截圖20190124143452.jpg',url:'http://m.facezit.com/p-8582195.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'工藝路線.jpg',url:'http://m.facezit.com/p-8582196.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'工藝過程綜合卡片含工序圖.jpg',url:'http://m.facezit.com/p-8582197.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'機(jī)械加工工藝過程卡片.jpg',url:'http://m.facezit.com/p-8582198.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'計算.jpg',url:'http://m.facezit.com/p-8582199.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'零件作用.jpg',url:'http://m.facezit.com/p-8582200.html', target:'_blank' },{ id:'00002', pId:'1', name:'A2-鉆16孔夾具體.dwg',url:'http://m.facezit.com/p-8582201.html', target:'_blank' },{ id:'00003', pId:'1', name:'A2-鉆16裝配圖.dwg',url:'http://m.facezit.com/p-8582202.html', target:'_blank' },{ id:'00004', pId:'1', name:'A3-撥叉零件圖.dwg',url:'http://m.facezit.com/p-8582203.html', target:'_blank' },{ id:'00005', pId:'1', name:'A3-毛坯圖.dwg',url:'http://m.facezit.com/p-8582204.html', target:'_blank' },{ id:'00006', pId:'1', name:'工藝過程卡片.DOC',url:'http://m.facezit.com/p-8582205.html', target:'_blank' },{ id:'00007', pId:'1', name:'工藝過程綜合卡片.doc',url:'http://m.facezit.com/p-8582206.html', target:'_blank' },{ id:'00008', pId:'1', name:'工藝過程綜合卡片含工序圖.doc',url:'http://m.facezit.com/p-8582207.html', target:'_blank' },{ id:'00009', pId:'1', name:'目 錄.doc',url:'http://m.facezit.com/p-8582208.html', target:'_blank' },{ id:'00010', pId:'1', name:'鉆16孔說明書.doc',url:'http://m.facezit.com/p-8582209.html', target:'_blank' },{ id:'00011', pId:'1', name:'鉆16工序卡片.doc',url:'http://m.facezit.com/p-8582210.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 = '7268646'; 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; }); });