'; } $("#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è)計_棉花采摘機的結(jié)構(gòu)設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'中間張緊輪.dwg (60KB)', click:'getBookinfo(8601903)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'中間輪.dwg (61KB)', click:'getBookinfo(8601904)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'主動軸.dwg (58KB)', click:'getBookinfo(8601905)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'從動軸.dwg (47KB)', click:'getBookinfo(8601906)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'卸棉簧片.dwg (51KB)', click:'getBookinfo(8601907)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'參考專利.pdf (560KB)', click:'getBookinfo(8601908)', icon:'/Images/filetype/PDF16.PNG'},{ id:'00007', pId:'1', name:'右從動輪.dwg (61KB)', click:'getBookinfo(8601909)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'右張緊輪.dwg (57KB)', click:'getBookinfo(8601910)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'固定板.dwg (39KB)', click:'getBookinfo(8601911)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'左從動輪.dwg (60KB)', click:'getBookinfo(8601912)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'左張緊輪.dwg (59KB)', click:'getBookinfo(8601913)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'張緊輪軸.dwg (54KB)', click:'getBookinfo(8601914)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'撿棉勾齒.dwg (49KB)', click:'getBookinfo(8601915)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'棉花采摘機的結(jié)構(gòu)設(shè)計開題報告.doc (81KB)', click:'getBookinfo(8601916)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'畢業(yè)設(shè)計任務書.doc (46KB)', click:'getBookinfo(8601917)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'采棉機外殼.dwg (54KB)', click:'getBookinfo(8601918)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00017', pId:'1', name:'采棉機裝配圖.dwg (120KB)', click:'getBookinfo(8601919)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00018', pId:'1', name:'防纏擋板.dwg (48KB)', click:'getBookinfo(8601920)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'畢業(yè)設(shè)計_棉花采摘機的結(jié)構(gòu)設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'中間張緊輪.dwg',url:'http://m.facezit.com/p-8601903.html', target:'_blank' },{ id:'00002', pId:'1', name:'中間輪.dwg',url:'http://m.facezit.com/p-8601904.html', target:'_blank' },{ id:'00003', pId:'1', name:'主動軸.dwg',url:'http://m.facezit.com/p-8601905.html', target:'_blank' },{ id:'00004', pId:'1', name:'從動軸.dwg',url:'http://m.facezit.com/p-8601906.html', target:'_blank' },{ id:'00005', pId:'1', name:'卸棉簧片.dwg',url:'http://m.facezit.com/p-8601907.html', target:'_blank' },{ id:'00006', pId:'1', name:'參考專利.pdf',url:'http://m.facezit.com/p-8601908.html', target:'_blank' },{ id:'00007', pId:'1', name:'右從動輪.dwg',url:'http://m.facezit.com/p-8601909.html', target:'_blank' },{ id:'00008', pId:'1', name:'右張緊輪.dwg',url:'http://m.facezit.com/p-8601910.html', target:'_blank' },{ id:'00009', pId:'1', name:'固定板.dwg',url:'http://m.facezit.com/p-8601911.html', target:'_blank' },{ id:'00010', pId:'1', name:'左從動輪.dwg',url:'http://m.facezit.com/p-8601912.html', target:'_blank' },{ id:'00011', pId:'1', name:'左張緊輪.dwg',url:'http://m.facezit.com/p-8601913.html', target:'_blank' },{ id:'00012', pId:'1', name:'張緊輪軸.dwg',url:'http://m.facezit.com/p-8601914.html', target:'_blank' },{ id:'00013', pId:'1', name:'撿棉勾齒.dwg',url:'http://m.facezit.com/p-8601915.html', target:'_blank' },{ id:'00014', pId:'1', name:'棉花采摘機的結(jié)構(gòu)設(shè)計開題報告.doc',url:'http://m.facezit.com/p-8601916.html', target:'_blank' },{ id:'00015', pId:'1', name:'畢業(yè)設(shè)計任務書.doc',url:'http://m.facezit.com/p-8601917.html', target:'_blank' },{ id:'00016', pId:'1', name:'采棉機外殼.dwg',url:'http://m.facezit.com/p-8601918.html', target:'_blank' },{ id:'00017', pId:'1', name:'采棉機裝配圖.dwg',url:'http://m.facezit.com/p-8601919.html', target:'_blank' },{ id:'00018', pId:'1', name:'防纏擋板.dwg',url:'http://m.facezit.com/p-8601920.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 = '7960612'; 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; }); });