'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'自行車無級變速器設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'自行車無級變速器設(shè)計 (包含23個文件)', },{ id:'0000100001', pId:'00001', name:'畢業(yè)設(shè)計-自行車無級變速器 (包含21個文件)', },{ id:'000010000100001', pId:'0000100001', name:'設(shè)計圖紙 (包含15個文件)', },{ id:'00001000010000100001', pId:'000010000100001', name:'不完全調(diào)速斜齒輪.dwg (78KB)', click:'getBookinfo(8741064)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100002', pId:'000010000100001', name:'傳動鋼球.dwg (86KB)', click:'getBookinfo(8741065)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100003', pId:'000010000100001', name:'加壓盤.dwg (77KB)', click:'getBookinfo(8741066)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100004', pId:'000010000100001', name:'右箱體.dwg (113KB)', click:'getBookinfo(8741067)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100005', pId:'000010000100001', name:'外環(huán).dwg (71KB)', click:'getBookinfo(8741068)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100006', pId:'000010000100001', name:'左箱體.dwg (114KB)', click:'getBookinfo(8741069)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100007', pId:'000010000100001', name:'手柄.dwg (78KB)', click:'getBookinfo(8741070)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100008', pId:'000010000100001', name:'端蓋.dwg (104KB)', click:'getBookinfo(8741071)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100009', pId:'000010000100001', name:'箱蓋.dwg (94KB)', click:'getBookinfo(8741072)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100010', pId:'000010000100001', name:'聯(lián)接桿.dwg (96KB)', click:'getBookinfo(8741073)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100011', pId:'000010000100001', name:'裝配圖4.dwg (143KB)', click:'getBookinfo(8741074)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100012', pId:'000010000100001', name:'調(diào)速齒輪.dwg (83KB)', click:'getBookinfo(8741075)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100013', pId:'000010000100001', name:'輸入軸.dwg (113KB)', click:'getBookinfo(8741076)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100014', pId:'000010000100001', name:'輸出軸.dwg (98KB)', click:'getBookinfo(8741077)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100015', pId:'000010000100001', name:'錐輪.dwg (98KB)', click:'getBookinfo(8741078)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'設(shè)計說明書 (包含4個文件)', },{ id:'00001000010000200001', pId:'000010000100002', name:'PE 10無級變速自行車設(shè)計.doc (1715KB)', click:'getBookinfo(8741079)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000200002', pId:'000010000100002', name:'三表合一.doc (68KB)', click:'getBookinfo(8741080)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000200003', pId:'000010000100002', name:'封面.doc (20KB)', click:'getBookinfo(8741081)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000200004', pId:'000010000100002', name:'目錄.doc (27KB)', click:'getBookinfo(8741082)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'說明.htm (1KB)', }]; var zNodes2 = [{ id:'1', pId:'0', name:'自行車無級變速器設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001000010000100001', pId:'000010000100001', name:'不完全調(diào)速斜齒輪.dwg',url:'http://m.facezit.com/p-8741064.html', target:'_blank' },{ id:'00001000010000100002', pId:'000010000100001', name:'傳動鋼球.dwg',url:'http://m.facezit.com/p-8741065.html', target:'_blank' },{ id:'00001000010000100003', pId:'000010000100001', name:'加壓盤.dwg',url:'http://m.facezit.com/p-8741066.html', target:'_blank' },{ id:'00001000010000100004', pId:'000010000100001', name:'右箱體.dwg',url:'http://m.facezit.com/p-8741067.html', target:'_blank' },{ id:'00001000010000100005', pId:'000010000100001', name:'外環(huán).dwg',url:'http://m.facezit.com/p-8741068.html', target:'_blank' },{ id:'00001000010000100006', pId:'000010000100001', name:'左箱體.dwg',url:'http://m.facezit.com/p-8741069.html', target:'_blank' },{ id:'00001000010000100007', pId:'000010000100001', name:'手柄.dwg',url:'http://m.facezit.com/p-8741070.html', target:'_blank' },{ id:'00001000010000100008', pId:'000010000100001', name:'端蓋.dwg',url:'http://m.facezit.com/p-8741071.html', target:'_blank' },{ id:'00001000010000100009', pId:'000010000100001', name:'箱蓋.dwg',url:'http://m.facezit.com/p-8741072.html', target:'_blank' },{ id:'00001000010000100010', pId:'000010000100001', name:'聯(lián)接桿.dwg',url:'http://m.facezit.com/p-8741073.html', target:'_blank' },{ id:'00001000010000100011', pId:'000010000100001', name:'裝配圖4.dwg',url:'http://m.facezit.com/p-8741074.html', target:'_blank' },{ id:'00001000010000100012', pId:'000010000100001', name:'調(diào)速齒輪.dwg',url:'http://m.facezit.com/p-8741075.html', target:'_blank' },{ id:'00001000010000100013', pId:'000010000100001', name:'輸入軸.dwg',url:'http://m.facezit.com/p-8741076.html', target:'_blank' },{ id:'00001000010000100014', pId:'000010000100001', name:'輸出軸.dwg',url:'http://m.facezit.com/p-8741077.html', target:'_blank' },{ id:'00001000010000100015', pId:'000010000100001', name:'錐輪.dwg',url:'http://m.facezit.com/p-8741078.html', target:'_blank' },{ id:'00001000010000200001', pId:'000010000100002', name:'PE 10無級變速自行車設(shè)計.doc',url:'http://m.facezit.com/p-8741079.html', target:'_blank' },{ id:'00001000010000200002', pId:'000010000100002', name:'三表合一.doc',url:'http://m.facezit.com/p-8741080.html', target:'_blank' },{ id:'00001000010000200003', pId:'000010000100002', name:'封面.doc',url:'http://m.facezit.com/p-8741081.html', target:'_blank' },{ id:'00001000010000200004', pId:'000010000100002', name:'目錄.doc',url:'http://m.facezit.com/p-8741082.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 = '3527408'; 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; }); });