'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'mp3導(dǎo)光板注塑模具設(shè)計【說明書cad】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'521 MP3導(dǎo)光板注塑模具設(shè)計【說明書+CAD】 (包含26個文件)', },{ id:'0000100001', pId:'00001', name:'翻譯 (包含2個文件)', },{ id:'000010000100001', pId:'0000100001', name:'翻譯.doc (398KB)', click:'getBookinfo(8113508)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'英文.pdf (432KB)', click:'getBookinfo(8113509)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000100002', pId:'00001', name:'A2-上推板.dwg (173KB)', click:'getBookinfo(8113510)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'A2-下推板.dwg (45KB)', click:'getBookinfo(8113511)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'A2-動模側(cè)模仁固定板.dwg (272KB)', click:'getBookinfo(8113512)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'A2-動模座版.dwg (282KB)', click:'getBookinfo(8113513)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'A2-動模板.dwg (59KB)', click:'getBookinfo(8113514)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'A2-動模板2.dwg (62KB)', click:'getBookinfo(8113515)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'A2-定模側(cè)模仁固定板.dwg (152KB)', click:'getBookinfo(8113516)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'A2-定模座板.dwg (85KB)', click:'getBookinfo(8113517)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'A2-定模板.dwg (62KB)', click:'getBookinfo(8113518)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'A2-支架.dwg (48KB)', click:'getBookinfo(8113519)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'A4-動模側(cè)模仁.dwg (34KB)', click:'getBookinfo(8113520)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'A4-動模側(cè)模仁固定板.dwg (44KB)', click:'getBookinfo(8113521)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'A4-定位環(huán).dwg (47KB)', click:'getBookinfo(8113522)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'A4-定模側(cè)模仁.dwg (49KB)', click:'getBookinfo(8113523)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'A4-支柱.dwg (33KB)', click:'getBookinfo(8113524)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100017', pId:'00001', name:'A4-料嘴.dwg (65KB)', click:'getBookinfo(8113525)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100018', pId:'00001', name:'A4-頂針.dwg (35KB)', click:'getBookinfo(8113526)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100019', pId:'00001', name:'A4-頂針2.dwg (46KB)', click:'getBookinfo(8113527)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100020', pId:'00001', name:'A4-頂針3.dwg (32KB)', click:'getBookinfo(8113528)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100021', pId:'00001', name:'MP3導(dǎo)光板模具設(shè)計說明書.DOC (453KB)', click:'getBookinfo(8113529)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100022', pId:'00001', name:'零件圖紙1.dwg (343KB)', click:'getBookinfo(8113530)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100023', pId:'00001', name:'零件圖紙2.dwg (148KB)', click:'getBookinfo(8113531)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100024', pId:'00001', name:'零件圖紙3.dwg (400KB)', click:'getBookinfo(8113532)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'mp3導(dǎo)光板注塑模具設(shè)計【說明書cad】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'翻譯.doc',url:'http://facezit.com/p-8113508.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'英文.pdf',url:'http://facezit.com/p-8113509.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'A2-上推板.dwg',url:'http://facezit.com/p-8113510.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'A2-下推板.dwg',url:'http://facezit.com/p-8113511.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'A2-動模側(cè)模仁固定板.dwg',url:'http://facezit.com/p-8113512.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'A2-動模座版.dwg',url:'http://facezit.com/p-8113513.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'A2-動模板.dwg',url:'http://facezit.com/p-8113514.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'A2-動模板2.dwg',url:'http://facezit.com/p-8113515.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'A2-定模側(cè)模仁固定板.dwg',url:'http://facezit.com/p-8113516.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'A2-定模座板.dwg',url:'http://facezit.com/p-8113517.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'A2-定模板.dwg',url:'http://facezit.com/p-8113518.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'A2-支架.dwg',url:'http://facezit.com/p-8113519.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'A4-動模側(cè)模仁.dwg',url:'http://facezit.com/p-8113520.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'A4-動模側(cè)模仁固定板.dwg',url:'http://facezit.com/p-8113521.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'A4-定位環(huán).dwg',url:'http://facezit.com/p-8113522.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'A4-定模側(cè)模仁.dwg',url:'http://facezit.com/p-8113523.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'A4-支柱.dwg',url:'http://facezit.com/p-8113524.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'A4-料嘴.dwg',url:'http://facezit.com/p-8113525.html', target:'_blank' },{ id:'0000100018', pId:'00001', name:'A4-頂針.dwg',url:'http://facezit.com/p-8113526.html', target:'_blank' },{ id:'0000100019', pId:'00001', name:'A4-頂針2.dwg',url:'http://facezit.com/p-8113527.html', target:'_blank' },{ id:'0000100020', pId:'00001', name:'A4-頂針3.dwg',url:'http://facezit.com/p-8113528.html', target:'_blank' },{ id:'0000100021', pId:'00001', name:'MP3導(dǎo)光板模具設(shè)計說明書.DOC',url:'http://facezit.com/p-8113529.html', target:'_blank' },{ id:'0000100022', pId:'00001', name:'零件圖紙1.dwg',url:'http://facezit.com/p-8113530.html', target:'_blank' },{ id:'0000100023', pId:'00001', name:'零件圖紙2.dwg',url:'http://facezit.com/p-8113531.html', target:'_blank' },{ id:'0000100024', pId:'00001', name:'零件圖紙3.dwg',url:'http://facezit.com/p-8113532.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 = '3522270'; 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; }); });