'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'微型汽車變速器設(shè)計【兩軸式四檔手動】【8張cad圖紙和論文】【汽車專業(yè)】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'相關(guān)資料 (包含6個文件)', },{ id:'0000100001', pId:'00001', name:'封面.doc (15KB)', click:'getBookinfo(8530407)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'開題報告.doc (27KB)', click:'getBookinfo(8530408)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'英文.pdf (540KB)', click:'getBookinfo(8530409)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000100004', pId:'00001', name:'英文原文.wps (128KB)', click:'getBookinfo(8530410)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'英文翻譯.doc (85KB)', click:'getBookinfo(8530411)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'計劃周記進(jìn)度檢查表--僅供參考(信機(jī)系系).xls (13KB)', click:'getBookinfo(8530412)', icon:'/Images/filetype/XLS16.PNG'},{ id:'00002', pId:'1', name:'中間軸A3.dwg (93KB)', click:'getBookinfo(8530413)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'倒檔齒輪A2.dwg (85KB)', click:'getBookinfo(8530414)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'倒檔齒輪軸A3.dwg (91KB)', click:'getBookinfo(8530415)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'變速器A0.dwg (391KB)', click:'getBookinfo(8530416)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'第一軸A2.dwg (173KB)', click:'getBookinfo(8530417)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'第二軸A3.dwg (103KB)', click:'getBookinfo(8530418)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'第二軸一二檔齒輪A2.dwg (115KB)', click:'getBookinfo(8530419)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'第二軸三四檔齒輪A2.dwg (108KB)', click:'getBookinfo(8530420)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'設(shè)計說明書.doc (1109KB)', click:'getBookinfo(8530421)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'微型汽車變速器設(shè)計【兩軸式四檔手動】【8張cad圖紙和論文】【汽車專業(yè)】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'封面.doc',url:'http://m.facezit.com/p-8530407.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'開題報告.doc',url:'http://m.facezit.com/p-8530408.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'英文.pdf',url:'http://m.facezit.com/p-8530409.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'英文原文.wps',url:'http://m.facezit.com/p-8530410.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'英文翻譯.doc',url:'http://m.facezit.com/p-8530411.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'計劃周記進(jìn)度檢查表--僅供參考(信機(jī)系系).xls',url:'http://m.facezit.com/p-8530412.html', target:'_blank' },{ id:'00002', pId:'1', name:'中間軸A3.dwg',url:'http://m.facezit.com/p-8530413.html', target:'_blank' },{ id:'00003', pId:'1', name:'倒檔齒輪A2.dwg',url:'http://m.facezit.com/p-8530414.html', target:'_blank' },{ id:'00004', pId:'1', name:'倒檔齒輪軸A3.dwg',url:'http://m.facezit.com/p-8530415.html', target:'_blank' },{ id:'00005', pId:'1', name:'變速器A0.dwg',url:'http://m.facezit.com/p-8530416.html', target:'_blank' },{ id:'00006', pId:'1', name:'第一軸A2.dwg',url:'http://m.facezit.com/p-8530417.html', target:'_blank' },{ id:'00007', pId:'1', name:'第二軸A3.dwg',url:'http://m.facezit.com/p-8530418.html', target:'_blank' },{ id:'00008', pId:'1', name:'第二軸一二檔齒輪A2.dwg',url:'http://m.facezit.com/p-8530419.html', target:'_blank' },{ id:'00009', pId:'1', name:'第二軸三四檔齒輪A2.dwg',url:'http://m.facezit.com/p-8530420.html', target:'_blank' },{ id:'00010', pId:'1', name:'設(shè)計說明書.doc',url:'http://m.facezit.com/p-8530421.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 = '7261129'; 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; }); });