'; } $("#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ī)設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'[A6-036]設(shè)計類-棒料切割機(jī)[機(jī)+電][L] (包含10個文件)', },{ id:'0000100001', pId:'00001', name:'A0-切割裝置裝配圖.dwg (586KB)', click:'getBookinfo(8602059)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'A0-總裝配圖.dwg (718KB)', click:'getBookinfo(8602060)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'A0-電氣原理圖.dwg (79KB)', click:'getBookinfo(8602061)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'A1-縱橫行走裝置圖.dwg (556KB)', click:'getBookinfo(8602062)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'A2-氣動原理圖.dwg (58KB)', click:'getBookinfo(8602063)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'實習(xí)小結(jié)(3頁).doc (28KB)', click:'getBookinfo(8602064)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'引言.doc (25KB)', click:'getBookinfo(8602065)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'目錄(1頁).doc (25KB)', click:'getBookinfo(8602066)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'答辯資料(2頁).doc (22KB)', click:'getBookinfo(8602067)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'說明書(32頁).doc (584KB)', click:'getBookinfo(8602068)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'畢業(yè)設(shè)計_棒料切割機(jī)設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'A0-切割裝置裝配圖.dwg',url:'http://m.facezit.com/p-8602059.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'A0-總裝配圖.dwg',url:'http://m.facezit.com/p-8602060.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'A0-電氣原理圖.dwg',url:'http://m.facezit.com/p-8602061.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'A1-縱橫行走裝置圖.dwg',url:'http://m.facezit.com/p-8602062.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'A2-氣動原理圖.dwg',url:'http://m.facezit.com/p-8602063.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'實習(xí)小結(jié)(3頁).doc',url:'http://m.facezit.com/p-8602064.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'引言.doc',url:'http://m.facezit.com/p-8602065.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'目錄(1頁).doc',url:'http://m.facezit.com/p-8602066.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'答辯資料(2頁).doc',url:'http://m.facezit.com/p-8602067.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'說明書(32頁).doc',url:'http://m.facezit.com/p-8602068.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 = '7960625'; 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; }); });