'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'運輸機輸送機dtⅱ型皮帶機設(shè)計【含全套cad圖紙】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'外文翻譯 (包含2個文件)', },{ id:'0000100001', pId:'00001', name:'中文.doc (28KB)', click:'getBookinfo(8096083)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'英文.doc (35KB)', click:'getBookinfo(8096084)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'DTⅡ型皮帶機設(shè)計.doc (1867KB)', click:'getBookinfo(8096085)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'中部支架.dwg (164KB)', click:'getBookinfo(8096086)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'中部走道欄桿.dwg (156KB)', click:'getBookinfo(8096087)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'中間架.dwg (135KB)', click:'getBookinfo(8096088)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'頭部支架.dwg (85KB)', click:'getBookinfo(8096089)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'頭部裝配.dwg (134KB)', click:'getBookinfo(8096090)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'尾部裝配.dwg (302KB)', click:'getBookinfo(8096091)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'匯總圖紙.dwg (1008KB)', click:'getBookinfo(8096092)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'皮帶機布置圖.dwg (426KB)', click:'getBookinfo(8096093)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'皮帶車布置圖.dwg (277KB)', click:'getBookinfo(8096094)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'裝配圖.dwg (242KB)', click:'getBookinfo(8096095)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'設(shè)計說明書(論文).doc (1867KB)', click:'getBookinfo(8096096)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'驅(qū)動裝置圖.dwg (129KB)', click:'getBookinfo(8096097)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'運輸機輸送機dtⅱ型皮帶機設(shè)計【含全套cad圖紙】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'中文.doc',url:'http://m.facezit.com/p-8096083.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'英文.doc',url:'http://m.facezit.com/p-8096084.html', target:'_blank' },{ id:'00002', pId:'1', name:'DTⅡ型皮帶機設(shè)計.doc',url:'http://m.facezit.com/p-8096085.html', target:'_blank' },{ id:'00003', pId:'1', name:'中部支架.dwg',url:'http://m.facezit.com/p-8096086.html', target:'_blank' },{ id:'00004', pId:'1', name:'中部走道欄桿.dwg',url:'http://m.facezit.com/p-8096087.html', target:'_blank' },{ id:'00005', pId:'1', name:'中間架.dwg',url:'http://m.facezit.com/p-8096088.html', target:'_blank' },{ id:'00006', pId:'1', name:'頭部支架.dwg',url:'http://m.facezit.com/p-8096089.html', target:'_blank' },{ id:'00007', pId:'1', name:'頭部裝配.dwg',url:'http://m.facezit.com/p-8096090.html', target:'_blank' },{ id:'00008', pId:'1', name:'尾部裝配.dwg',url:'http://m.facezit.com/p-8096091.html', target:'_blank' },{ id:'00009', pId:'1', name:'匯總圖紙.dwg',url:'http://m.facezit.com/p-8096092.html', target:'_blank' },{ id:'00010', pId:'1', name:'皮帶機布置圖.dwg',url:'http://m.facezit.com/p-8096093.html', target:'_blank' },{ id:'00011', pId:'1', name:'皮帶車布置圖.dwg',url:'http://m.facezit.com/p-8096094.html', target:'_blank' },{ id:'00012', pId:'1', name:'裝配圖.dwg',url:'http://m.facezit.com/p-8096095.html', target:'_blank' },{ id:'00013', pId:'1', name:'設(shè)計說明書(論文).doc',url:'http://m.facezit.com/p-8096096.html', target:'_blank' },{ id:'00014', pId:'1', name:'驅(qū)動裝置圖.dwg',url:'http://m.facezit.com/p-8096097.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 = '3436099'; 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; }); });