'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'【工裝夾具類】機床刀架座加工工藝和鏜孔夾具工裝設(shè)計【全套cad圖紙畢業(yè)論文】【答辯通過】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'外文翻譯 (包含1個文件)', },{ id:'0000100001', pId:'00001', name:'外文翻譯.doc (72KB)', click:'getBookinfo(8107995)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'0-機械工藝過程卡.doc (143KB)', click:'getBookinfo(8107996)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'1-刀架座零件圖-A0.dwg (228KB)', click:'getBookinfo(8107997)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'1-封面.doc (34KB)', click:'getBookinfo(8107998)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'2-任務(wù)書.doc (52KB)', click:'getBookinfo(8107999)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'2-鏜床夾具裝配圖-A0.dwg (203KB)', click:'getBookinfo(8108000)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'3-開題報告.doc (62KB)', click:'getBookinfo(8108001)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'3-鏜床夾具底座-A0.dwg (45KB)', click:'getBookinfo(8108002)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'4-學(xué)士學(xué)位論文原創(chuàng)性聲明.doc (31KB)', click:'getBookinfo(8108003)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'4-鏜床夾具支座-A1.dwg (45KB)', click:'getBookinfo(8108004)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'5-摘要+目錄.doc (40KB)', click:'getBookinfo(8108005)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'6-說明書-11662字-24頁.doc (1106KB)', click:'getBookinfo(8108006)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'工藝卡片.dwg (411KB)', click:'getBookinfo(8108007)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'【工裝夾具類】機床刀架座加工工藝和鏜孔夾具工裝設(shè)計【全套cad圖紙畢業(yè)論文】【答辯通過】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'外文翻譯.doc',url:'http://m.facezit.com/p-8107995.html', target:'_blank' },{ id:'00002', pId:'1', name:'0-機械工藝過程卡.doc',url:'http://m.facezit.com/p-8107996.html', target:'_blank' },{ id:'00003', pId:'1', name:'1-刀架座零件圖-A0.dwg',url:'http://m.facezit.com/p-8107997.html', target:'_blank' },{ id:'00004', pId:'1', name:'1-封面.doc',url:'http://m.facezit.com/p-8107998.html', target:'_blank' },{ id:'00005', pId:'1', name:'2-任務(wù)書.doc',url:'http://m.facezit.com/p-8107999.html', target:'_blank' },{ id:'00006', pId:'1', name:'2-鏜床夾具裝配圖-A0.dwg',url:'http://m.facezit.com/p-8108000.html', target:'_blank' },{ id:'00007', pId:'1', name:'3-開題報告.doc',url:'http://m.facezit.com/p-8108001.html', target:'_blank' },{ id:'00008', pId:'1', name:'3-鏜床夾具底座-A0.dwg',url:'http://m.facezit.com/p-8108002.html', target:'_blank' },{ id:'00009', pId:'1', name:'4-學(xué)士學(xué)位論文原創(chuàng)性聲明.doc',url:'http://m.facezit.com/p-8108003.html', target:'_blank' },{ id:'00010', pId:'1', name:'4-鏜床夾具支座-A1.dwg',url:'http://m.facezit.com/p-8108004.html', target:'_blank' },{ id:'00011', pId:'1', name:'5-摘要+目錄.doc',url:'http://m.facezit.com/p-8108005.html', target:'_blank' },{ id:'00012', pId:'1', name:'6-說明書-11662字-24頁.doc',url:'http://m.facezit.com/p-8108006.html', target:'_blank' },{ id:'00013', pId:'1', name:'工藝卡片.dwg',url:'http://m.facezit.com/p-8108007.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 = '3526397'; 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; }); });