'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'二級齒輪減速器proe三維圖.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'二級齒輪減速器proe三維圖 (包含25個文件)', },{ id:'0000100001', pId:'00001', name:'二級齒輪減速器 (包含24個文件)', },{ id:'000010000100001', pId:'0000100001', name:'chilunokle.prt.2 (3050KB)', },{ id:'000010000100002', pId:'0000100001', name:'dajingmifenyuan1.prt.3 (56KB)', },{ id:'000010000100003', pId:'0000100001', name:'dangyouquanok.prt.2 (74KB)', },{ id:'000010000100004', pId:'0000100001', name:'disuzhouzhuangpei.asm.1 (50KB)', },{ id:'000010000100005', pId:'0000100001', name:'disuzou1.prt.2 (146KB)', },{ id:'000010000100006', pId:'0000100001', name:'duangandisudajin.prt.2 (140KB)', },{ id:'000010000100007', pId:'0000100001', name:'duangangaosuxiaojin.prt.2 (134KB)', },{ id:'000010000100008', pId:'0000100001', name:'gaosuzhouzhuangpei.asm.1 (48KB)', },{ id:'000010000100009', pId:'0000100001', name:'gaosuzouok.prt.2 (761KB)', },{ id:'000010000100010', pId:'0000100001', name:'guendongzoucheng.prt.2 (381KB)', },{ id:'000010000100011', pId:'0000100001', name:'guendongzouchengda.prt.2 (507KB)', },{ id:'000010000100012', pId:'0000100001', name:'jianok.prt.2 (54KB)', },{ id:'000010000100013', pId:'0000100001', name:'luodingxiao.prt.2 (303KB)', },{ id:'000010000100014', pId:'0000100001', name:'luomuda.prt.2 (342KB)', },{ id:'000010000100015', pId:'0000100001', name:'shangxiangtigai.asm.1 (65KB)', },{ id:'000010000100016', pId:'0000100001', name:'shangxinangganok2.prt.3 (776KB)', },{ id:'000010000100017', pId:'0000100001', name:'shikonggandiepian1.prt.2 (62KB)', },{ id:'000010000100018', pId:'0000100001', name:'taotong1.prt.2 (48KB)', },{ id:'000010000100019', pId:'0000100001', name:'touqishanda.prt.2 (387KB)', },{ id:'000010000100020', pId:'0000100001', name:'touqishanyongdiepian.prt.3 (53KB)', },{ id:'000010000100021', pId:'0000100001', name:'trail.txt.1 (20KB)', },{ id:'000010000100022', pId:'0000100001', name:'xiaojingmifenyuan1.prt.2 (54KB)', },{ id:'000010000100023', pId:'0000100001', name:'xiaxiangti.prt.2 (1367KB)', },{ id:'000010000100024', pId:'0000100001', name:'zongtu.asm.1 (47KB)', }]; var zNodes2 = [{ id:'1', pId:'0', name:'二級齒輪減速器proe三維圖.rar', open:true, icon:'/Images/filetype/RAR16.PNG'}]; $(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 = '7257310'; 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; }); });