'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'0508ca6140車床主軸箱的設(shè)計【cad圖說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'0508-CA6140車床主軸箱的設(shè)計 (包含15個文件)', },{ id:'0000100001', pId:'00001', name:'1軸裝配圖.dwg (127KB)', click:'getBookinfo(8388512)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'1軸裝配圖.png (145KB)', click:'getBookinfo(8388513)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'2軸裝配圖.dwg (95KB)', click:'getBookinfo(8388514)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'2軸裝配圖.png (53KB)', click:'getBookinfo(8388515)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'3軸裝配圖.png (112KB)', click:'getBookinfo(8388516)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'3軸裝配圖A2.dwg (108KB)', click:'getBookinfo(8388517)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'4軸裝配圖.dwg (83KB)', click:'getBookinfo(8388518)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'4軸裝配圖.png (79KB)', click:'getBookinfo(8388519)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'CA6140機床主軸箱的設(shè)計.doc (1591KB)', click:'getBookinfo(8388520)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'主要技術(shù)參數(shù).png (66KB)', click:'getBookinfo(8388521)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'二維總裝配圖.dwg (301KB)', click:'getBookinfo(8388522)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'打包文件.png (33KB)', click:'getBookinfo(8388523)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'裝配圖.png (94KB)', click:'getBookinfo(8388524)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'設(shè)計要求.doc (34KB)', click:'getBookinfo(8388525)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'說明書.png (394KB)', click:'getBookinfo(8388526)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'0508ca6140車床主軸箱的設(shè)計【cad圖說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'1軸裝配圖.dwg',url:'http://m.facezit.com/p-8388512.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'1軸裝配圖.png',url:'http://m.facezit.com/p-8388513.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'2軸裝配圖.dwg',url:'http://m.facezit.com/p-8388514.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'2軸裝配圖.png',url:'http://m.facezit.com/p-8388515.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'3軸裝配圖.png',url:'http://m.facezit.com/p-8388516.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'3軸裝配圖A2.dwg',url:'http://m.facezit.com/p-8388517.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'4軸裝配圖.dwg',url:'http://m.facezit.com/p-8388518.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'4軸裝配圖.png',url:'http://m.facezit.com/p-8388519.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'CA6140機床主軸箱的設(shè)計.doc',url:'http://m.facezit.com/p-8388520.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'主要技術(shù)參數(shù).png',url:'http://m.facezit.com/p-8388521.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'二維總裝配圖.dwg',url:'http://m.facezit.com/p-8388522.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'打包文件.png',url:'http://m.facezit.com/p-8388523.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'裝配圖.png',url:'http://m.facezit.com/p-8388524.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'設(shè)計要求.doc',url:'http://m.facezit.com/p-8388525.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'說明書.png',url:'http://m.facezit.com/p-8388526.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 = '7245597'; 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; }); });