'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'大眾途觀三軸六檔變速器設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'變速器建模仿真[CATIA] (包含32個文件)', },{ id:'0000100001', pId:'00001', name:'1.CATPart (3035KB)', },{ id:'0000100002', pId:'00001', name:'10.CATPart (591KB)', },{ id:'0000100003', pId:'00001', name:'14.CATPart (519KB)', },{ id:'0000100004', pId:'00001', name:'15.CATPart (517KB)', },{ id:'0000100005', pId:'00001', name:'2.CATPart (2944KB)', },{ id:'0000100006', pId:'00001', name:'3.CATPart (2827KB)', },{ id:'0000100007', pId:'00001', name:'4.CATPart (2803KB)', },{ id:'0000100008', pId:'00001', name:'45.CATPart (528KB)', },{ id:'0000100009', pId:'00001', name:'5.CATPart (2799KB)', },{ id:'0000100010', pId:'00001', name:'6.CATPart (2804KB)', },{ id:'0000100011', pId:'00001', name:'61.CATPart (2800KB)', },{ id:'0000100012', pId:'00001', name:'7.CATPart (2825KB)', },{ id:'0000100013', pId:'00001', name:'boca.CATPart (343KB)', },{ id:'0000100014', pId:'00001', name:'bozou.CATPart (1141KB)', },{ id:'0000100015', pId:'00001', name:'cilun12.CATPart (518KB)', },{ id:'0000100016', pId:'00001', name:'cilun13.CATPart (520KB)', },{ id:'0000100017', pId:'00001', name:'daozou.CATPart (1111KB)', },{ id:'0000100018', pId:'00001', name:'dian1.CATPart (105KB)', },{ id:'0000100019', pId:'00001', name:'dian2.CATPart (95KB)', },{ id:'0000100020', pId:'00001', name:'gu3.CATPart (2613KB)', },{ id:'0000100021', pId:'00001', name:'hao123.CATProduct (467KB)', },{ id:'0000100022', pId:'00001', name:'jigehetao.CATPart (2513KB)', },{ id:'0000100023', pId:'00001', name:'jj.CATPart (561KB)', },{ id:'0000100024', pId:'00001', name:'k.CATPart (141KB)', },{ id:'0000100025', pId:'00001', name:'Part2.CATPart (481KB)', },{ id:'0000100026', pId:'00001', name:'suohuan3.CATPart (2576KB)', },{ id:'0000100027', pId:'00001', name:'taoyouci.CATPart (628KB)', },{ id:'0000100028', pId:'00001', name:'xie gear.CATPart (503KB)', },{ id:'0000100029', pId:'00001', name:'zhonghe.CATPart (520KB)', },{ id:'0000100030', pId:'00001', name:'zhongzou.CATPart (1604KB)', },{ id:'0000100031', pId:'00001', name:'zhou2.CATPart (443KB)', },{ id:'0000100032', pId:'00001', name:'zuci2.CATPart (968KB)', },{ id:'00002', pId:'1', name:'A0-變速器裝配圖.dwg (393KB)', click:'getBookinfo(8752923)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'任務(wù)書前1.doc (27KB)', click:'getBookinfo(8752924)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'參考文獻(xiàn).doc (16KB)', click:'getBookinfo(8752925)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'封皮.doc (13KB)', click:'getBookinfo(8752926)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'摘要.doc (79KB)', click:'getBookinfo(8752927)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'畢業(yè)設(shè)計任務(wù)書.doc (32KB)', click:'getBookinfo(8752929)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'設(shè)計說明書.doc (1120KB)', click:'getBookinfo(8752931)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'附頁.doc (18KB)', click:'getBookinfo(8752932)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'大眾途觀三軸六檔變速器設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00002', pId:'1', name:'A0-變速器裝配圖.dwg',url:'http://m.facezit.com/p-8752923.html', target:'_blank' },{ id:'00003', pId:'1', name:'任務(wù)書前1.doc',url:'http://m.facezit.com/p-8752924.html', target:'_blank' },{ id:'00004', pId:'1', name:'參考文獻(xiàn).doc',url:'http://m.facezit.com/p-8752925.html', target:'_blank' },{ id:'00005', pId:'1', name:'封皮.doc',url:'http://m.facezit.com/p-8752926.html', target:'_blank' },{ id:'00006', pId:'1', name:'摘要.doc',url:'http://m.facezit.com/p-8752927.html', target:'_blank' },{ id:'00007', pId:'1', name:'畢業(yè)設(shè)計任務(wù)書.doc',url:'http://m.facezit.com/p-8752929.html', target:'_blank' },{ id:'00008', pId:'1', name:'設(shè)計說明書.doc',url:'http://m.facezit.com/p-8752931.html', target:'_blank' },{ id:'00009', pId:'1', name:'附頁.doc',url:'http://m.facezit.com/p-8752932.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 = '8751619'; 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; }); });