'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'擋環(huán)零件鉆孔夾具設計全套cad圖紙設計說明書.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'擋環(huán)零件鉆孔夾具設計 (包含11個文件)', },{ id:'0000100001', pId:'00001', name:'任務書.png (29KB)', click:'getBookinfo(8185024)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'圖紙匯總.png (43KB)', click:'getBookinfo(8185025)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'夾具體零件圖.png (18KB)', click:'getBookinfo(8185026)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'夾具裝配圖及其零件圖.dwg (143KB)', click:'getBookinfo(8185027)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'定位軸.png (21KB)', click:'getBookinfo(8185028)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'擋環(huán)零件.png (16KB)', click:'getBookinfo(8185029)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'說明書目錄.png (27KB)', click:'getBookinfo(8185030)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'說明書預覽.png (313KB)', click:'getBookinfo(8185031)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'鉆床夾具裝配圖.png (39KB)', click:'getBookinfo(8185032)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'鉆床夾具設計說明書.doc (177KB)', click:'getBookinfo(8185033)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'鉆模板.png (13KB)', click:'getBookinfo(8185034)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'擋環(huán)零件鉆孔夾具設計全套cad圖紙設計說明書.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'任務書.png',url:'http://m.facezit.com/p-8185024.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'圖紙匯總.png',url:'http://m.facezit.com/p-8185025.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'夾具體零件圖.png',url:'http://m.facezit.com/p-8185026.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'夾具裝配圖及其零件圖.dwg',url:'http://m.facezit.com/p-8185027.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'定位軸.png',url:'http://m.facezit.com/p-8185028.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'擋環(huán)零件.png',url:'http://m.facezit.com/p-8185029.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'說明書目錄.png',url:'http://m.facezit.com/p-8185030.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'說明書預覽.png',url:'http://m.facezit.com/p-8185031.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'鉆床夾具裝配圖.png',url:'http://m.facezit.com/p-8185032.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'鉆床夾具設計說明書.doc',url:'http://m.facezit.com/p-8185033.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'鉆模板.png',url:'http://m.facezit.com/p-8185034.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 = '3529738'; 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; }); });