'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'【zs精品】拖拉機倒檔撥叉叉口側(cè)面精銑夾具設(shè)計全套含cad圖紙.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'外文翻譯 (包含2個文件)', },{ id:'0000100001', pId:'00001', name:'外文翻譯.doc (2662KB)', click:'getBookinfo(8476376)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'外文翻譯原文.pdf (164KB)', click:'getBookinfo(8476377)', icon:'/Images/filetype/PDF16.PNG'},{ id:'00002', pId:'1', name:'工藝卡片 (包含14個文件)', },{ id:'0000200001', pId:'00002', name:'B4 工藝規(guī)程卡.dwg (68KB)', click:'getBookinfo(8476378)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200002', pId:'00002', name:'工序卡--1.dwg (81KB)', click:'getBookinfo(8476379)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200003', pId:'00002', name:'工序卡--10.dwg (68KB)', click:'getBookinfo(8476380)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200004', pId:'00002', name:'工序卡--11.dwg (66KB)', click:'getBookinfo(8476381)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200005', pId:'00002', name:'工序卡--12.dwg (69KB)', click:'getBookinfo(8476382)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200006', pId:'00002', name:'工序卡--2.dwg (71KB)', click:'getBookinfo(8476383)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200007', pId:'00002', name:'工序卡--3.dwg (75KB)', click:'getBookinfo(8476384)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200008', pId:'00002', name:'工序卡--4.dwg (76KB)', click:'getBookinfo(8476385)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200009', pId:'00002', name:'工序卡--5.dwg (69KB)', click:'getBookinfo(8476386)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200010', pId:'00002', name:'工序卡--6.dwg (80KB)', click:'getBookinfo(8476387)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200011', pId:'00002', name:'工序卡--7.dwg (77KB)', click:'getBookinfo(8476388)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200012', pId:'00002', name:'工序卡--8.dwg (72KB)', click:'getBookinfo(8476389)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200013', pId:'00002', name:'工序卡--9.dwg (75KB)', click:'getBookinfo(8476390)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200014', pId:'00002', name:'工藝卡片封面.doc (23KB)', click:'getBookinfo(8476391)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'壓板.dwg (1141KB)', click:'getBookinfo(8476392)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'圖紙集合.dwg (1271KB)', click:'getBookinfo(8476393)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'夾具體.dwg (1150KB)', click:'getBookinfo(8476394)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'夾具裝配圖.dwg (1159KB)', click:'getBookinfo(8476395)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'工藝卡片集合.dwg (174KB)', click:'getBookinfo(8476396)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'拖拉機倒檔撥叉叉口側(cè)面精銑夾具設(shè)計.doc (1869KB)', click:'getBookinfo(8476397)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'毛坯圖.dwg (61KB)', click:'getBookinfo(8476398)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'目錄及摘要.doc (68KB)', click:'getBookinfo(8476399)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'設(shè)計說明書.doc (1410KB)', click:'getBookinfo(8476400)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'調(diào)節(jié)手柄.dwg (1139KB)', click:'getBookinfo(8476401)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'零件圖.dwg (1160KB)', click:'getBookinfo(8476402)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'【zs精品】拖拉機倒檔撥叉叉口側(cè)面精銑夾具設(shè)計全套含cad圖紙.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'外文翻譯.doc',url:'http://m.facezit.com/p-8476376.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'外文翻譯原文.pdf',url:'http://m.facezit.com/p-8476377.html', target:'_blank' },{ id:'0000200001', pId:'00002', name:'B4 工藝規(guī)程卡.dwg',url:'http://m.facezit.com/p-8476378.html', target:'_blank' },{ id:'0000200002', pId:'00002', name:'工序卡--1.dwg',url:'http://m.facezit.com/p-8476379.html', target:'_blank' },{ id:'0000200003', pId:'00002', name:'工序卡--10.dwg',url:'http://m.facezit.com/p-8476380.html', target:'_blank' },{ id:'0000200004', pId:'00002', name:'工序卡--11.dwg',url:'http://m.facezit.com/p-8476381.html', target:'_blank' },{ id:'0000200005', pId:'00002', name:'工序卡--12.dwg',url:'http://m.facezit.com/p-8476382.html', target:'_blank' },{ id:'0000200006', pId:'00002', name:'工序卡--2.dwg',url:'http://m.facezit.com/p-8476383.html', target:'_blank' },{ id:'0000200007', pId:'00002', name:'工序卡--3.dwg',url:'http://m.facezit.com/p-8476384.html', target:'_blank' },{ id:'0000200008', pId:'00002', name:'工序卡--4.dwg',url:'http://m.facezit.com/p-8476385.html', target:'_blank' },{ id:'0000200009', pId:'00002', name:'工序卡--5.dwg',url:'http://m.facezit.com/p-8476386.html', target:'_blank' },{ id:'0000200010', pId:'00002', name:'工序卡--6.dwg',url:'http://m.facezit.com/p-8476387.html', target:'_blank' },{ id:'0000200011', pId:'00002', name:'工序卡--7.dwg',url:'http://m.facezit.com/p-8476388.html', target:'_blank' },{ id:'0000200012', pId:'00002', name:'工序卡--8.dwg',url:'http://m.facezit.com/p-8476389.html', target:'_blank' },{ id:'0000200013', pId:'00002', name:'工序卡--9.dwg',url:'http://m.facezit.com/p-8476390.html', target:'_blank' },{ id:'0000200014', pId:'00002', name:'工藝卡片封面.doc',url:'http://m.facezit.com/p-8476391.html', target:'_blank' },{ id:'00003', pId:'1', name:'壓板.dwg',url:'http://m.facezit.com/p-8476392.html', target:'_blank' },{ id:'00004', pId:'1', name:'圖紙集合.dwg',url:'http://m.facezit.com/p-8476393.html', target:'_blank' },{ id:'00005', pId:'1', name:'夾具體.dwg',url:'http://m.facezit.com/p-8476394.html', target:'_blank' },{ id:'00006', pId:'1', name:'夾具裝配圖.dwg',url:'http://m.facezit.com/p-8476395.html', target:'_blank' },{ id:'00007', pId:'1', name:'工藝卡片集合.dwg',url:'http://m.facezit.com/p-8476396.html', target:'_blank' },{ id:'00008', pId:'1', name:'拖拉機倒檔撥叉叉口側(cè)面精銑夾具設(shè)計.doc',url:'http://m.facezit.com/p-8476397.html', target:'_blank' },{ id:'00009', pId:'1', name:'毛坯圖.dwg',url:'http://m.facezit.com/p-8476398.html', target:'_blank' },{ id:'00010', pId:'1', name:'目錄及摘要.doc',url:'http://m.facezit.com/p-8476399.html', target:'_blank' },{ id:'00011', pId:'1', name:'設(shè)計說明書.doc',url:'http://m.facezit.com/p-8476400.html', target:'_blank' },{ id:'00012', pId:'1', name:'調(diào)節(jié)手柄.dwg',url:'http://m.facezit.com/p-8476401.html', target:'_blank' },{ id:'00013', pId:'1', name:'零件圖.dwg',url:'http://m.facezit.com/p-8476402.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 = '7254768'; 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; }); });