'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'畢業(yè)設計_0.1t普通座式焊接變位機設計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'(OK)0.1t普通座式焊接變位機設計說明書.doc (1987KB)', click:'getBookinfo(8345692)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'CAD-傳遞齒輪.dwg (80KB)', click:'getBookinfo(8345693)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'CAD-傳遞齒輪軸.dwg (76KB)', click:'getBookinfo(8345694)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'CAD-傾斜軸.dwg (98KB)', click:'getBookinfo(8345695)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'CAD-回轉(zhuǎn)機構.dwg (436KB)', click:'getBookinfo(8345696)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'CAD-回轉(zhuǎn)機構箱體.dwg (143KB)', click:'getBookinfo(8345697)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'CAD-小齒輪.dwg (63KB)', click:'getBookinfo(8345698)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'CAD-小齒輪軸.dwg (86KB)', click:'getBookinfo(8345699)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'CAD-工作臺.dwg (88KB)', click:'getBookinfo(8345700)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'CAD-左轉(zhuǎn)軸.dwg (96KB)', click:'getBookinfo(8345701)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'CAD-總裝配圖.dwg (472KB)', click:'getBookinfo(8345702)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'CAD-扇形齒輪.dwg (82KB)', click:'getBookinfo(8345703)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'CAD-機架.dwg (128KB)', click:'getBookinfo(8345704)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'CAD-第一級蝸桿.dwg (106KB)', click:'getBookinfo(8345705)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'CAD-第一級蝸輪.dwg (86KB)', click:'getBookinfo(8345706)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'CAD-第二級蝸桿.dwg (109KB)', click:'getBookinfo(8345707)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00017', pId:'1', name:'CAD-第二級蝸輪.dwg (97KB)', click:'getBookinfo(8345708)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00018', pId:'1', name:'CAD-第二級蝸輪軸.dwg (102KB)', click:'getBookinfo(8345709)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00019', pId:'1', name:'CAD-軸套1.dwg (44KB)', click:'getBookinfo(8345710)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00020', pId:'1', name:'CAD-軸套2.dwg (50KB)', click:'getBookinfo(8345711)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00021', pId:'1', name:'CAD-軸承座1.dwg (92KB)', click:'getBookinfo(8345712)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00022', pId:'1', name:'CAD-軸承座2.dwg (89KB)', click:'getBookinfo(8345713)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00023', pId:'1', name:'CAD-軸承蓋.dwg (57KB)', click:'getBookinfo(8345714)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00024', pId:'1', name:'CAD-軸承蓋1.dwg (53KB)', click:'getBookinfo(8345715)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00025', pId:'1', name:'CAD-軸承蓋2.dwg (82KB)', click:'getBookinfo(8345716)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00026', pId:'1', name:'CAD-軸承蓋3.dwg (82KB)', click:'getBookinfo(8345717)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00027', pId:'1', name:'外文翻譯--自動焊接操作系統(tǒng).doc (852KB)', click:'getBookinfo(8345718)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'畢業(yè)設計_0.1t普通座式焊接變位機設計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'(OK)0.1t普通座式焊接變位機設計說明書.doc',url:'http://m.facezit.com/p-8345692.html', target:'_blank' },{ id:'00002', pId:'1', name:'CAD-傳遞齒輪.dwg',url:'http://m.facezit.com/p-8345693.html', target:'_blank' },{ id:'00003', pId:'1', name:'CAD-傳遞齒輪軸.dwg',url:'http://m.facezit.com/p-8345694.html', target:'_blank' },{ id:'00004', pId:'1', name:'CAD-傾斜軸.dwg',url:'http://m.facezit.com/p-8345695.html', target:'_blank' },{ id:'00005', pId:'1', name:'CAD-回轉(zhuǎn)機構.dwg',url:'http://m.facezit.com/p-8345696.html', target:'_blank' },{ id:'00006', pId:'1', name:'CAD-回轉(zhuǎn)機構箱體.dwg',url:'http://m.facezit.com/p-8345697.html', target:'_blank' },{ id:'00007', pId:'1', name:'CAD-小齒輪.dwg',url:'http://m.facezit.com/p-8345698.html', target:'_blank' },{ id:'00008', pId:'1', name:'CAD-小齒輪軸.dwg',url:'http://m.facezit.com/p-8345699.html', target:'_blank' },{ id:'00009', pId:'1', name:'CAD-工作臺.dwg',url:'http://m.facezit.com/p-8345700.html', target:'_blank' },{ id:'00010', pId:'1', name:'CAD-左轉(zhuǎn)軸.dwg',url:'http://m.facezit.com/p-8345701.html', target:'_blank' },{ id:'00011', pId:'1', name:'CAD-總裝配圖.dwg',url:'http://m.facezit.com/p-8345702.html', target:'_blank' },{ id:'00012', pId:'1', name:'CAD-扇形齒輪.dwg',url:'http://m.facezit.com/p-8345703.html', target:'_blank' },{ id:'00013', pId:'1', name:'CAD-機架.dwg',url:'http://m.facezit.com/p-8345704.html', target:'_blank' },{ id:'00014', pId:'1', name:'CAD-第一級蝸桿.dwg',url:'http://m.facezit.com/p-8345705.html', target:'_blank' },{ id:'00015', pId:'1', name:'CAD-第一級蝸輪.dwg',url:'http://m.facezit.com/p-8345706.html', target:'_blank' },{ id:'00016', pId:'1', name:'CAD-第二級蝸桿.dwg',url:'http://m.facezit.com/p-8345707.html', target:'_blank' },{ id:'00017', pId:'1', name:'CAD-第二級蝸輪.dwg',url:'http://m.facezit.com/p-8345708.html', target:'_blank' },{ id:'00018', pId:'1', name:'CAD-第二級蝸輪軸.dwg',url:'http://m.facezit.com/p-8345709.html', target:'_blank' },{ id:'00019', pId:'1', name:'CAD-軸套1.dwg',url:'http://m.facezit.com/p-8345710.html', target:'_blank' },{ id:'00020', pId:'1', name:'CAD-軸套2.dwg',url:'http://m.facezit.com/p-8345711.html', target:'_blank' },{ id:'00021', pId:'1', name:'CAD-軸承座1.dwg',url:'http://m.facezit.com/p-8345712.html', target:'_blank' },{ id:'00022', pId:'1', name:'CAD-軸承座2.dwg',url:'http://m.facezit.com/p-8345713.html', target:'_blank' },{ id:'00023', pId:'1', name:'CAD-軸承蓋.dwg',url:'http://m.facezit.com/p-8345714.html', target:'_blank' },{ id:'00024', pId:'1', name:'CAD-軸承蓋1.dwg',url:'http://m.facezit.com/p-8345715.html', target:'_blank' },{ id:'00025', pId:'1', name:'CAD-軸承蓋2.dwg',url:'http://m.facezit.com/p-8345716.html', target:'_blank' },{ id:'00026', pId:'1', name:'CAD-軸承蓋3.dwg',url:'http://m.facezit.com/p-8345717.html', target:'_blank' },{ id:'00027', pId:'1', name:'外文翻譯--自動焊接操作系統(tǒng).doc',url:'http://m.facezit.com/p-8345718.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 = '7810221'; 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; }); });