'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'c336回輪式六角車床主軸箱設(shè)計【8張cad圖紙畢業(yè)論文任務(wù)書開題報告外文翻譯】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'C336回輪式六角車床主軸箱設(shè)計開題報告.doc (45KB)', click:'getBookinfo(8412577)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'C336回輪式六角車床主軸箱設(shè)計裝配圖.dwg (402KB)', click:'getBookinfo(8412578)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'C336回輪式六角車床主軸箱設(shè)計論文.doc (1531KB)', click:'getBookinfo(8412579)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'任務(wù)書.doc (44KB)', click:'getBookinfo(8412580)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'擋圈A3.dwg (27KB)', click:'getBookinfo(8412581)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'機械專業(yè)外文翻譯--故障的分析尺寸的決定以及凸輪的分析和應(yīng)用.doc (2091KB)', click:'getBookinfo(8412582)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'端A2.dwg (52KB)', click:'getBookinfo(8412583)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'軸1A0.dwg (119KB)', click:'getBookinfo(8412584)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'軸2A2.dwg (51KB)', click:'getBookinfo(8412585)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'軸套A3.dwg (32KB)', click:'getBookinfo(8412586)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'齒輪1A2.dwg (51KB)', click:'getBookinfo(8412587)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'齒輪2A3.dwg (54KB)', click:'getBookinfo(8412588)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'c336回輪式六角車床主軸箱設(shè)計【8張cad圖紙畢業(yè)論文任務(wù)書開題報告外文翻譯】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'C336回輪式六角車床主軸箱設(shè)計開題報告.doc',url:'http://m.facezit.com/p-8412577.html', target:'_blank' },{ id:'00002', pId:'1', name:'C336回輪式六角車床主軸箱設(shè)計裝配圖.dwg',url:'http://m.facezit.com/p-8412578.html', target:'_blank' },{ id:'00003', pId:'1', name:'C336回輪式六角車床主軸箱設(shè)計論文.doc',url:'http://m.facezit.com/p-8412579.html', target:'_blank' },{ id:'00004', pId:'1', name:'任務(wù)書.doc',url:'http://m.facezit.com/p-8412580.html', target:'_blank' },{ id:'00005', pId:'1', name:'擋圈A3.dwg',url:'http://m.facezit.com/p-8412581.html', target:'_blank' },{ id:'00006', pId:'1', name:'機械專業(yè)外文翻譯--故障的分析尺寸的決定以及凸輪的分析和應(yīng)用.doc',url:'http://m.facezit.com/p-8412582.html', target:'_blank' },{ id:'00007', pId:'1', name:'端A2.dwg',url:'http://m.facezit.com/p-8412583.html', target:'_blank' },{ id:'00008', pId:'1', name:'軸1A0.dwg',url:'http://m.facezit.com/p-8412584.html', target:'_blank' },{ id:'00009', pId:'1', name:'軸2A2.dwg',url:'http://m.facezit.com/p-8412585.html', target:'_blank' },{ id:'00010', pId:'1', name:'軸套A3.dwg',url:'http://m.facezit.com/p-8412586.html', target:'_blank' },{ id:'00011', pId:'1', name:'齒輪1A2.dwg',url:'http://m.facezit.com/p-8412587.html', target:'_blank' },{ id:'00012', pId:'1', name:'齒輪2A3.dwg',url:'http://m.facezit.com/p-8412588.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 = '7247596'; 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; }); });