'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'agv車轉向總承設計【說明書cad】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'178 AGV車轉向總承設計【說明書+CAD】 (包含15個文件)', },{ id:'0000100001', pId:'00001', name:'A0-裝配圖.dwg (181KB)', click:'getBookinfo(8403658)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'A2-后輪軸.dwg (101KB)', click:'getBookinfo(8403659)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'A2-支架.dwg (89KB)', click:'getBookinfo(8403660)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'A2-渦輪.dwg (93KB)', click:'getBookinfo(8403661)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'A2-渦輪軸.dwg (102KB)', click:'getBookinfo(8403662)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'A2-蝸桿軸.dwg (99KB)', click:'getBookinfo(8403663)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'A2-輪胎結構.dwg (91KB)', click:'getBookinfo(8403664)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'AGV車轉向總承設計.doc (762KB)', click:'getBookinfo(8403665)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'ppt.ppt (3150KB)', click:'getBookinfo(8403666)', icon:'/Images/filetype/PPT16.PNG'},{ id:'0000100010', pId:'00001', name:'中期進展報告.doc (35KB)', click:'getBookinfo(8403667)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'任務書.doc (34KB)', click:'getBookinfo(8403668)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'原創(chuàng)說明.doc (27KB)', click:'getBookinfo(8403669)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'實習報告.doc (50KB)', click:'getBookinfo(8403670)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'開題報告.doc (32KB)', click:'getBookinfo(8403671)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'翻譯.doc (39KB)', click:'getBookinfo(8403672)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'agv車轉向總承設計【說明書cad】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'A0-裝配圖.dwg',url:'http://m.facezit.com/p-8403658.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'A2-后輪軸.dwg',url:'http://m.facezit.com/p-8403659.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'A2-支架.dwg',url:'http://m.facezit.com/p-8403660.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'A2-渦輪.dwg',url:'http://m.facezit.com/p-8403661.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'A2-渦輪軸.dwg',url:'http://m.facezit.com/p-8403662.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'A2-蝸桿軸.dwg',url:'http://m.facezit.com/p-8403663.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'A2-輪胎結構.dwg',url:'http://m.facezit.com/p-8403664.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'AGV車轉向總承設計.doc',url:'http://m.facezit.com/p-8403665.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'ppt.ppt',url:'http://m.facezit.com/p-8403666.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'中期進展報告.doc',url:'http://m.facezit.com/p-8403667.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'任務書.doc',url:'http://m.facezit.com/p-8403668.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'原創(chuàng)說明.doc',url:'http://m.facezit.com/p-8403669.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'實習報告.doc',url:'http://m.facezit.com/p-8403670.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'開題報告.doc',url:'http://m.facezit.com/p-8403671.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'翻譯.doc',url:'http://m.facezit.com/p-8403672.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 = '7247031'; 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; }); });