'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'液壓挖掘機正鏟工作裝置設計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'液壓挖掘機正鏟工作裝置設計 (包含21個文件)', },{ id:'0000100001', pId:'00001', name:'挖掘機三維模型剪切圖 (包含5個文件)', },{ id:'000010000100001', pId:'0000100001', name:'232.jpg (20KB)', click:'getBookinfo(8237017)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'5130.jpg (22KB)', click:'getBookinfo(8237018)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'65123.jpg (24KB)', click:'getBookinfo(8237019)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'65141.jpg (23KB)', click:'getBookinfo(8237020)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'未命名.jpg (22KB)', click:'getBookinfo(8237021)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'lunwen封面目錄.docx (17KB)', click:'getBookinfo(8237022)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'動臂.dwg (112KB)', click:'getBookinfo(8237023)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'動臂、斗桿長度.dwg (32KB)', click:'getBookinfo(8237024)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'工作尺寸.dwg (30KB)', click:'getBookinfo(8237025)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'開題報告.doc (65KB)', click:'getBookinfo(8237026)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'摘要.docx (19KB)', click:'getBookinfo(8237027)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'斗桿.dwg (157KB)', click:'getBookinfo(8237028)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'正鏟挖掘機三維模型.rar (2751KB)', click:'getBookinfo(8237029)', icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100010', pId:'00001', name:'油缸參數(shù).dwg (33KB)', click:'getBookinfo(8237030)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'液壓正鏟挖掘機機構(gòu)簡圖.dwg (35KB)', click:'getBookinfo(8237031)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'裝配圖.dwg (118KB)', click:'getBookinfo(8237032)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'論文.doc (1459KB)', click:'getBookinfo(8237033)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'轉(zhuǎn)角范圍.dwg (31KB)', click:'getBookinfo(8237034)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'運動仿真.mpg (883KB)', },{ id:'0000100016', pId:'00001', name:'鏟斗.dwg (125KB)', click:'getBookinfo(8237035)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'液壓挖掘機正鏟工作裝置設計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'232.jpg',url:'http://m.facezit.com/p-8237017.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'5130.jpg',url:'http://m.facezit.com/p-8237018.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'65123.jpg',url:'http://m.facezit.com/p-8237019.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'65141.jpg',url:'http://m.facezit.com/p-8237020.html', target:'_blank' },{ id:'000010000100005', pId:'0000100001', name:'未命名.jpg',url:'http://m.facezit.com/p-8237021.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'lunwen封面目錄.docx',url:'http://m.facezit.com/p-8237022.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'動臂.dwg',url:'http://m.facezit.com/p-8237023.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'動臂、斗桿長度.dwg',url:'http://m.facezit.com/p-8237024.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'工作尺寸.dwg',url:'http://m.facezit.com/p-8237025.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'開題報告.doc',url:'http://m.facezit.com/p-8237026.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'摘要.docx',url:'http://m.facezit.com/p-8237027.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'斗桿.dwg',url:'http://m.facezit.com/p-8237028.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'正鏟挖掘機三維模型.rar',url:'http://m.facezit.com/p-8237029.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'油缸參數(shù).dwg',url:'http://m.facezit.com/p-8237030.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'液壓正鏟挖掘機機構(gòu)簡圖.dwg',url:'http://m.facezit.com/p-8237031.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'裝配圖.dwg',url:'http://m.facezit.com/p-8237032.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'論文.doc',url:'http://m.facezit.com/p-8237033.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'轉(zhuǎn)角范圍.dwg',url:'http://m.facezit.com/p-8237034.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'鏟斗.dwg',url:'http://m.facezit.com/p-8237035.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 = '3770736'; 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; }); });