'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'桔園除草機設計【11張圖紙】【優(yōu)秀】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'中期檢查表.doc (17KB)', click:'getBookinfo(8741418)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'任務書.doc (49KB)', click:'getBookinfo(8741419)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'固定刀片A2.dwg (77KB)', click:'getBookinfo(8741420)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'墊板A4.dwg (51KB)', click:'getBookinfo(8741421)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'大輪子A3.dwg (75KB)', click:'getBookinfo(8741422)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'大齒輪A2.dwg (75KB)', click:'getBookinfo(8741423)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'導架體A3.dwg (59KB)', click:'getBookinfo(8741424)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'小輪子A3.dwg (79KB)', click:'getBookinfo(8741425)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'撥桿A3.dwg (66KB)', click:'getBookinfo(8741426)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'桔園除草機設計開題報告.doc (38KB)', click:'getBookinfo(8741427)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'桔園除草機設計說明書.doc (1087KB)', click:'getBookinfo(8741428)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'活動刀片A2.dwg (68KB)', click:'getBookinfo(8741429)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'裝配圖A0.dwg (165KB)', click:'getBookinfo(8741430)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'軸A3.dwg (54KB)', click:'getBookinfo(8741431)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'選題審批表.doc (18KB)', click:'getBookinfo(8741432)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'齒輪軸A2.dwg (59KB)', click:'getBookinfo(8741433)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'桔園除草機設計【11張圖紙】【優(yōu)秀】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'中期檢查表.doc',url:'http://m.facezit.com/p-8741418.html', target:'_blank' },{ id:'00002', pId:'1', name:'任務書.doc',url:'http://m.facezit.com/p-8741419.html', target:'_blank' },{ id:'00003', pId:'1', name:'固定刀片A2.dwg',url:'http://m.facezit.com/p-8741420.html', target:'_blank' },{ id:'00004', pId:'1', name:'墊板A4.dwg',url:'http://m.facezit.com/p-8741421.html', target:'_blank' },{ id:'00005', pId:'1', name:'大輪子A3.dwg',url:'http://m.facezit.com/p-8741422.html', target:'_blank' },{ id:'00006', pId:'1', name:'大齒輪A2.dwg',url:'http://m.facezit.com/p-8741423.html', target:'_blank' },{ id:'00007', pId:'1', name:'導架體A3.dwg',url:'http://m.facezit.com/p-8741424.html', target:'_blank' },{ id:'00008', pId:'1', name:'小輪子A3.dwg',url:'http://m.facezit.com/p-8741425.html', target:'_blank' },{ id:'00009', pId:'1', name:'撥桿A3.dwg',url:'http://m.facezit.com/p-8741426.html', target:'_blank' },{ id:'00010', pId:'1', name:'桔園除草機設計開題報告.doc',url:'http://m.facezit.com/p-8741427.html', target:'_blank' },{ id:'00011', pId:'1', name:'桔園除草機設計說明書.doc',url:'http://m.facezit.com/p-8741428.html', target:'_blank' },{ id:'00012', pId:'1', name:'活動刀片A2.dwg',url:'http://m.facezit.com/p-8741429.html', target:'_blank' },{ id:'00013', pId:'1', name:'裝配圖A0.dwg',url:'http://m.facezit.com/p-8741430.html', target:'_blank' },{ id:'00014', pId:'1', name:'軸A3.dwg',url:'http://m.facezit.com/p-8741431.html', target:'_blank' },{ id:'00015', pId:'1', name:'選題審批表.doc',url:'http://m.facezit.com/p-8741432.html', target:'_blank' },{ id:'00016', pId:'1', name:'齒輪軸A2.dwg',url:'http://m.facezit.com/p-8741433.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 = '3527449'; 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; }); });