'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'單級離心泵.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'Single Stage Centrifugal Pump (包含30個文件)', },{ id:'0000100001', pId:'00001', name:'Bearing #1 Assembly.SLDASM (659KB)', },{ id:'0000100002', pId:'00001', name:'Bearing #1 Part 1.SLDPRT (882KB)', },{ id:'0000100003', pId:'00001', name:'Bearing #1 Part 2.SLDPRT (148KB)', },{ id:'0000100004', pId:'00001', name:'Bearing #2 Assembly.SLDASM (187KB)', },{ id:'0000100005', pId:'00001', name:'Bearing #2 Part 1.SLDPRT (255KB)', },{ id:'0000100006', pId:'00001', name:'Bearing #2 Part 2.SLDPRT (150KB)', },{ id:'0000100007', pId:'00001', name:'Bearing House End Cap Bolt.SLDPRT (807KB)', },{ id:'0000100008', pId:'00001', name:'Bearing Housing Bolt.SLDPRT (592KB)', },{ id:'0000100009', pId:'00001', name:'Bearing Housing End Cap 2.SLDPRT (435KB)', },{ id:'0000100010', pId:'00001', name:'Bearing Housing End Cap Gasket.SLDPRT (217KB)', },{ id:'0000100011', pId:'00001', name:'Bearing Housing End Cap.SLDPRT (699KB)', },{ id:'0000100012', pId:'00001', name:'Bearing Housing.SLDPRT (5939KB)', },{ id:'0000100013', pId:'00001', name:'Bearing Nut.SLDPRT (310KB)', },{ id:'0000100014', pId:'00001', name:'Coupling.SLDPRT (343KB)', },{ id:'0000100015', pId:'00001', name:'Lock Washer.SLDPRT (220KB)', },{ id:'0000100016', pId:'00001', name:'Pump Shaft Assembly.SLDASM (1336KB)', },{ id:'0000100017', pId:'00001', name:'Pump Shaft.SLDPRT (893KB)', },{ id:'0000100018', pId:'00001', name:'Single Stage Centrifugal Pump Assembly Section.SLDASM (3177KB)', },{ id:'0000100019', pId:'00001', name:'Single Stage Centrifugal Pump Assembly.SLDASM (3040KB)', },{ id:'0000100020', pId:'00001', name:'Stuffing Box Gland Bolt.SLDPRT (843KB)', },{ id:'0000100021', pId:'00001', name:'Stuffing Box Gland Nut.SLDPRT (837KB)', },{ id:'0000100022', pId:'00001', name:'Stuffing Box Gland.SLDPRT (324KB)', },{ id:'0000100023', pId:'00001', name:'Suction Nozzle Bolt.SLDPRT (835KB)', },{ id:'0000100024', pId:'00001', name:'Suction Nozzle Gasket.SLDPRT (220KB)', },{ id:'0000100025', pId:'00001', name:'Suction Nozzle.SLDPRT (353KB)', },{ id:'0000100026', pId:'00001', name:'Volute Casing Cover Bolt.SLDPRT (809KB)', },{ id:'0000100027', pId:'00001', name:'Volute Casing Cover.SLDPRT (444KB)', },{ id:'0000100028', pId:'00001', name:'Volute Casing Gasket.SLDPRT (220KB)', },{ id:'0000100029', pId:'00001', name:'Volute Casing Plug.SLDPRT (331KB)', },{ id:'0000100030', pId:'00001', name:'Volute Casing.SLDPRT (3336KB)', },{ id:'00002', pId:'1', name:'Photorealistic Render, Isometric View (Volute Cover Removed), 1920 x 1080 resolution.JPG (150KB)', click:'getBookinfo(8504502)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'Photorealistic Render, Isometric View1, 1920 x 1080 resolution.JPG (136KB)', click:'getBookinfo(8504503)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'Photorealistic Render, Rear View, 1920 x 1080 resolution.JPG (137KB)', click:'getBookinfo(8504504)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'Photorealistic Render, Side View, 1920 x 1080 resolution.JPG (146KB)', click:'getBookinfo(8504505)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'Photorealistic Render, Top View, 1920 x 1080 resolution.JPG (144KB)', click:'getBookinfo(8504506)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'單級離心泵.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00002', pId:'1', name:'Photorealistic Render, Isometric View (Volute Cover Removed), 1920 x 1080 resolution.JPG',url:'http://m.facezit.com/p-8504502.html', target:'_blank' },{ id:'00003', pId:'1', name:'Photorealistic Render, Isometric View1, 1920 x 1080 resolution.JPG',url:'http://m.facezit.com/p-8504503.html', target:'_blank' },{ id:'00004', pId:'1', name:'Photorealistic Render, Rear View, 1920 x 1080 resolution.JPG',url:'http://m.facezit.com/p-8504504.html', target:'_blank' },{ id:'00005', pId:'1', name:'Photorealistic Render, Side View, 1920 x 1080 resolution.JPG',url:'http://m.facezit.com/p-8504505.html', target:'_blank' },{ id:'00006', pId:'1', name:'Photorealistic Render, Top View, 1920 x 1080 resolution.JPG',url:'http://m.facezit.com/p-8504506.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 = '7258236'; 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; }); });