'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'0029端蓋落料、拉深復(fù)合模設(shè)計(jì)【全套22cad圖說明書】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'0029-端蓋落料、拉深復(fù)合模設(shè)計(jì)【全套22CAD圖】 (包含15個(gè)文件)', },{ id:'0000100001', pId:'00001', name:'上下模座.png (26KB)', click:'getBookinfo(8117189)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'中英文摘要.doc (32KB)', click:'getBookinfo(8117190)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'凸凹模.png (13KB)', click:'getBookinfo(8117191)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'剛性卸料板.png (12KB)', click:'getBookinfo(8117192)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'插圖清單.doc (26KB)', click:'getBookinfo(8117193)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'摘要.png (82KB)', click:'getBookinfo(8117194)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'目錄.doc (34KB)', click:'getBookinfo(8117195)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'目錄.png (53KB)', click:'getBookinfo(8117196)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'端蓋落料拉深模22張CAD圖合集.dwg (404KB)', click:'getBookinfo(8117197)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'端蓋落料拉深模22張CAD圖合集.png (37KB)', click:'getBookinfo(8117198)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'端蓋落料拉深模裝配圖.png (20KB)', click:'getBookinfo(8117199)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'端蓋落料拉深模設(shè)計(jì).doc (601KB)', click:'getBookinfo(8117200)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'端蓋零件.png (16KB)', click:'getBookinfo(8117201)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'端蓋零件圖.png (11KB)', click:'getBookinfo(8117202)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'表格清單.doc (22KB)', click:'getBookinfo(8117203)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'0029端蓋落料、拉深復(fù)合模設(shè)計(jì)【全套22cad圖說明書】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'上下模座.png',url:'http://m.facezit.com/p-8117189.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'中英文摘要.doc',url:'http://m.facezit.com/p-8117190.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'凸凹模.png',url:'http://m.facezit.com/p-8117191.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'剛性卸料板.png',url:'http://m.facezit.com/p-8117192.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'插圖清單.doc',url:'http://m.facezit.com/p-8117193.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'摘要.png',url:'http://m.facezit.com/p-8117194.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'目錄.doc',url:'http://m.facezit.com/p-8117195.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'目錄.png',url:'http://m.facezit.com/p-8117196.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'端蓋落料拉深模22張CAD圖合集.dwg',url:'http://m.facezit.com/p-8117197.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'端蓋落料拉深模22張CAD圖合集.png',url:'http://m.facezit.com/p-8117198.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'端蓋落料拉深模裝配圖.png',url:'http://m.facezit.com/p-8117199.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'端蓋落料拉深模設(shè)計(jì).doc',url:'http://m.facezit.com/p-8117200.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'端蓋零件.png',url:'http://m.facezit.com/p-8117201.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'端蓋零件圖.png',url:'http://m.facezit.com/p-8117202.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'表格清單.doc',url:'http://m.facezit.com/p-8117203.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("請(qǐng)登錄!");window.location.href='login.aspx'; } } function saveJuBao() { var bookid = '3521789'; 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("您的舉報(bào)提交成功"); } else { $("#jubaoResponse h4").html("您的舉報(bào)提交失敗"); } } }); } else { alert("請(qǐng)選擇投訴類型或者數(shù)據(jù)錯(cuò)誤請(qǐng)刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });