'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'吸塵器彎管連接頭注塑模設計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'Z044-吸塵器彎管連接頭注塑模設計【原創(chuàng)】 (包含25個文件)', },{ id:'0000100001', pId:'00001', name:'proe (包含4個文件)', },{ id:'000010000100001', pId:'0000100001', name:'產(chǎn)品塑性分析 (包含1個文件)', },{ id:'00001000010000100001', pId:'000010000100001', name:'fenxi.mpa (999KB)', },{ id:'000010000100002', pId:'0000100001', name:'彎管 (包含1個文件)', },{ id:'00001000010000200001', pId:'000010000100002', name:'06.prt.1 (266KB)', },{ id:'0000100002', pId:'00001', name:'主流道襯套.dwg (56KB)', click:'getBookinfo(8599106)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'動模板.dwg (41KB)', click:'getBookinfo(8599107)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'壓塊.dwg (36KB)', click:'getBookinfo(8599108)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'壓塊2.dwg (46KB)', click:'getBookinfo(8599109)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'壓塊3.dwg (42KB)', click:'getBookinfo(8599110)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'定位環(huán).dwg (46KB)', click:'getBookinfo(8599111)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'定模板.dwg (39KB)', click:'getBookinfo(8599112)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'導套.dwg (37KB)', click:'getBookinfo(8599113)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'導柱.dwg (37KB)', click:'getBookinfo(8599114)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'彎管塑件圖.dwg (62KB)', click:'getBookinfo(8599115)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'拉料桿.dwg (43KB)', click:'getBookinfo(8599116)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'摘 要.doc (27KB)', click:'getBookinfo(8599117)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'斜導柱.dwg (46KB)', click:'getBookinfo(8599118)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'模具裝配圖.dwg (140KB)', click:'getBookinfo(8599119)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'模具設計講演稿.ppt (391KB)', click:'getBookinfo(8599120)', icon:'/Images/filetype/PPT16.PNG'},{ id:'0000100017', pId:'00001', name:'水嘴.dwg (41KB)', click:'getBookinfo(8599121)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100018', pId:'00001', name:'滑塊1.dwg (41KB)', click:'getBookinfo(8599122)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100019', pId:'00001', name:'滑塊2.dwg (42KB)', click:'getBookinfo(8599123)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100020', pId:'00001', name:'論文jin.doc (1187KB)', click:'getBookinfo(8599124)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100021', pId:'00001', name:'軸.dwg (46KB)', click:'getBookinfo(8599125)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'吸塵器彎管連接頭注塑模設計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100002', pId:'00001', name:'主流道襯套.dwg',url:'http://m.facezit.com/p-8599106.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'動模板.dwg',url:'http://m.facezit.com/p-8599107.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'壓塊.dwg',url:'http://m.facezit.com/p-8599108.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'壓塊2.dwg',url:'http://m.facezit.com/p-8599109.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'壓塊3.dwg',url:'http://m.facezit.com/p-8599110.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'定位環(huán).dwg',url:'http://m.facezit.com/p-8599111.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'定模板.dwg',url:'http://m.facezit.com/p-8599112.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'導套.dwg',url:'http://m.facezit.com/p-8599113.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'導柱.dwg',url:'http://m.facezit.com/p-8599114.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'彎管塑件圖.dwg',url:'http://m.facezit.com/p-8599115.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'拉料桿.dwg',url:'http://m.facezit.com/p-8599116.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'摘 要.doc',url:'http://m.facezit.com/p-8599117.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'斜導柱.dwg',url:'http://m.facezit.com/p-8599118.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'模具裝配圖.dwg',url:'http://m.facezit.com/p-8599119.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'模具設計講演稿.ppt',url:'http://m.facezit.com/p-8599120.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'水嘴.dwg',url:'http://m.facezit.com/p-8599121.html', target:'_blank' },{ id:'0000100018', pId:'00001', name:'滑塊1.dwg',url:'http://m.facezit.com/p-8599122.html', target:'_blank' },{ id:'0000100019', pId:'00001', name:'滑塊2.dwg',url:'http://m.facezit.com/p-8599123.html', target:'_blank' },{ id:'0000100020', pId:'00001', name:'論文jin.doc',url:'http://m.facezit.com/p-8599124.html', target:'_blank' },{ id:'0000100021', pId:'00001', name:'軸.dwg',url:'http://m.facezit.com/p-8599125.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 = '7960384'; 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; }); });