'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'挖掘機鏟斗三維圖【catia三維圖】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'1.igs (2602KB)', },{ id:'00002', pId:'1', name:'chandou.CATPart (389KB)', },{ id:'00003', pId:'1', name:'dian quan.CATPart (58KB)', },{ id:'00004', pId:'1', name:'dian quan2.CATPart (57KB)', },{ id:'00005', pId:'1', name:'dian quan2_CATPart.prt (86KB)', },{ id:'00006', pId:'1', name:'dian quan_CATPart.prt (84KB)', },{ id:'00007', pId:'1', name:'dongbi.CATPart (225KB)', },{ id:'00008', pId:'1', name:'dongbi_CATPart.prt (179KB)', },{ id:'00009', pId:'1', name:'Drawing1.CATDrawing (573KB)', },{ id:'00010', pId:'1', name:'Drawing2.CATDrawing (529KB)', },{ id:'00011', pId:'1', name:'Drawing3.CATDrawing (542KB)', },{ id:'00012', pId:'1', name:'Drawing4.CATDrawing (510KB)', },{ id:'00013', pId:'1', name:'Drawing5.CATDrawing (301KB)', },{ id:'00014', pId:'1', name:'huo sai.CATPart (72KB)', },{ id:'00015', pId:'1', name:'huo sai_CATPart.prt (95KB)', },{ id:'00016', pId:'1', name:'huosaigan.CATPart (182KB)', },{ id:'00017', pId:'1', name:'huosaigan2.CATPart (244KB)', },{ id:'00018', pId:'1', name:'huosaigan2_CATPart.prt (146KB)', },{ id:'00019', pId:'1', name:'huosaigan_CATPart.prt (127KB)', },{ id:'00020', pId:'1', name:'ji jia.CATPart (107KB)', },{ id:'00021', pId:'1', name:'ji jia2.CATPart (105KB)', },{ id:'00022', pId:'1', name:'ji jia2_CATPart.prt (96KB)', },{ id:'00023', pId:'1', name:'ji jia_CATPart.prt (98KB)', },{ id:'00024', pId:'1', name:'lian gan.CATPart (90KB)', },{ id:'00025', pId:'1', name:'lian gan_CATPart.prt (96KB)', },{ id:'00026', pId:'1', name:'Part1_CATPart.prt (213KB)', },{ id:'00027', pId:'1', name:'Part2_CATPart.prt (115KB)', },{ id:'00028', pId:'1', name:'xiaozhou chandou.CATPart (66KB)', },{ id:'00029', pId:'1', name:'xiaozhou chandou_CATPart.prt (86KB)', },{ id:'00030', pId:'1', name:'xiaozhou dongbi.CATPart (66KB)', },{ id:'00031', pId:'1', name:'xiaozhou dongbi_CATPart.prt (87KB)', },{ id:'00032', pId:'1', name:'xiaozhou huosaigan.CATPart (64KB)', },{ id:'00033', pId:'1', name:'xiaozhou huosaigan2.CATPart (65KB)', },{ id:'00034', pId:'1', name:'xiaozhou huosaigan2_CATPart.prt (87KB)', },{ id:'00035', pId:'1', name:'xiaozhou huosaigan_CATPart.prt (86KB)', },{ id:'00036', pId:'1', name:'xiaozhou jijia.CATPart (66KB)', },{ id:'00037', pId:'1', name:'xiaozhou jijia2.CATPart (64KB)', },{ id:'00038', pId:'1', name:'xiaozhou jijia2_CATPart.prt (85KB)', },{ id:'00039', pId:'1', name:'xiaozhou yaogan.CATPart (64KB)', },{ id:'00040', pId:'1', name:'xiaozhou yaogan_CATPart.prt (86KB)', },{ id:'00041', pId:'1', name:'xiaozhou_CATPart.prt (83KB)', },{ id:'00042', pId:'1', name:'yao gan.CATPart (142KB)', },{ id:'00043', pId:'1', name:'you gang.CATPart (269KB)', },{ id:'00044', pId:'1', name:'you gang2.CATPart (266KB)', },{ id:'00045', pId:'1', name:'you gang2_CATPart.prt (118KB)', },{ id:'00046', pId:'1', name:'you gang_CATPart.prt (118KB)', },{ id:'00047', pId:'1', name:'yougang duan gai.CATPart (131KB)', },{ id:'00048', pId:'1', name:'yougang duan gai_CATPart.prt (100KB)', },{ id:'00049', pId:'1', name:'zhuang pei.CATProduct (234KB)', },{ id:'00050', pId:'1', name:'zhuang pei_catproduct.prt (123KB)', },{ id:'00051', pId:'1', name:'三維圖.gif (66KB)', click:'getBookinfo(8535144)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'挖掘機鏟斗三維圖【catia三維圖】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00051', pId:'1', name:'三維圖.gif',url:'http://m.facezit.com/p-8535144.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 = '7261790'; 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; }); });