'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'棒料切割機(jī)設(shè)計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'棒料切割機(jī)設(shè)計 (包含21個文件)', },{ id:'0000100001', pId:'00001', name:'棒料切割機(jī)設(shè)計 (包含9個文件)', },{ id:'000010000100001', pId:'0000100001', name:'切割裝置(劉俊).dwg (177KB)', click:'getBookinfo(8547054)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'實習(xí)小結(jié).doc (28KB)', click:'getBookinfo(8547055)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'棒料切割機(jī)設(shè)計.doc (629KB)', click:'getBookinfo(8547056)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'概要.doc (26KB)', click:'getBookinfo(8547057)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'氣動原理圖(劉?。?dwg (54KB)', click:'getBookinfo(8547058)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100006', pId:'0000100001', name:'電器原理圖(劉俊).dwg (57KB)', click:'getBookinfo(8547059)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100007', pId:'0000100001', name:'目錄.doc (66KB)', click:'getBookinfo(8547060)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100008', pId:'0000100001', name:'縱橫行走裝置圖(劉?。?dwg (165KB)', click:'getBookinfo(8547061)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100009', pId:'0000100001', name:'裝配圖(劉俊).dwg (731KB)', click:'getBookinfo(8547062)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'切割裝置(劉?。?dwg (177KB)', click:'getBookinfo(8547063)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'實習(xí)小結(jié).doc (28KB)', click:'getBookinfo(8547064)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'棒料切割機(jī)設(shè)計.doc (629KB)', click:'getBookinfo(8547065)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'棒料切割機(jī)設(shè)計.jpg (43KB)', click:'getBookinfo(8547066)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'棒料切割機(jī)設(shè)計.txt (1KB)', click:'getBookinfo(8547067)', icon:'/Images/filetype/TXT16.PNG'},{ id:'0000100007', pId:'00001', name:'概要.doc (26KB)', click:'getBookinfo(8547068)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'氣動原理圖(劉?。?dwg (54KB)', click:'getBookinfo(8547069)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'電器原理圖(劉?。?dwg (57KB)', click:'getBookinfo(8547070)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'目錄.doc (66KB)', click:'getBookinfo(8547071)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'縱橫行走裝置圖(劉俊).dwg (165KB)', click:'getBookinfo(8547072)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'裝配圖(劉?。?dwg (731KB)', click:'getBookinfo(8547073)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'棒料切割機(jī)設(shè)計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'切割裝置(劉俊).dwg',url:'http://m.facezit.com/p-8547054.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'實習(xí)小結(jié).doc',url:'http://m.facezit.com/p-8547055.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'棒料切割機(jī)設(shè)計.doc',url:'http://m.facezit.com/p-8547056.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'概要.doc',url:'http://m.facezit.com/p-8547057.html', target:'_blank' },{ id:'000010000100005', pId:'0000100001', name:'氣動原理圖(劉?。?dwg',url:'http://m.facezit.com/p-8547058.html', target:'_blank' },{ id:'000010000100006', pId:'0000100001', name:'電器原理圖(劉?。?dwg',url:'http://m.facezit.com/p-8547059.html', target:'_blank' },{ id:'000010000100007', pId:'0000100001', name:'目錄.doc',url:'http://m.facezit.com/p-8547060.html', target:'_blank' },{ id:'000010000100008', pId:'0000100001', name:'縱橫行走裝置圖(劉?。?dwg',url:'http://m.facezit.com/p-8547061.html', target:'_blank' },{ id:'000010000100009', pId:'0000100001', name:'裝配圖(劉俊).dwg',url:'http://m.facezit.com/p-8547062.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'切割裝置(劉?。?dwg',url:'http://m.facezit.com/p-8547063.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'實習(xí)小結(jié).doc',url:'http://m.facezit.com/p-8547064.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'棒料切割機(jī)設(shè)計.doc',url:'http://m.facezit.com/p-8547065.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'棒料切割機(jī)設(shè)計.jpg',url:'http://m.facezit.com/p-8547066.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'棒料切割機(jī)設(shè)計.txt',url:'http://m.facezit.com/p-8547067.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'概要.doc',url:'http://m.facezit.com/p-8547068.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'氣動原理圖(劉?。?dwg',url:'http://m.facezit.com/p-8547069.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'電器原理圖(劉?。?dwg',url:'http://m.facezit.com/p-8547070.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'目錄.doc',url:'http://m.facezit.com/p-8547071.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'縱橫行走裝置圖(劉俊).dwg',url:'http://m.facezit.com/p-8547072.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'裝配圖(劉?。?dwg',url:'http://m.facezit.com/p-8547073.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 = '7263772'; 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; }); });