'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'杠桿零件工藝及鉆兩孔夾具設(shè)計滑柱式鉆床【含cad圖紙和文檔全套資料】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'預(yù)覽 (包含11個文件)', },{ id:'0000100001', pId:'00001', name:'1.png (46KB)', click:'getBookinfo(8801351)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'2.png (25KB)', click:'getBookinfo(8801352)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'3.png (6KB)', click:'getBookinfo(8801353)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'4.png (58KB)', click:'getBookinfo(8801354)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'夾具體.png (10KB)', click:'getBookinfo(8801355)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'定位銷.png (8KB)', click:'getBookinfo(8801356)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'工序卡.png (80KB)', click:'getBookinfo(8801357)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'杠桿.png (12KB)', click:'getBookinfo(8801358)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'杠桿過程卡.png (31KB)', click:'getBookinfo(8801359)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'杠桿鉆床夾具裝配圖.png (15KB)', click:'getBookinfo(8801360)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'鉆模板.png (12KB)', click:'getBookinfo(8801361)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'杠桿工序卡.doc (277KB)', click:'getBookinfo(8801362)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'杠桿工藝文件過程卡.doc (35KB)', click:'getBookinfo(8801363)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'杠桿機械加工工藝規(guī)程及滑柱式鉆床夾具說明書.doc (901KB)', click:'getBookinfo(8801364)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'滑柱式鉆床夾具 CAD圖紙 匯總5張.dwg (234KB)', click:'getBookinfo(8801365)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'杠桿零件工藝及鉆兩孔夾具設(shè)計滑柱式鉆床【含cad圖紙和文檔全套資料】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'1.png',url:'http://m.facezit.com/p-8801351.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'2.png',url:'http://m.facezit.com/p-8801352.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'3.png',url:'http://m.facezit.com/p-8801353.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'4.png',url:'http://m.facezit.com/p-8801354.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'夾具體.png',url:'http://m.facezit.com/p-8801355.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'定位銷.png',url:'http://m.facezit.com/p-8801356.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'工序卡.png',url:'http://m.facezit.com/p-8801357.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'杠桿.png',url:'http://m.facezit.com/p-8801358.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'杠桿過程卡.png',url:'http://m.facezit.com/p-8801359.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'杠桿鉆床夾具裝配圖.png',url:'http://m.facezit.com/p-8801360.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'鉆模板.png',url:'http://m.facezit.com/p-8801361.html', target:'_blank' },{ id:'00002', pId:'1', name:'杠桿工序卡.doc',url:'http://m.facezit.com/p-8801362.html', target:'_blank' },{ id:'00003', pId:'1', name:'杠桿工藝文件過程卡.doc',url:'http://m.facezit.com/p-8801363.html', target:'_blank' },{ id:'00004', pId:'1', name:'杠桿機械加工工藝規(guī)程及滑柱式鉆床夾具說明書.doc',url:'http://m.facezit.com/p-8801364.html', target:'_blank' },{ id:'00005', pId:'1', name:'滑柱式鉆床夾具 CAD圖紙 匯總5張.dwg',url:'http://m.facezit.com/p-8801365.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 = '3429761'; 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; }); });