'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'0285輕型汽車底盤鼓式液壓制動器設(shè)計【全套5張cad圖說明書】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'0285-輕型汽車底盤鼓式液壓制動器設(shè)計【全套5張CAD圖】 (包含20個文件)', },{ id:'0000100001', pId:'00001', name:'KT.doc (47KB)', click:'getBookinfo(8190602)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'主要技術(shù)要求.png (40KB)', click:'getBookinfo(8190603)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'制動主缸A1.dwg (269KB)', click:'getBookinfo(8190604)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'制動主缸裝配圖.png (34KB)', click:'getBookinfo(8190605)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'制動盤.png (12KB)', click:'getBookinfo(8190606)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'制動鼓零件A2.dwg (93KB)', click:'getBookinfo(8190607)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'制動鼓零件圖.png (14KB)', click:'getBookinfo(8190608)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'打包文件.png (64KB)', click:'getBookinfo(8190609)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'摘要.png (51KB)', click:'getBookinfo(8190610)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'文獻綜述.doc (38KB)', click:'getBookinfo(8190611)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'浮動鉗盤裝配圖.png (27KB)', click:'getBookinfo(8190612)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'浮鉗盤A1.dwg (120KB)', click:'getBookinfo(8190613)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'目錄.png (60KB)', click:'getBookinfo(8190614)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'管路布置.png (11KB)', click:'getBookinfo(8190615)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'管路布置A2.dwg (124KB)', click:'getBookinfo(8190616)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'翻譯.docx (35KB)', click:'getBookinfo(8190617)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100017', pId:'00001', name:'設(shè)計要求.doc (54KB)', click:'getBookinfo(8190618)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100018', pId:'00001', name:'說明書.png (496KB)', click:'getBookinfo(8190619)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100019', pId:'00001', name:'輕型汽車底盤鼓式制動器設(shè)計.doc (9550KB)', click:'getBookinfo(8190620)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100020', pId:'00001', name:'零件圖制動盤A2.dwg (80KB)', click:'getBookinfo(8190621)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'0285輕型汽車底盤鼓式液壓制動器設(shè)計【全套5張cad圖說明書】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'KT.doc',url:'http://m.facezit.com/p-8190602.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'主要技術(shù)要求.png',url:'http://m.facezit.com/p-8190603.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'制動主缸A1.dwg',url:'http://m.facezit.com/p-8190604.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'制動主缸裝配圖.png',url:'http://m.facezit.com/p-8190605.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'制動盤.png',url:'http://m.facezit.com/p-8190606.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'制動鼓零件A2.dwg',url:'http://m.facezit.com/p-8190607.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'制動鼓零件圖.png',url:'http://m.facezit.com/p-8190608.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'打包文件.png',url:'http://m.facezit.com/p-8190609.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'摘要.png',url:'http://m.facezit.com/p-8190610.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'文獻綜述.doc',url:'http://m.facezit.com/p-8190611.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'浮動鉗盤裝配圖.png',url:'http://m.facezit.com/p-8190612.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'浮鉗盤A1.dwg',url:'http://m.facezit.com/p-8190613.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'目錄.png',url:'http://m.facezit.com/p-8190614.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'管路布置.png',url:'http://m.facezit.com/p-8190615.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'管路布置A2.dwg',url:'http://m.facezit.com/p-8190616.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'翻譯.docx',url:'http://m.facezit.com/p-8190617.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'設(shè)計要求.doc',url:'http://m.facezit.com/p-8190618.html', target:'_blank' },{ id:'0000100018', pId:'00001', name:'說明書.png',url:'http://m.facezit.com/p-8190619.html', target:'_blank' },{ id:'0000100019', pId:'00001', name:'輕型汽車底盤鼓式制動器設(shè)計.doc',url:'http://m.facezit.com/p-8190620.html', target:'_blank' },{ id:'0000100020', pId:'00001', name:'零件圖制動盤A2.dwg',url:'http://m.facezit.com/p-8190621.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 = '3532182'; 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; }); });