'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'ca1050輕型載貨汽車驅動橋【三維圖無cad圖】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'CA1050輕型載貨汽車驅動橋【三維圖-無CAD圖】 (包含44個文件)', },{ id:'0000100001', pId:'00001', name:'三維圖 (包含34個文件)', },{ id:'000010000100001', pId:'0000100001', name:'BanZhou.CATPart (573KB)', },{ id:'000010000100002', pId:'0000100001', name:'BanZhouChiLun.CATPart (1564KB)', },{ id:'000010000100003', pId:'0000100001', name:'BanZhouChiLunDianPian.CATPart (68KB)', },{ id:'000010000100004', pId:'0000100001', name:'BanZhouTaoGuan.CATPart (66KB)', },{ id:'000010000100005', pId:'0000100001', name:'ChaSuChiLun.CATPart (818KB)', },{ id:'000010000100006', pId:'0000100001', name:'chasuqi.CATProduct (182KB)', },{ id:'000010000100007', pId:'0000100001', name:'chasuqihezhujiansuqi.CATProduct (202KB)', },{ id:'000010000100008', pId:'0000100001', name:'ChaSuQiKe.CATPart (463KB)', },{ id:'000010000100009', pId:'0000100001', name:'ChaSuQiKe_2.CATPart (800KB)', },{ id:'000010000100010', pId:'0000100001', name:'ChaXingTuYuan.CATPart (634KB)', },{ id:'000010000100011', pId:'0000100001', name:'FangChenZhao.CATPart (81KB)', },{ id:'000010000100012', pId:'0000100001', name:'HouQiaoKeDianPian.CATPart (135KB)', },{ id:'000010000100013', pId:'0000100001', name:'LuoMu.CATPart (177KB)', },{ id:'000010000100014', pId:'0000100001', name:'QiuMianDianPian.CATPart (86KB)', },{ id:'000010000100015', pId:'0000100001', name:'QuDongQiaoKe_1.CATPart (806KB)', },{ id:'000010000100016', pId:'0000100001', name:'QuDongQiaoKe_2.CATPart (256KB)', },{ id:'000010000100017', pId:'0000100001', name:'QuDongQiaoZongCheng.CATProduct (217KB)', },{ id:'000010000100018', pId:'0000100001', name:'ShiZiZhou.CATPart (236KB)', },{ id:'000010000100019', pId:'0000100001', name:'Symmetry of QiuMianDianPian.CATPart (50KB)', },{ id:'000010000100020', pId:'0000100001', name:'TongQiSai.CATPart (201KB)', },{ id:'000010000100021', pId:'0000100001', name:'X_ZhouChengDianPian.CATPart (73KB)', },{ id:'000010000100022', pId:'0000100001', name:'YouFeng.CATPart (70KB)', },{ id:'000010000100023', pId:'0000100001', name:'YouSai.CATPart (147KB)', },{ id:'000010000100024', pId:'0000100001', name:'ZhouChengGai.CATPart (322KB)', },{ id:'000010000100025', pId:'0000100001', name:'ZhouCheng_30205.CATPart (558KB)', },{ id:'000010000100026', pId:'0000100001', name:'ZhouCheng_30207.CATPart (603KB)', },{ id:'000010000100027', pId:'0000100001', name:'ZhouCheng_30215.CATPart (592KB)', },{ id:'000010000100028', pId:'0000100001', name:'ZhuJianSuChiLun_1.CATPart (1014KB)', },{ id:'000010000100029', pId:'0000100001', name:'ZhuJianSuChiLun_2.CATPart (1436KB)', },{ id:'000010000100030', pId:'0000100001', name:'ZhuJianSuQiKe.CATPart (1455KB)', },{ id:'000010000100031', pId:'0000100001', name:'ZhuJianSuQiKeTiDianPian.CATPart (128KB)', },{ id:'000010000100032', pId:'0000100001', name:'ZhuJianSuQiKe_2.CATPart (152KB)', },{ id:'000010000100033', pId:'0000100001', name:'Z_ZhouChengDianPian.CATPart (62KB)', },{ id:'000010000100034', pId:'0000100001', name:'Z_ZhouTao.CATPart (66KB)', },{ id:'0000100002', pId:'00001', name:'03中英文翻譯.doc (97KB)', click:'getBookinfo(8709141)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'05設計說明書.doc (4116KB)', click:'getBookinfo(8709142)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'三維裝配圖.jpg (83KB)', click:'getBookinfo(8709143)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'全部文件.jpg (37KB)', click:'getBookinfo(8709144)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'字數(shù).jpg (66KB)', click:'getBookinfo(8709145)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'差速器.jpg (36KB)', click:'getBookinfo(8709146)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'文檔頁面.jpg (308KB)', click:'getBookinfo(8709147)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'裝配圖.jpg (83KB)', click:'getBookinfo(8709148)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'零件圖.jpg (130KB)', click:'getBookinfo(8709149)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'ca1050輕型載貨汽車驅動橋【三維圖無cad圖】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100002', pId:'00001', name:'03中英文翻譯.doc',url:'http://m.facezit.com/p-8709141.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'05設計說明書.doc',url:'http://m.facezit.com/p-8709142.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'三維裝配圖.jpg',url:'http://m.facezit.com/p-8709143.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'全部文件.jpg',url:'http://m.facezit.com/p-8709144.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'字數(shù).jpg',url:'http://m.facezit.com/p-8709145.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'差速器.jpg',url:'http://m.facezit.com/p-8709146.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'文檔頁面.jpg',url:'http://m.facezit.com/p-8709147.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'裝配圖.jpg',url:'http://m.facezit.com/p-8709148.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'零件圖.jpg',url:'http://m.facezit.com/p-8709149.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 = '3433318'; 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; }); });