'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'【zs精品】4953激光快速成型機光頭支撐控制架設(shè)計【機械畢業(yè)設(shè)計全套資料已通過答辯】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'4953-激光快速成型機光頭支撐控制架設(shè)計 (包含18個文件)', },{ id:'0000100001', pId:'00001', name:'英文翻譯 (包含3個文件)', },{ id:'000010000100001', pId:'0000100001', name:'5_Introduction_to_Rapid_Prototyping.doc (578KB)', click:'getBookinfo(8457745)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'謝承哲英文翻譯.doc (503KB)', click:'getBookinfo(8457746)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'謝承哲英文翻譯封皮.doc (144KB)', click:'getBookinfo(8457747)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'任務(wù)書.doc (13KB)', click:'getBookinfo(8457748)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'同步帶輪零件圖.exb (76KB)', },{ id:'0000100004', pId:'00001', name:'導(dǎo)軌零件圖.exb (66KB)', },{ id:'0000100005', pId:'00001', name:'帶輪軸零件圖.exb (83KB)', },{ id:'0000100006', pId:'00001', name:'開題報告.doc (32KB)', click:'getBookinfo(8457749)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'總目錄.doc (12KB)', click:'getBookinfo(8457750)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'文獻綜述.doc (35KB)', click:'getBookinfo(8457751)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'文獻綜述封皮doc.doc (144KB)', click:'getBookinfo(8457752)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'畢業(yè)設(shè)計說明書封面.doc (133KB)', click:'getBookinfo(8457753)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'畢業(yè)設(shè)計說明書摘要和目錄.doc (36KB)', click:'getBookinfo(8457754)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'畢業(yè)設(shè)計說明書正文.doc (883KB)', click:'getBookinfo(8457755)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'激光雕刻機裝配圖.exb (189KB)', },{ id:'0000100014', pId:'00001', name:'英文綜述封皮.doc (133KB)', click:'getBookinfo(8457756)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'軸承座零件圖.exb (74KB)', }]; var zNodes2 = [{ id:'1', pId:'0', name:'【zs精品】4953激光快速成型機光頭支撐控制架設(shè)計【機械畢業(yè)設(shè)計全套資料已通過答辯】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'5_Introduction_to_Rapid_Prototyping.doc',url:'http://m.facezit.com/p-8457745.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'謝承哲英文翻譯.doc',url:'http://m.facezit.com/p-8457746.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'謝承哲英文翻譯封皮.doc',url:'http://m.facezit.com/p-8457747.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'任務(wù)書.doc',url:'http://m.facezit.com/p-8457748.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'開題報告.doc',url:'http://m.facezit.com/p-8457749.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'總目錄.doc',url:'http://m.facezit.com/p-8457750.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'文獻綜述.doc',url:'http://m.facezit.com/p-8457751.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'文獻綜述封皮doc.doc',url:'http://m.facezit.com/p-8457752.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'畢業(yè)設(shè)計說明書封面.doc',url:'http://m.facezit.com/p-8457753.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'畢業(yè)設(shè)計說明書摘要和目錄.doc',url:'http://m.facezit.com/p-8457754.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'畢業(yè)設(shè)計說明書正文.doc',url:'http://m.facezit.com/p-8457755.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'英文綜述封皮.doc',url:'http://m.facezit.com/p-8457756.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 = '7252773'; 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; }); });