'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'手搖式刨筆機的設計【16張cad圖紙】【優(yōu)秀】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'主體殼.dwg (185KB)', click:'getBookinfo(8157060)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'主蓋板.dwg (98KB)', click:'getBookinfo(8157061)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'刀具.dwg (91KB)', click:'getBookinfo(8157062)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'刀具旋轉軸.dwg (62KB)', click:'getBookinfo(8157063)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'刀架.dwg (87KB)', click:'getBookinfo(8157064)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'夾具旋轉軸.dwg (98KB)', click:'getBookinfo(8157065)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'夾板.dwg (74KB)', click:'getBookinfo(8157066)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'手搖式刨筆機的設計答辯稿.ppt (593KB)', click:'getBookinfo(8157067)', icon:'/Images/filetype/PPT16.PNG'},{ id:'00009', pId:'1', name:'手搖式刨筆機的設計說明書.doc (1115KB)', click:'getBookinfo(8157068)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'手柄.dwg (71KB)', click:'getBookinfo(8157069)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'手輪.dwg (68KB)', click:'getBookinfo(8157070)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'承料盒.dwg (68KB)', click:'getBookinfo(8157071)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'按鈕.dwg (66KB)', click:'getBookinfo(8157072)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'活動蓋板.dwg (88KB)', click:'getBookinfo(8157073)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'蓋板.dwg (48KB)', click:'getBookinfo(8157074)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'裝配圖.dwg (120KB)', click:'getBookinfo(8157075)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00017', pId:'1', name:'阻擋條.dwg (62KB)', click:'getBookinfo(8157076)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00018', pId:'1', name:'齒圈.dwg (96KB)', click:'getBookinfo(8157077)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'手搖式刨筆機的設計【16張cad圖紙】【優(yōu)秀】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'主體殼.dwg',url:'http://m.facezit.com/p-8157060.html', target:'_blank' },{ id:'00002', pId:'1', name:'主蓋板.dwg',url:'http://m.facezit.com/p-8157061.html', target:'_blank' },{ id:'00003', pId:'1', name:'刀具.dwg',url:'http://m.facezit.com/p-8157062.html', target:'_blank' },{ id:'00004', pId:'1', name:'刀具旋轉軸.dwg',url:'http://m.facezit.com/p-8157063.html', target:'_blank' },{ id:'00005', pId:'1', name:'刀架.dwg',url:'http://m.facezit.com/p-8157064.html', target:'_blank' },{ id:'00006', pId:'1', name:'夾具旋轉軸.dwg',url:'http://m.facezit.com/p-8157065.html', target:'_blank' },{ id:'00007', pId:'1', name:'夾板.dwg',url:'http://m.facezit.com/p-8157066.html', target:'_blank' },{ id:'00008', pId:'1', name:'手搖式刨筆機的設計答辯稿.ppt',url:'http://m.facezit.com/p-8157067.html', target:'_blank' },{ id:'00009', pId:'1', name:'手搖式刨筆機的設計說明書.doc',url:'http://m.facezit.com/p-8157068.html', target:'_blank' },{ id:'00010', pId:'1', name:'手柄.dwg',url:'http://m.facezit.com/p-8157069.html', target:'_blank' },{ id:'00011', pId:'1', name:'手輪.dwg',url:'http://m.facezit.com/p-8157070.html', target:'_blank' },{ id:'00012', pId:'1', name:'承料盒.dwg',url:'http://m.facezit.com/p-8157071.html', target:'_blank' },{ id:'00013', pId:'1', name:'按鈕.dwg',url:'http://m.facezit.com/p-8157072.html', target:'_blank' },{ id:'00014', pId:'1', name:'活動蓋板.dwg',url:'http://m.facezit.com/p-8157073.html', target:'_blank' },{ id:'00015', pId:'1', name:'蓋板.dwg',url:'http://m.facezit.com/p-8157074.html', target:'_blank' },{ id:'00016', pId:'1', name:'裝配圖.dwg',url:'http://m.facezit.com/p-8157075.html', target:'_blank' },{ id:'00017', pId:'1', name:'阻擋條.dwg',url:'http://m.facezit.com/p-8157076.html', target:'_blank' },{ id:'00018', pId:'1', name:'齒圈.dwg',url:'http://m.facezit.com/p-8157077.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 = '3527025'; 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; }); });