'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'三自由度機械手結(jié)構(gòu)設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'外文翻譯 (包含2個文件)', },{ id:'0000100001', pId:'00001', name:'外文文獻(xiàn)原文.pdf (1215KB)', click:'getBookinfo(8719869)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000100002', pId:'00001', name:'外文翻譯.doc (510KB)', click:'getBookinfo(8719870)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'三自由度機械手結(jié)構(gòu)設(shè)計.doc (600KB)', click:'getBookinfo(8719871)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'傳動原理圖.dwg (285KB)', click:'getBookinfo(8719872)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'工作空間圖.dwg (284KB)', click:'getBookinfo(8719873)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'指導(dǎo)教師評語.doc (37KB)', click:'getBookinfo(8719874)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'文獻(xiàn)綜述.doc (184KB)', click:'getBookinfo(8719875)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'畢業(yè)設(shè)計成績考核評價表.doc (40KB)', click:'getBookinfo(8719876)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'答辯成績評定.doc (23KB)', click:'getBookinfo(8719877)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'答辯記錄.doc (26KB)', click:'getBookinfo(8719878)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'裝配圖.dwg (835KB)', click:'getBookinfo(8719879)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'設(shè)計說明書(論文).doc (600KB)', click:'getBookinfo(8719880)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'評閱人評語.doc (36KB)', click:'getBookinfo(8719881)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'軸承端蓋.dwg (300KB)', click:'getBookinfo(8719882)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'三自由度機械手結(jié)構(gòu)設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'外文文獻(xiàn)原文.pdf',url:'http://m.facezit.com/p-8719869.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'外文翻譯.doc',url:'http://m.facezit.com/p-8719870.html', target:'_blank' },{ id:'00002', pId:'1', name:'三自由度機械手結(jié)構(gòu)設(shè)計.doc',url:'http://m.facezit.com/p-8719871.html', target:'_blank' },{ id:'00003', pId:'1', name:'傳動原理圖.dwg',url:'http://m.facezit.com/p-8719872.html', target:'_blank' },{ id:'00004', pId:'1', name:'工作空間圖.dwg',url:'http://m.facezit.com/p-8719873.html', target:'_blank' },{ id:'00005', pId:'1', name:'指導(dǎo)教師評語.doc',url:'http://m.facezit.com/p-8719874.html', target:'_blank' },{ id:'00006', pId:'1', name:'文獻(xiàn)綜述.doc',url:'http://m.facezit.com/p-8719875.html', target:'_blank' },{ id:'00007', pId:'1', name:'畢業(yè)設(shè)計成績考核評價表.doc',url:'http://m.facezit.com/p-8719876.html', target:'_blank' },{ id:'00008', pId:'1', name:'答辯成績評定.doc',url:'http://m.facezit.com/p-8719877.html', target:'_blank' },{ id:'00009', pId:'1', name:'答辯記錄.doc',url:'http://m.facezit.com/p-8719878.html', target:'_blank' },{ id:'00010', pId:'1', name:'裝配圖.dwg',url:'http://m.facezit.com/p-8719879.html', target:'_blank' },{ id:'00011', pId:'1', name:'設(shè)計說明書(論文).doc',url:'http://m.facezit.com/p-8719880.html', target:'_blank' },{ id:'00012', pId:'1', name:'評閱人評語.doc',url:'http://m.facezit.com/p-8719881.html', target:'_blank' },{ id:'00013', pId:'1', name:'軸承端蓋.dwg',url:'http://m.facezit.com/p-8719882.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 = '3435019'; 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; }); });