'; } $("#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槽夾具設計[版本2]【4張cad圖紙、工藝卡片和說明書】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'工程卡和工序卡片 (包含21個文件)', },{ id:'0000100001', pId:'00001', name:'工序卡 (1).dwg (46KB)', click:'getBookinfo(8416958)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'工序卡 (1).gif (16KB)', click:'getBookinfo(8416959)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'工序卡 (10).dwg (50KB)', click:'getBookinfo(8416960)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'工序卡 (10).gif (17KB)', click:'getBookinfo(8416961)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'工序卡 (3).dwg (47KB)', click:'getBookinfo(8416962)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'工序卡 (3).gif (17KB)', click:'getBookinfo(8416963)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'工序卡 (4).dwg (50KB)', click:'getBookinfo(8416964)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'工序卡 (4).gif (18KB)', click:'getBookinfo(8416965)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'工序卡 (5).dwg (49KB)', click:'getBookinfo(8416966)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'工序卡 (5).gif (16KB)', click:'getBookinfo(8416967)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'工序卡 (6).dwg (49KB)', click:'getBookinfo(8416968)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'工序卡 (6).gif (16KB)', click:'getBookinfo(8416969)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'工序卡 (7).dwg (49KB)', click:'getBookinfo(8416970)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'工序卡 (7).gif (17KB)', click:'getBookinfo(8416971)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'工序卡 (8).dwg (49KB)', click:'getBookinfo(8416972)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'工序卡 (8).gif (17KB)', click:'getBookinfo(8416973)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100017', pId:'00001', name:'工序卡 (9).dwg (49KB)', click:'getBookinfo(8416974)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100018', pId:'00001', name:'工序卡 (9).gif (16KB)', click:'getBookinfo(8416975)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100019', pId:'00001', name:'工序卡(2).dwg (47KB)', click:'getBookinfo(8416976)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100020', pId:'00001', name:'工序卡(2).gif (17KB)', click:'getBookinfo(8416977)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100021', pId:'00001', name:'工藝過程卡.doc (48KB)', click:'getBookinfo(8416978)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'C6410車床手柄座設計說明書.doc (516KB)', click:'getBookinfo(8416979)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'手柄座毛胚圖.dwg (55KB)', click:'getBookinfo(8416980)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'銑14槽夾具體.dwg (55KB)', click:'getBookinfo(8416981)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'銑14槽裝配圖.dwg (92KB)', click:'getBookinfo(8416982)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'零件圖.dwg (71KB)', click:'getBookinfo(8416983)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'ca6140車床手柄座[831015]工藝和銑14槽夾具設計[版本2]【4張cad圖紙、工藝卡片和說明書】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'工序卡 (1).dwg',url:'http://m.facezit.com/p-8416958.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'工序卡 (1).gif',url:'http://m.facezit.com/p-8416959.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'工序卡 (10).dwg',url:'http://m.facezit.com/p-8416960.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'工序卡 (10).gif',url:'http://m.facezit.com/p-8416961.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'工序卡 (3).dwg',url:'http://m.facezit.com/p-8416962.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'工序卡 (3).gif',url:'http://m.facezit.com/p-8416963.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'工序卡 (4).dwg',url:'http://m.facezit.com/p-8416964.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'工序卡 (4).gif',url:'http://m.facezit.com/p-8416965.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'工序卡 (5).dwg',url:'http://m.facezit.com/p-8416966.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'工序卡 (5).gif',url:'http://m.facezit.com/p-8416967.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'工序卡 (6).dwg',url:'http://m.facezit.com/p-8416968.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'工序卡 (6).gif',url:'http://m.facezit.com/p-8416969.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'工序卡 (7).dwg',url:'http://m.facezit.com/p-8416970.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'工序卡 (7).gif',url:'http://m.facezit.com/p-8416971.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'工序卡 (8).dwg',url:'http://m.facezit.com/p-8416972.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'工序卡 (8).gif',url:'http://m.facezit.com/p-8416973.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'工序卡 (9).dwg',url:'http://m.facezit.com/p-8416974.html', target:'_blank' },{ id:'0000100018', pId:'00001', name:'工序卡 (9).gif',url:'http://m.facezit.com/p-8416975.html', target:'_blank' },{ id:'0000100019', pId:'00001', name:'工序卡(2).dwg',url:'http://m.facezit.com/p-8416976.html', target:'_blank' },{ id:'0000100020', pId:'00001', name:'工序卡(2).gif',url:'http://m.facezit.com/p-8416977.html', target:'_blank' },{ id:'0000100021', pId:'00001', name:'工藝過程卡.doc',url:'http://m.facezit.com/p-8416978.html', target:'_blank' },{ id:'00002', pId:'1', name:'C6410車床手柄座設計說明書.doc',url:'http://m.facezit.com/p-8416979.html', target:'_blank' },{ id:'00003', pId:'1', name:'手柄座毛胚圖.dwg',url:'http://m.facezit.com/p-8416980.html', target:'_blank' },{ id:'00004', pId:'1', name:'銑14槽夾具體.dwg',url:'http://m.facezit.com/p-8416981.html', target:'_blank' },{ id:'00005', pId:'1', name:'銑14槽裝配圖.dwg',url:'http://m.facezit.com/p-8416982.html', target:'_blank' },{ id:'00006', pId:'1', name:'零件圖.dwg',url:'http://m.facezit.com/p-8416983.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 = '7248109'; 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; }); });