'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'帶凸緣的圓筒形件沖壓模具設計【16張cad圖紙和說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'A0-裝配圖.dwg (412KB)', click:'getBookinfo(8120818)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'A1-切口凸模固定板.dwg (244KB)', click:'getBookinfo(8120819)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'A2-凸模固定板.dwg (274KB)', click:'getBookinfo(8120820)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'A2-凹模固定板.dwg (282KB)', click:'getBookinfo(8120821)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'A2-切口凹模.dwg (237KB)', click:'getBookinfo(8120822)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'A2-壓料板.dwg (258KB)', click:'getBookinfo(8120823)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'A2-托料板.dwg (261KB)', click:'getBookinfo(8120824)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'A2-拉深1凹模.dwg (229KB)', click:'getBookinfo(8120825)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'A2-拉深1壓邊圈.dwg (228KB)', click:'getBookinfo(8120826)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'A2-拉深2壓邊圈.dwg (231KB)', click:'getBookinfo(8120827)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'A2-落料凸模.dwg (231KB)', click:'getBookinfo(8120828)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'A2-落料凹模.dwg (228KB)', click:'getBookinfo(8120829)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'A3-拉深2凸模.dwg (233KB)', click:'getBookinfo(8120830)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'A3-排樣圖.dwg (250KB)', click:'getBookinfo(8120831)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'A4-切口凸模.dwg (229KB)', click:'getBookinfo(8120832)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'A4-拉深2凹模.dwg (228KB)', click:'getBookinfo(8120833)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00017', pId:'1', name:'任務書.doc (18KB)', click:'getBookinfo(8120834)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00018', pId:'1', name:'開題報告.doc (24KB)', click:'getBookinfo(8120835)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00019', pId:'1', name:'畢業(yè)論文.doc (1647KB)', click:'getBookinfo(8120836)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00020', pId:'1', name:'英文翻譯.doc (76KB)', click:'getBookinfo(8120837)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'帶凸緣的圓筒形件沖壓模具設計【16張cad圖紙和說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'A0-裝配圖.dwg',url:'http://m.facezit.com/p-8120818.html', target:'_blank' },{ id:'00002', pId:'1', name:'A1-切口凸模固定板.dwg',url:'http://m.facezit.com/p-8120819.html', target:'_blank' },{ id:'00003', pId:'1', name:'A2-凸模固定板.dwg',url:'http://m.facezit.com/p-8120820.html', target:'_blank' },{ id:'00004', pId:'1', name:'A2-凹模固定板.dwg',url:'http://m.facezit.com/p-8120821.html', target:'_blank' },{ id:'00005', pId:'1', name:'A2-切口凹模.dwg',url:'http://m.facezit.com/p-8120822.html', target:'_blank' },{ id:'00006', pId:'1', name:'A2-壓料板.dwg',url:'http://m.facezit.com/p-8120823.html', target:'_blank' },{ id:'00007', pId:'1', name:'A2-托料板.dwg',url:'http://m.facezit.com/p-8120824.html', target:'_blank' },{ id:'00008', pId:'1', name:'A2-拉深1凹模.dwg',url:'http://m.facezit.com/p-8120825.html', target:'_blank' },{ id:'00009', pId:'1', name:'A2-拉深1壓邊圈.dwg',url:'http://m.facezit.com/p-8120826.html', target:'_blank' },{ id:'00010', pId:'1', name:'A2-拉深2壓邊圈.dwg',url:'http://m.facezit.com/p-8120827.html', target:'_blank' },{ id:'00011', pId:'1', name:'A2-落料凸模.dwg',url:'http://m.facezit.com/p-8120828.html', target:'_blank' },{ id:'00012', pId:'1', name:'A2-落料凹模.dwg',url:'http://m.facezit.com/p-8120829.html', target:'_blank' },{ id:'00013', pId:'1', name:'A3-拉深2凸模.dwg',url:'http://m.facezit.com/p-8120830.html', target:'_blank' },{ id:'00014', pId:'1', name:'A3-排樣圖.dwg',url:'http://m.facezit.com/p-8120831.html', target:'_blank' },{ id:'00015', pId:'1', name:'A4-切口凸模.dwg',url:'http://m.facezit.com/p-8120832.html', target:'_blank' },{ id:'00016', pId:'1', name:'A4-拉深2凹模.dwg',url:'http://m.facezit.com/p-8120833.html', target:'_blank' },{ id:'00017', pId:'1', name:'任務書.doc',url:'http://m.facezit.com/p-8120834.html', target:'_blank' },{ id:'00018', pId:'1', name:'開題報告.doc',url:'http://m.facezit.com/p-8120835.html', target:'_blank' },{ id:'00019', pId:'1', name:'畢業(yè)論文.doc',url:'http://m.facezit.com/p-8120836.html', target:'_blank' },{ id:'00020', pId:'1', name:'英文翻譯.doc',url:'http://m.facezit.com/p-8120837.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 = '3523119'; 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; }); });