'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'ca6140車床手柄座[831015]工藝和鉆φ14孔夾具設計[版本1]【4張cad圖紙、工藝卡片和說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'工程卡和工序卡片 (包含21個文件)', },{ id:'0000100001', pId:'00001', name:'工序卡 (1).dwg (46KB)', click:'getBookinfo(8356925)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'工序卡 (1).gif (16KB)', click:'getBookinfo(8356926)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'工序卡 (10).dwg (50KB)', click:'getBookinfo(8356927)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'工序卡 (10).gif (17KB)', click:'getBookinfo(8356928)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'工序卡 (3).dwg (47KB)', click:'getBookinfo(8356929)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'工序卡 (3).gif (17KB)', click:'getBookinfo(8356930)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'工序卡 (4).dwg (50KB)', click:'getBookinfo(8356931)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'工序卡 (4).gif (18KB)', click:'getBookinfo(8356932)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'工序卡 (5).dwg (49KB)', click:'getBookinfo(8356933)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'工序卡 (5).gif (16KB)', click:'getBookinfo(8356934)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'工序卡 (6).dwg (49KB)', click:'getBookinfo(8356935)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'工序卡 (6).gif (16KB)', click:'getBookinfo(8356936)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'工序卡 (7).dwg (49KB)', click:'getBookinfo(8356937)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'工序卡 (7).gif (17KB)', click:'getBookinfo(8356938)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'工序卡 (8).dwg (49KB)', click:'getBookinfo(8356939)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'工序卡 (8).gif (17KB)', click:'getBookinfo(8356940)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100017', pId:'00001', name:'工序卡 (9).dwg (49KB)', click:'getBookinfo(8356941)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100018', pId:'00001', name:'工序卡 (9).gif (16KB)', click:'getBookinfo(8356942)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100019', pId:'00001', name:'工序卡(2).dwg (47KB)', click:'getBookinfo(8356943)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100020', pId:'00001', name:'工序卡(2).gif (17KB)', click:'getBookinfo(8356944)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100021', pId:'00001', name:'工藝過程卡.doc (48KB)', click:'getBookinfo(8356945)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'C6410車床手柄座設計說明書.doc (516KB)', click:'getBookinfo(8356946)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'手柄座毛胚圖.dwg (55KB)', click:'getBookinfo(8356947)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'手柄座零件圖..dwg (71KB)', click:'getBookinfo(8356948)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'鉆直徑14H7的夾具體.dwg (89KB)', click:'getBookinfo(8356949)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'鉆直徑14H7的裝配圖.dwg (130KB)', click:'getBookinfo(8356950)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'ca6140車床手柄座[831015]工藝和鉆φ14孔夾具設計[版本1]【4張cad圖紙、工藝卡片和說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'工序卡 (1).dwg',url:'http://m.facezit.com/p-8356925.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'工序卡 (1).gif',url:'http://m.facezit.com/p-8356926.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'工序卡 (10).dwg',url:'http://m.facezit.com/p-8356927.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'工序卡 (10).gif',url:'http://m.facezit.com/p-8356928.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'工序卡 (3).dwg',url:'http://m.facezit.com/p-8356929.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'工序卡 (3).gif',url:'http://m.facezit.com/p-8356930.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'工序卡 (4).dwg',url:'http://m.facezit.com/p-8356931.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'工序卡 (4).gif',url:'http://m.facezit.com/p-8356932.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'工序卡 (5).dwg',url:'http://m.facezit.com/p-8356933.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'工序卡 (5).gif',url:'http://m.facezit.com/p-8356934.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'工序卡 (6).dwg',url:'http://m.facezit.com/p-8356935.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'工序卡 (6).gif',url:'http://m.facezit.com/p-8356936.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'工序卡 (7).dwg',url:'http://m.facezit.com/p-8356937.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'工序卡 (7).gif',url:'http://m.facezit.com/p-8356938.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'工序卡 (8).dwg',url:'http://m.facezit.com/p-8356939.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'工序卡 (8).gif',url:'http://m.facezit.com/p-8356940.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'工序卡 (9).dwg',url:'http://m.facezit.com/p-8356941.html', target:'_blank' },{ id:'0000100018', pId:'00001', name:'工序卡 (9).gif',url:'http://m.facezit.com/p-8356942.html', target:'_blank' },{ id:'0000100019', pId:'00001', name:'工序卡(2).dwg',url:'http://m.facezit.com/p-8356943.html', target:'_blank' },{ id:'0000100020', pId:'00001', name:'工序卡(2).gif',url:'http://m.facezit.com/p-8356944.html', target:'_blank' },{ id:'0000100021', pId:'00001', name:'工藝過程卡.doc',url:'http://m.facezit.com/p-8356945.html', target:'_blank' },{ id:'00002', pId:'1', name:'C6410車床手柄座設計說明書.doc',url:'http://m.facezit.com/p-8356946.html', target:'_blank' },{ id:'00003', pId:'1', name:'手柄座毛胚圖.dwg',url:'http://m.facezit.com/p-8356947.html', target:'_blank' },{ id:'00004', pId:'1', name:'手柄座零件圖..dwg',url:'http://m.facezit.com/p-8356948.html', target:'_blank' },{ id:'00005', pId:'1', name:'鉆直徑14H7的夾具體.dwg',url:'http://m.facezit.com/p-8356949.html', target:'_blank' },{ id:'00006', pId:'1', name:'鉆直徑14H7的裝配圖.dwg',url:'http://m.facezit.com/p-8356950.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 = '6906780'; 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; }); });