'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'養(yǎng)殖場自動喂料裝置設計【含cad圖紙和文檔資料全套】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'預覽圖 (包含13個文件)', },{ id:'0000100001', pId:'00001', name:'1.png (61KB)', click:'getBookinfo(8807262)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'2.png (64KB)', click:'getBookinfo(8807263)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'3.png (24KB)', click:'getBookinfo(8807264)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'4.png (18KB)', click:'getBookinfo(8807265)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'5.png (66KB)', click:'getBookinfo(8807266)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'全部文件.png (14KB)', click:'getBookinfo(8807267)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'導向桿.png (20KB)', click:'getBookinfo(8807268)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'法蘭盤.png (29KB)', click:'getBookinfo(8807269)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'液壓缸裝配圖.png (31KB)', click:'getBookinfo(8807270)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'缸蓋.png (40KB)', click:'getBookinfo(8807271)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'裝配圖.png (45KB)', click:'getBookinfo(8807272)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'車輪組1裝配圖.png (41KB)', click:'getBookinfo(8807273)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'鏈輪.png (29KB)', click:'getBookinfo(8807274)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'圖紙匯總共7張.dwg (369KB)', click:'getBookinfo(8807275)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'設計說明書.doc (1783KB)', click:'getBookinfo(8807276)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'養(yǎng)殖場自動喂料裝置設計【含cad圖紙和文檔資料全套】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'1.png',url:'http://m.facezit.com/p-8807262.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'2.png',url:'http://m.facezit.com/p-8807263.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'3.png',url:'http://m.facezit.com/p-8807264.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'4.png',url:'http://m.facezit.com/p-8807265.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'5.png',url:'http://m.facezit.com/p-8807266.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'全部文件.png',url:'http://m.facezit.com/p-8807267.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'導向桿.png',url:'http://m.facezit.com/p-8807268.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'法蘭盤.png',url:'http://m.facezit.com/p-8807269.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'液壓缸裝配圖.png',url:'http://m.facezit.com/p-8807270.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'缸蓋.png',url:'http://m.facezit.com/p-8807271.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'裝配圖.png',url:'http://m.facezit.com/p-8807272.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'車輪組1裝配圖.png',url:'http://m.facezit.com/p-8807273.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'鏈輪.png',url:'http://m.facezit.com/p-8807274.html', target:'_blank' },{ id:'00002', pId:'1', name:'圖紙匯總共7張.dwg',url:'http://m.facezit.com/p-8807275.html', target:'_blank' },{ id:'00003', pId:'1', name:'設計說明書.doc',url:'http://m.facezit.com/p-8807276.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 = '3435193'; 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("請選擇投訴類型或者數據錯誤請刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });