'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'全套設(shè)計_升降橫移式立體車庫設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'任務(wù)書.doc (124KB)', click:'getBookinfo(8351138)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'升降臺裝配圖.dwg (504KB)', click:'getBookinfo(8351139)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'升降橫移式立體車庫設(shè)計開題報告.doc (115KB)', click:'getBookinfo(8351140)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'升降橫移式立體車庫設(shè)計說明書.doc (829KB)', click:'getBookinfo(8351141)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'卷筒.dwg (118KB)', click:'getBookinfo(8351142)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'外文翻譯--數(shù)控技術(shù)和裝備發(fā)展趨勢及對策.doc (29KB)', click:'getBookinfo(8351143)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'封皮.doc (33KB)', click:'getBookinfo(8351144)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'摘要.doc (26KB)', click:'getBookinfo(8351145)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'橫移機(jī)構(gòu).dwg (154KB)', click:'getBookinfo(8351146)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'滑輪.dwg (100KB)', click:'getBookinfo(8351147)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'目錄.doc (39KB)', click:'getBookinfo(8351148)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'答辯相關(guān)材料.doc (264KB)', click:'getBookinfo(8351149)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'裝配圖.dwg (1847KB)', click:'getBookinfo(8351150)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'過程管理封皮.doc (109KB)', click:'getBookinfo(8351151)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'全套設(shè)計_升降橫移式立體車庫設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'任務(wù)書.doc',url:'http://r1worldwide.com/p-8351138.html', target:'_blank' },{ id:'00002', pId:'1', name:'升降臺裝配圖.dwg',url:'http://r1worldwide.com/p-8351139.html', target:'_blank' },{ id:'00003', pId:'1', name:'升降橫移式立體車庫設(shè)計開題報告.doc',url:'http://r1worldwide.com/p-8351140.html', target:'_blank' },{ id:'00004', pId:'1', name:'升降橫移式立體車庫設(shè)計說明書.doc',url:'http://r1worldwide.com/p-8351141.html', target:'_blank' },{ id:'00005', pId:'1', name:'卷筒.dwg',url:'http://r1worldwide.com/p-8351142.html', target:'_blank' },{ id:'00006', pId:'1', name:'外文翻譯--數(shù)控技術(shù)和裝備發(fā)展趨勢及對策.doc',url:'http://r1worldwide.com/p-8351143.html', target:'_blank' },{ id:'00007', pId:'1', name:'封皮.doc',url:'http://r1worldwide.com/p-8351144.html', target:'_blank' },{ id:'00008', pId:'1', name:'摘要.doc',url:'http://r1worldwide.com/p-8351145.html', target:'_blank' },{ id:'00009', pId:'1', name:'橫移機(jī)構(gòu).dwg',url:'http://r1worldwide.com/p-8351146.html', target:'_blank' },{ id:'00010', pId:'1', name:'滑輪.dwg',url:'http://r1worldwide.com/p-8351147.html', target:'_blank' },{ id:'00011', pId:'1', name:'目錄.doc',url:'http://r1worldwide.com/p-8351148.html', target:'_blank' },{ id:'00012', pId:'1', name:'答辯相關(guān)材料.doc',url:'http://r1worldwide.com/p-8351149.html', target:'_blank' },{ id:'00013', pId:'1', name:'裝配圖.dwg',url:'http://r1worldwide.com/p-8351150.html', target:'_blank' },{ id:'00014', pId:'1', name:'過程管理封皮.doc',url:'http://r1worldwide.com/p-8351151.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 = '7835798'; 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; }); });