'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'電池包裝送料機構(gòu)設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'3D (包含71個文件)', },{ id:'0000100001', pId:'00001', name:'56bygh630djp.prt.9 (403KB)', },{ id:'0000100002', pId:'00001', name:'6203.prt.4 (554KB)', },{ id:'0000100003', pId:'00001', name:'bwenxiang.prt.4 (183KB)', },{ id:'0000100004', pId:'00001', name:'dangpian.prt.1 (78KB)', },{ id:'0000100005', pId:'00001', name:'dao.prt.2 (65KB)', },{ id:'0000100006', pId:'00001', name:'dbjizuo.prt.8 (175KB)', },{ id:'0000100007', pId:'00001', name:'dczj.prt.2 (148KB)', },{ id:'0000100008', pId:'00001', name:'ddddd.prt.10 (375KB)', },{ id:'0000100009', pId:'00001', name:'ddddd.prt.11 (377KB)', },{ id:'0000100010', pId:'00001', name:'diancitie.prt.3 (180KB)', },{ id:'0000100011', pId:'00001', name:'diandongtuigan.asm.8 (94KB)', },{ id:'0000100012', pId:'00001', name:'duangai.prt.4 (212KB)', },{ id:'0000100013', pId:'00001', name:'fangkuai1.prt.3 (107KB)', },{ id:'0000100014', pId:'00001', name:'fangkuai2.prt.2 (89KB)', },{ id:'0000100015', pId:'00001', name:'fangkuai4.prt.2 (110KB)', },{ id:'0000100016', pId:'00001', name:'fangkuai5.prt.1 (86KB)', },{ id:'0000100017', pId:'00001', name:'fangkuai6.prt.2 (98KB)', },{ id:'0000100018', pId:'00001', name:'fangkuai7.prt.1 (87KB)', },{ id:'0000100019', pId:'00001', name:'fuangkuai3.prt.1 (87KB)', },{ id:'0000100020', pId:'00001', name:'gt1.prt.1 (52KB)', },{ id:'0000100021', pId:'00001', name:'gun.asm.3 (61KB)', },{ id:'0000100022', pId:'00001', name:'gunjizuo-1.prt.2 (106KB)', },{ id:'0000100023', pId:'00001', name:'gunjizuo-2.prt.3 (147KB)', },{ id:'0000100024', pId:'00001', name:'guntong.asm.2 (67KB)', },{ id:'0000100025', pId:'00001', name:'huan.prt.1 (64KB)', },{ id:'0000100026', pId:'00001', name:'jizuo.prt.3 (230KB)', },{ id:'0000100027', pId:'00001', name:'lianzhouqi1.prt.1 (198KB)', },{ id:'0000100028', pId:'00001', name:'lianzhouqi2.prt.2 (199KB)', },{ id:'0000100029', pId:'00001', name:'lianzhouqiz.prt.1 (109KB)', },{ id:'0000100030', pId:'00001', name:'liaocao.prt.4 (191KB)', },{ id:'0000100031', pId:'00001', name:'lzq.asm.1 (45KB)', },{ id:'0000100032', pId:'00001', name:'m3--.prt.2 (103KB)', },{ id:'0000100033', pId:'00001', name:'m3-n.prt.1 (94KB)', },{ id:'0000100034', pId:'00001', name:'m4.prt.3 (70KB)', },{ id:'0000100035', pId:'00001', name:'m5-n.prt.1 (97KB)', },{ id:'0000100036', pId:'00001', name:'m5x16.prt.5 (72KB)', },{ id:'0000100037', pId:'00001', name:'m6-n.prt.1 (99KB)', },{ id:'0000100038', pId:'00001', name:'m6x20.prt.4 (72KB)', },{ id:'0000100039', pId:'00001', name:'m8.prt.1 (94KB)', },{ id:'0000100040', pId:'00001', name:'m8x25.prt.1 (96KB)', },{ id:'0000100041', pId:'00001', name:'pidai.prt.3 (57KB)', },{ id:'0000100042', pId:'00001', name:'shangxipan.prt.1 (114KB)', },{ id:'0000100043', pId:'00001', name:'sigang1.prt.1 (118KB)', },{ id:'0000100044', pId:'00001', name:'sigang2.prt.2 (119KB)', },{ id:'0000100045', pId:'00001', name:'sigang3.prt.4 (120KB)', },{ id:'0000100046', pId:'00001', name:'sigang4.prt.4 (108KB)', },{ id:'0000100047', pId:'00001', name:'tongdaojizuo.prt.12 (632KB)', },{ id:'0000100048', pId:'00001', name:'tuiga4.asm.1 (47KB)', },{ id:'0000100049', pId:'00001', name:'tuigan1.asm.1 (43KB)', },{ id:'0000100050', pId:'00001', name:'tuigan1.asm.2 (47KB)', },{ id:'0000100051', pId:'00001', name:'tuigan1.prt.1 (77KB)', },{ id:'0000100052', pId:'00001', name:'tuigan2.asm.1 (47KB)', },{ id:'0000100053', pId:'00001', name:'tuigan2.prt.2 (78KB)', },{ id:'0000100054', pId:'00001', name:'tuigan3.asm.1 (47KB)', },{ id:'0000100055', pId:'00001', name:'tuigan3.prt.4 (78KB)', },{ id:'0000100056', pId:'00001', name:'tuigan4.prt.4 (77KB)', },{ id:'0000100057', pId:'00001', name:'wang.prt.2 (416KB)', },{ id:'0000100058', pId:'00001', name:'x5.prt.1 (69KB)', },{ id:'0000100059', pId:'00001', name:'xiao3.prt.2 (66KB)', },{ id:'0000100060', pId:'00001', name:'xj.prt.3 (85KB)', },{ id:'0000100061', pId:'00001', name:'yuan.prt.2 (136KB)', },{ id:'0000100062', pId:'00001', name:'yuan1.prt.4 (122KB)', },{ id:'0000100063', pId:'00001', name:'zhijia.prt.2 (100KB)', },{ id:'0000100064', pId:'00001', name:'zhijia2.prt.4 (148KB)', },{ id:'0000100065', pId:'00001', name:'zhijia3.prt.4 (194KB)', },{ id:'0000100066', pId:'00001', name:'zhizhu.prt.2 (129KB)', },{ id:'0000100067', pId:'00001', name:'zhoo.prt.1 (125KB)', },{ id:'0000100068', pId:'00001', name:'zhouchengzuo.prt.2 (197KB)', },{ id:'0000100069', pId:'00001', name:'zj2.asm.3 (42KB)', },{ id:'0000100070', pId:'00001', name:'zj3.asm.1 (42KB)', },{ id:'0000100071', pId:'00001', name:'zp.asm.30 (244KB)', },{ id:'00002', pId:'1', name:'三維圖.jpg (52KB)', click:'getBookinfo(8596881)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'五號電池包裝機-總裝圖20130327.dwg (281KB)', click:'getBookinfo(8596882)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'基座.dwg (139KB)', click:'getBookinfo(8596883)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'開題報告.doc (360KB)', click:'getBookinfo(8596884)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'螺桿.dwg (122KB)', click:'getBookinfo(8596885)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'設(shè)計說明書.doc (1785KB)', click:'getBookinfo(8596886)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'電池包裝送料機構(gòu)設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00002', pId:'1', name:'三維圖.jpg',url:'http://m.facezit.com/p-8596881.html', target:'_blank' },{ id:'00003', pId:'1', name:'五號電池包裝機-總裝圖20130327.dwg',url:'http://m.facezit.com/p-8596882.html', target:'_blank' },{ id:'00004', pId:'1', name:'基座.dwg',url:'http://m.facezit.com/p-8596883.html', target:'_blank' },{ id:'00005', pId:'1', name:'開題報告.doc',url:'http://m.facezit.com/p-8596884.html', target:'_blank' },{ id:'00006', pId:'1', name:'螺桿.dwg',url:'http://m.facezit.com/p-8596885.html', target:'_blank' },{ id:'00007', pId:'1', name:'設(shè)計說明書.doc',url:'http://m.facezit.com/p-8596886.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 = '7921282'; 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; }); });