'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'【gy197】磨床尾座體加工工藝及夾具設計【機械工藝夾具類畢業(yè)設計論文】【優(yōu)秀】【通過答辯】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'外文翻譯 (包含2個文件)', },{ id:'0000100001', pId:'00001', name:'A Clamping Design Approach for Automated Fixture .pdf (258KB)', click:'getBookinfo(8439458)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000100002', pId:'00001', name:'翻譯.doc (491KB)', click:'getBookinfo(8439459)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'工序卡 (包含9個文件)', },{ id:'0000200001', pId:'00002', name:'Drawing1.dwg (86KB)', click:'getBookinfo(8439460)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200002', pId:'00002', name:'Drawing2.dwg (96KB)', click:'getBookinfo(8439461)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200003', pId:'00002', name:'Drawing3.dwg (106KB)', click:'getBookinfo(8439462)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200004', pId:'00002', name:'Drawing4.dwg (88KB)', click:'getBookinfo(8439463)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200005', pId:'00002', name:'Drawing5.dwg (62KB)', click:'getBookinfo(8439464)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200006', pId:'00002', name:'Drawing6.dwg (78KB)', click:'getBookinfo(8439465)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200007', pId:'00002', name:'Drawing7.dwg (63KB)', click:'getBookinfo(8439466)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200008', pId:'00002', name:'Drawing8.dwg (58KB)', click:'getBookinfo(8439467)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200009', pId:'00002', name:'機械加工工藝過程卡片.doc (49KB)', click:'getBookinfo(8439468)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'【CAD圖紙-預覽】.pdf (614KB)', click:'getBookinfo(8439469)', icon:'/Images/filetype/PDF16.PNG'},{ id:'00004', pId:'1', name:'任務書和開題報告.doc (298KB)', click:'getBookinfo(8439470)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'加工17孔夾具體.dwg (97KB)', click:'getBookinfo(8439471)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'加工17孔裝配圖.dwg (148KB)', click:'getBookinfo(8439472)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'尾座體毛坯圖.dwg (107KB)', click:'getBookinfo(8439473)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'尾座體零件圖.dwg (113KB)', click:'getBookinfo(8439474)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'說明書.doc (1213KB)', click:'getBookinfo(8439475)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'【gy197】磨床尾座體加工工藝及夾具設計【機械工藝夾具類畢業(yè)設計論文】【優(yōu)秀】【通過答辯】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'A Clamping Design Approach for Automated Fixture .pdf',url:'http://m.facezit.com/p-8439458.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'翻譯.doc',url:'http://m.facezit.com/p-8439459.html', target:'_blank' },{ id:'0000200001', pId:'00002', name:'Drawing1.dwg',url:'http://m.facezit.com/p-8439460.html', target:'_blank' },{ id:'0000200002', pId:'00002', name:'Drawing2.dwg',url:'http://m.facezit.com/p-8439461.html', target:'_blank' },{ id:'0000200003', pId:'00002', name:'Drawing3.dwg',url:'http://m.facezit.com/p-8439462.html', target:'_blank' },{ id:'0000200004', pId:'00002', name:'Drawing4.dwg',url:'http://m.facezit.com/p-8439463.html', target:'_blank' },{ id:'0000200005', pId:'00002', name:'Drawing5.dwg',url:'http://m.facezit.com/p-8439464.html', target:'_blank' },{ id:'0000200006', pId:'00002', name:'Drawing6.dwg',url:'http://m.facezit.com/p-8439465.html', target:'_blank' },{ id:'0000200007', pId:'00002', name:'Drawing7.dwg',url:'http://m.facezit.com/p-8439466.html', target:'_blank' },{ id:'0000200008', pId:'00002', name:'Drawing8.dwg',url:'http://m.facezit.com/p-8439467.html', target:'_blank' },{ id:'0000200009', pId:'00002', name:'機械加工工藝過程卡片.doc',url:'http://m.facezit.com/p-8439468.html', target:'_blank' },{ id:'00003', pId:'1', name:'【CAD圖紙-預覽】.pdf',url:'http://m.facezit.com/p-8439469.html', target:'_blank' },{ id:'00004', pId:'1', name:'任務書和開題報告.doc',url:'http://m.facezit.com/p-8439470.html', target:'_blank' },{ id:'00005', pId:'1', name:'加工17孔夾具體.dwg',url:'http://m.facezit.com/p-8439471.html', target:'_blank' },{ id:'00006', pId:'1', name:'加工17孔裝配圖.dwg',url:'http://m.facezit.com/p-8439472.html', target:'_blank' },{ id:'00007', pId:'1', name:'尾座體毛坯圖.dwg',url:'http://m.facezit.com/p-8439473.html', target:'_blank' },{ id:'00008', pId:'1', name:'尾座體零件圖.dwg',url:'http://m.facezit.com/p-8439474.html', target:'_blank' },{ id:'00009', pId:'1', name:'說明書.doc',url:'http://m.facezit.com/p-8439475.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 = '7251128'; 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; }); });