'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'6165千斤頂設計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100016', pId:'0000100001', name:'current_session.pro (0KB)', },{ id:'000010000100017', pId:'0000100001', name:'ding.prt.2 (138KB)', },{ id:'000010000100018', pId:'0000100001', name:'dizuo.prt.8 (155KB)', },{ id:'000010000100019', pId:'0000100001', name:'dizuo.prt.9 (167KB)', },{ id:'000010000100020', pId:'0000100001', name:'jubi-banjin.prt.4 (174KB)', },{ id:'000010000100021', pId:'0000100001', name:'jubi2-banjin.prt.5 (163KB)', },{ id:'000010000100022', pId:'0000100001', name:'keti.dwg (21KB)', click:'getBookinfo(8244369)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100023', pId:'0000100001', name:'keti_dwg__out.log.1 (1KB)', },{ id:'000010000100024', pId:'0000100001', name:'luogan.prt.6 (1378KB)', },{ id:'000010000100025', pId:'0000100001', name:'luomu1.prt.7 (551KB)', },{ id:'000010000100026', pId:'0000100001', name:'moju.prt.1 (82KB)', },{ id:'000010000100027', pId:'0000100001', name:'prt0001.prt.1 (40KB)', },{ id:'000010000100028', pId:'0000100001', name:'prt0003.prt.1 (85KB)', },{ id:'000010000100029', pId:'0000100001', name:'prt0003.prt.2 (65KB)', },{ id:'000010000100030', pId:'0000100001', name:'QQ圖片20140419195131.jpg (72KB)', click:'getBookinfo(8244370)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100031', pId:'0000100001', name:'QQ圖片20140419195215.jpg (36KB)', click:'getBookinfo(8244371)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100032', pId:'0000100001', name:'std.err (479KB)', },{ id:'000010000100033', pId:'0000100001', name:'std.out (6841KB)', },{ id:'000010000100034', pId:'0000100001', name:'tao.prt.2 (52KB)', },{ id:'000010000100035', pId:'0000100001', name:'tao.prt.3 (74KB)', },{ id:'000010000100036', pId:'0000100001', name:'trail.txt.1 (31KB)', },{ id:'000010000100037', pId:'0000100001', name:'trail.txt.2 (23KB)', },{ id:'000010000100038', pId:'0000100001', name:'trail.txt.3 (1485KB)', },{ id:'000010000100039', pId:'0000100001', name:'xiangti.prt.7 (441KB)', },{ id:'000010000100040', pId:'0000100001', name:'xiangti.prt.8 (462KB)', },{ id:'000010000100041', pId:'0000100001', name:'xiangti1.prt.2 (228KB)', },{ id:'000010000100042', pId:'0000100001', name:'xiangti1.prt.3 (252KB)', },{ id:'000010000100043', pId:'0000100001', name:'zhidian.prt.3 (451KB)', },{ id:'000010000100044', pId:'0000100001', name:'zhou.prt.2 (84KB)', },{ id:'000010000100045', pId:'0000100001', name:'zhou.prt.3 (86KB)', },{ id:'000010000100046', pId:'0000100001', name:'zongzhuangtu1.bak (372KB)', },{ id:'000010000100047', pId:'0000100001', name:'zongzhuangtu1.dwg (372KB)', click:'getBookinfo(8244372)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100048', pId:'0000100001', name:'新建 Microsoft Word 文檔.1docx.docx (317KB)', click:'getBookinfo(8244373)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'AVI.avi (263260KB)', },{ id:'0000100003', pId:'00001', name:'QQ圖片20140419195131.jpg (72KB)', click:'getBookinfo(8244374)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'QQ圖片20140419195215.jpg (36KB)', click:'getBookinfo(8244375)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'任務書.docx (15KB)', click:'getBookinfo(8244376)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'千斤頂設【proe】.rar (15020KB)', click:'getBookinfo(8244377)', icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'6165-千斤頂設計 (包含55個文件)', },{ id:'0000100001', pId:'00001', name:'千斤頂設【proe】 (包含48個文件)', },{ id:'000010000100001', pId:'0000100001', name:'1.prt.5 (3080KB)', },{ id:'000010000100002', pId:'0000100001', name:'2.prt.5 (2662KB)', },{ id:'000010000100003', pId:'0000100001', name:'22.prt (1833KB)', },{ id:'000010000100004', pId:'0000100001', name:'22.prt.2 (1581KB)', },{ id:'000010000100005', pId:'0000100001', name:'3.prt.3 (2773KB)', },{ id:'000010000100006', pId:'0000100001', name:'4.prt.3 (1679KB)', },{ id:'000010000100007', pId:'0000100001', name:'4.prt.4 (1833KB)', },{ id:'000010000100008', pId:'0000100001', name:'5.prt.3 (2495KB)', },{ id:'000010000100009', pId:'0000100001', name:'5.prt.4 (2771KB)', },{ id:'000010000100010', pId:'0000100001', name:'asm0001.asm.12 (125KB)', },{ id:'000010000100011', pId:'0000100001', name:'asm0001.asm.13 (130KB)', },{ id:'000010000100012', pId:'0000100001', name:'asm0001.asm.14 (138KB)', },{ id:'000010000100013', pId:'0000100001', name:'clx.dwg (1565KB)', click:'getBookinfo(8244368)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100014', pId:'0000100001', name:'clx_dwg__out.log.1 (2KB)', },{ id:'000010000100015', pId:'0000100001', name:'config.win.1 (10KB)', },{ id:'0000100007', pId:'00001', name:'千斤頂說明書.docx (348KB)', click:'getBookinfo(8244378)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'6165千斤頂設計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100022', pId:'0000100001', name:'keti.dwg',url:'http://m.facezit.com/p-8244369.html', target:'_blank' },{ id:'000010000100030', pId:'0000100001', name:'QQ圖片20140419195131.jpg',url:'http://m.facezit.com/p-8244370.html', target:'_blank' },{ id:'000010000100031', pId:'0000100001', name:'QQ圖片20140419195215.jpg',url:'http://m.facezit.com/p-8244371.html', target:'_blank' },{ id:'000010000100047', pId:'0000100001', name:'zongzhuangtu1.dwg',url:'http://m.facezit.com/p-8244372.html', target:'_blank' },{ id:'000010000100048', pId:'0000100001', name:'新建 Microsoft Word 文檔.1docx.docx',url:'http://m.facezit.com/p-8244373.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'QQ圖片20140419195131.jpg',url:'http://m.facezit.com/p-8244374.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'QQ圖片20140419195215.jpg',url:'http://m.facezit.com/p-8244375.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'任務書.docx',url:'http://m.facezit.com/p-8244376.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'千斤頂設【proe】.rar',url:'http://m.facezit.com/p-8244377.html', target:'_blank' },{ id:'000010000100013', pId:'0000100001', name:'clx.dwg',url:'http://m.facezit.com/p-8244368.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'千斤頂說明書.docx',url:'http://m.facezit.com/p-8244378.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 = '6332450'; 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; }); });