'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'輪椅畢業(yè)設(shè)計(jì)帶圖紙論文說明書.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'輪椅畢業(yè)設(shè)計(jì) (包含10個(gè)文件)', },{ id:'0000100001', pId:'00001', name:'lunyi model1.prt (9756KB)', },{ id:'0000100002', pId:'00001', name:'UG建模截圖.png (67KB)', click:'getBookinfo(8095474)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'康復(fù)機(jī)構(gòu)裝配圖.dwg (109KB)', click:'getBookinfo(8095475)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'開題報(bào)告.docx (32KB)', click:'getBookinfo(8095476)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'文獻(xiàn)原文.pdf (63KB)', click:'getBookinfo(8095477)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000100006', pId:'00001', name:'文獻(xiàn)翻譯.doc (250KB)', click:'getBookinfo(8095478)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'機(jī)械部分裝配圖.dwg (177KB)', click:'getBookinfo(8095479)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'畢業(yè)論文.doc (545KB)', click:'getBookinfo(8095480)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'輪椅總裝配圖.dwg (229KB)', click:'getBookinfo(8095481)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'零件圖.dwg (116KB)', click:'getBookinfo(8095482)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'輪椅畢業(yè)設(shè)計(jì)帶圖紙論文說明書.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100002', pId:'00001', name:'UG建模截圖.png',url:'http://www.nydnatest.com/p-8095474.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'康復(fù)機(jī)構(gòu)裝配圖.dwg',url:'http://www.nydnatest.com/p-8095475.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'開題報(bào)告.docx',url:'http://www.nydnatest.com/p-8095476.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'文獻(xiàn)原文.pdf',url:'http://www.nydnatest.com/p-8095477.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'文獻(xiàn)翻譯.doc',url:'http://www.nydnatest.com/p-8095478.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'機(jī)械部分裝配圖.dwg',url:'http://www.nydnatest.com/p-8095479.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'畢業(yè)論文.doc',url:'http://www.nydnatest.com/p-8095480.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'輪椅總裝配圖.dwg',url:'http://www.nydnatest.com/p-8095481.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'零件圖.dwg',url:'http://www.nydnatest.com/p-8095482.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 = '3436008'; 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("您的舉報(bào)提交成功"); } else { $("#jubaoResponse h4").html("您的舉報(bào)提交失敗"); } } }); } else { alert("請選擇投訴類型或者數(shù)據(jù)錯(cuò)誤請刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });