'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'【cm067】支承板彎曲模設(shè)計【rw】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'CAD源文件圖 (包含18個文件)', },{ id:'0000100001', pId:'00001', name:'插圖 (包含4個文件)', },{ id:'000010000100001', pId:'0000100001', name:'支承板插圖.dwg (27KB)', click:'getBookinfo(8439037)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'支承板插圖.gif (8KB)', click:'getBookinfo(8439038)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'設(shè)計中的插圖.dwg (100KB)', click:'getBookinfo(8439039)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'設(shè)計中的插圖.gif (19KB)', click:'getBookinfo(8439040)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'A1-裝配圖.dwg (202KB)', click:'getBookinfo(8439041)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'A3-上模座.dwg (64KB)', click:'getBookinfo(8439042)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'A3-下模座.dwg (62KB)', click:'getBookinfo(8439043)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'A3-凸模固定板.dwg (62KB)', click:'getBookinfo(8439044)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'A3-凹模固定板.dwg (85KB)', click:'getBookinfo(8439045)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'A3-凹模墊板.dwg (59KB)', click:'getBookinfo(8439046)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'A4-凸模.dwg (64KB)', click:'getBookinfo(8439047)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'A4-凹模.dwg (58KB)', click:'getBookinfo(8439048)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'A4-定位板.dwg (55KB)', click:'getBookinfo(8439049)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'A4-模柄.dwg (58KB)', click:'getBookinfo(8439050)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'A4-頂件板.dwg (54KB)', click:'getBookinfo(8439051)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'A4-頂桿座.dwg (56KB)', click:'getBookinfo(8439052)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'【CAD圖紙-預(yù)覽】.pdf (864KB)', click:'getBookinfo(8439053)', icon:'/Images/filetype/PDF16.PNG'},{ id:'00002', pId:'1', name:'任務(wù)書.doc (52KB)', click:'getBookinfo(8439054)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'摘要.doc (27KB)', click:'getBookinfo(8439055)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'目錄.doc (90KB)', click:'getBookinfo(8439056)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'說明書【28頁,9500字左右】.doc (376KB)', click:'getBookinfo(8439057)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'【cm067】支承板彎曲模設(shè)計【rw】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'支承板插圖.dwg',url:'http://m.facezit.com/p-8439037.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'支承板插圖.gif',url:'http://m.facezit.com/p-8439038.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'設(shè)計中的插圖.dwg',url:'http://m.facezit.com/p-8439039.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'設(shè)計中的插圖.gif',url:'http://m.facezit.com/p-8439040.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'A1-裝配圖.dwg',url:'http://m.facezit.com/p-8439041.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'A3-上模座.dwg',url:'http://m.facezit.com/p-8439042.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'A3-下模座.dwg',url:'http://m.facezit.com/p-8439043.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'A3-凸模固定板.dwg',url:'http://m.facezit.com/p-8439044.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'A3-凹模固定板.dwg',url:'http://m.facezit.com/p-8439045.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'A3-凹模墊板.dwg',url:'http://m.facezit.com/p-8439046.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'A4-凸模.dwg',url:'http://m.facezit.com/p-8439047.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'A4-凹模.dwg',url:'http://m.facezit.com/p-8439048.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'A4-定位板.dwg',url:'http://m.facezit.com/p-8439049.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'A4-模柄.dwg',url:'http://m.facezit.com/p-8439050.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'A4-頂件板.dwg',url:'http://m.facezit.com/p-8439051.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'A4-頂桿座.dwg',url:'http://m.facezit.com/p-8439052.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'【CAD圖紙-預(yù)覽】.pdf',url:'http://m.facezit.com/p-8439053.html', target:'_blank' },{ id:'00002', pId:'1', name:'任務(wù)書.doc',url:'http://m.facezit.com/p-8439054.html', target:'_blank' },{ id:'00003', pId:'1', name:'摘要.doc',url:'http://m.facezit.com/p-8439055.html', target:'_blank' },{ id:'00004', pId:'1', name:'目錄.doc',url:'http://m.facezit.com/p-8439056.html', target:'_blank' },{ id:'00005', pId:'1', name:'說明書【28頁,9500字左右】.doc',url:'http://m.facezit.com/p-8439057.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 = '7251100'; 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; }); });