'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'qd型163.2t電動橋式雙梁起重機的機械設(shè)計【6張cad圖紙和說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'暫不用 (包含1個文件)', },{ id:'0000100001', pId:'00001', name:'3.2T電動橋式雙梁起重機的機械設(shè)計.dwg (1566KB)', click:'getBookinfo(8327539)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'英文翻譯 (包含2個文件)', },{ id:'0000200001', pId:'00002', name:'中英文翻譯4.doc (34KB)', click:'getBookinfo(8327540)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200002', pId:'00002', name:'英文封皮.doc (11KB)', click:'getBookinfo(8327541)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'PPT答辯稿.ppt (738KB)', click:'getBookinfo(8327542)', icon:'/Images/filetype/PPT16.PNG'},{ id:'00004', pId:'1', name:'中期檢查.doc (20KB)', click:'getBookinfo(8327543)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'主梁.DWG (327KB)', click:'getBookinfo(8327544)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'任務書.doc (20KB)', click:'getBookinfo(8327545)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'吊架橋式總圖.DWG (442KB)', click:'getBookinfo(8327546)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'大車運行機構(gòu).DWG (368KB)', click:'getBookinfo(8327547)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'封面.doc (13KB)', click:'getBookinfo(8327548)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'小車.DWG (556KB)', click:'getBookinfo(8327549)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'開題報告.doc (21KB)', click:'getBookinfo(8327550)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'摘要.doc (22KB)', click:'getBookinfo(8327551)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'端梁.DWG (481KB)', click:'getBookinfo(8327552)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'設(shè)計說明書.doc (475KB)', click:'getBookinfo(8327553)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'課題審核表.doc (16KB)', click:'getBookinfo(8327554)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'走臺.dwg (398KB)', click:'getBookinfo(8327555)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'qd型163.2t電動橋式雙梁起重機的機械設(shè)計【6張cad圖紙和說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'3.2T電動橋式雙梁起重機的機械設(shè)計.dwg',url:'http://facezit.com/p-8327539.html', target:'_blank' },{ id:'0000200001', pId:'00002', name:'中英文翻譯4.doc',url:'http://facezit.com/p-8327540.html', target:'_blank' },{ id:'0000200002', pId:'00002', name:'英文封皮.doc',url:'http://facezit.com/p-8327541.html', target:'_blank' },{ id:'00003', pId:'1', name:'PPT答辯稿.ppt',url:'http://facezit.com/p-8327542.html', target:'_blank' },{ id:'00004', pId:'1', name:'中期檢查.doc',url:'http://facezit.com/p-8327543.html', target:'_blank' },{ id:'00005', pId:'1', name:'主梁.DWG',url:'http://facezit.com/p-8327544.html', target:'_blank' },{ id:'00006', pId:'1', name:'任務書.doc',url:'http://facezit.com/p-8327545.html', target:'_blank' },{ id:'00007', pId:'1', name:'吊架橋式總圖.DWG',url:'http://facezit.com/p-8327546.html', target:'_blank' },{ id:'00008', pId:'1', name:'大車運行機構(gòu).DWG',url:'http://facezit.com/p-8327547.html', target:'_blank' },{ id:'00009', pId:'1', name:'封面.doc',url:'http://facezit.com/p-8327548.html', target:'_blank' },{ id:'00010', pId:'1', name:'小車.DWG',url:'http://facezit.com/p-8327549.html', target:'_blank' },{ id:'00011', pId:'1', name:'開題報告.doc',url:'http://facezit.com/p-8327550.html', target:'_blank' },{ id:'00012', pId:'1', name:'摘要.doc',url:'http://facezit.com/p-8327551.html', target:'_blank' },{ id:'00013', pId:'1', name:'端梁.DWG',url:'http://facezit.com/p-8327552.html', target:'_blank' },{ id:'00014', pId:'1', name:'設(shè)計說明書.doc',url:'http://facezit.com/p-8327553.html', target:'_blank' },{ id:'00015', pId:'1', name:'課題審核表.doc',url:'http://facezit.com/p-8327554.html', target:'_blank' },{ id:'00016', pId:'1', name:'走臺.dwg',url:'http://facezit.com/p-8327555.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 = '6791330'; 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; }); });