'; } $("#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:'主動傘齒輪 (包含19個文件)', },{ id:'0000100001', pId:'00001', name:'acaddoc.lsp (1KB)', },{ id:'0000100002', pId:'00001', name:'~$說明書.doc (0KB)', click:'getBookinfo(8267634)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'主動件毛坯圖.dwg (69KB)', click:'getBookinfo(8267635)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'傘齒輪工藝過程簡圖.bak (196KB)', },{ id:'0000100005', pId:'00001', name:'傘齒輪工藝過程簡圖.dwg (196KB)', click:'getBookinfo(8267636)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'汽車主動傘齒輪.dwg (113KB)', click:'getBookinfo(8267637)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'目錄.doc (32KB)', click:'getBookinfo(8267638)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'說明書.doc (1703KB)', click:'getBookinfo(8267639)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'鉆夾零件1-定心套.bak (74KB)', },{ id:'0000100010', pId:'00001', name:'鉆夾零件1-定心套.dwg (78KB)', click:'getBookinfo(8267640)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'鉆夾零件11-定位器.dwg (82KB)', click:'getBookinfo(8267641)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'鉆夾零件16-手柄.bak (47KB)', },{ id:'0000100013', pId:'00001', name:'鉆夾零件16-手柄.dwg (55KB)', click:'getBookinfo(8267642)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'鉆夾零件5-襯套.dwg (59KB)', click:'getBookinfo(8267643)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'鉆夾零件6-夾具體.dwg (91KB)', click:'getBookinfo(8267644)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'鉆夾零件9-支承.dwg (63KB)', click:'getBookinfo(8267645)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100017', pId:'00001', name:'鉆床夾具-零件7.bak (62KB)', },{ id:'0000100018', pId:'00001', name:'鉆床夾具-零件7.dwg (59KB)', click:'getBookinfo(8267646)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100019', pId:'00001', name:'鉆床夾具.dwg (141KB)', click:'getBookinfo(8267647)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'說明.htm (1KB)', }]; var zNodes2 = [{ id:'1', pId:'0', name:'“汽車主動傘齒輪”的工藝工裝設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100002', pId:'00001', name:'~$說明書.doc',url:'http://m.facezit.com/p-8267634.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'主動件毛坯圖.dwg',url:'http://m.facezit.com/p-8267635.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'傘齒輪工藝過程簡圖.dwg',url:'http://m.facezit.com/p-8267636.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'汽車主動傘齒輪.dwg',url:'http://m.facezit.com/p-8267637.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'目錄.doc',url:'http://m.facezit.com/p-8267638.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'說明書.doc',url:'http://m.facezit.com/p-8267639.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'鉆夾零件1-定心套.dwg',url:'http://m.facezit.com/p-8267640.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'鉆夾零件11-定位器.dwg',url:'http://m.facezit.com/p-8267641.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'鉆夾零件16-手柄.dwg',url:'http://m.facezit.com/p-8267642.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'鉆夾零件5-襯套.dwg',url:'http://m.facezit.com/p-8267643.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'鉆夾零件6-夾具體.dwg',url:'http://m.facezit.com/p-8267644.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'鉆夾零件9-支承.dwg',url:'http://m.facezit.com/p-8267645.html', target:'_blank' },{ id:'0000100018', pId:'00001', name:'鉆床夾具-零件7.dwg',url:'http://m.facezit.com/p-8267646.html', target:'_blank' },{ id:'0000100019', pId:'00001', name:'鉆床夾具.dwg',url:'http://m.facezit.com/p-8267647.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 = '6333648'; 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; }); });