'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'【zs精品】0200加工中心16刀盤式刀庫設(shè)計【全套7張cad圖說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'0200-加工中心16刀盤式刀庫設(shè)計【全套7張CAD圖】 (包含19個文件)', },{ id:'0000100001', pId:'00001', name:'A0-裝配圖.dwg (298KB)', click:'getBookinfo(8449653)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'A3-刀套.dwg (208KB)', click:'getBookinfo(8449654)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'A3-刀套零件圖.dwg (89KB)', click:'getBookinfo(8449655)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'A3-蝸桿.dwg (105KB)', click:'getBookinfo(8449656)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'A3-蝸輪.dwg (90KB)', click:'getBookinfo(8449657)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'A3-蝸輪軸.dwg (92KB)', click:'getBookinfo(8449658)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'A4-液壓缸.dwg (80KB)', click:'getBookinfo(8449659)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'刀套組合圖.png (41KB)', click:'getBookinfo(8449660)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'加工中心16刀刀庫裝配圖.png (59KB)', click:'getBookinfo(8449661)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'打包文件.png (57KB)', click:'getBookinfo(8449662)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'摘要.png (80KB)', click:'getBookinfo(8449663)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'液壓缸.png (13KB)', click:'getBookinfo(8449664)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'目錄.png (59KB)', click:'getBookinfo(8449665)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'目錄摘要.doc (110KB)', click:'getBookinfo(8449666)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'蝸桿.png (21KB)', click:'getBookinfo(8449667)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'蝸輪.png (32KB)', click:'getBookinfo(8449668)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100017', pId:'00001', name:'蝸輪軸.png (26KB)', click:'getBookinfo(8449669)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100018', pId:'00001', name:'說明書.doc (3257KB)', click:'getBookinfo(8449670)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100019', pId:'00001', name:'說明書.png (532KB)', click:'getBookinfo(8449671)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'【zs精品】0200加工中心16刀盤式刀庫設(shè)計【全套7張cad圖說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'A0-裝配圖.dwg',url:'http://m.facezit.com/p-8449653.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'A3-刀套.dwg',url:'http://m.facezit.com/p-8449654.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'A3-刀套零件圖.dwg',url:'http://m.facezit.com/p-8449655.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'A3-蝸桿.dwg',url:'http://m.facezit.com/p-8449656.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'A3-蝸輪.dwg',url:'http://m.facezit.com/p-8449657.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'A3-蝸輪軸.dwg',url:'http://m.facezit.com/p-8449658.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'A4-液壓缸.dwg',url:'http://m.facezit.com/p-8449659.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'刀套組合圖.png',url:'http://m.facezit.com/p-8449660.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'加工中心16刀刀庫裝配圖.png',url:'http://m.facezit.com/p-8449661.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'打包文件.png',url:'http://m.facezit.com/p-8449662.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'摘要.png',url:'http://m.facezit.com/p-8449663.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'液壓缸.png',url:'http://m.facezit.com/p-8449664.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'目錄.png',url:'http://m.facezit.com/p-8449665.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'目錄摘要.doc',url:'http://m.facezit.com/p-8449666.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'蝸桿.png',url:'http://m.facezit.com/p-8449667.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'蝸輪.png',url:'http://m.facezit.com/p-8449668.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'蝸輪軸.png',url:'http://m.facezit.com/p-8449669.html', target:'_blank' },{ id:'0000100018', pId:'00001', name:'說明書.doc',url:'http://m.facezit.com/p-8449670.html', target:'_blank' },{ id:'0000100019', pId:'00001', name:'說明書.png',url:'http://m.facezit.com/p-8449671.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 = '7252072'; 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; }); });