'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'無軸承電機(jī)的結(jié)構(gòu)設(shè)計【19張cad圖紙和說明書】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'傳感器.dwg (40KB)', click:'getBookinfo(8103980)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'前端蓋.dwg (61KB)', click:'getBookinfo(8103981)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'右軸套.dwg (32KB)', click:'getBookinfo(8103982)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'后端蓋.dwg (69KB)', click:'getBookinfo(8103983)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'基準(zhǔn)換.dwg (47KB)', click:'getBookinfo(8103984)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'外缸筒1.dwg (54KB)', click:'getBookinfo(8103985)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'定子.dwg (47KB)', click:'getBookinfo(8103986)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'無軸承電機(jī)的結(jié)構(gòu)設(shè)計.doc (1139KB)', click:'getBookinfo(8103987)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'機(jī)座.dwg (53KB)', click:'getBookinfo(8103988)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'電機(jī)定子外圈.dwg (41KB)', click:'getBookinfo(8103989)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'蓋1.dwg (70KB)', click:'getBookinfo(8103990)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'目錄.doc (245KB)', click:'getBookinfo(8103991)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'磁軸承端蓋.dwg (44KB)', click:'getBookinfo(8103992)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'缸筒.dwg (41KB)', click:'getBookinfo(8103993)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'裝配圖.dwg (131KB)', click:'getBookinfo(8103994)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'軸1.dwg (67KB)', click:'getBookinfo(8103995)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00017', pId:'1', name:'軸套.dwg (37KB)', click:'getBookinfo(8103996)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00018', pId:'1', name:'軸套1.dwg (32KB)', click:'getBookinfo(8103997)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00019', pId:'1', name:'軸承外圈.dwg (42KB)', click:'getBookinfo(8103998)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00020', pId:'1', name:'軸承擋圈.dwg (39KB)', click:'getBookinfo(8103999)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00021', pId:'1', name:'鋁圈.dwg (33KB)', click:'getBookinfo(8104000)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'無軸承電機(jī)的結(jié)構(gòu)設(shè)計【19張cad圖紙和說明書】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'傳感器.dwg',url:'http://m.facezit.com/p-8103980.html', target:'_blank' },{ id:'00002', pId:'1', name:'前端蓋.dwg',url:'http://m.facezit.com/p-8103981.html', target:'_blank' },{ id:'00003', pId:'1', name:'右軸套.dwg',url:'http://m.facezit.com/p-8103982.html', target:'_blank' },{ id:'00004', pId:'1', name:'后端蓋.dwg',url:'http://m.facezit.com/p-8103983.html', target:'_blank' },{ id:'00005', pId:'1', name:'基準(zhǔn)換.dwg',url:'http://m.facezit.com/p-8103984.html', target:'_blank' },{ id:'00006', pId:'1', name:'外缸筒1.dwg',url:'http://m.facezit.com/p-8103985.html', target:'_blank' },{ id:'00007', pId:'1', name:'定子.dwg',url:'http://m.facezit.com/p-8103986.html', target:'_blank' },{ id:'00008', pId:'1', name:'無軸承電機(jī)的結(jié)構(gòu)設(shè)計.doc',url:'http://m.facezit.com/p-8103987.html', target:'_blank' },{ id:'00009', pId:'1', name:'機(jī)座.dwg',url:'http://m.facezit.com/p-8103988.html', target:'_blank' },{ id:'00010', pId:'1', name:'電機(jī)定子外圈.dwg',url:'http://m.facezit.com/p-8103989.html', target:'_blank' },{ id:'00011', pId:'1', name:'蓋1.dwg',url:'http://m.facezit.com/p-8103990.html', target:'_blank' },{ id:'00012', pId:'1', name:'目錄.doc',url:'http://m.facezit.com/p-8103991.html', target:'_blank' },{ id:'00013', pId:'1', name:'磁軸承端蓋.dwg',url:'http://m.facezit.com/p-8103992.html', target:'_blank' },{ id:'00014', pId:'1', name:'缸筒.dwg',url:'http://m.facezit.com/p-8103993.html', target:'_blank' },{ id:'00015', pId:'1', name:'裝配圖.dwg',url:'http://m.facezit.com/p-8103994.html', target:'_blank' },{ id:'00016', pId:'1', name:'軸1.dwg',url:'http://m.facezit.com/p-8103995.html', target:'_blank' },{ id:'00017', pId:'1', name:'軸套.dwg',url:'http://m.facezit.com/p-8103996.html', target:'_blank' },{ id:'00018', pId:'1', name:'軸套1.dwg',url:'http://m.facezit.com/p-8103997.html', target:'_blank' },{ id:'00019', pId:'1', name:'軸承外圈.dwg',url:'http://m.facezit.com/p-8103998.html', target:'_blank' },{ id:'00020', pId:'1', name:'軸承擋圈.dwg',url:'http://m.facezit.com/p-8103999.html', target:'_blank' },{ id:'00021', pId:'1', name:'鋁圈.dwg',url:'http://m.facezit.com/p-8104000.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 = '3520004'; 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; }); });