'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'0189雙柱式機械式舉升機設計【全套6張cad圖說明書】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'0189-雙柱式機械式舉升機設計【全套6張CAD圖】 (包含18個文件)', },{ id:'0000100001', pId:'00001', name:'絲杠零件圖.png (14KB)', click:'getBookinfo(8146601)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'絲杠零件圖2A1.dwg (85KB)', click:'getBookinfo(8146602)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'絲杠零件圖A1.dwg (88KB)', click:'getBookinfo(8146603)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'舉升機支撐裝置A0.dwg (169KB)', click:'getBookinfo(8146604)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'六張圖.dwg (395KB)', click:'getBookinfo(8146605)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'升舉機支撐裝置.png (12KB)', click:'getBookinfo(8146606)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'打包文件.png (67KB)', click:'getBookinfo(8146607)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'摘要.png (55KB)', click:'getBookinfo(8146608)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'皮帶輪.png (24KB)', click:'getBookinfo(8146609)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'皮帶輪A1.dwg (44KB)', click:'getBookinfo(8146610)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'目錄.png (65KB)', click:'getBookinfo(8146611)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'翻譯.doc (506KB)', click:'getBookinfo(8146612)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'設計要求.doc (25KB)', click:'getBookinfo(8146613)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'說明書.doc (1663KB)', click:'getBookinfo(8146614)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'說明書.png (315KB)', click:'getBookinfo(8146615)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'轎車維修用升舉機A0.dwg (267KB)', click:'getBookinfo(8146616)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100017', pId:'00001', name:'轎車維修用升舉機裝配圖.png (36KB)', click:'getBookinfo(8146617)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100018', pId:'00001', name:'鏈輪A2.dwg (120KB)', click:'getBookinfo(8146618)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'0189雙柱式機械式舉升機設計【全套6張cad圖說明書】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'絲杠零件圖.png',url:'http://m.facezit.com/p-8146601.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'絲杠零件圖2A1.dwg',url:'http://m.facezit.com/p-8146602.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'絲杠零件圖A1.dwg',url:'http://m.facezit.com/p-8146603.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'舉升機支撐裝置A0.dwg',url:'http://m.facezit.com/p-8146604.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'六張圖.dwg',url:'http://m.facezit.com/p-8146605.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'升舉機支撐裝置.png',url:'http://m.facezit.com/p-8146606.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'打包文件.png',url:'http://m.facezit.com/p-8146607.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'摘要.png',url:'http://m.facezit.com/p-8146608.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'皮帶輪.png',url:'http://m.facezit.com/p-8146609.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'皮帶輪A1.dwg',url:'http://m.facezit.com/p-8146610.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'目錄.png',url:'http://m.facezit.com/p-8146611.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'翻譯.doc',url:'http://m.facezit.com/p-8146612.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'設計要求.doc',url:'http://m.facezit.com/p-8146613.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'說明書.doc',url:'http://m.facezit.com/p-8146614.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'說明書.png',url:'http://m.facezit.com/p-8146615.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'轎車維修用升舉機A0.dwg',url:'http://m.facezit.com/p-8146616.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'轎車維修用升舉機裝配圖.png',url:'http://m.facezit.com/p-8146617.html', target:'_blank' },{ id:'0000100018', pId:'00001', name:'鏈輪A2.dwg',url:'http://m.facezit.com/p-8146618.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 = '3525240'; 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; }); });