'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'【gy148】手柄座零件機械加工工藝和典型夾具設(shè)計[ktfy]【2】【機械工藝夾具類畢業(yè)設(shè)計論文】【優(yōu)秀】【通過答辯】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'外文翻譯 (包含2個文件)', },{ id:'0000100001', pId:'00001', name:'外文.pdf (764KB)', click:'getBookinfo(8801710)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000100002', pId:'00001', name:'外文文獻譯文 2.doc (1509KB)', click:'getBookinfo(8801711)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'A1-夾具體.dwg (101KB)', click:'getBookinfo(8801712)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'A1-鉆M10螺紋孔底孔夾具裝配圖.dwg (115KB)', click:'getBookinfo(8801713)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'A1-鉆直徑10孔夾具裝配圖.dwg (86KB)', click:'getBookinfo(8801714)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'A3-圓柱銷[鉆直徑10孔夾具零件圖].dwg (62KB)', click:'getBookinfo(8801715)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'A3-夾具底座[鉆直徑10孔夾具零件圖].dwg (75KB)', click:'getBookinfo(8801716)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'A3-手柄座毛坯圖.dwg (292KB)', click:'getBookinfo(8801717)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'A3-手柄座零件圖.dwg (302KB)', click:'getBookinfo(8801718)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'A4-壓板[鉆直徑10孔夾具零件圖].dwg (63KB)', click:'getBookinfo(8801719)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'A4-槽面壓塊[鉆M10螺紋孔底孔夾具零件圖].dwg (68KB)', click:'getBookinfo(8801720)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'A4-鉆套[鉆直徑10孔夾具零件圖].dwg (65KB)', click:'getBookinfo(8801721)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'A4-鉆模板[鉆直徑10孔夾具零件圖].dwg (69KB)', click:'getBookinfo(8801722)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'【CAD圖紙-預(yù)覽】.pdf (564KB)', click:'getBookinfo(8801723)', icon:'/Images/filetype/PDF16.PNG'},{ id:'00014', pId:'1', name:'中期報告.doc (39KB)', click:'getBookinfo(8801724)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'封皮.doc (22KB)', click:'getBookinfo(8801725)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'工序卡片.doc (1505KB)', click:'getBookinfo(8801726)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00017', pId:'1', name:'開題報告.doc (125KB)', click:'getBookinfo(8801727)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00018', pId:'1', name:'摘要+目錄.doc (56KB)', click:'getBookinfo(8801728)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00019', pId:'1', name:'畢業(yè)設(shè)計說明書.doc (724KB)', click:'getBookinfo(8801729)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'【gy148】手柄座零件機械加工工藝和典型夾具設(shè)計[ktfy]【2】【機械工藝夾具類畢業(yè)設(shè)計論文】【優(yōu)秀】【通過答辯】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'外文.pdf',url:'http://m.facezit.com/p-8801710.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'外文文獻譯文 2.doc',url:'http://m.facezit.com/p-8801711.html', target:'_blank' },{ id:'00002', pId:'1', name:'A1-夾具體.dwg',url:'http://m.facezit.com/p-8801712.html', target:'_blank' },{ id:'00003', pId:'1', name:'A1-鉆M10螺紋孔底孔夾具裝配圖.dwg',url:'http://m.facezit.com/p-8801713.html', target:'_blank' },{ id:'00004', pId:'1', name:'A1-鉆直徑10孔夾具裝配圖.dwg',url:'http://m.facezit.com/p-8801714.html', target:'_blank' },{ id:'00005', pId:'1', name:'A3-圓柱銷[鉆直徑10孔夾具零件圖].dwg',url:'http://m.facezit.com/p-8801715.html', target:'_blank' },{ id:'00006', pId:'1', name:'A3-夾具底座[鉆直徑10孔夾具零件圖].dwg',url:'http://m.facezit.com/p-8801716.html', target:'_blank' },{ id:'00007', pId:'1', name:'A3-手柄座毛坯圖.dwg',url:'http://m.facezit.com/p-8801717.html', target:'_blank' },{ id:'00008', pId:'1', name:'A3-手柄座零件圖.dwg',url:'http://m.facezit.com/p-8801718.html', target:'_blank' },{ id:'00009', pId:'1', name:'A4-壓板[鉆直徑10孔夾具零件圖].dwg',url:'http://m.facezit.com/p-8801719.html', target:'_blank' },{ id:'00010', pId:'1', name:'A4-槽面壓塊[鉆M10螺紋孔底孔夾具零件圖].dwg',url:'http://m.facezit.com/p-8801720.html', target:'_blank' },{ id:'00011', pId:'1', name:'A4-鉆套[鉆直徑10孔夾具零件圖].dwg',url:'http://m.facezit.com/p-8801721.html', target:'_blank' },{ id:'00012', pId:'1', name:'A4-鉆模板[鉆直徑10孔夾具零件圖].dwg',url:'http://m.facezit.com/p-8801722.html', target:'_blank' },{ id:'00013', pId:'1', name:'【CAD圖紙-預(yù)覽】.pdf',url:'http://m.facezit.com/p-8801723.html', target:'_blank' },{ id:'00014', pId:'1', name:'中期報告.doc',url:'http://m.facezit.com/p-8801724.html', target:'_blank' },{ id:'00015', pId:'1', name:'封皮.doc',url:'http://m.facezit.com/p-8801725.html', target:'_blank' },{ id:'00016', pId:'1', name:'工序卡片.doc',url:'http://m.facezit.com/p-8801726.html', target:'_blank' },{ id:'00017', pId:'1', name:'開題報告.doc',url:'http://m.facezit.com/p-8801727.html', target:'_blank' },{ id:'00018', pId:'1', name:'摘要+目錄.doc',url:'http://m.facezit.com/p-8801728.html', target:'_blank' },{ id:'00019', pId:'1', name:'畢業(yè)設(shè)計說明書.doc',url:'http://m.facezit.com/p-8801729.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 = '3428437'; 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; }); });