'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'222立式旱地驅動耙設計【任務書畢業(yè)論文cad圖紙答辯ppt】【機械全套資料】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'proE圖片 (包含11個文件)', },{ id:'000010000100001', pId:'0000100001', name:'D285齒輪.jpg (26KB)', click:'getBookinfo(8253224)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'上傳動系.jpg (11KB)', click:'getBookinfo(8253225)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'下軸承座.jpg (517KB)', click:'getBookinfo(8253226)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'刀盤傳動系.jpg (20KB)', click:'getBookinfo(8253227)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'刀盤軸.jpg (392KB)', click:'getBookinfo(8253228)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100006', pId:'0000100001', name:'總體裝配圖01.jpg (23KB)', click:'getBookinfo(8253229)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100007', pId:'0000100001', name:'總體裝配圖02.jpg (18KB)', click:'getBookinfo(8253230)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100008', pId:'0000100001', name:'總體裝配圖03.jpg (13KB)', click:'getBookinfo(8253231)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100009', pId:'0000100001', name:'軸-1.jpg (7KB)', click:'getBookinfo(8253232)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100010', pId:'0000100001', name:'連接板.jpg (386KB)', click:'getBookinfo(8253233)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100011', pId:'0000100001', name:'防塵板.jpg (17KB)', click:'getBookinfo(8253234)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'%%c250齒輪A3.dwg (266KB)', click:'getBookinfo(8253235)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'上懸掛板組合A3.dwg (264KB)', click:'getBookinfo(8253236)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'上軸承座-1A3.dwg (223KB)', click:'getBookinfo(8253237)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'主傳動系總成A1.dwg (490KB)', click:'getBookinfo(8253238)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'任務書.doc (31KB)', click:'getBookinfo(8253239)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'基座A3.dwg (220KB)', click:'getBookinfo(8253240)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'封面.doc (61KB)', click:'getBookinfo(8253241)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'小圓錐齒輪-1A3.dwg (261KB)', click:'getBookinfo(8253242)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'左防塵板焊合A3.dwg (285KB)', click:'getBookinfo(8253243)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'總體裝配圖A0.dwg (307KB)', click:'getBookinfo(8253244)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'懸掛架總成A1.dwg (395KB)', click:'getBookinfo(8253245)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'摘要.doc (21KB)', click:'getBookinfo(8253246)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'旋刀-1A3.dwg (248KB)', click:'getBookinfo(8253247)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'旋刀總成A3.dwg (293KB)', click:'getBookinfo(8253248)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'立式旱地驅動耙學位答辯.ppt (230KB)', click:'getBookinfo(8253249)', icon:'/Images/filetype/PPT16.PNG'},{ id:'0000100017', pId:'00001', name:'立式旱地驅動耙設計說明書.doc (1104KB)', click:'getBookinfo(8253250)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100018', pId:'00001', name:'箱體總成A1.dwg (673KB)', click:'getBookinfo(8253251)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100019', pId:'00001', name:'軸-1A3.dwg (281KB)', click:'getBookinfo(8253252)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001', pId:'1', name:'222 立式旱地驅動耙設計【任務書+畢業(yè)論文+cad圖紙+答辯ppt】【機械全套資料】 (包含30個文件)', }]; var zNodes2 = [{ id:'1', pId:'0', name:'222立式旱地驅動耙設計【任務書畢業(yè)論文cad圖紙答辯ppt】【機械全套資料】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'D285齒輪.jpg',url:'http://m.facezit.com/p-8253224.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'上傳動系.jpg',url:'http://m.facezit.com/p-8253225.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'下軸承座.jpg',url:'http://m.facezit.com/p-8253226.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'刀盤傳動系.jpg',url:'http://m.facezit.com/p-8253227.html', target:'_blank' },{ id:'000010000100005', pId:'0000100001', name:'刀盤軸.jpg',url:'http://m.facezit.com/p-8253228.html', target:'_blank' },{ id:'000010000100006', pId:'0000100001', name:'總體裝配圖01.jpg',url:'http://m.facezit.com/p-8253229.html', target:'_blank' },{ id:'000010000100007', pId:'0000100001', name:'總體裝配圖02.jpg',url:'http://m.facezit.com/p-8253230.html', target:'_blank' },{ id:'000010000100008', pId:'0000100001', name:'總體裝配圖03.jpg',url:'http://m.facezit.com/p-8253231.html', target:'_blank' },{ id:'000010000100009', pId:'0000100001', name:'軸-1.jpg',url:'http://m.facezit.com/p-8253232.html', target:'_blank' },{ id:'000010000100010', pId:'0000100001', name:'連接板.jpg',url:'http://m.facezit.com/p-8253233.html', target:'_blank' },{ id:'000010000100011', pId:'0000100001', name:'防塵板.jpg',url:'http://m.facezit.com/p-8253234.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'%%c250齒輪A3.dwg',url:'http://m.facezit.com/p-8253235.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'上懸掛板組合A3.dwg',url:'http://m.facezit.com/p-8253236.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'上軸承座-1A3.dwg',url:'http://m.facezit.com/p-8253237.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'主傳動系總成A1.dwg',url:'http://m.facezit.com/p-8253238.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'任務書.doc',url:'http://m.facezit.com/p-8253239.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'基座A3.dwg',url:'http://m.facezit.com/p-8253240.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'封面.doc',url:'http://m.facezit.com/p-8253241.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'小圓錐齒輪-1A3.dwg',url:'http://m.facezit.com/p-8253242.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'左防塵板焊合A3.dwg',url:'http://m.facezit.com/p-8253243.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'總體裝配圖A0.dwg',url:'http://m.facezit.com/p-8253244.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'懸掛架總成A1.dwg',url:'http://m.facezit.com/p-8253245.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'摘要.doc',url:'http://m.facezit.com/p-8253246.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'旋刀-1A3.dwg',url:'http://m.facezit.com/p-8253247.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'旋刀總成A3.dwg',url:'http://m.facezit.com/p-8253248.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'立式旱地驅動耙學位答辯.ppt',url:'http://m.facezit.com/p-8253249.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'立式旱地驅動耙設計說明書.doc',url:'http://m.facezit.com/p-8253250.html', target:'_blank' },{ id:'0000100018', pId:'00001', name:'箱體總成A1.dwg',url:'http://m.facezit.com/p-8253251.html', target:'_blank' },{ id:'0000100019', pId:'00001', name:'軸-1A3.dwg',url:'http://m.facezit.com/p-8253252.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 = '6332210'; 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("請選擇投訴類型或者數據錯誤請刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });