'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'【zs精品】0077江水利樞紐壩工設(shè)計【全套4張cad圖說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'0077-江水利樞紐壩工設(shè)計【全套4張CAD圖】 (包含14個文件)', },{ id:'0000100001', pId:'00001', name:'O江土石壩樞紐平面布置圖.png (69KB)', click:'getBookinfo(8448074)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'大壩上下游立視圖.png (32KB)', click:'getBookinfo(8448075)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'大壩平面圖1.dwg (362KB)', click:'getBookinfo(8448076)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'大壩立視圖2.dwg (89KB)', click:'getBookinfo(8448077)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'打包文件.png (40KB)', click:'getBookinfo(8448078)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'摘要.png (45KB)', click:'getBookinfo(8448079)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'江水利樞紐壩工設(shè)計說明書.doc (2013KB)', click:'getBookinfo(8448080)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'江水利樞紐工程設(shè)計計算.doc (1725KB)', click:'getBookinfo(8448081)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'目錄.png (37KB)', click:'getBookinfo(8448082)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'細部結(jié)構(gòu)圖5.dwg (85KB)', click:'getBookinfo(8448083)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'細部結(jié)構(gòu)圖5.png (34KB)', click:'getBookinfo(8448084)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'說明書.png (392KB)', click:'getBookinfo(8448085)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'隧洞大圖.png (44KB)', click:'getBookinfo(8448086)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'隧洞大圖4.dwg (192KB)', click:'getBookinfo(8448087)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'【zs精品】0077江水利樞紐壩工設(shè)計【全套4張cad圖說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'O江土石壩樞紐平面布置圖.png',url:'http://m.facezit.com/p-8448074.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'大壩上下游立視圖.png',url:'http://m.facezit.com/p-8448075.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'大壩平面圖1.dwg',url:'http://m.facezit.com/p-8448076.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'大壩立視圖2.dwg',url:'http://m.facezit.com/p-8448077.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'打包文件.png',url:'http://m.facezit.com/p-8448078.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'摘要.png',url:'http://m.facezit.com/p-8448079.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'江水利樞紐壩工設(shè)計說明書.doc',url:'http://m.facezit.com/p-8448080.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'江水利樞紐工程設(shè)計計算.doc',url:'http://m.facezit.com/p-8448081.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'目錄.png',url:'http://m.facezit.com/p-8448082.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'細部結(jié)構(gòu)圖5.dwg',url:'http://m.facezit.com/p-8448083.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'細部結(jié)構(gòu)圖5.png',url:'http://m.facezit.com/p-8448084.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'說明書.png',url:'http://m.facezit.com/p-8448085.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'隧洞大圖.png',url:'http://m.facezit.com/p-8448086.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'隧洞大圖4.dwg',url:'http://m.facezit.com/p-8448087.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 = '7251962'; 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; }); });