'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'無軸承電機的結構設計【19張cad圖紙畢業(yè)論文】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'傳感器.dwg (40KB)', click:'getBookinfo(8156553)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'前端蓋.dwg (61KB)', click:'getBookinfo(8156554)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'右軸套.dwg (32KB)', click:'getBookinfo(8156555)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'后端蓋.dwg (69KB)', click:'getBookinfo(8156556)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'基準換.dwg (47KB)', click:'getBookinfo(8156557)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'外缸筒1.dwg (54KB)', click:'getBookinfo(8156558)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'定子.dwg (47KB)', click:'getBookinfo(8156559)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'無軸承電機的結構設計開題報告.doc (37KB)', click:'getBookinfo(8156560)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'無軸承電機的結構設計裝配圖.dwg (117KB)', click:'getBookinfo(8156561)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'無軸承電機的結構設計說明書.doc (1142KB)', click:'getBookinfo(8156562)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'機座.dwg (53KB)', click:'getBookinfo(8156563)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'電機定子外圈.dwg (41KB)', click:'getBookinfo(8156564)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'蓋1.dwg (70KB)', click:'getBookinfo(8156565)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'磁軸承端蓋.dwg (44KB)', click:'getBookinfo(8156566)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'缸筒.dwg (41KB)', click:'getBookinfo(8156567)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'軸1.dwg (67KB)', click:'getBookinfo(8156568)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00017', pId:'1', name:'軸套1.dwg (32KB)', click:'getBookinfo(8156569)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00018', pId:'1', name:'軸套2.dwg (37KB)', click:'getBookinfo(8156570)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00019', pId:'1', name:'軸承外圈.dwg (42KB)', click:'getBookinfo(8156571)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00020', pId:'1', name:'軸承擋圈.dwg (39KB)', click:'getBookinfo(8156572)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00021', pId:'1', name:'選題登記表.doc (39KB)', click:'getBookinfo(8156573)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00022', pId:'1', name:'鋁圈.dwg (33KB)', click:'getBookinfo(8156574)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'無軸承電機的結構設計【19張cad圖紙畢業(yè)論文】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'傳感器.dwg',url:'http://facezit.com/p-8156553.html', target:'_blank' },{ id:'00002', pId:'1', name:'前端蓋.dwg',url:'http://facezit.com/p-8156554.html', target:'_blank' },{ id:'00003', pId:'1', name:'右軸套.dwg',url:'http://facezit.com/p-8156555.html', target:'_blank' },{ id:'00004', pId:'1', name:'后端蓋.dwg',url:'http://facezit.com/p-8156556.html', target:'_blank' },{ id:'00005', pId:'1', name:'基準換.dwg',url:'http://facezit.com/p-8156557.html', target:'_blank' },{ id:'00006', pId:'1', name:'外缸筒1.dwg',url:'http://facezit.com/p-8156558.html', target:'_blank' },{ id:'00007', pId:'1', name:'定子.dwg',url:'http://facezit.com/p-8156559.html', target:'_blank' },{ id:'00008', pId:'1', name:'無軸承電機的結構設計開題報告.doc',url:'http://facezit.com/p-8156560.html', target:'_blank' },{ id:'00009', pId:'1', name:'無軸承電機的結構設計裝配圖.dwg',url:'http://facezit.com/p-8156561.html', target:'_blank' },{ id:'00010', pId:'1', name:'無軸承電機的結構設計說明書.doc',url:'http://facezit.com/p-8156562.html', target:'_blank' },{ id:'00011', pId:'1', name:'機座.dwg',url:'http://facezit.com/p-8156563.html', target:'_blank' },{ id:'00012', pId:'1', name:'電機定子外圈.dwg',url:'http://facezit.com/p-8156564.html', target:'_blank' },{ id:'00013', pId:'1', name:'蓋1.dwg',url:'http://facezit.com/p-8156565.html', target:'_blank' },{ id:'00014', pId:'1', name:'磁軸承端蓋.dwg',url:'http://facezit.com/p-8156566.html', target:'_blank' },{ id:'00015', pId:'1', name:'缸筒.dwg',url:'http://facezit.com/p-8156567.html', target:'_blank' },{ id:'00016', pId:'1', name:'軸1.dwg',url:'http://facezit.com/p-8156568.html', target:'_blank' },{ id:'00017', pId:'1', name:'軸套1.dwg',url:'http://facezit.com/p-8156569.html', target:'_blank' },{ id:'00018', pId:'1', name:'軸套2.dwg',url:'http://facezit.com/p-8156570.html', target:'_blank' },{ id:'00019', pId:'1', name:'軸承外圈.dwg',url:'http://facezit.com/p-8156571.html', target:'_blank' },{ id:'00020', pId:'1', name:'軸承擋圈.dwg',url:'http://facezit.com/p-8156572.html', target:'_blank' },{ id:'00021', pId:'1', name:'選題登記表.doc',url:'http://facezit.com/p-8156573.html', target:'_blank' },{ id:'00022', pId:'1', name:'鋁圈.dwg',url:'http://facezit.com/p-8156574.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 = '3526979'; 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; }); });