'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'船閘施工組織設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'船閘施工組織設(shè)計 (包含34個文件)', },{ id:'0000100001', pId:'00001', name:'翰文橫道圖編制 (包含26個文件)', },{ id:'000010000100001', pId:'0000100001', name:'Data (包含3個文件)', },{ id:'00001000010000100001', pId:'000010000100001', name:'cusWordbookbf.mdb (328KB)', },{ id:'00001000010000100002', pId:'000010000100001', name:'PertWordbook.mdb (432KB)', },{ id:'00001000010000100003', pId:'000010000100001', name:'Wordbookmdl.mdb (328KB)', },{ id:'000010000100002', pId:'0000100001', name:'Lib (包含1個文件)', },{ id:'00001000010000200001', pId:'000010000100002', name:'ksdll.vmp.dll (2177KB)', },{ id:'000010000100003', pId:'0000100001', name:'Sample (包含13個文件)', },{ id:'00001000010000300001', pId:'000010000100003', name:'主體工程.prt (12KB)', },{ id:'00001000010000300002', pId:'000010000100003', name:'公路工程.prt (58KB)', },{ id:'00001000010000300003', pId:'000010000100003', name:'單位工程施工進(jìn)度網(wǎng)絡(luò)圖.prt (27KB)', },{ id:'00001000010000300004', pId:'000010000100003', name:'基礎(chǔ)工程.prt (12KB)', },{ id:'00001000010000300005', pId:'000010000100003', name:'大型車庫改造工程.prt (36KB)', },{ id:'00001000010000300006', pId:'000010000100003', name:'建筑工程.prt (15KB)', },{ id:'00001000010000300007', pId:'000010000100003', name:'房建工程1.prt (69KB)', },{ id:'00001000010000300008', pId:'000010000100003', name:'房建工程2.prt (39KB)', },{ id:'00001000010000300009', pId:'000010000100003', name:'房建工程3.prt (58KB)', },{ id:'00001000010000300010', pId:'000010000100003', name:'某金融大廈裝飾工程.prt (31KB)', },{ id:'00001000010000300011', pId:'000010000100003', name:'水廠安裝工程.prt (32KB)', },{ id:'00001000010000300012', pId:'000010000100003', name:'高層建筑工程.prt (27KB)', },{ id:'00001000010000300013', pId:'000010000100003', name:'高爐主體安裝工程.prt (29KB)', },{ id:'000010000100004', pId:'0000100001', name:'HwGantt.exe (4526KB)', },{ id:'000010000100005', pId:'0000100001', name:'hwpertIniFile.INI (0KB)', },{ id:'000010000100006', pId:'0000100001', name:'pertbaktmp.prt (14KB)', },{ id:'000010000100007', pId:'0000100001', name:'unins000.dat (2KB)', },{ id:'000010000100008', pId:'0000100001', name:'unins000.exe (705KB)', },{ id:'000010000100009', pId:'0000100001', name:'翰文工程進(jìn)度計劃編制說明書.chm (1114KB)', },{ id:'0000100002', pId:'00001', name:'修改11.bak (81KB)', },{ id:'0000100003', pId:'00001', name:'修改11.dwg (86KB)', click:'getBookinfo(8786169)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'施工課程設(shè)計mjb.pdf (4213KB)', click:'getBookinfo(8786170)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000100005', pId:'00001', name:'橫道圖.jpg (1023KB)', click:'getBookinfo(8786171)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'船閘施工實習(xí)報告.doc (363KB)', click:'getBookinfo(8786172)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'船閘施工組織設(shè)計.doc (305KB)', click:'getBookinfo(8786173)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'進(jìn)度計劃說明書.doc (22KB)', click:'getBookinfo(8786174)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'船閘施工組織設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100003', pId:'00001', name:'修改11.dwg',url:'http://m.facezit.com/p-8786169.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'施工課程設(shè)計mjb.pdf',url:'http://m.facezit.com/p-8786170.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'橫道圖.jpg',url:'http://m.facezit.com/p-8786171.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'船閘施工實習(xí)報告.doc',url:'http://m.facezit.com/p-8786172.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'船閘施工組織設(shè)計.doc',url:'http://m.facezit.com/p-8786173.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'進(jìn)度計劃說明書.doc',url:'http://m.facezit.com/p-8786174.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 = '3428988'; 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; }); });