'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'校園垃圾拾撿機器人撿拾機構設計【帶proe三維】【6張cad圖紙】【優(yōu)秀】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'proe三維圖 (包含38個文件)', },{ id:'0000100001', pId:'00001', name:'asm0001.asm.1 (64KB)', },{ id:'0000100002', pId:'00001', name:'asm0001.asm.2 (86KB)', },{ id:'0000100003', pId:'00001', name:'asm0001.asm.3 (105KB)', },{ id:'0000100004', pId:'00001', name:'asm0001.asm.4 (109KB)', },{ id:'0000100005', pId:'00001', name:'baidonggang.prt.1 (3320KB)', },{ id:'0000100006', pId:'00001', name:'baidonggang.prt.2 (3321KB)', },{ id:'0000100007', pId:'00001', name:'baidonggang.prt.3 (3465KB)', },{ id:'0000100008', pId:'00001', name:'baidongtai.prt.1 (138KB)', },{ id:'0000100009', pId:'00001', name:'baidongtai.prt.2 (144KB)', },{ id:'0000100010', pId:'00001', name:'baidongzhou.prt.1 (172KB)', },{ id:'0000100011', pId:'00001', name:'baidongzhou.prt.2 (172KB)', },{ id:'0000100012', pId:'00001', name:'baidongzhou.prt.3 (174KB)', },{ id:'0000100013', pId:'00001', name:'huisaidizuo.prt.1 (70KB)', },{ id:'0000100014', pId:'00001', name:'huosaigan.prt.1 (108KB)', },{ id:'0000100015', pId:'00001', name:'huosaigang.prt.1 (143KB)', },{ id:'0000100016', pId:'00001', name:'huosaigang2.prt.1 (458KB)', },{ id:'0000100017', pId:'00001', name:'pingtai.prt.1 (66KB)', },{ id:'0000100018', pId:'00001', name:'pingtai.prt.2 (66KB)', },{ id:'0000100019', pId:'00001', name:'prt0002.prt.1 (54KB)', },{ id:'0000100020', pId:'00001', name:'prt0002.prt.2 (54KB)', },{ id:'0000100021', pId:'00001', name:'prt0003.prt.1 (45KB)', },{ id:'0000100022', pId:'00001', name:'prt0003.prt.2 (45KB)', },{ id:'0000100023', pId:'00001', name:'prt0004.prt.1 (44KB)', },{ id:'0000100024', pId:'00001', name:'shoubi.prt.1 (106KB)', },{ id:'0000100025', pId:'00001', name:'shoubi.prt.2 (162KB)', },{ id:'0000100026', pId:'00001', name:'shoubi2.prt.1 (70KB)', },{ id:'0000100027', pId:'00001', name:'shoubi2.prt.2 (119KB)', },{ id:'0000100028', pId:'00001', name:'shoubi2.prt.3 (134KB)', },{ id:'0000100029', pId:'00001', name:'shoubi2.prt.4 (175KB)', },{ id:'0000100030', pId:'00001', name:'trail.txt.1 (280KB)', },{ id:'0000100031', pId:'00001', name:'trail.txt.2 (2KB)', },{ id:'0000100032', pId:'00001', name:'trail.txt.3 (1KB)', },{ id:'0000100033', pId:'00001', name:'trail.txt.4 (2KB)', },{ id:'0000100034', pId:'00001', name:'trail.txt.5 (1KB)', },{ id:'0000100035', pId:'00001', name:'trail.txt.6 (1KB)', },{ id:'0000100036', pId:'00001', name:'trail.txt.7 (1KB)', },{ id:'0000100037', pId:'00001', name:'trail.txt.8 (2KB)', },{ id:'0000100038', pId:'00001', name:'zhuazi.prt.1 (275KB)', },{ id:'00002', pId:'1', name:'A0-總裝圖.dwg (4155KB)', click:'getBookinfo(8741248)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'A2-擺動缸.dwg (102KB)', click:'getBookinfo(8741249)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'A3-活塞缸.dwg (52KB)', click:'getBookinfo(8741250)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'A3-液壓控制油路圖.dwg (36KB)', click:'getBookinfo(8741251)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'A4-擺動臺.dwg (47KB)', click:'getBookinfo(8741252)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'A4-擺動軸.dwg (34KB)', click:'getBookinfo(8741253)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'校園垃圾拾撿機器人撿拾機構設計答辯稿.ppt (398KB)', click:'getBookinfo(8741254)', icon:'/Images/filetype/PPT16.PNG'},{ id:'00009', pId:'1', name:'校園垃圾拾撿機器人撿拾機構設計說明書.doc (449KB)', click:'getBookinfo(8741255)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'校園垃圾拾撿機器人撿拾機構設計【帶proe三維】【6張cad圖紙】【優(yōu)秀】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00002', pId:'1', name:'A0-總裝圖.dwg',url:'http://m.facezit.com/p-8741248.html', target:'_blank' },{ id:'00003', pId:'1', name:'A2-擺動缸.dwg',url:'http://m.facezit.com/p-8741249.html', target:'_blank' },{ id:'00004', pId:'1', name:'A3-活塞缸.dwg',url:'http://m.facezit.com/p-8741250.html', target:'_blank' },{ id:'00005', pId:'1', name:'A3-液壓控制油路圖.dwg',url:'http://m.facezit.com/p-8741251.html', target:'_blank' },{ id:'00006', pId:'1', name:'A4-擺動臺.dwg',url:'http://m.facezit.com/p-8741252.html', target:'_blank' },{ id:'00007', pId:'1', name:'A4-擺動軸.dwg',url:'http://m.facezit.com/p-8741253.html', target:'_blank' },{ id:'00008', pId:'1', name:'校園垃圾拾撿機器人撿拾機構設計答辯稿.ppt',url:'http://m.facezit.com/p-8741254.html', target:'_blank' },{ id:'00009', pId:'1', name:'校園垃圾拾撿機器人撿拾機構設計說明書.doc',url:'http://m.facezit.com/p-8741255.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 = '3527426'; 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; }); });