'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'支承板彎曲模設(shè)計u形件【12張cad圖紙和說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'插圖 (包含2個文件)', },{ id:'0000100001', pId:'00001', name:'支承板插圖.dwg (27KB)', click:'getBookinfo(8679222)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'設(shè)計中的插圖.dwg (100KB)', click:'getBookinfo(8679223)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'A1-裝配圖.dwg (115KB)', click:'getBookinfo(8679224)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'A3-上模座.dwg (64KB)', click:'getBookinfo(8679225)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'A3-下模座.dwg (62KB)', click:'getBookinfo(8679226)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'A3-凸模固定板.dwg (62KB)', click:'getBookinfo(8679227)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'A3-凹模固定板.dwg (85KB)', click:'getBookinfo(8679228)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'A3-凹模墊板.dwg (59KB)', click:'getBookinfo(8679229)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'A4-凸模.dwg (64KB)', click:'getBookinfo(8679230)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'A4-凹模.dwg (58KB)', click:'getBookinfo(8679231)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'A4-定位板.dwg (55KB)', click:'getBookinfo(8679232)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'A4-模柄.dwg (58KB)', click:'getBookinfo(8679233)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'A4-頂件板.dwg (54KB)', click:'getBookinfo(8679234)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'A4-頂桿座.dwg (56KB)', click:'getBookinfo(8679235)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'任務(wù)書.doc (39KB)', click:'getBookinfo(8679236)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'摘要.doc (27KB)', click:'getBookinfo(8679237)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'目錄.doc (90KB)', click:'getBookinfo(8679238)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00017', pId:'1', name:'說明書.doc (335KB)', click:'getBookinfo(8679239)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'支承板彎曲模設(shè)計u形件【12張cad圖紙和說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'支承板插圖.dwg',url:'http://m.facezit.com/p-8679222.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'設(shè)計中的插圖.dwg',url:'http://m.facezit.com/p-8679223.html', target:'_blank' },{ id:'00002', pId:'1', name:'A1-裝配圖.dwg',url:'http://m.facezit.com/p-8679224.html', target:'_blank' },{ id:'00003', pId:'1', name:'A3-上模座.dwg',url:'http://m.facezit.com/p-8679225.html', target:'_blank' },{ id:'00004', pId:'1', name:'A3-下模座.dwg',url:'http://m.facezit.com/p-8679226.html', target:'_blank' },{ id:'00005', pId:'1', name:'A3-凸模固定板.dwg',url:'http://m.facezit.com/p-8679227.html', target:'_blank' },{ id:'00006', pId:'1', name:'A3-凹模固定板.dwg',url:'http://m.facezit.com/p-8679228.html', target:'_blank' },{ id:'00007', pId:'1', name:'A3-凹模墊板.dwg',url:'http://m.facezit.com/p-8679229.html', target:'_blank' },{ id:'00008', pId:'1', name:'A4-凸模.dwg',url:'http://m.facezit.com/p-8679230.html', target:'_blank' },{ id:'00009', pId:'1', name:'A4-凹模.dwg',url:'http://m.facezit.com/p-8679231.html', target:'_blank' },{ id:'00010', pId:'1', name:'A4-定位板.dwg',url:'http://m.facezit.com/p-8679232.html', target:'_blank' },{ id:'00011', pId:'1', name:'A4-模柄.dwg',url:'http://m.facezit.com/p-8679233.html', target:'_blank' },{ id:'00012', pId:'1', name:'A4-頂件板.dwg',url:'http://m.facezit.com/p-8679234.html', target:'_blank' },{ id:'00013', pId:'1', name:'A4-頂桿座.dwg',url:'http://m.facezit.com/p-8679235.html', target:'_blank' },{ id:'00014', pId:'1', name:'任務(wù)書.doc',url:'http://m.facezit.com/p-8679236.html', target:'_blank' },{ id:'00015', pId:'1', name:'摘要.doc',url:'http://m.facezit.com/p-8679237.html', target:'_blank' },{ id:'00016', pId:'1', name:'目錄.doc',url:'http://m.facezit.com/p-8679238.html', target:'_blank' },{ id:'00017', pId:'1', name:'說明書.doc',url:'http://m.facezit.com/p-8679239.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 = '7262117'; 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; }); });