'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'xx隧道南端實施性施工組織設計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'xx隧道南端實施性施工組織設計 (包含10個文件)', },{ id:'0000100001', pId:'00001', name:'xx開工報告表格.doc (124KB)', click:'getBookinfo(8284789)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'xx隧道南端施工場地平面布置圖(8月25號).dwg (179KB)', click:'getBookinfo(8284790)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'xx隧道南端施工形象進度圖(8月25號).dwg (134KB)', click:'getBookinfo(8284791)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'xx隧道安全目錄.doc (22KB)', click:'getBookinfo(8284792)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'xx隧道應急預案目錄.doc (19KB)', click:'getBookinfo(8284793)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'xx隧道控制測量方案.doc (159KB)', click:'getBookinfo(8284794)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'xx隧道施工方案.doc (2563KB)', click:'getBookinfo(8284795)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'xx隧道施組(8月25日).doc (9404KB)', click:'getBookinfo(8284796)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'xx隧道環(huán)保目錄.doc (19KB)', click:'getBookinfo(8284797)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'封面及目錄.doc (27KB)', click:'getBookinfo(8284798)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'xx隧道南端實施性施工組織設計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'xx開工報告表格.doc',url:'http://facezit.com/p-8284789.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'xx隧道南端施工場地平面布置圖(8月25號).dwg',url:'http://facezit.com/p-8284790.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'xx隧道南端施工形象進度圖(8月25號).dwg',url:'http://facezit.com/p-8284791.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'xx隧道安全目錄.doc',url:'http://facezit.com/p-8284792.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'xx隧道應急預案目錄.doc',url:'http://facezit.com/p-8284793.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'xx隧道控制測量方案.doc',url:'http://facezit.com/p-8284794.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'xx隧道施工方案.doc',url:'http://facezit.com/p-8284795.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'xx隧道施組(8月25日).doc',url:'http://facezit.com/p-8284796.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'xx隧道環(huán)保目錄.doc',url:'http://facezit.com/p-8284797.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'封面及目錄.doc',url:'http://facezit.com/p-8284798.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 = '6672014'; 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; }); });