'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'wj01702龍門式剪切機的設計三維【原創(chuàng)設計】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'龍門式剪切機的設計 (包含33個文件)', },{ id:'0000100001', pId:'00001', name:'機架PROE (包含27個文件)', },{ id:'000010000100001', pId:'0000100001', name:'PROE (包含26個文件)', },{ id:'00001000010000100001', pId:'000010000100001', name:'asm0001.asm.1 (77KB)', },{ id:'00001000010000100002', pId:'000010000100001', name:'asm0001.asm.2 (53KB)', },{ id:'00001000010000100003', pId:'000010000100001', name:'g305508-c01.prt.1 (277KB)', },{ id:'00001000010000100004', pId:'000010000100001', name:'g305512.prt.1 (79KB)', },{ id:'00001000010000100005', pId:'000010000100001', name:'g305512_1.prt.1 (78KB)', },{ id:'00001000010000100006', pId:'000010000100001', name:'g306220.prt.1 (57KB)', },{ id:'00001000010000100007', pId:'000010000100001', name:'g306221.prt.1 (57KB)', },{ id:'00001000010000100008', pId:'000010000100001', name:'g412166.prt.1 (39KB)', },{ id:'00001000010000100009', pId:'000010000100001', name:'g412166_1.prt.1 (39KB)', },{ id:'00001000010000100010', pId:'000010000100001', name:'g412432.prt.1 (185KB)', },{ id:'00001000010000100011', pId:'000010000100001', name:'g906356.prt.1 (51KB)', },{ id:'00001000010000100012', pId:'000010000100001', name:'gvp301m1.prt.1 (92KB)', },{ id:'00001000010000100013', pId:'000010000100001', name:'hsl3006200v01.prt.1 (285KB)', },{ id:'00001000010000100014', pId:'000010000100001', name:'hsl3006201nv01.prt.1 (140KB)', },{ id:'00001000010000100015', pId:'000010000100001', name:'hsl3006202.prt.1 (122KB)', },{ id:'00001000010000100016', pId:'000010000100001', name:'hsl3006203v03.prt.1 (67KB)', },{ id:'00001000010000100017', pId:'000010000100001', name:'hsl3006204v02.prt.1 (47KB)', },{ id:'00001000010000100018', pId:'000010000100001', name:'hsl3006205v02.prt.1 (44KB)', },{ id:'00001000010000100019', pId:'000010000100001', name:'hsl3006208.prt.1 (47KB)', },{ id:'00001000010000100020', pId:'000010000100001', name:'hsl306003.prt.1 (59KB)', },{ id:'00001000010000100021', pId:'000010000100001', name:'jijia.log (0KB)', },{ id:'00001000010000100022', pId:'000010000100001', name:'jijia.STP (1444KB)', },{ id:'00001000010000100023', pId:'000010000100001', name:'jijia_log.xml (88KB)', },{ id:'00001000010000100024', pId:'000010000100001', name:'uh091.prt.1 (103KB)', },{ id:'00001000010000100025', pId:'000010000100001', name:'機架三維圖 (1).png (10KB)', click:'getBookinfo(8433733)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100026', pId:'000010000100001', name:'機架三維圖 (2).png (7KB)', click:'getBookinfo(8433734)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'中英文翻譯文獻.doc (350KB)', click:'getBookinfo(8433735)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'任務書).doc (53KB)', click:'getBookinfo(8433736)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'液壓缸圖【5張】.dwg (205KB)', click:'getBookinfo(8433737)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'說明書查重版.doc (3848KB)', click:'getBookinfo(8433738)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'龍門剪切機CAD圖【4張】.dwg (4228KB)', click:'getBookinfo(8433739)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'wj01702龍門式剪切機的設計三維【原創(chuàng)設計】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001000010000100025', pId:'000010000100001', name:'機架三維圖 (1).png',url:'http://m.facezit.com/p-8433733.html', target:'_blank' },{ id:'00001000010000100026', pId:'000010000100001', name:'機架三維圖 (2).png',url:'http://m.facezit.com/p-8433734.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'中英文翻譯文獻.doc',url:'http://m.facezit.com/p-8433735.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'任務書).doc',url:'http://m.facezit.com/p-8433736.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'液壓缸圖【5張】.dwg',url:'http://m.facezit.com/p-8433737.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'說明書查重版.doc',url:'http://m.facezit.com/p-8433738.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'龍門剪切機CAD圖【4張】.dwg',url:'http://m.facezit.com/p-8433739.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 = '7250284'; 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; }); });