'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'手推式剪草機的設計【cad圖紙和文檔資料全套】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'手推式剪草機的設計 (包含22個文件)', },{ id:'0000100001', pId:'00001', name:'預覽圖 (包含6個文件)', },{ id:'000010000100001', pId:'0000100001', name:'全部文件.jpg (555KB)', click:'getBookinfo(8806902)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'字數(shù)統(tǒng)計.jpg (40KB)', click:'getBookinfo(8806903)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'小輪子A3.jpg (76KB)', click:'getBookinfo(8806904)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'目錄.doc (32KB)', click:'getBookinfo(8806905)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'裝配圖.jpg (156KB)', click:'getBookinfo(8806906)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100006', pId:'0000100001', name:'齒輪軸A2.jpg (102KB)', click:'getBookinfo(8806907)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'固定刀片A2.dwg (58KB)', click:'getBookinfo(8806908)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'墊板A4.dwg (44KB)', click:'getBookinfo(8806909)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'大輪子A3.dwg (54KB)', click:'getBookinfo(8806910)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'大齒輪A2.dwg (57KB)', click:'getBookinfo(8806911)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'導架體A3.dwg (51KB)', click:'getBookinfo(8806912)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'小輪子A3.dwg (77KB)', click:'getBookinfo(8806913)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'撥桿4號.dwg (52KB)', click:'getBookinfo(8806914)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'活動刀片A2.dwg (66KB)', click:'getBookinfo(8806915)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'端蓋A2.dwg (57KB)', click:'getBookinfo(8806916)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'端面齒輪A3.dwg (50KB)', click:'getBookinfo(8806917)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'裝配圖.dwg (137KB)', click:'getBookinfo(8806918)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'設計說明書正文.doc (527KB)', click:'getBookinfo(8806919)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'軸A3.dwg (57KB)', click:'getBookinfo(8806920)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'連桿4號.dwg (47KB)', click:'getBookinfo(8806921)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'齒輪軸A2.dwg (62KB)', click:'getBookinfo(8806922)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'手推式剪草機的設計【cad圖紙和文檔資料全套】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'全部文件.jpg',url:'http://m.facezit.com/p-8806902.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'字數(shù)統(tǒng)計.jpg',url:'http://m.facezit.com/p-8806903.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'小輪子A3.jpg',url:'http://m.facezit.com/p-8806904.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'目錄.doc',url:'http://m.facezit.com/p-8806905.html', target:'_blank' },{ id:'000010000100005', pId:'0000100001', name:'裝配圖.jpg',url:'http://m.facezit.com/p-8806906.html', target:'_blank' },{ id:'000010000100006', pId:'0000100001', name:'齒輪軸A2.jpg',url:'http://m.facezit.com/p-8806907.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'固定刀片A2.dwg',url:'http://m.facezit.com/p-8806908.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'墊板A4.dwg',url:'http://m.facezit.com/p-8806909.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'大輪子A3.dwg',url:'http://m.facezit.com/p-8806910.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'大齒輪A2.dwg',url:'http://m.facezit.com/p-8806911.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'導架體A3.dwg',url:'http://m.facezit.com/p-8806912.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'小輪子A3.dwg',url:'http://m.facezit.com/p-8806913.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'撥桿4號.dwg',url:'http://m.facezit.com/p-8806914.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'活動刀片A2.dwg',url:'http://m.facezit.com/p-8806915.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'端蓋A2.dwg',url:'http://m.facezit.com/p-8806916.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'端面齒輪A3.dwg',url:'http://m.facezit.com/p-8806917.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'裝配圖.dwg',url:'http://m.facezit.com/p-8806918.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'設計說明書正文.doc',url:'http://m.facezit.com/p-8806919.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'軸A3.dwg',url:'http://m.facezit.com/p-8806920.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'連桿4號.dwg',url:'http://m.facezit.com/p-8806921.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'齒輪軸A2.dwg',url:'http://m.facezit.com/p-8806922.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 = '3435702'; 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; }); });