'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'板栗去皮機設計【板栗去殼機設計】【含solidworks】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'翻譯 (包含2個文件)', },{ id:'0000100001', pId:'00001', name:'外文.doc (37KB)', click:'getBookinfo(8331425)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'外文翻譯.doc (39KB)', click:'getBookinfo(8331426)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'A0-裝配圖.dwg (528KB)', click:'getBookinfo(8331427)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'A1-輸送部件圖.dwg (332KB)', click:'getBookinfo(8331428)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'A2-吊座滑動軸承.dwg (253KB)', click:'getBookinfo(8331429)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'A2-帶輪2.dwg (244KB)', click:'getBookinfo(8331430)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'A2-進料口.dwg (232KB)', click:'getBookinfo(8331431)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'A3-帶輪1.dwg (239KB)', click:'getBookinfo(8331432)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'A3-法蘭.dwg (234KB)', click:'getBookinfo(8331433)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'A3-端蓋.dwg (237KB)', click:'getBookinfo(8331434)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'三維設計截圖 (1).png (197KB)', click:'getBookinfo(8331435)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'三維設計截圖 (2).png (254KB)', click:'getBookinfo(8331436)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'三維設計截圖 (3).png (163KB)', click:'getBookinfo(8331437)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'三維設計截圖 (4).png (251KB)', click:'getBookinfo(8331438)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'任務書.doc (463KB)', click:'getBookinfo(8331439)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'圖紙合集.dwg (700KB)', click:'getBookinfo(8331440)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'板栗去皮機3D.zip (7872KB)', },{ id:'00017', pId:'1', name:'板栗去皮機設計說明書.doc (2812KB)', click:'getBookinfo(8331441)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'板栗去皮機設計【板栗去殼機設計】【含solidworks】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'外文.doc',url:'http://m.facezit.com/p-8331425.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'外文翻譯.doc',url:'http://m.facezit.com/p-8331426.html', target:'_blank' },{ id:'00002', pId:'1', name:'A0-裝配圖.dwg',url:'http://m.facezit.com/p-8331427.html', target:'_blank' },{ id:'00003', pId:'1', name:'A1-輸送部件圖.dwg',url:'http://m.facezit.com/p-8331428.html', target:'_blank' },{ id:'00004', pId:'1', name:'A2-吊座滑動軸承.dwg',url:'http://m.facezit.com/p-8331429.html', target:'_blank' },{ id:'00005', pId:'1', name:'A2-帶輪2.dwg',url:'http://m.facezit.com/p-8331430.html', target:'_blank' },{ id:'00006', pId:'1', name:'A2-進料口.dwg',url:'http://m.facezit.com/p-8331431.html', target:'_blank' },{ id:'00007', pId:'1', name:'A3-帶輪1.dwg',url:'http://m.facezit.com/p-8331432.html', target:'_blank' },{ id:'00008', pId:'1', name:'A3-法蘭.dwg',url:'http://m.facezit.com/p-8331433.html', target:'_blank' },{ id:'00009', pId:'1', name:'A3-端蓋.dwg',url:'http://m.facezit.com/p-8331434.html', target:'_blank' },{ id:'00010', pId:'1', name:'三維設計截圖 (1).png',url:'http://m.facezit.com/p-8331435.html', target:'_blank' },{ id:'00011', pId:'1', name:'三維設計截圖 (2).png',url:'http://m.facezit.com/p-8331436.html', target:'_blank' },{ id:'00012', pId:'1', name:'三維設計截圖 (3).png',url:'http://m.facezit.com/p-8331437.html', target:'_blank' },{ id:'00013', pId:'1', name:'三維設計截圖 (4).png',url:'http://m.facezit.com/p-8331438.html', target:'_blank' },{ id:'00014', pId:'1', name:'任務書.doc',url:'http://m.facezit.com/p-8331439.html', target:'_blank' },{ id:'00015', pId:'1', name:'圖紙合集.dwg',url:'http://m.facezit.com/p-8331440.html', target:'_blank' },{ id:'00017', pId:'1', name:'板栗去皮機設計說明書.doc',url:'http://m.facezit.com/p-8331441.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 = '6792395'; 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; }); });