'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'ck6163型數(shù)控機床設(shè)計【機械畢業(yè)設(shè)計@word7張cad全套圖紙】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'CK6163型數(shù)控機床設(shè)計【機械畢業(yè)設(shè)計@word+7張CAD全套圖紙】 (包含11個文件)', },{ id:'0000100001', pId:'00001', name:'主軸箱側(cè)視圖A3.dwg (109KB)', click:'getBookinfo(8159681)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'主軸箱裝配圖A0.dwg (606KB)', click:'getBookinfo(8159682)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'主軸零件圖A1.dwg (216KB)', click:'getBookinfo(8159683)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'任務(wù)書.doc (15KB)', click:'getBookinfo(8159684)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'變速箱裝配圖A0.dwg (465KB)', click:'getBookinfo(8159685)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'開題報告.doc (51KB)', click:'getBookinfo(8159686)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'正文.doc (1639KB)', click:'getBookinfo(8159687)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'滾珠絲杠零件圖A1.dwg (142KB)', click:'getBookinfo(8159688)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'計劃周記進度檢查表.xls (27KB)', click:'getBookinfo(8159689)', icon:'/Images/filetype/XLS16.PNG'},{ id:'0000100010', pId:'00001', name:'進給機構(gòu)裝配圖A0.dwg (300KB)', click:'getBookinfo(8159690)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'齒輪A3.dwg (77KB)', click:'getBookinfo(8159691)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'ck6163型數(shù)控機床設(shè)計【機械畢業(yè)設(shè)計@word7張cad全套圖紙】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'主軸箱側(cè)視圖A3.dwg',url:'http://canyonlakefaqs.com/p-8159681.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'主軸箱裝配圖A0.dwg',url:'http://canyonlakefaqs.com/p-8159682.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'主軸零件圖A1.dwg',url:'http://canyonlakefaqs.com/p-8159683.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'任務(wù)書.doc',url:'http://canyonlakefaqs.com/p-8159684.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'變速箱裝配圖A0.dwg',url:'http://canyonlakefaqs.com/p-8159685.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'開題報告.doc',url:'http://canyonlakefaqs.com/p-8159686.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'正文.doc',url:'http://canyonlakefaqs.com/p-8159687.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'滾珠絲杠零件圖A1.dwg',url:'http://canyonlakefaqs.com/p-8159688.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'計劃周記進度檢查表.xls',url:'http://canyonlakefaqs.com/p-8159689.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'進給機構(gòu)裝配圖A0.dwg',url:'http://canyonlakefaqs.com/p-8159690.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'齒輪A3.dwg',url:'http://canyonlakefaqs.com/p-8159691.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 = '3525844'; 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; }); });