'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'機床支架.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'機床支架 (包含33個文件)', },{ id:'0000100001', pId:'00001', name:'工藝過程卡片 (包含13個文件)', },{ id:'000010000100001', pId:'0000100001', name:'1.dwg (39KB)', click:'getBookinfo(8781018)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'2.dwg (39KB)', click:'getBookinfo(8781019)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'3dwg.dwg (38KB)', click:'getBookinfo(8781020)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'磨孔.dwg (44KB)', click:'getBookinfo(8781021)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'過程卡片.dwg (55KB)', click:'getBookinfo(8781022)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100006', pId:'0000100001', name:'鉆12孔.dwg (36KB)', click:'getBookinfo(8781023)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100007', pId:'0000100001', name:'鉆6孔.dwg (35KB)', click:'getBookinfo(8781024)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100008', pId:'0000100001', name:'鉆m10孔.dwg (69KB)', click:'getBookinfo(8781025)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100009', pId:'0000100001', name:'鉆孔m10.dwg (33KB)', click:'getBookinfo(8781026)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100010', pId:'0000100001', name:'銑兩側面.dwg (38KB)', click:'getBookinfo(8781027)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100011', pId:'0000100001', name:'銑底面.dwg (72KB)', click:'getBookinfo(8781028)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100012', pId:'0000100001', name:'銑底面槽.dwg (38KB)', click:'getBookinfo(8781029)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100013', pId:'0000100001', name:'鏜孔.dwg (48KB)', click:'getBookinfo(8781030)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'Drawing1.dwg (51KB)', click:'getBookinfo(8781031)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'墊鐵.dwg (57KB)', click:'getBookinfo(8781032)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'夾具體.dwg (99KB)', click:'getBookinfo(8781033)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'夾具體1.dwg (94KB)', click:'getBookinfo(8781034)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'夾具裝配0號圖2.dwg (177KB)', click:'getBookinfo(8781035)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'夾具裝配圖0號圖.dwg (152KB)', click:'getBookinfo(8781036)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'定位塊.dwg (74KB)', click:'getBookinfo(8781037)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'平面壓塊.dwg (51KB)', click:'getBookinfo(8781038)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'摘 要.doc (33KB)', click:'getBookinfo(8781039)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'支座.dwg (62KB)', click:'getBookinfo(8781040)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'支架.dwg (61KB)', click:'getBookinfo(8781041)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'支軸.dwg (55KB)', click:'getBookinfo(8781042)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'毛坯.dwg (49KB)', click:'getBookinfo(8781043)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'螺栓.dwg (54KB)', click:'getBookinfo(8781044)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'說明書.doc (438KB)', click:'getBookinfo(8781045)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100017', pId:'00001', name:'連桿.dwg (28KB)', click:'getBookinfo(8781046)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100018', pId:'00001', name:'量具.dwg1.dwg (39KB)', click:'getBookinfo(8781047)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100019', pId:'00001', name:'鉸鏈軸.dwg (44KB)', click:'getBookinfo(8781048)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100020', pId:'00001', name:'零件圖.dwg (93KB)', click:'getBookinfo(8781049)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'機床支架.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'1.dwg',url:'http://m.facezit.com/p-8781018.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'2.dwg',url:'http://m.facezit.com/p-8781019.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'3dwg.dwg',url:'http://m.facezit.com/p-8781020.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'磨孔.dwg',url:'http://m.facezit.com/p-8781021.html', target:'_blank' },{ id:'000010000100005', pId:'0000100001', name:'過程卡片.dwg',url:'http://m.facezit.com/p-8781022.html', target:'_blank' },{ id:'000010000100006', pId:'0000100001', name:'鉆12孔.dwg',url:'http://m.facezit.com/p-8781023.html', target:'_blank' },{ id:'000010000100007', pId:'0000100001', name:'鉆6孔.dwg',url:'http://m.facezit.com/p-8781024.html', target:'_blank' },{ id:'000010000100008', pId:'0000100001', name:'鉆m10孔.dwg',url:'http://m.facezit.com/p-8781025.html', target:'_blank' },{ id:'000010000100009', pId:'0000100001', name:'鉆孔m10.dwg',url:'http://m.facezit.com/p-8781026.html', target:'_blank' },{ id:'000010000100010', pId:'0000100001', name:'銑兩側面.dwg',url:'http://m.facezit.com/p-8781027.html', target:'_blank' },{ id:'000010000100011', pId:'0000100001', name:'銑底面.dwg',url:'http://m.facezit.com/p-8781028.html', target:'_blank' },{ id:'000010000100012', pId:'0000100001', name:'銑底面槽.dwg',url:'http://m.facezit.com/p-8781029.html', target:'_blank' },{ id:'000010000100013', pId:'0000100001', name:'鏜孔.dwg',url:'http://m.facezit.com/p-8781030.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'Drawing1.dwg',url:'http://m.facezit.com/p-8781031.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'墊鐵.dwg',url:'http://m.facezit.com/p-8781032.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'夾具體.dwg',url:'http://m.facezit.com/p-8781033.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'夾具體1.dwg',url:'http://m.facezit.com/p-8781034.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'夾具裝配0號圖2.dwg',url:'http://m.facezit.com/p-8781035.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'夾具裝配圖0號圖.dwg',url:'http://m.facezit.com/p-8781036.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'定位塊.dwg',url:'http://m.facezit.com/p-8781037.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'平面壓塊.dwg',url:'http://m.facezit.com/p-8781038.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'摘 要.doc',url:'http://m.facezit.com/p-8781039.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'支座.dwg',url:'http://m.facezit.com/p-8781040.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'支架.dwg',url:'http://m.facezit.com/p-8781041.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'支軸.dwg',url:'http://m.facezit.com/p-8781042.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'毛坯.dwg',url:'http://m.facezit.com/p-8781043.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'螺栓.dwg',url:'http://m.facezit.com/p-8781044.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'說明書.doc',url:'http://m.facezit.com/p-8781045.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'連桿.dwg',url:'http://m.facezit.com/p-8781046.html', target:'_blank' },{ id:'0000100018', pId:'00001', name:'量具.dwg1.dwg',url:'http://m.facezit.com/p-8781047.html', target:'_blank' },{ id:'0000100019', pId:'00001', name:'鉸鏈軸.dwg',url:'http://m.facezit.com/p-8781048.html', target:'_blank' },{ id:'0000100020', pId:'00001', name:'零件圖.dwg',url:'http://m.facezit.com/p-8781049.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 = '3421998'; 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; }); });