'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'車門玻璃升降器的設計及運動仿真[3dug零件]【11張cad圖紙和說明書】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'1sheet_metal_model1.prt (408KB)', },{ id:'00002', pId:'1', name:'2sheet_metal_model1.prt (200KB)', },{ id:'00003', pId:'1', name:'3model1.prt (156KB)', },{ id:'00004', pId:'1', name:'model1.prt (376KB)', },{ id:'00005', pId:'1', name:'sheet_metal_model1.prt (172KB)', },{ id:'00006', pId:'1', name:'主動臂.dwg (386KB)', click:'getBookinfo(8573415)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'從動臂A.dwg (307KB)', click:'getBookinfo(8573416)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'從動臂B.dwg (313KB)', click:'getBookinfo(8573417)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'叉臂墊圈.dwg (288KB)', click:'getBookinfo(8573418)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'安裝蓋板.dwg (368KB)', click:'getBookinfo(8573419)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'導向槽A.dwg (298KB)', click:'getBookinfo(8573420)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'導向槽B.dwg (294KB)', click:'getBookinfo(8573421)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'扇形齒板.dwg (289KB)', click:'getBookinfo(8573422)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'畢業(yè)論文.doc (1559KB)', click:'getBookinfo(8573423)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'滑塊.dwg (308KB)', click:'getBookinfo(8573424)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'球頭形鉚釘.dwg (284KB)', click:'getBookinfo(8573425)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00017', pId:'1', name:'相關資料.doc (79KB)', click:'getBookinfo(8573426)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00018', pId:'1', name:'裝配圖.dwg (344KB)', click:'getBookinfo(8573427)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'車門玻璃升降器的設計及運動仿真[3dug零件]【11張cad圖紙和說明書】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00006', pId:'1', name:'主動臂.dwg',url:'http://algolinternational.com/p-8573415.html', target:'_blank' },{ id:'00007', pId:'1', name:'從動臂A.dwg',url:'http://algolinternational.com/p-8573416.html', target:'_blank' },{ id:'00008', pId:'1', name:'從動臂B.dwg',url:'http://algolinternational.com/p-8573417.html', target:'_blank' },{ id:'00009', pId:'1', name:'叉臂墊圈.dwg',url:'http://algolinternational.com/p-8573418.html', target:'_blank' },{ id:'00010', pId:'1', name:'安裝蓋板.dwg',url:'http://algolinternational.com/p-8573419.html', target:'_blank' },{ id:'00011', pId:'1', name:'導向槽A.dwg',url:'http://algolinternational.com/p-8573420.html', target:'_blank' },{ id:'00012', pId:'1', name:'導向槽B.dwg',url:'http://algolinternational.com/p-8573421.html', target:'_blank' },{ id:'00013', pId:'1', name:'扇形齒板.dwg',url:'http://algolinternational.com/p-8573422.html', target:'_blank' },{ id:'00014', pId:'1', name:'畢業(yè)論文.doc',url:'http://algolinternational.com/p-8573423.html', target:'_blank' },{ id:'00015', pId:'1', name:'滑塊.dwg',url:'http://algolinternational.com/p-8573424.html', target:'_blank' },{ id:'00016', pId:'1', name:'球頭形鉚釘.dwg',url:'http://algolinternational.com/p-8573425.html', target:'_blank' },{ id:'00017', pId:'1', name:'相關資料.doc',url:'http://algolinternational.com/p-8573426.html', target:'_blank' },{ id:'00018', pId:'1', name:'裝配圖.dwg',url:'http://algolinternational.com/p-8573427.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 = '7267466'; 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; }); });